Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Beatnik (493)

Beatnik
  (email not shown publicly)
http://www.ldl48.org/

A 29 year old belgian who likes Mountain Dew, Girl Scout Cookies, Tim Hortons French Vanilla Flavoured Cappucinno, Belgian beer, Belgian chocolate, Belgian women, Magners Cider, chocolate chipped cookies and Perl. Likes snowboarding, snorkling, sailing and silence. Bach can really cheer him up! He still misses his dog.

Project Daddy of Spine [sf.net], a mod_perl based CMS.

In his superhero time (8.30 AM to 5.30 PM), he works on world peace.

Journal of Beatnik (493)

Friday January 23, 2004
11:02 AM

Hide extensions for known filetypes

[ #16975 ]
Customer: It is not working anymore! *PANIC*

Me: *PANIC*

Customer: Fix it or we will not pay

Me: *PANIC*

After 2 days of swearing and cursing and replacing all file I/O routines by alternatives...

*Uncheck flag that hides file extensions for known file types in explorer*

Me: It is working...

What basically happened was that the customer complained that my program was broken because the file was there but it wasnt being read... It seemed it didn't even find it... Eventually the file was called DATA.TXT.TXT only because I didn't realize the extension wasn't being shown... hence the file wasn't being found. After unchecking the flag and renaming it to DATA.TXT, my program was working fine... The problem existed between the chair and the keyboard.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I seethe with rage at my own memory of a similar problem. I was so hot the last time it happened I was ready to break a window, throw my brand new laptop out it, and leave (obviously quitting my job). There's nothing so infuriating as a computer that won't follow instructions when the instructions are clear, the data source is there, and everything should work ... unless you count OS designers who try to "help" you in stupid ways like hiding file extensions.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • When in doubt, double your fee.