John’s Musings

3/31/2006

Good to be the geek

Filed under: General, Work Stories — John @ 11:59 pm

There are moments when I have to sit back and enjoy being a geek. Today had one of those moments. After an upgrade the library system developed a new quirk. It was almost impossible to get phone numbers to print on the notices we use to call people when an item they have placed a hold on arrives. I spoke with the vendor at length about the problem and was told that because we had an old “PHONE” field in all of the older user records (all staff, faculty and admins) there was not much that could be done. The system runs through the list of phone fields and the first field it encounters with the word phone in it prints. That is unless that 1st field is blank, then it prints nothing at all.
I asked the company if it was possible to delete that field in records where it was empty. They gave us three options. Option one was to manually remove that field from each user record. To remove the field twice from over 3500 users would be a daunting task to say the least. For option two they said they could write a program to fix it for us but it would cost a rather large sum of money. Option three almost seemed offered in jest. It was the option where I could write the program myself. None of the options provided seemed all that appealing to me.
After letting a co-worker start on the list for a day or so, I began to tinker with the process as well. It was extremely tedious. I hate tedium. So I started to consign myself to the fact that I would once again have to delve into the world of SIRSI API. Believe me when I say, it is unlike anything most people would consider an API. I ran through my API manual to no avail, the commands I wanted were not listed. I went through the electronic documentation, still no help. I skimmed the super secret API guru website, and saw nothing of use for this problem.
It was at that point that I decided I was on my own. I began watching the transaction logs on the server as I manually removed field after field in user record after record. Each time I removed a field a specific line of data appeared in the log. It seemed a little to easy at first glance, that was of course because it was to easy. The logs only showed the second half of a two part process. In order to delete a field, you have to know the fields “Absolute Field Position”. This is a number that for my purposes might as well have been random. (It’s not really random of course, but it might as well have been) I had hit a brick wall so to speak. How was I going to find out the number I needed when the command used to retrieve the number was purposefully filtered out of the logs, and left out of the documentation. I remembered from my training that there was a way to un-filter a command, but to do so I would need to know what command it was I needed un-filtered. So there was no real help there.
I finally had a burst of inspiration this afternoon while explaining the problem to my co-worker / friend, Kendall. I tend to get those bursts of inspiration around him. I chalk it up as some form of a Holmes and Watson relationship. He forces me to come at the problem from different angles, and that often leads me to the solution. Today was no exception. I hit upon the idea of creating a logging proxy that would sit between the client and the server and dump all of their communications to a log file of my own. I could then read my log file, which was not filtered, and had the advantage of showing traffic both directions. I already knew the 2nd half of the sequence to delete, so then logically what came before it in that log would be the missing link I was looking for. Thankfully there is no need to actually create such a proxy from scratch. The gurus of the Unix/Linux world have already done that in a program called “netcat”. After a little tinkering with netcat I had a proxy setup. I connected to the server via the proxy and deleted my first field. A quick glance into my log file and I was presented with a massive burst of data from the server in response to a previously unknown command. I had indeed found my missing command.
Now that I had the command it became a simple matter of using it to retrieve the “Absolute Field Position”. Once I had that number I was able to construct the second part of the command. After doing a little fidgeting in a text editor I manually sent the newly constructed command into the server and nothing happened. Well actually something happened, it gave me an error. I tinkered and tweaked and finally noticed the problem. Once I corrected my mistake I ran my command again and to my cheers of joy the old PHONE field vanished from the users record. One record down ~6999 to go. By this time it was 4:15 and I quickly documented all of my progress and dumped it to my jump drive for safe keeping. When I arrived at home I found myself driven to complete the project and actually write code to automate this process.
I tinkered and coded and coded and tinkered and around 8:00 I ran my first test. It was a success. A little more tinkering and I am now happy to report that by 9:15 tonight all of those troublesome fields are just a distant memory.

A post to make you smile

Filed under: General — John @ 10:48 pm

I stumbled across a site today and I just had to share it. It’s to cute for its own good. The site is called “Cats in Sinks“.

3/30/2006

Shhh… Do you smell that?

Filed under: General — John @ 7:09 pm

In honor of today being such a nice day / evening I stopped by the store on the way home, picked up some great looking pork chops, some new interesting looking new rub, and some sort of rice in a box thing. When I got home I pulled off the grill cover, fired it up (it started right up, no problem) and scrubbed it down. I then seasoned the meat, and wiped the grill down one more time, and threw them on. As I type this I am sitting on the desk, listening to the crackle of the chops cooking, and smelling that wonderful scent of grilling food. Yummmy Yummy!

3/28/2006

Metroid Prime Hunters

Filed under: Nintendo DS — John @ 9:54 pm

I broke down and got Metroid Prime Hunters tonight. I’m not really good with FPS games, but again, its a Wi-Fi title… so uh… Gotta Have it… I realised tonight that I have bought more games for the DS than I have for the last two game systems I had total.
Here’s my friend code for it. Same deal as always… if ANYONE hapens to get it.. post your friend code here so I can play you. I promise I SUCK at FPS so I’m an easy target…
Name: cap60552
5197
5906
6039

3/27/2006

I Don’t do windows…

Filed under: General — John @ 2:27 pm

Today at work my order for a “Swiffer Duster” came in. Wow what a cool device. I ordered it so I could clean out the giant dust puppies living behind the computers in the desks, and tables. It worked wonders. Unfortunatly I got a little creative… Out of curiosity i iped it across the air intake vent above my desk. This vent has been a grey metal color since I started working here 11 years ago. I thought it was odd they didnt buy white ones, but knowing how cheap the place can be, I didn’t give it much thought. Besides… How often does one stare at the ceiling. When I wiped over the vent I about screamed. The vent is actually white. It had so much dust on it that you coudl NOT tell what color it was supposed to be. I wonder why we are always sick up here. I cleaned all but one vent here, and I am waiting for the HVAC guy to come by so I can show him the mess. Of course I’m certain he will give me some excuse along the lines of it begin better to not disturb the dust. This is fricking absurd. I also did a demo for my boss and she was horrified. She has now placed a work order to have all of the vents cleaned. Something tells me they wont do it, as any time we have asked them to dust they respond with, “It’s not our job to dust. ” (This is actually why I ordered the swiffer in the 1st place) I think I may actually buy one for home though, I know my room could use it, and behind the TV and other electronics could really use it as well. I know its proably more ecologically sound to use a regular duster, rather than generate that much more waste, but the removal of the dust and crap in the house might just offset that in my head. Yes, an old fashioned duster would probably work jsut as well too, but the old fashioned dusters I’ve used jsut kick up the dust back into the air and I don’t want that.

3/26/2006

Descisions…

Filed under: General — John @ 10:02 pm

I have a delima. I have a gift certificate to think geek. The problem is, I jsut can’t make up my mind as to what to buy with it. I have narrowed it down to two possible orders. Post your vote as a comment to help me decide.

Option 1:

Option 2:

A third reccomendation made popular by people who know me to well.
Option 3:

Ahhhh choices, choices, choices…

Who’d a thunk it…

Filed under: General — John @ 6:22 pm

I think we all had a fun time at Dave’s today, I know I did. Overall I think things went pretty well considering we don’t really know a lot about what we were doing. :-)

3/24/2006

Birthday Dinner

Filed under: General — John @ 11:23 pm

Tonight after work I went for a nice German dinner at the Bavarian Inn in Lisle. I love the food, and the beer selection there. This was the brainchild of my buddy Tony, and because he didn’t get around to emailing anyone until this morning almost everyone had prior plans. We ended up having four people for dinner counting me, and it was a really nice time.
When I arrived I was kind of tired from not sleeping much this week. (Damn you Nintendo and your evil addictive Tetris DS game) So I figured I had about 30 minutes or so before everyone was going to be there so I took a quick cat nap. I awoke to Tony and Carrie knocking on and shaking my car. (Yes Jon, I jumped and flailed. No I did not hit my head.) So I hopped out of the car, grabbed the cell phone, hit the lock, and shut the door. We went in and as we were sitting down at the table to wait for Zack I realized I had locked the keys in the car. Crap…
We had a nice dinner and great conversation. Sometimes it is just really nice to have a small number of people at dinner. We all talked about this and that, remembered al sorts of capers from the past and had an enjoyable time. The waitress even brought out a free Chocolate Amaretto Bundt cake with a candle for me. It was delicious! As a rule, I am not a big chocolate cake fan but I thought I would be polite and eat at least part of it. Ye flipping gods, it was incredible.
After dinner we sat and talked a little more to let the food, and beer digest a bit. One topic of discussion was how I was going to get into my car. I explained that this is about the fifth or sixth time I’ve done this, and I’m an old pro at breaking into my car. After a bit more conversation and the bill was paid, (no one would let me pay again…) we said our goodbyes and Tony and Carrie went back home while Zack stayed with me to assist me in my break-in. He was still feeling a little effect of the dopplebach beer so I drove his car to the local K-Mart to acquire the one ‘tool’ I would need to gain entry to my car.
We wandered K-Mart and to my dismay they did not carry the item I needed. We wandered a bit more looking for a suitable substitute, and found one in the camping isle. I noticed a packaged containing four Coleman campfire forks. Looking at the package they appeared to be perfect in almost every way. They were the correct length, the correct gauge of wire, and they were even pre-bent into almost the perfect shape. We paid and made our way back to the restaurant. Zack watched as I made the 2 final necessary bends to one of the forks and in less than 5 minutes (a new personal record) I was holding my car keys.
I think on some level I should be more disturbed than I am that I can so easily break into my car. On the other hand it sure is a lot cheaper than a locksmith. Of course the best option would be to just get a spare key made and put it in my wallet, but where is the fun in that!

e-cards

Filed under: General — John @ 9:33 am

Here are links to the ecards I got today: (I’ll update the post if more come in)
Card 1 – Capps Family

Card 2 – Jessica Don

Card 3 – Molly

Card 4 – Rhea (Work)

Card 5 – Suzanne

Card 6 – I.T. Department (I got welcome to oldsville)

Card 7 – Deb Patterman

Card 8 – Chris Maka

Happy Birthday

Filed under: Birthday Greetings, General — John @ 6:51 am

Happy Birthday to me…
Happy Birthday to me…
Happy Birthday, Happy Birthday, Happy Birthday to me…

Wow, 30. Yup, Feels just like yesterday… Except there is snow on the ground and everything else. It’s pretty, I jsut hope theres not any more of it, I’d rather not shovel.

I think I’ll stop on the way to work and get a cookie cake and take it into work. I guess that means I should get going then.

3/23/2006

It’s the end of the world as we know it…

Filed under: General, Work Stories — John @ 5:33 pm

Today is the anniversary of my 11th year of employment at work. Eleven years, wow. So today to celebrate my existance, I started cleaning my desk. I’t about 1/4 of the way done now and I can actually see the plastic fake wood grain top in places. Prior to today it had reached a point of critical mass were I’m pretty sure it was beginning to implode. I know I felt a shift in gravity. So really, me cleaning my ddesk can be constituted as one of the signs of the apocalypse.
No really, seriously it is!
It’s right up there with RFID tags, and those equestrian guys.

I feel pretty oh so pretty…

Filed under: Work Stories — John @ 8:43 am

Months ago, our H.R. department at work switched from an old computer system, to a new more modern system. Rather than have someone write a program to dump the data from the old system into the new one, they opted to rekey all of the data by hand. I cannot emphasize enough how pissed off this made me when I heard it. NEVER REKEY DATA!!! NEVER!!! I forget the actuall percentages, but I know it introduces a HUGE percentage of While looking through my record on the library system a month ago I noticed something odd. My sex was listed as female. Assuming this was just one of our staff screwing around, or me having used it to test something I switched it back and ignored it. (I regularly use my record as a test record, afterall who better than me to know if my data is correct) Last night I happend to look at my record again and I was again listed as femail. I know for a fact I hadn’t changed my record since the last time I corrected it. So I got to looking at the data in the HR system, and to my surprise and fustration I was listed as female.
I called up H.R. and when they asked “How are you today?” I responded, “I’m feeling rather emasculated actually.” That got a conscerend response, then I explained the problem and was reassured with a “Oh, you too huh!” The staffmember then went in and corrected the typo, while explaining to me that I wasn’t the first person to have this problem since the system switch.
Once the record was corrected we joked about it a bit more. I told her “Wow, I suddenly have the urge to go drink beer, play baseball, and scratch myself.”

It just really bothers me that in a situation where we are responsible for all of this personal data, we can’t be a little more intellient as to how we handle things.

In my book, There is never an excuse to rekey data when moving from one system to another. I don’t have a problem with one or two easily verifiable records, but to re-key ALL employment records!!! Get real! How many other less frivilous errors are now in the system? Perhaps this staff memeber is no longer having money paid into thier retirement account. Perhaps that employee is now listed as faculty instead of staff. How will we know? We wont really untill someone else happens to notice a problem…

3/21/2006

Low Battery

Filed under: Nintendo DS — John @ 8:53 pm

I managed to run the battery out on my DS playing Wi-Fi tetris this morning before work, and from the moment I got off work. :-) It’s nice to not be the worst player in the game for a change. I have run into some MUCH MORE talented people though so I’ve defintly gotta work on my game. I’ve gotten a little better since yesterday. Yesterday I couldn’t beat the computer on the new push mode, today push mode, level one was childs play, I beat it barely looking at the screen. Level 2 wasn’t all that bad either.

MUAHAHH I likey!!!

Fun Geeky link of the day…

Filed under: General — John @ 9:48 am

Mass and Energy Conservation in Nuclear Decay

Why? I was having a discussion on Tritium with a Co-Worker and we started looking at the decay process. So we found this really nice site that goes over it with fun pictures so I had to share :-)

3/20/2006

Tetris DS Wi-Fi

Filed under: Nintendo DS — John @ 7:30 pm

Ok, it’s March 20th!!! FINALLY!!! Tetris DS is out, and I own a copy. I poped it in, connected Wi-Fi… For the 1st time on any of the Wi-Fi games I felt liek I actually stood a chance againt the rest of the world. WOOOHOOO!!!

My friend code for anyone interested is:
023874
112331

post yours in reply, and BRING IT ON!!! MUAHAHAHHA

3/19/2006

Birthday Bash / Seelie Show

Filed under: General — John @ 9:59 pm

Wow what a day. Even though things started off a little rocky on the road to the show everything wen’t well at the show. Only had one minor hiccup, and that was an O2 shortage but I made a quick trip to the car and back and only missed 3/4 of a song. Fortunatly Dave got it on video.
I can’t even begin to thank people enough for everything about today. You are all such wonderful people and I don’t know how I can ever thank you all enough. I have never felt more loved. Not really sure what else to say right now… I’m kinda all emotionally scrambled…

If I euer meet the

Filed under: On the Road — John @ 10:14 am

If I euer meet the inventor of disposable cameras I may kill them.

Protected: The Big Day

Filed under: General, It's all relative — John @ 7:02 am

This post is password protected. To view it please enter your password below:


3/18/2006

4 of 1’s favorite moments of the night

Filed under: General — John @ 3:50 pm
  • In response to Jon’s “Everyone hold up their glasses” I pulled off my eyeglasses and held them up. “HEY YOU AT THE SHORT END OF THE GENE POOL!! PUT ‘EM BACK ON YOUR FACE!”
  • “Would a Giant Leprechaun lie to you?” (I was wearing a button that said “Giant Leprechaun” on my bright green shirt)
  • When asked if I was always so goofy I responded “It’s a natural state….. Like Montana…”
  • I never get tired of the “repeat after me” gag…
  • “Would a giant leprechaun lead you astray?” (variation on number one)
  • My entire haggle with leather coat guy… Oh God that was fun…
  • drunk: “You remind me of my cousin!” me: “I remind my cousin of me too…”
  • to drunk who said “boy that guy talks a lot” about Jon. “Now you too can own the Seelie Court: less talk more music edition CD” sadly he didn’t go for it….
  • “Remind me not to go to the emergency room tomorrow”

Quigleys and Seelie what a combination

Filed under: General, Music — John @ 3:12 pm

Wow… Last night was an incredibly wild night. I got to Quigleys about five o’clock. Thankfully Dave got there a little early and was kind enough to let me join him in the front of the line. When we made it in the pub it was packed. Quigleys is always packed on a Friday night, but this was insane. They havd a tent setup on the patio and that was jsut as full as the rest of the pub. We made our way through all of the crowd and found a spot up front by Molly and the Tinker and caught their last set. As they finished up Seelie Court arrived and started brigning in thier equipment. During the setup Chris got some munchies, and mini sandwiches, and I had a Guiness. When I finished the beer, I decided I might as well start the CD sales. :-) So I started walking the pub with the CDs. Well, walking isn’t quite right as the pub was so jam packed that you literally couldn’t take two steps. I’m pretty sure if the place caught fire we would have all died. I’m glad I started selling when I did, because at that point people were still in the “fun drunk” stage of the night. Fun drunk people are much easier to deal with.
I had one guy in a leather coat who haggled with me for at least 20 minutes off an on insisting that he should be able to get a CD for $5. I didn’t waver. Each time I responded with a smile and a “15 bucks”. He slowly kept raising his offering price each time I came near him. “$10″, “$11″… I interjected with “oh sure I suppose next you are going to try $12….” He looked at me funny, as if to say “how did you know?” “You can’t keep this up forever!” he said, and I responded “You don’t know me very well…” I then turned to Bob and said “A shakey Eggy thing” (I don’t think Bob heard me) Then leather jacket guy tried making combo deals… “I’ll give you $15 for the CD if you buy me a drink!” . I responded with a long hesitant “Hmmmmmmm…” “HES GOING TO GO FOR IT!!! I KNEW IT!!!” e yelled to noone in particular, extreemly proud of his haggling skills. I responded, “Ok, you give me $15 and I’ll buy you a water…” The guy let loose with a laugh, and said to Bob, or Chris “This guy is great!!!” Then he tried another haggle… “I’ll give you $15 if you let me look up one of the skirts up there!” and he pointed towards the stage. “HEY BAADE!!! COME HERE!!! ” Jon made his way towards me… and when the guy saw what I was up to he laughed again “HEY! THAT’S NOT WHO I MEANT!!!” to which Karl in perfect timing headed over too. “No Not any of the guys!!!”, Came the laughing response from my new ‘friend’. Jess couldn’t pass up getting in on the fun then and came up and told me “Tell him we will make a special deal for him, the CD is now $20, but because we like him he can have it for $15″ (or something close to that) So I relayed the message to another round of laughter from my friend. At that point the guy was enjoying himself so much he pulled out his wallet, and handed me a $20. “You guys are great! You win!! I’m going to listen to it all the way home in the car!” He must have enjoyed them at least some, becasue as far as I know he never left the immediate stage area. (Much to the dismay of Chris, Bob and Karl, who were acting as security)
I had a couple of other people who bought CDs before the show started too. One right after the sound check finished. They were really excited and it was an easy sale.
As the 1st set progressed I made by way back towards the rear of the pub, and talked to a lot of people. Once you made it about 30 feet from the stage area it became hard to hear much music at all, and I didn’t even bother with the back bar room. There were a few people that decided they could mess with me a little, but I got the upper hand pretty quickly (they were drunk, I wasn’t… not much of a challange) and they usually calmed down easily. The biggest problem was their freakish need to hear “Whisky in a Jar”, also known as “that whisky song”, “the whisky song with the clapping!!!”, “Tim Finnigan”. I had one group that got more obnoxious as the night progressed and started getting pretty agitated about it, so I made it a point to avoid them. There was also a group that contained a woman who tried to hang her coat on Chris. She was pretty mad at him for whatever he said to her. She came up to me a number of times asking me:
“Arrre.e…. yeeeoouuu stteeell freinds wit that ooone guy….”.
Each time I responded “Of course I am.” The conversation then woudl progress somethign liek this:
“Weeeelll heeess aaa reeeal jerk!!! I don’t think yeeww shouuud bee frinnneds with heeem…” “Thats nice, I’ve known him a lot longer than you have.”
“Weel hee was reeallly mean to me…”
“I’m sure thats how you feel, but if he said somethign to you, I’m sure there was a reason.”
“hhees not a nice perssson….”
“And you based this upon a 1 minute interaction with him while you are drunk? ok, bye now”
“iiiiimmmm not druuunk, and i weeerrrkk in an emergency rooooom…. I knooooow peopleeee heees meannnnn you shououullldnnnt be friendsss with hiiiiim…”
“Remind me not to visit the emergency room tomorrow…” (That one got a round of laughs from her friends, who had decided to make it a point to direct her to me each time I passed near her.)
At the end of the 1st set I moved back up front to get a few moments to recover from all the crazy people. At that point I ran into my ‘friend’ wearing the leather coat. He then proceeded to try the haggling again to show his wife or girlfriend how much fun I was. “Tell this guy $10″ she loked at him confused… “No really, do it! its hillarious!!!” she rolled her eyes and went back to talking to her other friends. So the big lug put his arm around my shoulders. “You’re great, Whats you’re name?” I told him “John, I’m ____ “(I want to say mike, but I cant remmeber for sure) he then offered me his hand to shake, “I’m glad I met ya!” To whcih he threw his arm around me again and knocked my glasses off my face. “OH SHIT!!! IM SORRRY!!OH GOD OH GOD IM SORRY!!!” I managed to snag at them 3 times, as Vicky looked on pointing where they were falling each time. After third attempt I caught them and put them back on my face. They were fine and big leather coat guy kept appologizing. “It’s ok, no harm no foul don’t worry about it.” I shook his hand again and gave him the pat on the back he seemed to be wanting and went on my way again.
After the second set people moved from Fun drunk, to Scary Drunk and I decided it would be best to stay up front by the stage area. There was a lot of peopele there who seemed to be enjoying the show. I caught a number of people sinigng along, or attempting to at least. I even manged to sell another CD to a woman who drove to Naperville from Detroit. All in all, I had a good time despite the drunken mob.
After the show, and things were all packed up I met up with Bob, Dave, and Juli at the Dennys by the Fox Valley Mall. As is typical of my visits to Dennys we had sub par service. We have all decided it’s my fault, as noone else has problems with service at Dennys. We had an early breakfast, and then headed home. I made it home about 2 a.m. I almost dozed off a couple times, but I cranked the radio and rolled down the windows and was fine. At least this time I didn’t see any wierd hallucinations. :-)

Older Posts »

Powered by WordPress