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

help-circle



  • In industrial software, I’m sure performance is a pretty stark line between “good enough” and “costing us money”.

    The pattern I’ve seen in customer facing software is a software backend will depend on some external service (e.g. postgres), then blame any slowness (and even stability issues…) on that other service. Each time I’ve been able to dig into a case like this, the developer has been lazy, not understanding how the external service works, or how to use it efficiently. For example, a coworker told me our postgres system was overloaded, because his select queries were taking too long, and he had already created indexes. When I examined his query, it wasn’t able to use any of the indexes he created, and it was querying without appropriate statistics, so it always did a full table scan. All but 2 of the indexes he made were unused, so I deleted those, then added a suitable extended statistics object, and an index his query could use. That made the query run thousands of times faster, sped up writes, and saved disk space.

    Most of the optimization I see is in algorithms, and most of the slowness I see is fundamentally misunderstanding what a program does and/or how a computer works.

    Slowness makes customers unhappy too, but with no solid line between “I have what I want” and “this product is inadequate”.


  • Apple put inadequate coolers in the later Intel Macbooks to make Apple Silicon feel faster by contrast. When I wake mine, loading the clock takes 1.5 seconds, and it flips back and forth between recognizing and not recognizing key presses in the password field for 12 seconds. Meanwhile, the Thinkpad T400 (running Arch, btw) that I had back in 2010 could boot in 8.5 seconds, and not have a blinking cursor that would ignore key presses.

    Apple has done pretty well, but they aren’t immune from the performance massacre happening across the industry.

    The battery life is really good, though. I get 10-14 hours without trying to save battery life, which is easily enough to not worry about whether I have a way to charge for a day.


  • When I was a child, my elderly neighbor grew pears, and they were the best pears. My parents live in the same house, and the pear trees my elderly neighbor grew are still in the same spot, still alive.

    The pears on those trees aren’t the same anymore. They turn meally before they get soft, and they never get sweet enough. They don’t have the same strong flavor, and they don’t bake up well in desserts.

    She taught me many things about growing plants, but never anything about what she did for the pear trees. So now pears aren’t what they’re supposed to be, and the reason is lost to me.


  • IANAL, and this is oversimplifying. Copyright protects the creative elements of a game, including the specific way that a game is coded (so you cannot decompile a game, modify all the art assets, change the code a little, and then sell it), and possibly aspects of the gameplay required to give it a specific “feel”.

    If you want a solid legal defense for cloning, you could have one team that describes the original game in a way that removes the creative elements, and a second team that works from that description to make a new work. This works for other works, too; I can write my own “book about an orphan that learns he has magical powers, goes to a school to learn to use those, and ultimately battles and defeats the powerful dark wizard that killed his parents”, but can’t sit down following the story elements of Harry Potter for my new Barry Cotter book series.

    Ultimately the line is what you can convince a judge and/or jury is “different enough”.


  • At least in the US, government policy has meant that getting a drug to market is an extremely high bar. This means that funding the wrong drug can waste a billion dollars or more of time, material, trained researchers and lab space, etc.

    Funding drugs by popular attention, private donation, kickstarter, or anything like that is likely to produce a bunch of scams and even more waste.

    Funding drugs by having the government select which ones to study is likely to produce several gigantic financial boondoggles that are dragged on because some Senator wants the jobs wasting the money creates to remain in his state, or something.

    If we want more drugs to come out, the best thing to do would be to reduce the cost of making a drug legal to sell, like by lowering the proof required for efficacy, or by alleviating the doctor shortage by permanently increasing the number of medicare funded residency slots.





  • It’s the difference between “We must be on God’s side” and “God is on our side”.

    When the Iraq war kicked off, there was a priest at my parents’ church that spoke out against it (as he explained it, “love your enemy” is one of the most challenging things Jesus asked of his followers. It doesn’t mean “forgive someone that cuts you off in traffic” it means literally whoever your enemy is, you must love, care for, and protect them, even if it means self sacrifice or dying to do so). Attendance at his sermons dropped by 60 or 70% for years. Eventually I think people started to come around, but he died before there was widespread sentiment against the war. I’m no longer religious, but I miss that priest.



  • When you account for inflation, oil prices today are in line with oil prices in the early 2000s. The price is too low, and the risk is too high for massive infrastructure spending that would extract more oil from Venezuela to be worth it.

    Possibly, green energy technologies are now on a trajectory to overtake fossil fuels altogether - and they are already a factor in driving the price of fossil fuels (and therefore the profitability of many wells and mines) down substantially. If that happens, the long term value of Venezuela’s oil reserves, without suitable infrastructure already built for extraction, could be close to zero.

    In line with small government ideals, the best thing to do is let companies decide whether and how much to invest, but that won’t be a headline worth showing off. So Trump is trying to make $100B happen, and believes that that (alone) will restore the Venezuelan economy to the way it was.




  • Also, if you put the same wine in different bottles, they pretty reliably prefer (and describe the rich complexities of) the more expensive bottles.

    I knew an audiophile that believed the government had top secret technology for additional audio channels in surround sound setups, like 17.7 or something. I tried very hard to explain how you can buy an off the shelf 128 channel recorder/playback device, and have as many channels as you can feasibly buy and set up, and the reason a lot of media was recorded in 5.1 was because a 5.1 setup was considered at the upper end of what people would be willing to pay for. He moved his target in response, to now the government has top secret 1000 channel audio equipment.

    I don’t know what the equivalent of the wine world is, but I hope never to meet it.