Command Prompt

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.

Should There Be Command Prompt In The Wiki?

Yes
10
77%
No
3
23%
 
Total votes: 13

User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Yayyak wrote:POSIX is wonderful as a standard...
*COUGH* :shock:

I admit that POSIX is useful, in the same way that C++ or Windows is useful. But this is the first time I read "wonderful" in the same sentence as POSIX (without a sarcastic emoticon appended)...
Every good solution is obvious once you've found it.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

There is no use lying about it Solar.. just confess your undying love for the standard and move on with your life ;)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Ah, well...

From "man unlink":
EPERM - The system does not allow unlinking of directories (...). (This is the POSIX prescribed error return; as noted above, Linux returns EISDIR for this case.)
Just one of the many, many examples where POSIX isn't followed through properly in favor of "better" solutions, making it rather worthless as a reference standard.

I agree that it is nice that POSIX came around when the Unixes started to drift apart too much. Most people consider "POSIX" to be a synonym for "Unix-alike", and in that regard, I wouldn't even object.

But as a standard, it sometimes even forces you to do stuff wrongly in order to comply. (Leap seconds and Unix time, oh the joy of it...) (*)

And I disagree with much of the underlying philosophy, but that's a different ballgame.

Some day I'll get around to write all the stuff I hate about POSIX into a ranting website. I already got a fitting domain name registered, I just never found the time (or my rants went a bit... overboard. ;-) )


(*): For completeness: Consider an application that writes a log entry every 0.5 seconds. When a leap second occurs, you'll have duplicate, non-sequential timestamps if you're using "Unix time". Jolly fun.
Every good solution is obvious once you've found it.
Post Reply