• 0 Posts
  • 1.66K Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle
  • I was a programmer and I wrote lots of applications that showed the progress of long-running tasks with a progress bar that was reasonably accurate. It just took a little bit of extra work is all, plus knowledge of how to do it. Every time I put in a spinny thing instead (and incidentally it’s still possible to have the main task frozen while a little spinny thing on a separate thread happily spins away) it was because the managers and designers were too cheap and/or lazy to do it properly. Admittedly, adding a reasonably accurate time-remaining estimate is more complicated, but that’s also the part that is less important.


  • I remember when Netscape (the browser) back in the late 90s or thereabouts came up with the “innovation” of having a progress bar that would go left to right, and when it got all the way to the right it would reverse and go in the other direction. The whole thing would just go back and forth until the action was done – not a “progress” bar at all, just a “well, maybe something is happening, it’ll be done when it’s done” animation. Later replaced by the ingenious shit going around in a circle that is ubiquitous today, that creates no illusions of it being a progress indicator at all.





  • Ironically, one of the universal things I’ve noticed in programmers (myself included) is that newbie coders always go through a phase of thinking “why am I writing SQL? I’ll write a set of classes to write the SQL for me!” resulting in a massively overcomplicated mess that is a hundred times harder to use (and maintain) than a simple SQL statement would be. The most hilarious example of this I ever saw was when I took over a young colleague’s code base and found two classes named “OR.cs” and “AND.cs”. All they did was take a String as a parameter, append " OR " or " AND " to it, and return it as the output. Very forward-thinking, in case the meanings of “OR” and “AND” were ever to change in future versions of SQL.








  • Interestingly, the calorie counts on food packaging are derived from the Atwater system (and later modifications) that estimate digestible calories from the amount of fat, protein and carbohydrates in each food item. These numbers are based on experimental research on food substitution and weight loss/gain done in the late 1800s and early 1900s. The calorie counts for alcohol are similarly based on the measurable amount of alcohol in each drink, except that the number used (7 kcal per g) was just a complete guess on Atwater’s part since they couldn’t do equivalent substitution experiments involving booze.


  • I had a friend in college whose parents were big into world government and had founded an organization to promote that. Talking to them was a weird experience because 1) they felt every problem facing the world could be solved by a one-world government, and 2) they actually felt achieving that world government was a realistic possibility. And it wasn’t like they thought the solution was just the USA taking over everything; they were very critical of everything about this country.

    I don’t know if this is irony or not, but that friend is now worth $34 million after her parents’ company went public. She doesn’t say anything about world government any more.






  • A couple of years ago I tried pre-butchering my turkey and it really works. It’s useful to be able to cook the bird in one to one-and-a-half hours instead of all fucking day, but the main benefit is that you can cook the white meat until it’s 155-160F and the dark meat until it’s 195-200F, and both kinds of meat taste great. When you stuff a bird and cook it whole, you have to get the stuffing inside up to a safe temperature, which means both the white meat and the dark meat have to be turned into shoe leather. Also with pre-butchering you can make stock out of the carcass the night before and it makes the most fantastic gravy.