Still dreaming of migrating my career from node dev to golang dev. Heard golang devs even look younger and have more hair in their heads
Posts by bcch
a Wayback Burgers in the netherlands
explaining archival to an american
Most modern elevators, even FIFO ones, implement this feature of LOOK, differentiating in how they schedule requests. Now hopefully you'll be thinking about the scheduling algorithm the elevator in YOUR 🫵🏼 building uses the next time you use it like the huge nerd you are 🤓
Is there a better approach to this? Of course there is, and it's a variation of SCAN called LOOK. Instead of going all the way to the physical limit (the very last or top floor), it stops at the last requested position if there are no other requests, potentially saving travel time.
If the elevator is going down and you press 🔼, that means you'll have to wait until it serves all requests in the ongoing direction and THEN all requests in your direction. See the problem? It means the closer you are to the elevator moving in the opposite direction, the longer you'll wait 😐
So how does an elevator with both 🔼 and 🔽 buttons work? It uses an algorithm called a SCAN. In an HDD, the head starts at a given position and reads any requested position until the end, after which it reverses course. It's not hard to translate that to an elevator, and there's a catch too!
It will only stop mid-way if there was a request BEFORE it started traveling. It ruins my mood whenever I see the elevator going down on a floor above me, only for it to pass right through my floor all the way down. It's often very ineffective timewise and potentially leads to more energy costs.
Ever since I saw this button layout in my building, I've been curious like why the fuck isn't there a button to go up? Well. That's because this guy works in a FIFO algorithm: if a person at the top floor requests to go all the way to 1, it will go there, but there's a catch.
Let’s talk about elevators! Yes, the ones in buildings and such. Did you know they use algorithms too? And they're usually disk scheduling algos, which means an elevator travels in similar ways an HDD is read. Yeah that one came as a surprise to me. But why am I bringing this up?
970k lines PR is insane 😭
I mean closures exist but damn does it get verbose quickly
it has things like first class fns etc but it encourages you to use multiple returns by design and that is a deal breaker entirely, you either do fp or idiomatic code, and the former won't be looked nicely
kinda sucks to love golang and functional prog at the same time since golang might be the worst lang out there to apply the paradigm 🥲
it's crazy hard to setup but when it works it's satanic black magic, sick shit
also it sucks that every developer I know looks like they know a lot more and build tons of funs stuff while I'm here struggling with kafka and saga pattern (which is also fun but...y'know)
it's always lowkey terrible to move from a golang proj to a js one mainly because you have to think very differently with each
Sometimes I do forget there’s ruby off the rails
because yes I fuckin hate it too
isn't it kinda their own fault for reenforcing time and again you absolutely should NOT use third-party services without an app password and now that it's in the process of being (maybe) deprecated there's not much being said about it?
no fucking way this twitch thing is not even an integration and you can link whatever live you want lmao
okay it's tagged as beta but damn bro
so. the thing is. this account is gathering spider webs because baldur's gate 3 took complete control over my mind and soul
The thing is I tried vibe coding once but it just REEKS
You know it’s being overhyped by the wrong crowd when the thing is clearly experimental and has several security issues and the posts are like “I’m using it to build my new SaaS/startup and did it alone in a day” like yeah dude good for you I guess
Tbh the whole “agentic ide” shit that exploded over LinkedIn sounds so sketchy, plus I don’t want to use something called google antigravity
So. What’s the general stance on using AI agents to help in coding stuff. Do you use ones like Claude on a daily basis or that’s for kidos
I can't even begin to conceive how utterly miserable it might be to develop using only microsoft stacks (like blazor, UWP, visual studio, azure...)
Love it too! Even if for some reason my side chat is dead 🥲
How does he keep doing that lmao