Friday, June 22, 2007

Of spreadsheets and thank you notes

Unless you happen to be a programmer, you may not have noticed, but spreadsheets are incredibly hard to code. Of all the implementations I have ever seen, I would say one, Microsoft Excel, actually works likes its supposed to (most of the time). Almost all the other ones are littered with focus and paint issues.

In other news, I received a thank you note for a wedding I attended about one year ago. I do believe that is the longest time I have ever experienced between a gift and a thank you note. Way to go Justin H. You are the man. The best part was the contents of the note, which was highlighted with this:

"Thank you for the concrete dish you gave us for our wedding. It is neat and we use it a lot." Touching words for anyone to hear.

1 comment:

none said...

yeah, i can't remember what i gave Enrique. maybe i didn't give him anything, because i'm kind of an a-hole like that.

in other news, i tried coding a spreadsheet for MSDOS 6.2 once. i couldn't even get the freakin' thing to display text in columns, much less actually do anything.

in hindsight, maybe making a .bat file wasn't the best approach to the spreadsheet problem.

i'm still convinced you could mostly solve the "format the output issue into rows and columns" with just a loop of goto's, but actually making a real program is way beyond my level of knowledge.

seriously tho, i was a judo master of batch files once upon a time. now i'd have to check the googlenet just to see if i remembered all the commands and syntax for this little ditty correctly. by the way, if you run this, be prepared to not do anything else for a really long time.

COPY CON cliche.bat
@ECHO OFF
CLS
CHOICE /N /C:1234 PICK A NUMBER (1, 2, or 3 for cliches, or 4 to tell everyone how you really feel)%1
IF ERRORLEVEL ==4 GOTO FOUR
IF ERRORLEVEL ==3 GOTO THREE
IF ERRORLEVEL ==2 GOTO TWO
IF ERRORLEVEL ==1 GOTO ONE
GOTO END
:FOUR
ECHO THOUGH COLD AND DEAD INSIDE, I LOVE CLICHES MORE THAN LIFE ITSELF
GOTO END
:THREE
ECHO I FEEL THAT
GOTO TWO
:TWO
ECHO ISN'T THAT WHAT MAKES AMERICA GREAT
GOTO ONE
:ONE
ECHO AND COMMUNISM SO PRODUCTFUL
GOTO THREE
:END
GOTO FOUR