I dusted off my old iPhone 6s and remember about those Nyan Cat games for mobile, surprisingly they are still in the App store! I downloaded the Nyan Cat Jump game again and it was like going back in time!
I knew a guy who used the Unicode character for a space in his password. He figured if anyone ever saw his password they’d think it was a space and still not be able to use it. It’s silly, but it was a fun thing to learn about him.
My current boss will print out Excel sheets and use a calculator to sum things and then write in sharpie on the page the changes that he wants me to make to the sheet.
You are correct. I came back to say that I’ll use the walrus operator when it’s pushed into my cold, dead hands, but… I might actually use it, now that I’ve refreshed myself on it.
I’m glad I’m not the only one. My son is a year and half old. I’ve been teaching to count on his hand in binary since day 0. He goes wild and celebrates when we reach 31 🙂
I’m in my mid 40s, and I’ve never thought to count in binary on my fingers. I haven’t needed to use binary for about 30 years, and I’m easily the geekiest of my friends, so I’ve never had an excuse to do it for fun.
Most of the time it’s not exactly useful and some of the positions are awkward (e.g. 8, 9, 10), counting to 31 on one hand is maybe useful.
More useful IMO is counting in base 6 and treating each hand as a single digit. i.e counting to 35 on 2 hands without awkward fingerings. Better than 10, less awkward than binary.
We’re about to start learning how to program, probably with Python, so it could be a good way to start thinking about how computers work. I never would have thought to try other systems though, so I’ll look into base 6. Thanks for the suggestion :)
without awkward fingerings
Oh, the fun I would have had with that phrasing if we weren’t talking about teaching kids… :D
It does take s little practice but not too much. The awkward positions are easy enough after a few weeks.
I chose binary for two reasons. First, it is occasionally useful to count that high on one hand. Second, the education when he’s older. I hope this will give him a note intuitive understanding of different bases. And binary is specifically useful for understanding comported and software development. I dont intend to push him toward a career in software but I think there’s a fair chance he chooses that anyways.
My siblings and I always loved the number 4 because our puritanical mother was so casual about sticking her middle finger out at only that moment. That was just about the most taboo thing we could imagine, and it was as a result hilarious.
Jokes on you, I use my fingers as bits for a total of 1024 numbers (0-1023). Or I can sacrifice 1 finger time be a sign bit and count negative numbers too.
I like this idea in theory, but some combinations of fingers are very awkward to extend without the others, and one particular combination is very rude.
Jokes on you, fingers are tri-state (fully extended, fully closed, bent at middle knuckle) not binary, so I can count to 59049.
Someone with better finger control should be able to treat them as quad-state, granting the ability to count to 1048576 by bending just the outer knuckle.
I once asked some of my friends what they were up to at work.
An accountant friend said “I’m making a VBA macro to restructure and convert our customer’s XML data into an SQL transaction so that we can import it into our accounting system”.
A car mechanic friend said: “I’m trying to find the pinout for this obscure ECU so that I can flash in this profile that I’ve tweaked with hex editor”
A teacher friend said: “I’m setting up integration between moodle and shopify so that we wouldn’t have to enroll our students manually”.
And every time my response was “YOU WHAT NOW? You should work in IT”
And they always responded with something along the lines of “Yeah, nah, I’m not that smart”
And here I am, slapping webpages and forms together, earning more than all of them combined. That’s really unfair, but I’m not in a position to complain.
One of the reasons indexing starts at zero is because back when we used to use pointers and memory addresses, the first byte(s) of an array were at the address where the array was stored. Let’s say it is at 1234. If it was an array of bytes, the first data element was at 1234, or 1234 + 0. The second element would be at 1235, or 1234 + 1. So the first element is at location 0 and the second at location 1, where the index is actually just an offset from the base address. There may be other/better reasons, but that’s what I was taught back in the 90s.
Counting always starts at 1 (if we’re only using integers). You don’t eat a hamburger and say you ate zero hamburgers.
When you’ve eaten more than 50% of the hamburger, do you claim to have eaten one, or do you claim zero? Are you useing standard founding or are you using floor()?
I create a Vulkan instance, a device, a compute pipeline then use an image sampler with VK_FILTER_LINEAR on a single-texel image in order to interpolate the two adjacent values of hamburger eatage, simple as.
There was a time when I had to switch back and forth between Fortran90 and C several times a day, and it messed me up so bad that doing simple tasks like counting apples at the grocery gave me anxiety.
Well, you don’t really see many people accessing lists with pointers directly. Also 0-indexing does give us an extra number to index with(say 1-255 vs 0-255)
programmer_humor
Oldest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.