04/01: Tuesday gym day..
Arg... I've been slacking off too much. F'n holidays and their constant barrage of drinking and people. Now forward plodding through the desolate months of January and February.
Work's been interesting... Interfacing with the reservation systems was the tip of the iceberg. Then figuring out how to crack into an Outlook email account... that account's being sent a digital copy of every freaking online invoice created so it get huge.. fast. Oh there's a PDF of invoice as well. My job is to write an app that access said account, read the whole email (attachment and all), parse out all the lovely bits, convert the base64 attachment to a byte array, and shove it all into a database. There was some optional compression from the gzipstream (system.io.compression) class, but that only saved 4kb on a 100kb file. Lame.. Oh and I wrote a nice shared method to rip this attachment back out.
So yeah, clean this crap up, get on top of the stupid formatting for the subject (which has variant information regarding the buyer, PNR#, and travel date), and then shove this into a perpetual task that will run every hour on the hour from now to the end of days.
Over all pretty boss. I think my boss was impressed on how quick I was able to do this. This saves some minor face from the debacle of my first attempt at updating rules on their homegrown emailer-rules-app.
I need to find a way to attach a pen to my moleskine notebook. I am going to be hip and trendy drawing in it during my lunches!
Work's been interesting... Interfacing with the reservation systems was the tip of the iceberg. Then figuring out how to crack into an Outlook email account... that account's being sent a digital copy of every freaking online invoice created so it get huge.. fast. Oh there's a PDF of invoice as well. My job is to write an app that access said account, read the whole email (attachment and all), parse out all the lovely bits, convert the base64 attachment to a byte array, and shove it all into a database. There was some optional compression from the gzipstream (system.io.compression) class, but that only saved 4kb on a 100kb file. Lame.. Oh and I wrote a nice shared method to rip this attachment back out.
So yeah, clean this crap up, get on top of the stupid formatting for the subject (which has variant information regarding the buyer, PNR#, and travel date), and then shove this into a perpetual task that will run every hour on the hour from now to the end of days.
Over all pretty boss. I think my boss was impressed on how quick I was able to do this. This saves some minor face from the debacle of my first attempt at updating rules on their homegrown emailer-rules-app.
I need to find a way to attach a pen to my moleskine notebook. I am going to be hip and trendy drawing in it during my lunches!