• 1 Post
  • 222 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle




  • I’ve been playing around with the disabled GIL build and though I use threads fairly extensively in my projects, it’s been smooth sailing so far. I feel like my GUI scripts might be a bit more responsive now? (I tend to farm out user events to dedicated threads, so this is entirely possible.)

    But overall, everything is stable and awesome! I’m so excited! This has been a long time coming for Python.


  • Yeah it’s kind of an arm’s race with people feeling they need to be the biggest thing on the road to feel safe. I’ve driven a few larger vehicles as airport rentals when they had nothing else in stock, and I’ve noticed they also tend to have a lot more blind spots than what I’m used to.

    I remember when I was taking lessons, my instructor said I should think of the airbag as being a spring-loaded spike that will impale you if you screw up. I guess he was trying to impress on me that it’s not good to feel safe and smug when you’re driving? And actually, I’ve read since that air bags can be pretty violent when they go off, so he may not have been as far from the truth as I thought?


  • I wish there were more regulation on the size of private vehicles, particularly in North America. It’s pretty clear at this point that what is contributing to higher pedestrian/cyclist fatalities despite better urban infrastructure is the increasing curb weight and ground clearance of automobiles. We can hope that collision-avoidance tech in newer models may reduce human-error type accidents, but at the end of the day, kinetic energy is a removed.

    I wonder how the EV transition will affect things? On the one hand, an EV would weigh more than an ICE of the same class since batteries are heavy. On the other hand, batteries are also the most expensive component by far and you need more in a larger vehicle, so from a dealer’s perspective, the margins may not necessarily grow the bigger you go like with an ICE. The sweet spot might actually be something smaller. (In fact, for me, it’s actually ebikes.)


  • My most common use case is probably looking up stuff that may or may not be in a dict.

    if (val := dct.get(key)) is not None:
        # do stuff with val
    

    I guess that’s pretty similar to what you were doing?

    Sometimes I also use it in some crazy list comprehension thing when I get backed into a corner, though it’s hard to think of an example off the top of my head? It usually happens when I’m in a rush and desperate to get something working, but it has an uncanny way of being just the thing you need at that point.




  • I guess the central premise of capitalism is that while every society has its haves and have nots, capitalism is supposed to encourage the haves to invest in the economy rather than hoarding their wealth. In return, they stand to get even wealthier, but a stronger economy ought to generate more employment and generally improve the lives of commoners as well.

    Unfortunately, in a never-ending quest to make wealth-generation more efficient and streamlined, employment is being eliminated through automation, outsourcing, etc. and the system is eating itself out from the inside. I doubt it can persist much longer, but what will replace it remains unclear. I pray that it will be something sensible that ensures everyone has their basic needs met and can still find rewarding pursuits in life. But there are so many ways it could go very wrong, and that includes staying on the current course.





  • I’ve actually been having more trouble with Apple Maps lately.

    My last trip was to perform at a country fair type thing and it couldn’t locate the venue. So I thought maybe if I put on the satellite view, I could spot it and drop a pin? But the whole area was behind a cloud. Wow.

    Then later, when we were returning, it tried to send me on a shortcut through a mall parking into an overgrown field.


  • When I was first looking into IPv6, people were talking about how you can self-assign an address by simply wrapping an IPv6 address around your MAC address. But that practice seems to have fallen out of favour, and I’m guessing the reason is, as you say, the whole privacy thing? There’s a lot of pushback these days against any tech that makes it easier to fingerprint your connection.




  • Yeah. My wife is always wanting to go on a cruise and I’m having none of it.

    One thing I will add regarding the nature of this curse is that it only manifests when I am the sole occupant of the bedroom. For example, I used to share a bedroom with my older sister, but within a week of her moving out and rejoicing at having the whole place to myself, the ceiling opened up.

    So I suppose I would be safe on the ship as long as my wife is there with me? In our current home, she was my sole protection, but has recently taken to sleeping on the basement cot due to hot flashes. This leaves me staring nervously at the ceiling. It’s now or never, curse!