spent all afternoon dealing with what i thought was a qfn soldering issue, it was actually a short to ground elsewhere, broke a connector and pulled up a trace when trying to debug that.
why do places like the firefox start page do some kind of weird visit-count-based algorithm for what to show, when we know that LRU caches are usually the best for this sort of application?
So I recently learned about the family of algorithms called reservoir sampling
and it made me look up whether the bulge at the tip of condoms is called a reservoir only in German or in English, too (it’s the latter)
I mean, maybe it’s just me, but I would’ve named the algorithm differently. Something that doesn’t invoke images of sommeliers and wine sampling maybe?!
@jaseg yeah! i think you’d want like a rolling couple of bloom filters or something.
for infinite shuffle i want to take a different approach though. i want to be clever and use characteristics of the music to get a more cohesive feeling experience
we're writing the code style guide for work (as a way of letting out frustration about, you know, code)
and we really need to work hard on not actually letting the feelings show up in the document, and just letting it be to-the-point advice. it is surprisingly hard to do that.
@irenes tbh i like a little subjectivity and emotion in a style guide. tell me what you think is ugly but worth it!! tell me we don’t use this part of the language bc it sucks!
a weird aspect of Microsoft making certain common desktop utility apps (e.g. Calculator) open source is that every so often I remember I had a PR accepted on that repo and now my code is running on a billion computers.
i think the problem with the really fancy modern ‘dumb’ phones is that they try to strip down features to the bare minimum of what a phone is, without considering that that’s changed since 1998.
if you don’t live in the US you don’t care about sms. i don’t even care about calls. what i care about is being able to get a map or work out when my bus is