55
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 26 Nov 2025
55 points (100.0% liked)
Asklemmy
51445 readers
1253 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 6 years ago
MODERATORS
Converting between hexadecimal and binary. It's not that hard and it would've been useful many times, but I still haven't memorised it
If you're a software engineer, memorizing an ASCII table (particularly the hex numbers of each character code) is definitely helpful. If for no other reason than so that you can read things that are randomly written in binary without having to consult a table.
Something not really otherwise terribly useful that nonetheless helped me keep my sanity: learn how to convert to base64 in your head. At work, we had really boring 8-hours-a-day training for a couple of weeks. To pass the time, I came up with random strings to base64 encode in my head. "
Hatis48 61 7a. The first six bits are010010which in base64 is anS. The next six bits would be000110which in base64 isG." Etc. I'd write down the base64 strings character by character as I derived them and then check my results for errors when I got back to my desk.When is it useful past the point of just looking it up as need be?
It's not something you try to recite. You just do it so many times you became too good at it to look at the table.
Four bits can represent up to 15, from 0000 to 1111. Correspondingly, 0 to F in hex.
Binary from right to left is 1, 2, 4, 8.
One byte is eight bits. It takes eight digit places.
XXXX XXXX
0000 0000 to 1111 1111
00 to FF
0 to 255
I mean when would it be so necessary that it jystifies itself or the time cost to do so
It's useful if you're a network engineer or a web designer.
Sub netting baby!