• 0 Posts
  • 24 Comments
Joined 3 years ago
cake
Cake day: November 19th, 2023

help-circle


  • I’ve had to explain this to more executives than I wish to remember. Computer code is a recipe, not a cake. When you see a recipe that’s super long, and requires two kitchens worth of bakeware and tools, you probably think it’s a bad recipe. Short, elegant, easy to follow recipes with a little note in the margin from your grandmother about what to do when the dough is too sticky are the best recipes.

    Unfortunately, one learned the exact wrong lesson from this, and started measuring lower lines of code produced as better… Which worked for a while, but lead to a lot of weirdness around new features for no particular reason.





  • 50 years ago was 1976, which was before the 1983 reforms. In 2023, I see a prediction it will run out of trust money by 2035. In 2009, they were predicting the same trust exhaustion in 2037. In 2005, Bush’s campaign warned it would run out by 2042. You’ll notice that these dates keep moving closer and closer as we get more data. There are real structural problems in social security.

    With the cap, social security collected 1,159,984 + 188,399 million dollars in 2024, on the 6.2% + 6.2% tax rate. Medicare with no cap at the 1.45% + 1.45% tax rate collected 441,003 million dollars.

    That implies taxable income for medicare was 14,172,517 million dollars, and for social security it was 10,874,056 million dollars. Completely removing the cap on social security would fix the current shortfall, but leave the structural issues in the program intact. Maybe it would buy us 25 more years. There are still people living today that would pay in more than they can possibly receive back from the system.

    In short, you’re telling the people funding your lifestyle, “Fuck you, I got mine”, then denying that that is what’s happening.




  • If it’s all if statements and if it uses well nested logic and if it’s written in a modern language and if the number of if statements doesn’t exceed 57, it could be good. Otherwise it is overly verbose. Otherwise it is dated. Otherwise it is spaghetti code. Otherwise it should go to the regular code check routine function.



  • It makes a lot more sense if you know about chains. A chain is 22 yards, and there are 80 chains in a mile. There are also rods (a quarter of a chain) and furlongs (10 chains)

    So: 3 Barleycorn in an inch 4 inches in a hand 3 hands in a foot 3 feet in a yard 5.5 yards in a rod 4 rods in a chain 10 chains in a furlong 8 furlongs in a mile

    … And of course there’s the overlapping systems of length for manufacturing, agriculture, maritime, and horse racing, which have their own, separate subdivisions and largest units, but usually you can get away with just the nail, the fathom, the nautical mile, and the span.




  • I think most of those “this is how the locals say it” things are clinging to a fading past. My favorite was a Kitchen Nightmares episode where the owner tells Gordon Ramsay that New Orleans is pronounced “Naw-Lins” (with some drawl, not sure how to write that exactly), but every other time before and after, he says “New Orleans”.

    I grew up near Baltimore, which people variously insisted should be “Bee-mer”, “Balmer” or… A couple others. The only one I’ve seen actually play out is residents of NYC primarily referring to it as “The City”, but that one is also pretty normal, so it makes sense that it would survive.