News for hackers. Stuff that matters.
Re:Willow, Our Quantum Chip by codeulike on Monday December 09, 2024 @12:44PM (#42368381)
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?
Re:Willow, Our Quantum Chip by wk_end on Monday December 09, 2024 @12:54PM (#42368506)
Finally, INTERCAL’s COME FROM statement has a practical use.
Re:Willow, Our Quantum Chip by nobrains on Monday December 09, 2024 @02:04PM (#42369318)
What happens when you don't send the request after receiving the response? Please try and report back.
Re:Willow, Our Quantum Chip by ukuina on Monday December 09, 2024 @03:34PM (#42370280)
Please report back and try.*
Re:Willow, Our Quantum Chip by r3trohack3r on Monday December 09, 2024 @02:07PM (#42369353)
You unlock the "You've met a terrible fate." achievement [1]

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

Re:Willow, Our Quantum Chip by atoav on Monday December 09, 2024 @07:41PM (#42372334)
I love myself a good Zelda reference
Re:Willow, Our Quantum Chip by tealpod on Monday December 09, 2024 @09:45PM (#42373188)
Looks like we don't have a choice.
Re:Willow, Our Quantum Chip by jmcqk6 on Tuesday December 10, 2024 @11:33AM (#42378399)
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.

Re:Willow, Our Quantum Chip by Nifty3929 on Monday December 09, 2024 @03:42PM (#42370364)
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.

Re:Willow, Our Quantum Chip by handfuloflight on Monday December 09, 2024 @01:03PM (#42368629)
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.
Re:Willow, Our Quantum Chip by oblio on Monday December 09, 2024 @08:09PM (#42372536)
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.

Re:Willow, Our Quantum Chip by camillomiller on Tuesday December 10, 2024 @03:37AM (#42374984)
They are both, just until the moment you try to read them
Re:Willow, Our Quantum Chip by weakwire on Tuesday December 10, 2024 @07:43AM (#42376321)
I read them as sarcastic. Please reply here with your output.
Re:Willow, Our Quantum Chip by AnimalMuppet on Tuesday December 10, 2024 @09:15AM (#42377000)
Since you read them as sarcastic, I also read them as sarcastic. Quantum entanglement at work.
Re:Willow, Our Quantum Chip by 3l3ktr4 on Tuesday December 10, 2024 @10:18AM (#42377631)
This subthread are among the best comments I've read in this website.
Re:Willow, Our Quantum Chip by yu3zhou4 on Monday December 09, 2024 @02:40PM (#42369699)
Did you try staring on your IP packets while sending the requests?
Re:Willow, Our Quantum Chip by cloudking on Monday December 09, 2024 @02:35PM (#42369643)
The answer is yes and no, simultaneously
Re:Willow, Our Quantum Chip by timcobb on Monday December 09, 2024 @12:52PM (#42368487)
What does Gemini say?
Re:Willow, Our Quantum Chip by KTibow on Monday December 09, 2024 @04:13PM (#42370595)
It responds with 4500 characters: https://hst.sh/olahososos.md
Re:Willow, Our Quantum Chip by dtquad on Monday December 09, 2024 @04:48PM (#42370892)
>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.

Re:Willow, Our Quantum Chip by pinkmuffinere on Monday December 09, 2024 @08:57PM (#42372871)
Isn't that.... the joke?
Re:Willow, Our Quantum Chip by vangamoZX on Monday December 09, 2024 @05:47PM (#42371391)
Write the catch clause before the try block
Re:Willow, Our Quantum Chip by sebastiennight on Monday December 09, 2024 @07:09PM (#42372109)
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.

Re:Willow, Our Quantum Chip by GuB-42 on Monday December 09, 2024 @10:04PM (#42373303)
It think you are supposed to use a "past" object to get your results before calling the API.
Re:Willow, Our Quantum Chip by tiborsaas on Tuesday December 10, 2024 @12:01AM (#42373922)
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.
Re:Willow, Our Quantum Chip by yonatan8070 on Tuesday December 10, 2024 @01:18AM (#42374279)
Pretty sure you just need to use await-async (as opposed to async-await)
Re:Willow, Our Quantum Chip by codeulike on Tuesday December 10, 2024 @10:50AM (#42377940)
Update: I tried installing the current Boostrap Paradox library but it says I have to uninstall next years version first.
Re:Willow, Our Quantum Chip by nick3443 on Tuesday December 10, 2024 @11:41AM (#42378483)
Help! Every time I receive the response, an equal number of bits elsewhere in memory are reported as corrupt by my ECC RAM.
Re:Willow, Our Quantum Chip by robomartin on Tuesday December 10, 2024 @02:05PM (#42380187)
> 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.

Re:Willow, Our Quantum Chip by qingcharles on Tuesday December 10, 2024 @04:10PM (#42381530)
I'm trying to write a new version of Snake game in Microsoft Q# but it keeps eating its own tail.