• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle
  • You’re still not comparing apples to apples. The people who actually need something like this (not this specifically because we both agree it’s bad) would not be using it to tow just a small trailer. I agree the cyber truck is bad but the comparison still makes no sense.

    If you believe them, Tesla says the cyber truck can have a 2500lb payload and tow 11000 lbs. That’s a whole different ballgame than your geo metro which officially doesn’t even have a towing capacity.

    Some people actually use trucks for their intended purposes instead of a status symbol.









  • Transactions are the safe way of doing it.

    You can also return * to see the changes, or add specific fields.

    Like for example:

    Begin; Update users Set first_name=‘John’ Where first_name=‘john’ Returning *;

    Then your Rollback; Or Commit;

    So you’d see all rows you just updated. You can get fancy and do a self join and see the original and updated data if you want. I like to run an identifying query first, so I know hey I should see 87 rows updated or whatever.

    Haven’t had any issues with table locks with this, but we use Postgres. YMMV.









  • I used to not mind paying for Netflix because it was better than trying to pirate things. That has changed 😅. It’s still easier to pay for spotify premium than try to pirate music. However, I would be cautious as they may try to make additional changes to the premium tier (price hikes without actual useful additional features) that would make it not worth it. Looking at the year in review that spotify does every year, and I listen to a TON of spotify between work and personal use I probably listen to 12+ hours a day so it would take a lot for me to ditch it but not impossible.