Kornel boosted

The only advice I give to new programmers 

Arrest the cops who murdered Breonna Taylor

Kornel boosted

You can't replace QA with a versioning scheme.

Kornel boosted

In 2000 computers from the 80s were collectible.
In 2020 computers from 2000 are junk. 🤔

Kornel boosted
Kornel boosted

Spotify is in the process of trying to monopolize podcasts. watch how the pathology plaguing the whole American tech sector play out in real time. if they're successful, in a few years most podcasts of note will only be delivered through Spotify and they'll start using their dominance to do horrible shit

Kornel boosted

when phil collins remastered his albums in 2016 he updated all the cover art from young phil collins to old phil collins and to be honest that is extremely cool

Nice explanation why invalid code that is "unused" can still cause problems:

ralfj.de/blog/2020/07/15/unuse

(spoiler: because compiler optimizations reorder code and can make unused code in fact used)

Kornel boosted
Kornel boosted
Kornel boosted

Hands down, this is the best mashup of midcentury furniture, cocktail culture, and robotic age styling. Alleged to have been inspired by the moon landing. Vintage bar by Borghesani, 1969. (Photos by an unknown 1stDibs seller and Kelly Wearstler)

Kornel boosted

javascript events, memory leak 

Apparently browsers GC handling can sometimes integrate knowledge of which events can and can't happen.

Haven't confirmed this across browsers (yet), but means otherwise awkward tracking can be avoided. It also probably explains why some very common idioms around XHR and Promise don't leak memory. Which I never thought they would anyway, but didn't really know why.

jakearchibald.com/2020/events-

Kornel boosted

Fascinating #rust naming convention crates.io/crates/fomat-macros

"The names of macros in this crate are formed by removing the letter r from their std counterparts: wite!, witeln!, pint!, pintln!, epint!, epintln!, fomat!."

Every HTTP request library needs to support connection timeout, response timeout, etc. to prevent app from hanging in poor network conditions. Merely an "abandoned" request could still sit wait forever, wasting memory.

Except in async , which has an interesting model: when you stop polling a Future and drop it, it explicitly aborts everything it has been doing. So if the app gives up on the request, it will get cleaned up automatically even if it was stuck. No need for special timeout API.

United States doesn't have any Bin Laden statues, and they've promised they will NEVER FORGET.
🤔

Kornel boosted
Kornel boosted
Kornel boosted
Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!