Friday, April 06, 2007

Foobar!

Yesterday I put on my programmer's hat whilst blogging and blogged about my day programming.

I used the computer term: foobar and Dad29 comments the term is fubar, not foobar.

Well, the version that came the quickest was foobar. Now, most of us know fubar is an acronym for something I will not detail here. ;-) However, in computer classes, texts, writing etc it is foobar that is used.

Anyway the tribulations I went through the other day are not as critical as previously thought since processes are mired in the (way) earlier stages of processing.

Labels: , ,

Thursday, April 05, 2007

Stupid Windoze Trick.

Grrrr,

I am working on a process running in PERL on a Windows server. PERL has a wonderful & very powerful way of matching patterns and it is amazing what can be done with regular expressions. However, one script I was looking used something like this:

$ThisProg=c:\p1\p2\p3\bar~1

I looked at that and it drove me crazy! I went on the server the script runs on and looked for a script entitled foo~1. Couldn't find it.

Also a folder was referred to as: $ThisFolder = c:\p1\p2\foo~1

Again, no bar~1 in the expected place. Well on a hunch I put "c:\p1\p2\foo~1" into a address bar of an open explorer and what happens? It opens up: c:\p1\p2\foobar.

Okay, unfortunately the way the program does it all this made me perform some last minute scrambling.

Labels: ,