?

Log in

No account? Create an account

for /L %v in (99,-1,0) do @echo %v bottles of beer

« previous entry | next entry »
Mar. 29th, 2005 | 04:52 am

Me: Well, we can make a subdirectory called cd03 and move these directories in there. Then you can just type autorotate cd03

CoWo: We'll have to start this one over, then. But then it'll start from the beginning, and do 1-3 over again.

Me: Yeah... but that's okay, since it'll skip over each one as it recognizes that it's already done it. But that does take some time. What I'd actually do is a little different but not important. And it's not something we want to make part of the standard procedure.

CoWo: What would you do?

Me: Well, I'd just [begins writing in random order on paper pad] (for /L in %v (4,1,9)

CoWo: ohmigod

Me: do autorotate cd03_s000%v) && (for /L in %v (10,1,37) do autorotate cd03_s00%v)

Me: [explains the above which is actually nothing special]

CoWo: I would never even have thought about it that way! I can understand this [points at paper], but I have to concentrate and make my brain work differently!


...the second time in as many days someone has told me my brain works in a way that they understand but that their own brain would never have done.

Link | Leave a comment | Share

Comments {7}

Bean

(no subject)

from: fulguritus
date: Mar. 29th, 2005 11:51 am (UTC)
Link

i agree with that. i seem to totally get the way your brain computes. and it's hot. and intriguiging, but yeah, i don't think my brain seems to gather that it could think that way.
i mean there's just no inborn inclination, or training.
i like the way you think.

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Mar. 29th, 2005 08:07 pm (UTC)
Link

thank you.

you're one of the few people who gets my jokes effortlessly, which is fun for me but sometimes startling. i'm not usually trying to be understood!

*hugs*

Reply | Parent | Thread

Bean

(no subject)

from: fulguritus
date: Mar. 31st, 2005 05:50 am (UTC)
Link

i love getting your jokes and quips!

Reply | Parent | Thread

dr. pangloss

(no subject)

from: denshi
date: Mar. 29th, 2005 03:14 pm (UTC)
Link

What about it surprised him? Where in the line you started writing?

Reply | Thread

(Deleted comment)

Triple Entendre

(no subject)

from: triple_entendre
date: Mar. 29th, 2005 07:42 pm (UTC)
Link

right, but for the purposes of this discussion we're limited to the Windows XP command line.

and i've figured out how to do a fixed format string in it, but it only works inside a batch file, which is harder to do as a one-liner. I'd have had to do something like (echo this) && (echo that) && (echo the other thing) >tmp.bat) && tmp.bat && del tmp.bat and there's no way i'd want to explain that.

The suprise comes from him realizing that I'm answering the question by writing a bunch of chicken scratches on paper from memory. He's sharp, but he's not a programmer.

Reply | Parent | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Mar. 29th, 2005 07:43 pm (UTC)
Link

sorry about the mismatched parentheses. here ya go: (

Reply | Parent | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: Mar. 29th, 2005 08:01 pm (UTC)
Link

The suprise comes from him realizing that I'm answering the question by writing a bunch of chicken scratches on paper from memory. It doesn't fit his experience OR my usual personality at work. He's sharp, but he's not a programmer.

I try not to be too "magic", because because what we're doing is supposed to be monkey work, so I'm putting any of the magic inside well-documented script/batch files where future monkeys don't have to understand it.

There's nothing special about the "code". (Although the "extensions" to the Windows NT/Windows XP "Command Prompt" are somewhat amusing to play with.)

Reply | Parent | Thread