Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: There's a level in Hell reserved for ________

by rob_au (Abbot)
on Feb 28, 2003 at 06:20 UTC ( [id://239346]=note: print w/replies, xml ) Need Help??


in reply to There's a level in Hell reserved for ________

Off the top of my head ...

  • There's a level of Hell reserved for people who consider creating temporary files and directories with formats like tempdir-{month}{day}.
  • There's a level of Hell reserved for people who write batch processing code that doesn't clean up after itself.
  • There's a level of Hell reserved for global and environment variables and those people who use them without care or regard in production code.
  • There's a level of Hell reserved for those people who write uncommented and unstructured code.
  • There's a level of Hell reserved for that person who did all of the above in some production code which caused me a headache in debugging today.
  • There's a level of Hell reserved for those people who don't understand what's involved in production code but demand for it to be "just fixed so it works".
  • There's a level of Hell reserved for people who use bless $self, ref($proto) || $proto
  • There's a level of Hell reserved for people who write "object-orientated" modules that break inheritance.
  • There's a level of Hell reserved for the person who incorporated the concept of "ASCII" and "binary" files into the FTP protocol and the Windows operating system - Come'on, it's all just bits, ones and zeros, people!
  • There's a level of Hell reserved for the person who incorporated the \r\n line feed on Windows platforms - Yes, I know there was a valid historical motivation in doing it this way, but I'm venting!

I am feeling vented ... :-)

 

perl -le 'print+unpack("N",pack("B32","00000000000000000000001000110110"))'

Replies are listed 'Best First'.
Re: There's a level in Hell reserved for ________
by jonadab (Parson) on Mar 01, 2003 at 15:44 UTC
    There's a level of Hell reserved for the person who incorporated the concept of "ASCII" and "binary" files into the FTP protocol and the Windows operating system - Come'on, it's all just bits, ones and zeros, people!

    Hope you never have to work with VMS. Or pretty much anything besides Unix, actually. But there may very well be a level of hell reserved for people who create filesystems that have multiple separate ways to store data associated with a file, dub one of them the "data fork", and then proceed to store data in the others.

    There's a level of Hell reserved for the person who incorporated the \r\n line feed on Windows platforms

    No, that's standard-compliant behavior. There's a level of hell reserved, I'm quite sure, for people who decide to save one byte per line by ignoring bits and pieces of well-established standards such as ASCII. (Not that the folks at MS aren't guilty of things like that too, but we can't take the time to list those infractions here, and they aren't Perl-related anyway.) A Windows file you can just send straight out a socket, but a Unix-style file has to be munged to adhere to all the protocols when you send it over the network. (That's not why MS followed the standard, though; they didn't care at the time about networks; they just wanted to be able to toss a file at the parallel port and have the printer "just work" with no driver. Remember ASCII printers? Yeah. I even had one that did Extended ASCII. The output was barely legible, but hey, it worked.)


    for(unpack("C*",'GGGG?GGGG?O__\?WccW?{GCw?Wcc{?Wcc~?Wcc{?~cc' .'W?')){$j=$_-63;++$a;for$p(0..7){$h[$p][$a]=$j%2;$j/=2}}for$ p(0..7){for$a(1..45){$_=($h[$p-1][$a])?'#':' ';print}print$/}
Re: Re: There's a level in Hell reserved for ________
by thor (Priest) on Feb 28, 2003 at 13:37 UTC
  • There's a level of Hell reserved for the person who incorporated the concept of "ASCII" and "binary" files into the FTP protocol and the Windows operating system - Come'on, it's all just bits, ones and zeros, people!
  • I personally like ftp to translate line endings to the local notion. Saves a headache trying to convert them manually...^M anyone?

    thor

      Well, that would just lead to the person who designed an os that distinguished between the two....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://239346]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-29 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found