Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They opened the API for it and I'm sending requests but the response always comes back 300ms before I send the request, is there a way of handling that with try{} predestined{} blocks? Or do I need to use the Bootstrap Paradox library?


Have you tried using the Schrödinger Exception Handler? It catches errors both before and after they occur simultaneously, until you observe the stack trace.


I swear I can't tell which of these comments are sarcastic/parody and which are actual answers.

A sort of quantum commenting conundrum, I guess.


They are both, just until the moment you try to read them


This subthread are among the best comments I've read in this website.


I read them as sarcastic. Please reply here with your output.


Since you read them as sarcastic, I also read them as sarcastic. Quantum entanglement at work.


What happens when you don't send the request after receiving the response? Please try and report back.


No matter what we've tried so far, the request ends up being sent.

The first time I was just watching, determined not to press the button, but when I received the response, I was startled into pressing it.

The second time, I just stepped back from my keyboard, and my cat came flying out of the back room and walked on the keyboard, triggering the request.

The third time, I was holding my cat, and a train rumbled by outside, rattling my desk and apparently triggering the switch to send the request.

The fourth time, I checked the tracks, was holding my cat, and stepped back from my keyboard. Next thing I heard was a POP from my ceiling, and the request was triggered. There was a small hole burned through my keyboard when I examined it. Best I can figure, what was left of a meteorite managed to hit at exactly the right time.

I'm not going to try for a fifth time.


You unlock the "You've met a terrible fate." achievement [1]

[1] https://outerwilds.fandom.com/wiki/Achievements


I love myself a good Zelda reference


Please report back and try.*


Looks like we don't have a choice.


Finally, INTERCAL’s COME FROM statement has a practical use.


>They opened the API for it and I'm sending requests but the response always comes back 300ms before I send the request

For a brief moment I thought this was some quantum-magical side effect you were describing and not some API error.


Isn't that.... the joke?


Write the catch clause before the try block


Try using inverse promises. You get back the result you wanted, but if you don't then send the request the response is useless.

It's a bit like Jeopardy, really.


Did you try staring on your IP packets while sending the requests?


You are getting that response 300ms beforehand because your request is denied.

If you auth with the bearer token "And There Are No Friends At Dusk." then the API will call you and tell you which request you wanted to send.


Pretty sure you just need to use await-async (as opposed to async-await)


The answer is yes and no, simultaneously


Help! Every time I receive the response, an equal number of bits elsewhere in memory are reported as corrupt by my ECC RAM.


Update: I tried installing the current Boostrap Paradox library but it says I have to uninstall next years version first.


> I'm sending requests but the response always comes back 300ms before I send the request

Ah. Newbie mistake. You need to turn OFF your computer and disconnect from the network BEFORE sending the request. Without this step you will always receive a response before the request is issued.


I'm trying to write a new version of Snake game in Microsoft Q# but it keeps eating its own tail.


What does Gemini say?


It responds with 4500 characters: https://hst.sh/olahososos.md


It think you are supposed to use a "past" object to get your results before calling the API.


Try setting up a beam-splitter router and report back with the interference pattern. If you don't see a wave pattern it might be because someone is spying on you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: