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

help-circle
  • 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 bitch.

    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.)





  • It’s been a long time since I got my astronomy degree, but your version is what I recall also. Whatever small rotational perturbation in the initial gas becomes more pronounced as it coalesces in on itself and defines the plane of the star system. Planets form within this plane after it is defined, and they all travel in the same direction around the star.

    Regarding galaxies, the most common spiral ones like our own Milky Way follow the same principle at a larger scale. But there are also elliptical galaxies, not to mention irregular ones. In an elliptical galaxy, there is a more random movement of stars in a cloud around its core. So they look more 3D I guess, to go back to what the OP was asking about. I seem to recall the most accepted explanation for how these form is from the aftermath of a collision between 2 spirals? So presumably, when our galaxy collides with Andromeda in several billion years time, the resulting combined galaxy may emerge as an elliptical?


  • Sometimes people will say “That person’s name!” or “Those group of people!” in anger. “That Donald Trump! How dare he claim immigrants are eating pets?” to give you a current example.

    When spoken of a family member or mutual acquaintance with a chuckle, it means more like “That person has some strange quirk but what can you do? We still love him.”

    For example, you might hear “That dog! Always chasing his own tail.” So I think this is likely what you were getting from that conversation? It’s certainly not a criticism of your use of the word “people”.





  • I understand the concept of riding a bus being free time to read or use the phone, but my experience for my commute has been standing room only for an hour.

    Well at least that speaks to good ridership numbers where you are. I guess they need to add more buses, bus priority lanes, or other higher-capacity transit options.

    I would love to be able to use an e bike to get to work, but I don’t like biking next to cars on anything more than a 30 mph road.

    It’s worth investigating what possible routes you can take to get from A to B, as there are generally more options with a bike than a car but they are not necessarily obvious. For example, after having a close look at a satellite view, I realized that what I had assumed was a railway track was actually a decommissioned rail line that had been converted into a trail, and it actually cuts some distance off of the car route I had been taking to work.

    Last night, I actually discovered a new route for getting home from band practice. I used to cut through a cemetery, but with the nights getting longer, it was starting to creep me out going through there in pitch black conditions, even though the bike has a headlight. (Cemeteries in the day time can be quite a pleasant ride though.) But I carefully surveyed an apartment complex that looked impassable. In fact, it had a foot path leading through it and beyond. This one was hard to spot on satellite since it runs through a tree tunnel.

    The biggest problems are typically bridges, where you really have no other choice but to cross with the traffic. I am frequently advocating to city officials to improve cycling infrastructure along any such traffic choke points.


  • The time cost is certainly an important factor to consider. It’s interesting to me that my Gen Z kids have a markedly different perspective on transit vs driving in that regard. They say if you’re driving, that’s time lost, while if you are on the bus, you can be doing all sorts of things on your phone or what have you.

    For me, a car commute works out to around 15-20 min if there is no traffic (a big if). The ebike is more like 25-30, but it is generally far more pleasant—at least in good weather—as I can cut through parks and trails. The bus is perhaps 45 min if I catch it right, but unlike the bike, it feels longer than it is.

    One factor to consider is that if your work is of a sedentary nature, both transit and cycling factor in some exercise into your daily routine which I would say is not wasted time in that case. People who take transit are generally in better shape than people who drive everywhere, since there is an element of walking around, sometimes carrying stuff.

    I wasn’t sure an ebike would give me any exercise, but I think it’s safe to say it does. In the video, they say free transit translates to 2x usage per individual. For me, that ratio coincidentally also describes the regular bike vs ebike experience. So while my old bike provided more intense workouts, the ebike provides more consistent (albeit lighter) exercise since it is really my primary transportation at this point with exception to the months of Jan and Feb when the car admittedly takes over again for the most part.


  • Public transit is not free where I live. I think there are two aspects to this matter of whether or not it should be free, or at least subsidized a little more. The video primarily addresses one of them, which is what the implications are for those with low income.

    But the other aspect has to do with what it would take to get people who drive everywhere today to leave their cars at home and take transit instead for routine travel like commuting. I’ve done the math on this in terms of my personal monthly budget. In an either/or scenario of taking transit exclusively with no car ownership, there is no question that public transit is far more affordable. But once you have taken that leap and bought a car, it is no longer the slam dunk in favour of transit. What I mean by that is if you own a car but take the bus to work every day and only use the car for occasional errands that necessitate it, you will not necessarily be ahead financially at the end of the month.

    At least not in my case. Some things could affect this calcuation. For example, if I had to pay for parking where I work, transit would almost certainly win. But it’s a shame when I think others are likely going through the same calculations and drawing the same conclusions, leaving ridership numbers low and streets clogged with automobiles.

    What I eventually concluded was that a third option—investing in a ebike for commuting/light errands—was indeed a slam dunk budget-wise, so I have gone with that. I still need to have a car at my disposal for certain things I do, but it stays in the driveway 80% of the time, and beyond the upfront cost of purchasing the bike, its operational costs are very close to zero. So it’s basically free transportation once you’ve paid it off, and that is quite compelling to me.


  • This reminds me of when I had to roll my own dynamic memory allocator for an obscure platform. (Something I never want to do again!) I stuck metadata in the negative space just before the returned pointer like you say. In my case, it was complicated by the fact that you had to worry about the memory alignment of the returned pointer to make sure it works with SIMD and all that. Ugh. But I guess with strings (or at least 8-bit-encoded strings), alignment should not be an issue.


  • Oh, so you’re talking about text representation in an editor or something along those lines? That’s kind of a separate problem isn’t it?

    At the lowest level though, I suppose you still need to consider whether to use null-terminated segments. I think I’d still be going length + data, though I wouldn’t worry about packing down the length representation like with serialization formats. Your code will need to be highly cognizant of the length of strings and managing dynamic memory allocation all over the place, so it’s good to have those lengths quickly accessible at all times.


  • Better in what sense? I put some thought into this when designing an object serialization library modelled like a binary JSON.

    When it got to string-encoding, I had to decide whether to go null-terminated vs length + data? The former is very space-efficient, particularly when you have a huge number of short strings. And let’s face it, that’s a common enough scenario. But it’s nice to have the length beforehand when you are parsing the string out of a stream.

    What I did in the end was come up with a variable-length integer encoding that somewhat resembles what they do in UTF-8. It means for strings < 128 chrs, the length is a single byte. Longer than that and more bytes get used as necessary.


  • Storm surges can be insane. I’ve never been in a hurricane, but have witnessed the aftermath. My parents had some property in coastal Mexico that got hit. When we got there to assess damages, the town’s main street was essentially a giant sand dune over 2 storeys tall. The surge had basically lifted the entire beach and dumped it 2 blocks in. The town square was likewise covered in sand with all sorts of debris sticking out of it. And by debris, I mean stuff as large as a fridge.

    (Regarding the property, we kind of lucked out. About a year before it hit, a hotel went up between the house and the beach, which blocked the view but had a major silver lining in terms of protecting all the houses behind it from the worst of the storm. And then speaking to the hotel owner, he said he’d spent a small fortune to build a giant concrete foundation that stretched almost a city block’s length under the beach. People thought he was insane to do that, but it was literally the only waterfront building still standing, so he clearly knew what he was doing.)



  • I’ve caught my wife doing this on numerous occasions. The typical scenario is we’ll meet after work someplace for dinner. I’m on my bike and she’s driving. So we head home separately and she arrives first. But as I’m putting the bike away, I see a light turning on behind me and it’s her climbing out of the car.

    I’ve seen this also at fast food parking lots and it puzzles me even more. There’s a guy just sitting there not eating or doing anything. Did he eat already? Was he not hungry and but his partner was so he’s just waiting for them?

    Last time I saw one of these guys as I was entering the restaurant. I ate my lunch and sat around for maybe 20 min because I prefer not to cycle again immediately after eating. Then I come out and the dude is still there, staring off into space.


  • I haven’t done so personally. A lot of my old activity had to do with helping people with programming questions, so if it’s still useful to someone on occasion, I don’t feel inclined to remove it.

    I left reddit a little over a year ago now, and I don’t really care about what goes on over there. I made my statement of displeasure by simply ending all activity on the platform. I figure whatever legacy I left will eventually descend into irrelevance without my having to physically delete it all. At this point, that just sounds like work.