![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/4095722b-93d8-463e-bd80-4e0451f7efe7.jpeg)
You also tend to not find them in the middle of cities. Texas just happens to be a car-dependent wasteland.
You also tend to not find them in the middle of cities. Texas just happens to be a car-dependent wasteland.
The problem is not with public transportation, the problem is that the area surrounding this highway was designed so that more cars and more lanes were the only possible solution.
Cars create problems that only cars can solve.
What does a 26 lane highway have to do with cities?
Everybody in this photo could fit in like 4 buses
Yeah I get that. I think it’s just odd to phrase it as emitting too much CO2, and not getting poor mileage.
How do you emit excess CO2? Like I can imagine if it isn’t burning clean and shitting out CO or particulates or something, but wouldn’t “excess CO2” just mean they’re just inefficient?
Do they not meet their mileage ratings?
Yeah, but the same is true for .kkreiger which is more impressive imo.
Yeah I think they needed horsepower to run some sophisticated models in Matlab, and Apple had a killer educational discount.
Just seemed odd to pay your way into the Apple ecosystem just to wipe it and install Ubuntu
I remember having my mind blown in college when I saw a Mac Pro tower running Ubuntu in a lab.
The only thing I can think about is if you billed to a university address. A couple electronics outlets I shopped at would give discounts for students and universities.
need a vehicle that sits high
Why does anybody need a vehicle that “sits high”?
They should have aimed at the non-stainless steel portion. Pretty sure you could wipe this up easy with some acetone or gasoline as a solvent.
Something something book by its title.
I believe the optimization came because the denominator was a power of two. In my memory, the function counted up all of the bytes being sent and checked to see that the sum was a power of 16 (I think 16 bytes made a single USB endpoint or something; I still don’t fully understand USB).
For starters, you can split up a larger modulo into smaller ones:
X = (A + B); X % n = (A % n + B % n) % n
So our 16 bit number X can be split into an upper and lower byte:
X = (X & 0xFF) + (X >> 8)
so
X % 16 = ((X & 0xFF) % 16 + (X >>8) % 16) % 16
This is probably what the compiler was doing in the background anyway, but the real magic came from this neat trick:
x % 2^n = x & (2^n - 1).
so
x % 16 = x & 15
So a 16 bit modulo just became three bitwise ANDs.
Edit: and before anybody thinks I’m good a math, I’m pretty sure I found a forum post where someone was solving exactly my problem, and I just copy/pasted it in.
Edit2: I’m pretty sure I left it here, but I think you can further optimize by just ignoring the upper byte entirely. Again, only because 16 is a power of 2 and works nicely with bitwise arithmatic.
Lol, no, but in the summers we were allowed to wear t-shirts on Friday.
Let’s flip the equation here.
If driving wasn’t an option, you wouldn’t live 30 miles away from your job. Driving was an option, so you did and so did your neighbors. More neighbors move in, more cars, more traffic, more lanes, more neighbors, more cars, etc.
Alternatively, you move closer to work in a town with half decent sidewalks and walk or bike in. Bikes and people take up much less space which allows things to be closer together.
And yes, cars are necessary for hauling large objects over long distances, but how many vehicles in this photo do you think are carrying more than just people?