translate detect API is giving timeout - node.js

need some help here please...over the last 1-2 weeks, I've been getting regular delays in my translations. (It's been working correctly for months, without timeouts) I'm getting:
FetchError: network timeout at: https://translation.googleapis.com/language/translate/v2/detect
I'm using node.js framework, and I see several of these per day now, each day.
(please note, I am not seeing any errors on "translate", but just on the "detect")
any help possible?

ok so after looking long and hard, and nobody answering...I decided that I would try something else. I went to the v3 interface, which allows for detection and translation in the same call, and I avoided the detect interface of v2. This looks like it is working, as the delays I faced from detect call ( and not translate ) are gone now. Hope someone else can benefit.

Related

Alert Signal to Bybit from tradingview

Sorry for my lack of Knowledge
But I need a signal from tradingview to bybit that will be going through a webhook, that longs when the alert longs and shorts when a alert shorts But it closes the previous trade when entering a new one. It also needs to be trading at a 12x Leverage.
Thanks For any Help that anyone can provide, Like an answer or a place i can get the answer.
I tried the Bybit code that it provided but it doesnt do the job. also tried some of the suggestions tradingview had, also tried youtube aswell

How do I find all the streams from a live IHeartRadio station?

I'm trying to find the entire stream list from a live IHeartRadio station (all streams available), and I've seen this answer, but they've since changed it, and now window.__store is null. Is there another way to find streams? I've looked around, and the only stuff I can find on IHeart seems to be this module, which does not seem to work for me. I've been at this for a good 3-4 hours, and have given up and gone last resort to come here. Also, I've seen methods where people use mitmproxy to inspect the traffic, but I need the icecast stream, specifically, which I cannot find at all.
It seems that, while window.__store is now being set to null, if you pause the website while it's loading using the developer console, you can search for streams and they will show up. You can also do this using Postman.
I've now actually published a module that fixes this exact issue. It uses the Public IHeartRadio API to search and get streams. It can be found here.

Visual Studio bothersome message: "Locating source"

During debugging a C# Consoleproject, about once an hour, I get the following error for a mind-boggling 20-30 seconds:
The weird part is that the source files are stored on a local SSD hard drive....
This is a workflow-disruptive completely unacceptable nuisance. Googling didn't amount to anything, do you know how to get rid of this?
Long delays are usually associated with network timeouts. There is one setting that can affect this. Right-click your solution node in the Solution Explorer window, the one on top of the tree, Properties, Common Properties, Debug Source Files. Verify that the list contains directories that are not stored on a disconnected network drive.
a mind-boggling 20-30 seconds
If you are sure about the length of the delay then it is not very likely to be a network timeout, it is too short. That kind of delay is associated with another scourge on programmers' machines, notably on an uptick in the past few months. It is the kind of delay you get from anti-malware. One of your files tripping the pattern of a known virus. The canonical example of such a problem is here. Also has a hint on how to detect it and the recommended workaround.
If none of this pans out then you'll need the help of the techniques outlined in Mark Russinovich's blog posts. Lots of examples of him using his tools to troubleshoot problems like this. A sampler is this post, doesn't match your problem but shows his approach.

HTML5 web audio getting stuck (buffering issue?)

I am working on a (weekly radio show) audio website and I keep getting the same problem, the audio files that are up to 1hr long keep getting stuck.
I have tested several different players, both the flash player Wimpy Player, and HTML5 players such as Audio5js, jPlayer, and pickle player.
AND I have tested to sample the sound in different bit rates, 8,24,64,128 but the sound files keeps getting stuck. Not always, but often enough to be a serious problem.
The file starts playing but a bit in (all from a few seconds to almost at the end of the 1 hr show) it just stops and the only way to keep playing it is to reload the file. To me it seems like a buffering problem.
I don't understand why.
If anyone has ever had a similar problem, please tell me what I am missing.
I got the answer myself to this one.
After double-, triple-, quadruple-checking everything it hit me, the site was hosted by GoDaddy and I know that it is not the best quality you can expect from them. (Actually they are really bad in more than one way. Never go with GoDaddy if you can avoid it. Just my personal opinion.)
We changed the hosting and the problem was gone.
To bad it had cost me days of work for nothing.

SharePoint 2010 slow search

I know this isn't a coding question but i wanted to throw it out there as the wealth of experience in the forum is high.
When we perform a search for the first time it's slow and it is fine after this.
Anyone got any ideas about why this is?
I think it's something to do with the cache being cleared out and was wondering if anyone could shed some light on how to get around this?
Thanks
More than likely caused by the first "hit", the server is doing a lot of background processing. This would be the same as a webpage or database query. The initial execution may be the slowest due to the volume of work it has to initially process, afterwards the data is cached.

Resources