• 0 Posts
  • 33 Comments
Joined 2 months ago
cake
Cake day: September 1st, 2025

help-circle
  • Replacing the batteries with new ones on my $50k when it was new car (BMW i3) would cost me about $10k. Which is roughly what the car is worth on the second-hand market right now. The chances of me ever having to replace said batteries are basically zero. The chance of an ICE car spontaneously setting itself on fire are actually much higher, so this is a massive nothing-burger. When owning a car you should ALWAYS think about what happens if said car is suddenly total-loss the next day. Usually the answer is to replace it with another second-hand, not buy a new (!) battery from the dealer. Hell, second-hand battery packs are a thing too now, and much cheaper. On most EV’s you just drop them from the bottom and pop in the replacement, much less work than replacing an ICE engine.


  • Which is stupid, because current batteries already last way longer than most ICE cars. IMHO the depreciation is mostly because newer EV’s are still getting better at such a rapid pace, not because second-hand EV’s aren’t great cars (with a few notable exceptions, such as 1st gen Nissan Leafs, which didn’t have active battery cooling). I drive a 2016 EV and it’s still pretty much as it was when new, battery included.



  • This also means that, when you buy a car with say a 500 km range, that the battery will last for 10,000 x 500 = 5 million kms. That is an absolutely insane number compared to cars that are on the road right now. And one you will obviously only reach if the rest of the car can keep up. EVs are already doing well compared to ICE cars in this regard, but this is almost an order of magnitude larger than the current status quo.




  • dotfiles and system configuration are pretty different use-cases, usually when you do system-wide stuff you want to manage not just the configuration files but also what software is installed and a bunch of other things. Ansible or something else like it is definitely the right tool for the job. And Ansible isn’t so difficult to learn, you only need to know like 5% of what it can do to be very effective.

    For dotfiles my personal preference is dotbot, but there are MANY many different tools that are all good and are just different ways to accomplish roughly the same thing.














  • You’re probably correct, although I have no experience with zram so can’t be sure. But you’re absolutely right that PostgreSQL depends heavily on the OS disk cache for optimal performance. Lowering the PostgreSQL setting like Blaster M suggests won’t improve performance much, since all that setting does is tell PostgreSQL’s algorithms how much memory is likely to be allocated to the OS disk cache. Of course it’s best if it’s accurate, so you’re best off seeing how much memory is actually allocated to disk cache under heavy use before setting it, but it shouldn’t massively reduce performance if you don’t get it right.