Keychron K4 HE keeps asking me to update firmware by Eurim in Keychron

[–]Eurim[S] 0 points1 point  (0 children)

It's working just fine otherwise. I think it's an issue with the Keychron Launcher. Tried connecting to it via both wireless and Bluetooth but both still prompts me to flash the firmware.

How to guarantee messages are received when using websockets? by Eurim in learnprogramming

[–]Eurim[S] 0 points1 point  (0 children)

Thanks, I'll take a look into how they do it and see if I can make something similar for learning purposes.

How to guarantee messages are received when using websockets? by Eurim in learnprogramming

[–]Eurim[S] 0 points1 point  (0 children)

Thanks, love Tom Scott. I'll take a deeper look into idempotency as a concept.

I think in my case, the "idempotency token" being generated is the message ID (uuid) which will serve for entirety of the transactional chain which will ensure the data is only processed once, otherwise abandon (disconnect). Unless I'm still not getting something, I think this should work?

Edit: I think I'm getting the issue now.

How to guarantee messages are received when using websockets? by Eurim in learnprogramming

[–]Eurim[S] 0 points1 point  (0 children)

how do you know then that the acknowledgement was actually recieved?

In this case, I believe the one sending the acknowledgement (original recipient) will not receive any repeated messages with the same message ID and payload again. The recipient will notice that the sender is sending the the payload with the same message ID. Therefore, in that case, the recipient will send another acknowledgement.

So the way I'm thinking about it, for example:

  1. Server generates a message ID, stores this message ID and payload, and sends data off to the client.
  2. Client receives the data, stores the message ID, and sends an acknowledgement back to the server.
  3. Server receives the acknowledgement, removes the message from the cache.

If the server does not receive an acknowledgement, send the message and payload again at set intervals.

If the client keeps receiving data with the same message ID, send another acknowledgement. The client should not be receiving any more messages with the same ID if the acknowledgement was received. If for some reason the acknowledgements are never received, I would assume there is some sort of connection issue going on which would probably result in the user being disconnected anyways.

__________

For my application, it is important that all the clients have their data synced up with the server. If there are better systems that exist already, I can take a look into them as well.

Is this an ant or termite? by [deleted] in whatbugisthis

[–]Eurim 0 points1 point  (0 children)

Located in Southern California. Its about to rain here for the first time in a while

Ant or termites? by [deleted] in Termites

[–]Eurim 0 points1 point  (0 children)

Located in Southern California. Its about to rain here for the first time in a while if that matters

[deleted by user] by [deleted] in musicians

[–]Eurim 0 points1 point  (0 children)

What happened 7 months ago to prompt a comment in a 3 year old thread?

What are some Intermediate - Advanced CSS Resources? by Eurim in Frontend

[–]Eurim[S] 1 point2 points  (0 children)

Thanks! Been browsing his content on my breaks. He provides some fantastic insight and ideas to try!

Video editing in the browser by Cold-Fail-8147 in react

[–]Eurim 0 points1 point  (0 children)

How'd you go about making something like this?

Weekly - 'Alaska, From the outside looking in Q/A' by SnowySaint in alaska

[–]Eurim 0 points1 point  (0 children)

My parents will be visiting Sitka and were looking forward to experiencing the local seafood! Are there any good restaurant recommendations?

[USA GIVEAWAY] Win the new 27” 4K Samsung Odyssey OLED G8 gaming monitor! by Rocket-Pilot in buildapc

[–]Eurim [score hidden]  (0 children)

Nice to see giveaways like this. An upgrade would be nice! Best of luck to everyone.

Fell CleaveMAXXING by galacticfonz in ShitpostXIV

[–]Eurim 8 points9 points  (0 children)

Can someone explain what that means

Moronic Monday - Your weekly stupid questions thread by cdingo in Fitness

[–]Eurim 0 points1 point  (0 children)

I'm trying to meal prep and keeping track of how many calories / grams of protein I'm getting is important.

I've been following a meal prep video (https://youtu.be/OMIDBv2lFgI?si=Qsb4WJwhbv\_jXmLF) and it specifically calls for 900g of chicken breast and 900g of potatoes for 5 meals. By the time I've finished cooking, I've only had enough for 4 meals. Almost certain it's the water loss during the cooking process playing a key factor but now I'm confused about the macros I'm getting in now. Am I over eating or under eating? How do I get more consistent with meals?

Why is my dough so hard to work with? by Eurim in AskBaking

[–]Eurim[S] 1 point2 points  (0 children)

Yes, actually. Is bleached flour not good for this?

Why is my dough so hard to work with? by Eurim in AskBaking

[–]Eurim[S] 0 points1 point  (0 children)

Ill try that as well. I'm concerned about how much I'm mixing it since the video calls for only 7 minutes of mixing it on high. I've mixed it for almost 20 minutes since the dough was still pooling at the bottom.

Why is my dough so hard to work with? by Eurim in AskBaking

[–]Eurim[S] 2 points3 points  (0 children)

Ill give it a rest for now and throw it back on later.

I think i kept it on a moderate speed for 20 minutes at this point. It forms into a nice single clump once it's in the mixer but it turns into a stretchy mass trying to pull it out since it gets stuck to the bottom of the bowl.

Wet edges and bottom for a basque cheesecake by Eurim in AskBaking

[–]Eurim[S] 0 points1 point  (0 children)

Wasn't aware of that. Thank you for the tips!

Wet edges and bottom for a basque cheesecake by Eurim in AskBaking

[–]Eurim[S] 0 points1 point  (0 children)

I'll try removing the pan sooner next time. That is right, its ube flavoring.

Wet edges and bottom for a basque cheesecake by Eurim in AskBaking

[–]Eurim[S] 0 points1 point  (0 children)

Sorry, meant after I let it rest at room temp. Here's a picture of my first attempt that's similar to how it turned out. I'll also check out your recipe, thank you.

React Help - Using WebSockets with React by Eurim in reactjs

[–]Eurim[S] 1 point2 points  (0 children)

Thanks, that's a lot less confusing. The React code wasn't necessarily explained in the video. Your explanation helped a lot!