Skip to main content
Post Closed as "Needs more focus" by CommunityBot, Kilian Foth, gnat
Question Protected by CommunityBot
Rollback to Revision 5
Source Link
user8
user8

Where are octals useful? -- editors changed the question's meaning to something different

Ok, if some SO nazi will editI just banged my question to somethinghead against the table for some 20 minutes looking at a totally differentweird bug in PHP, and then I don't want to ask it anymorerealized there's octal.
Thanks The <%(*&#> octal.

PS:In short, I asked "who uses octal?"padded some literals with zeros so the code would be aligned, not where or for what they are usedI know, big mistake. BecauseForgot about octals.

The question is, asdoes anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I imaginedunderstand that if they have to be programmaticaly generated, people will startit's useful to copy & paste useless information from wikipediause octals.
I know what octal, hexa, binary and bases in general) But are. I just don't know anyone who uses octal these days. they useful in any other situation?

Where are octals useful? -- editors changed the question's meaning to something different

Ok, if some SO nazi will edit my question to something totally different, then I don't want to ask it anymore.
Thanks.

PS: I asked "who uses octal?", not where or for what they are used. Because, as I imagined, people will start to copy & paste useless information from wikipedia.
I know what octal, hexa, binary and bases in general are. I just don't know anyone who uses octal these days.

Where are octals useful?

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

The question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generated, it's useful to use octals.) But are they useful in any other situation?

added 362 characters in body
Source Link
Petruza
  • 1.1k
  • 1
  • 8
  • 15

Where are octals useful? -- editors changed the question's meaning to something different

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In shortOk, I paddedif some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

TheSO nazi will edit my question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generatedsomething totally different, it's usefulthen I don't want to use octalsask it anymore.) But are they useful in any other situation?
Thanks.

PS: Someone edited my question fromI asked "who uses octal?", which is pretty different from what's now the questionnot where or for what they are used.
I don't want Because, as I imagined, people will start to copy & paste useless information from wikipedia text here.
I know what octal, hexa, binary and bases in general are. I just don't know anyone thatwho uses octal in programming, and wnated to know about someone who does. And I mentioned file perimissions explicitly because I know it's used for that, but besides..these days.

Where are octals useful?

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

The question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generated, it's useful to use octals.) But are they useful in any other situation?

PS: Someone edited my question from "who uses octal?", which is pretty different from what's now the question.
I don't want people to paste wikipedia text here, I just don't know anyone that uses octal in programming, and wnated to know about someone who does. And I mentioned file perimissions explicitly because I know it's used for that, but besides...

Where are octals useful? -- editors changed the question's meaning to something different

Ok, if some SO nazi will edit my question to something totally different, then I don't want to ask it anymore.
Thanks.

PS: I asked "who uses octal?", not where or for what they are used. Because, as I imagined, people will start to copy & paste useless information from wikipedia.
I know what octal, hexa, binary and bases in general are. I just don't know anyone who uses octal these days.

added 362 characters in body
Source Link
Petruza
  • 1.1k
  • 1
  • 8
  • 15

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

The question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generated, it's useful to use octals.) But are they useful in any other situation?

PS: Someone edited my question from "who uses octal?", which is pretty different from what's now the question.
I don't want people to paste wikipedia text here, I just don't know anyone that uses octal in programming, and wnated to know about someone who does. And I mentioned file perimissions explicitly because I know it's used for that, but besides...

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

The question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generated, it's useful to use octals.) But are they useful in any other situation?

I just banged my head against the table for some 20 minutes looking at a totally weird bug in PHP, and then I realized there's octal. The <%(*&#> octal.

In short, I padded some literals with zeros so the code would be aligned, I know, big mistake. Forgot about octals.

The question is, does anyone use octals for anything other than file permissions? (I personally prefer chmod ugo+rwx but I understand that if they have to be programmaticaly generated, it's useful to use octals.) But are they useful in any other situation?

PS: Someone edited my question from "who uses octal?", which is pretty different from what's now the question.
I don't want people to paste wikipedia text here, I just don't know anyone that uses octal in programming, and wnated to know about someone who does. And I mentioned file perimissions explicitly because I know it's used for that, but besides...

Tweeted twitter.com/#!/StackProgrammer/status/99323497792282625
added 20 characters in body; edited title
Source Link
Michael K
  • 15.7k
  • 10
  • 65
  • 95
Loading
Making this Post Rated PG.
Source Link
Catchops
  • 2.5k
  • 13
  • 20
Loading
added 4 characters in body
Source Link
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683
Loading
edited tags
Link
Loading
Source Link
Petruza
  • 1.1k
  • 1
  • 8
  • 15
Loading