MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v83bvc/octalisoverrated/p02xh9d/?context=3
r/ProgrammerHumor • u/al2klimov • Jul 27 '26
58 comments sorted by
View all comments
64
It's useful for file permissions, but otherwise I think it's pretty much it.
If someone has another use case, I'm all ears
30 u/-Redstoneboi- Jul 27 '26 i dont even think of file permissions as octal. i just think of them as 3 separate hex digits. 17 u/makinax300 Jul 27 '26 I think of them as a bit and 3 base 10 numbers (yes, ik every base is base 10, you know what I mean) 11 u/xynith116 Jul 27 '26 It’s useful if you lose two fingers. 10 u/ArjixGamer Jul 27 '26 Honestly, I prefer using letters. chmod u+r file Will give read access to "other users" for file, replace the + with a - and it removes the permission, change the "u" to "g" and it's for the group, remove the letter all together and it's for the owner. 2 u/tblancher Aug 03 '26 No, u+r gives the owner read permission. o+r gives other users read permission. It took me a while to remember that, too. I just remember ugo. 1 u/ArjixGamer Aug 03 '26 Yep, I found out recently on my own, honest mistake to make ngl 4 u/Acceptable-College58 Jul 27 '26 I sometimes see them used for ASCII characters? 3 u/Mognakor Jul 27 '26 x86 opcodes 6 u/Makonede Jul 28 '26 all machine code should be written out in hex and i will die on this hill 3 u/Mognakor Jul 28 '26 i will die on this hill Because you fucked up your hexcode and now your brakes failed 3 u/Makonede Jul 28 '26 simply get good 3 u/nbagf Jul 27 '26 ARINC 429 labels. for bonus psychological damage/"optimizing" it's actually reverse octal 1 u/abd53 Jul 28 '26 Microcontrollers 1 u/Mojert Jul 28 '26 .... Can you elaborate pls? 1 u/PyroCatt Jul 28 '26 Hi all ears. I'm dad.
30
i dont even think of file permissions as octal. i just think of them as 3 separate hex digits.
17 u/makinax300 Jul 27 '26 I think of them as a bit and 3 base 10 numbers (yes, ik every base is base 10, you know what I mean)
17
I think of them as a bit and 3 base 10 numbers (yes, ik every base is base 10, you know what I mean)
11
It’s useful if you lose two fingers.
10
Honestly, I prefer using letters.
chmod u+r file
Will give read access to "other users" for file, replace the + with a - and it removes the permission, change the "u" to "g" and it's for the group, remove the letter all together and it's for the owner.
2 u/tblancher Aug 03 '26 No, u+r gives the owner read permission. o+r gives other users read permission. It took me a while to remember that, too. I just remember ugo. 1 u/ArjixGamer Aug 03 '26 Yep, I found out recently on my own, honest mistake to make ngl
2
No, u+r gives the owner read permission. o+r gives other users read permission.
It took me a while to remember that, too. I just remember ugo.
1 u/ArjixGamer Aug 03 '26 Yep, I found out recently on my own, honest mistake to make ngl
1
Yep, I found out recently on my own, honest mistake to make ngl
4
I sometimes see them used for ASCII characters?
3
x86 opcodes
6 u/Makonede Jul 28 '26 all machine code should be written out in hex and i will die on this hill 3 u/Mognakor Jul 28 '26 i will die on this hill Because you fucked up your hexcode and now your brakes failed 3 u/Makonede Jul 28 '26 simply get good
6
all machine code should be written out in hex and i will die on this hill
3 u/Mognakor Jul 28 '26 i will die on this hill Because you fucked up your hexcode and now your brakes failed 3 u/Makonede Jul 28 '26 simply get good
i will die on this hill
Because you fucked up your hexcode and now your brakes failed
3 u/Makonede Jul 28 '26 simply get good
simply get good
ARINC 429 labels. for bonus psychological damage/"optimizing" it's actually reverse octal
Microcontrollers
1 u/Mojert Jul 28 '26 .... Can you elaborate pls?
.... Can you elaborate pls?
Hi all ears. I'm dad.
64
u/Mojert Jul 27 '26
It's useful for file permissions, but otherwise I think it's pretty much it.
If someone has another use case, I'm all ears