![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://fry.gs/pictrs/image/c6832070-8625-4688-b9e5-5d519541e092.png)
How did you feel about the L3 charging rate? 50kW isn’t super fast.
How did you feel about the L3 charging rate? 50kW isn’t super fast.
I just want an EV company to make the equivalent of a shitty Toyota Prius.
Yeah, but he’s right about that part. Hybrid cars are just BEVs with more steps that can’t be recharged at home. Maybe useful for planes and other specific applications. Dumb for cars.
Techbros love reinventing trains https://www.youtube.com/watch?v=r5M7Oq1PCz4
If you want to spite this guy, ride a bus.
Huh. Didn’t know TiVo was still around.
We use a Tabo at home. Like TiVo, but primarily for network access from phones/media streamers. Has a similar lifetime subscription too.
You could even use one from the 1940s if you want!
Assuming your tuner was manufactured later than around 2005 and supports ATSC digital broadcasts. Also makes me wonder when you got your TiVo. I thought they were dead long before everything went digital.
Yeah, and increasing your buying power can talk you into making a larger purchase than you might otherwise have made.
What a coincidence that the best broadcaster who ever lived or will ever live happened to be alive in time for us to record him and immortalize his voice to use for generations to come.
That’s why we’re doing this, right? Because there’s no other human alive who is capable of reading a script as well?
Yeah, mine can boil a liter of water in 101 seconds at 450ft altitude.
I had a unique opportunity to directly compare my infrared cooktop (which I mislabeled as resistive) and my new induction cook top, so I did a little experiment to compare them: https://www.reddit.com/r/Cooking/comments/seaint/for_anyone_contemplating_upgrading_from_an/
TLDR: It boiled water in half the time using roughly half as much energy. Part of that may be due to the test pot being smaller than the burner, but this was the case for both stoves. It’s just the induction doesn’t heat the space around the pot.
Handling a pet peeve of mine. 3 seconds into the video, he talks about induction stovetops and shows a picture of a glass top radiant stove.
Radiant stoves are just slightly better than electric resistive stoves. They are not induction though they can look similar. People try them and hate them and assume induction is terrible when it isn’t.
Oh right, duh. Thanks.
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.
Thanks!
And it was. They told me to take the rest of the day off which at the age of 22 was unheard of.
Thank you! But this was 12 years ago lol. Think they’ve moved on.
Whoops. Formatting got lost in the transfer. Fixed now.
Yeah, doesn’t the dude consider Batman his true identity and Bruce Wayne the costume?