Log in

No account? Create an account
ziploc day - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

ziploc day [Aug. 8th, 2004|03:42 pm]
Brad Fitzpatrick
[Current Music |Guns n' Roses - Use Your Illiusion I]

Today's clean the house today because it's too hot outside.

I went on a short bike ride, accomplished my mission (five thousand ziploc bags), and quickly returned.

So now I'm putting all my small stuff in ziploc bags because the zip-tie plan from the other month wasn't thought out that well.

See, I have about five thousand small parts and cables in a bunch of bins. But without ziploc bags, they all get tangled up and impossible to search through.

RFID could be useful here. Tag the ziploc bags with RFID tags, linked with pictures which I could lazilly meta-data at will. Then when I want something I get out my RFID reader and search for the proper room and bin.

But I digress. Back to baggying.

[User Picture]From: feren
2004-08-08 03:52 pm (UTC)
Your RFID plan sounds neat, but it suffers from the affliction all system administrators are burdened with. Let's go to the filmstrip:

[Feren's Supervisor] Add the Gurnee center and the Mesa center to our MRTG site, would ya?
[Feren] Sure!

--- Four minutes later ---

[Feren] Hey, this task of adding a device to our MRTG monitoring script and then updating the webserver's files and making directories is repetitive and slow. It takes me almost four minutes to do this by hand every time I want to add a new router!
[Coworker] So script it, dude.
[Feren] That's a brilliant idea!

--- twenty minutes later ---

[Feren] KSH sucks.

--- twenty minutes later ---

[Feren] Bash sucks.

--- two hours later ---

[Feren] Well, it's a kludge, but I've gotten this PERL script to do everything I want with just three lines of input upon startup.
[Coworker] You stayed late... because you were too lazy to add a second website by hand, and instead spent hours trying to make a script to do it for you? How many times will you have to run it to get a return on your time investment?

--- five minutes later ---

[Feren] Shut up.
(Reply) (Thread)
[User Picture]From: brad
2004-08-08 04:02 pm (UTC)
(Reply) (Parent) (Thread)
[User Picture]From: mart
2004-08-09 11:28 am (UTC)

It's the principle of the thing. Human is clever, machine is dumb. Human tells machine how to perform task once, machine does job many times.

Doing stupid jobs like that is the machine's job. Also, you learnt from this that KSH and Bash both suck and to write everything in perl in future, which is a lot more valuable than the resulting script itself!

(Reply) (Parent) (Thread)