[-] MadhuGururajan@programming.dev 6 points 3 weeks ago* (last edited 3 weeks ago)

I am quite cheeky for saying this but:

How is it leaky if the default paradigm of any sequential program is the expectation that it will block? If i write blocking socket code I know my thread is blocked until read() returns.

If i am writing async socket code I know to wait for poll or whatever it is that is the correct way to wait nowadays. My design would reflect that. The blocking is just moved to another thread effectively and this abstraction is packaged as a Future.

Asynchronous code does not require the rest of your code to be asynchronous. I can’t say the same for blocking code.

Well this is just stating a tautology isn't it?

Edit:

It would be a Hurculean effort, and I don’t think it’s a sustainable approach. If you’re writing a higher level library, it would be a lot to ask to check if your dependency’s dependency’s dependency maybe reads from a socket.

I guess I understand what's the argument here.

The author wants a safeguard against libraries that are blocking with compiler checks. I agree it is a nice thing to have. But they could have mentioned that without saying "blocking code is leaky abstraction".

[-] MadhuGururajan@programming.dev 6 points 1 month ago

Russia's like the kid in school who breaks some rule and then starts advicing other students the next day not to.

[-] MadhuGururajan@programming.dev 7 points 1 month ago

Unfortunately they're too fargone. You should save your time and energy.

[-] MadhuGururajan@programming.dev 8 points 2 months ago

It's also not unreasonable to expect responsibility from people who regularly handle vehicles of several tons to know how to drive.

America has this weird aversion to critcizing drivers.

[-] MadhuGururajan@programming.dev 7 points 3 months ago

I am on the connect app and your links don't work for me.

[-] MadhuGururajan@programming.dev 8 points 3 months ago

not available in India too

[-] MadhuGururajan@programming.dev 6 points 9 months ago

Read my comment and enlighten all of us on how stealing free testing work from the community under the pretense of "open source" is not entitlement? How is this project going to compensate users for beta testing their software for free?

[-] MadhuGururajan@programming.dev 6 points 9 months ago

No the claim is that the inflation is artificial.. not the prices.

[-] MadhuGururajan@programming.dev 8 points 9 months ago

I would do the following:

Build a PC, Buy a bike and travel, Buy a bicycle and ride it on trails, If single: casual dating, Develop a skill like musical instruments or learn a language.

I don't like going to the gym because lifting weights and treadmills are quite boring. Instead I would play sports like football, badminton, etc.

[-] MadhuGururajan@programming.dev 6 points 10 months ago* (last edited 10 months ago)

It's a lot easier to deal with a God that may or may not exist.. than deal with humans.

[-] MadhuGururajan@programming.dev 7 points 10 months ago

The only people not paying taxes are the royals whose arse you're lickin'.

[-] MadhuGururajan@programming.dev 6 points 10 months ago

Lol your whole argument that it's better now is based on your own argument it has been stagant for a decade and your pinnacle argument that fixes the mess is... 1 year of lukewarm wage growth? How the fuck does that fix anything?

Lol "few more years" .. you have nice jokes.

view more: ‹ prev next ›

MadhuGururajan

joined 10 months ago