Just seemed odd to pay your way into the Apple ecosystem just to wipe it and install Ubuntu
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.
Yeah, and increasing your buying power can talk you into making a larger purchase than you might otherwise have made.
Technically LBJ killed the small truck with the chicken tax. If nobody can afford to import reasonably sized European and Asian trucks, we’re left with whatever the big three churn out.
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.
Best explanation I’ve seen is that humans judge distance and size assuming a relatively flat surface (a dozen miles or so in any direction is fairly flat even though the Earth is round).
Things far along the horizon tend to be small because they’re far away. This isn’t the case for the Moon. So our brains assume it’s far away, but it’s the same apparent size, ergo, it must be massive.
Like we know Mt Rainier is massive and far away, so given this photo, we might assume the moon is massive.
Higher in the sky, there’s no real point of reference. Also, you might visually process the sky as a flat layer above the ground, so the same parallax trick applies. I.e. the sky above you is closer than the sky/ground at the horizon. Therefore Moon is “closer” and appears smaller.
need a vehicle that sits high
Why does anybody need a vehicle that “sits high”?
Oh right, duh. Thanks.
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.
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.
I was once motivated to work out by Amizon Subscribe and Save.
I had a subscription to protein shake powder, and I only let myself drink it after working out. If I skipped too many days, I’d still have some when the next shipment arrived, and I hate wasting food.
Yeah. They cancelled it after they realized that people were buying consoles to build computing structures which went against Sony’s “sell the console at a loss and make it up in game sales” strategy.
Edit: on wait, that was PS3.
What’s funny is that’s how it started. Apple sold movies as early as 2007 before Netflix or Amazon video or whatever and expected you to host the files locally either on your computer or your AppleTV (which had a hard disk drive at the time) and stream it locally over iTunes. If you lost the file, that was supposed to be it.
Of course, you still had to authenticate your files with the DRM service, and eventually they moved libraries online and gave you streaming access to any files you had purchased.
Yeah I think they needed horsepower to run some sophisticated models in Matlab, and Apple had a killer educational discount.