• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2025

help-circle

  • I’m using PlugShare doing a 1500 mile round trip in the Southwest. A major reason is I’m towing an RV and plug share lets me set my max range which is very different than without towing.

    In plug share I map the route, then it gives me all the chargers on that route in the range of my truck. I pick one then out gives me the next charger on the route in my range. Repeat till I get to the destination.

    The other thing plug share does is tell me when I click on a Tesla station if it’s Tesla only or open to others. Invaluable info as I cruise through Texas oil country with chargers almost beyond my range where I might not have enough juice to make it to another.










  • The book Enders Game. I was will bullied in grade school. As was Ender. The overall theme is that it’s effectively impossible to maintain a defensive posture indefinitely. Be that always ready for dealing with bullies at school or home, to dealing with an alien threat becoming nearly impossible in three dimensions.

    Ender comes up with the philosophy that you have to win, but not just win that fight/battle, you have to win so decisively that there won’t just be another fight later. While this turns out to be effective, it also results in genocide.

    This resulted in a restrained version of the philosophy in me. When diplomacy fails, fight for your life, but know when you’ve won, know when you’ve prevented the next fight(s). And most importantly, know when to stop.


  • Of what I’ve personally driven, even for just a test drive.

    Tesla S: meh Tesla 3: cramped for a tall guy Rivian truck: middle back seat is super uncomfortable. Only option is 1PD (one pedal driving) and I hated that. Everything else about it was cool Polestar: again, not good for tall people MachE: great unless you have to ride in the back seat. Plenty of room, but likely to induce motion sickness Lightning pickup: perfect, no notes except its overall bigger than it needs to be. Loading stuff up in the bed is more of a pain than it needs to be. Some people don’t like the range, but I’ve done a couple 1500+ mile road trips and never minded it.


  • First of all, lack of ORM isn’t bad. It’s not a good or bad thing to use them out not use them. What’s bad is not sanitizing your query inputs and you don’t need an ORM to do that.

    I think the worst thing I’ve seen is previous devs not realize there’s a cost to opening a DB connection. Especially back when DBs were on spinning rust. So the report page that ran one query to get the all the items to report on, then for each row ran another individual query to get that row’s details was probably one of the slowest reports I’ve ever seen. Every DB round trip was at minimum 0.1 seconds just to open the connection, run the query, send back the data, then close the connection. So 10 rows per second could be returned. Thousands of rows per page has people waiting several minutes, and tying up our app server. A quick refactor to run 2 queries instead of hundreds to thousands and I was a hero for 10 min till everyone forgot how bad it was before I fixed it.