Advertisement · 728 × 90

Posts by bcch

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

1 month ago 0 0 0 0
a Wayback Burgers in the netherlands

a Wayback Burgers in the netherlands

explaining archival to an american

1 month ago 729 208 1 1

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 🤓

1 month ago 1 0 0 0

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.

1 month ago 1 0 1 0

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 😐

1 month ago 3 0 1 0

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!

1 month ago 1 0 1 0

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.

1 month ago 1 0 1 0
Post image

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.

1 month ago 1 0 1 0

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?

1 month ago 4 1 1 1

970k lines PR is insane 😭

2 months ago 9 0 0 0
Advertisement

I mean closures exist but damn does it get verbose quickly

2 months ago 0 0 0 0

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

2 months ago 0 0 1 0

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 🥲

2 months ago 0 0 1 0

it's crazy hard to setup but when it works it's satanic black magic, sick shit

2 months ago 0 0 0 0

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)

2 months ago 1 0 1 0

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

2 months ago 0 0 0 0
Post image
2 months ago 1231 474 2 2

Sometimes I do forget there’s ruby off the rails

2 months ago 0 0 0 0

because yes I fuckin hate it too

3 months ago 3 0 0 0

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?

3 months ago 7 0 1 0
Advertisement

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

3 months ago 1 0 0 0

so. the thing is. this account is gathering spider webs because baldur's gate 3 took complete control over my mind and soul

3 months ago 1 0 0 0

The thing is I tried vibe coding once but it just REEKS

3 months ago 1 0 0 0

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

3 months ago 1 0 1 0

Tbh the whole “agentic ide” shit that exploded over LinkedIn sounds so sketchy, plus I don’t want to use something called google antigravity

3 months ago 0 0 1 0

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

3 months ago 1 0 2 0

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...)

3 months ago 2 0 0 0
Post image
3 months ago 1 0 0 0

Love it too! Even if for some reason my side chat is dead 🥲

4 months ago 1 0 0 0
Advertisement

How does he keep doing that lmao

4 months ago 0 0 0 0