A single brick is still progress. It is also a brick, do with that what you will. I shall not elaborate
Posts by Ola
It would be useful if one had a controlled set of clients though. You wouldn't even need to rely on DNS then; just roll your own discovery component
TIL about client side load balancing and how DNS can more or less give you the discovery component of it for free*
*: The caveat, of course, being how little you are then able to control the rate at which clients are notified of server topology updates/changes
๐จ: NASA just dropped a full disk image of Earth taken by Artemis II ๐คฏ
I wonder then if one would only ever want to use serial event IDs with SSE and never string IDs. Maybe timestamps could work as an ID?
Clients will send a reconnection request with a Last-Event-ID header to let the server know the last event it received, so the server knows where to resume from. This does mean servers must keep track of unsent events from the point of disconnection. Seems a little similar to Redis partial sync
Apparently, it's pretty limited with HTTP/1.1, so you'll likely want to make sure to use it with HTTP/2. I also think it's great that the EventSource API (the browser's SSE interface) is natively spec'd to support reconnecting to the SSE server if the connection drops prematurely.
TIL about Server-sent events.
Without having to go back to school you mean?
ran into something rather strange with Docker Compose today. Looks like variables used in interpolation aren't pulled from env files under the env_file option defined for a service: ola.bearblog.dev/docker-compo...
It's like giving someone a program to compile whilst only informing them of *some* of the dependencies
The things that we just know, the things that we often assume everyone else knows are often the things that kill or at least greatly hinder clear communication, especially in an educational context.
God I feel this soooo much
Plus, how we gather information has always evolved with changes in technology. First it was books and libraries, then came the internet and now this
Personally, I like using them for Q&A, but I wonder if I'm losing out somehow by doing so. My googling skills will probably atrophy but does that _really_ matter?
Did a stream last night. Working on something new. Let me know what y'all think
youtu.be/kB5OicopZhM?...
(Aside: LLMs are becoming more and more useful, so much so that it's becoming so easy to really rely on them)
Does any other language have something akin to STM in Haskell?
Audible recommendations are SO ASS bro. Here I am looking for dark/grimdark fantasy and the best y'all can do is shill me your dumbass Harry potter special??? Do better, this is so unseemly
I guess it makes sense for "cutting scope" to also be a valid algorithm design approach:
~ From the 3rd edition of "The Algorithm Design Manual."
Doing some studying and building. Might be a little quiet but come join in if you're interested: www.twitch.tv/ola_musta
More Haskell and DM on the Sunday stream youtu.be/ayTKS9d-da0?...
First stream! Worked on some discrete math and my Haskell redis server. Let me know what you think!
youtu.be/mFA4GK0vudc?...