October 31, 2008: Happy Halloween and Welcome to Peekskill

Happy Halloween!  21 Days to Baby Day! (37 Weeks Pregnant)

Today the baby is considered to be full term!  That means that if the baby comes today we are no longer considered to be premature but just simply “on the early side”.  It also means that the possibility of the baby arriving any day is much, much higher than it has been.  We are into the common, healthy labor zone in which we will remain either until little baby Miller arrives or we hit two weeks after the due date (in 35 days time.)  It is not likely that the doctor and midwife would allow us to go for a whole two weeks after due date.  Most likely labor would be induced at one week after the due date.

Dominica and I were really exhausted when the alarm rang at five thirty this morning.  We had, at best three and a half hours of restless sleep.  It was a rough night in a completely bare apartment.  It was a bit strange sleeping in the apartment when there was nothing but one lamp sitting on the window sill, the air mattress on the floor and some garbage bags with our clothes.

I got up and showered and then Dominica got up.  We were hurting pretty badly and Oreo was completely exhausted.  He slept in his car seat which was pulled up next to the air mattress so that he could be close to us since there was not enough room on the mattress itself for him to be with us.

Loading the car took two trips with the valet cart this morning and the car was parked way down the street so that took us extra long as I had to walk quite far with the cart twice.  Today is the last day for the Central Parking Valet Service at Eleven80 as well.  The valets were all given jobs at other locations, I have been told, so that is good.  I am sure that they do not really appreciate having to learn the ropes at a new location and get to know new coworkers, though.

Dominica got off to work a little on the late side.  I went back to the building and got Ramone, the resident manager, to come up around seven fifty to do the move-out inspection.  That only took a minute and went really well.  We were concerned that we would be charge for wall damage from where the television was mounted in our bedroom and where the plants were hung in the living room but we were not.  He said that that stuff was fine and that they expected to be fixing those things.  The only thing for which we may be charged is some carpet stains if they don’t come up with the steam cleaning.  We expect that they will so no big deal.

I headed out from Eleven80 just after eight twenty.  Nadine was working the desk which was very cool that we got to see her as we left this morning.  Leaving was very emotional.  We have been at Eleven80 for a very long time.  We have gotten to really know the place and feel like this is home.  Even though Newark was never really a place where we fit in we have been there for so long that it seems quite strange to be leaving.

For my blog readers from Eleven80 – if you want to find me via email or to get my phone number just go see Nadine.  She has that information for you.

Before heading to the PATH I walked over to Airlie Cafe and picked up breakfast.  It was my last morning to see them as well.  I got my “usual” breakfast sandwich, egg, cheese, black pepper and homefries on a hard roll as well as a cheese danish.  I said my goodbyes and walked to Newark Penn Station to get onto the commuter train to World Trade Center.  It feels very weird doing this for the last time.

Today was an absolutely gorgeous morning.  Crisp and clean air (the views of Manhattan from 1180 Raymond before I left were great – boy am I ever going to miss that) while being bright and sunny.  It is mornings like this that make autumn in the northeastern US so popular.  I had a nice walk to the train station and then from World Trade Center down to the bottom of Wall Street.

I had a large box of Lindt Swiss Chocolates brought to me desk today as a thank you.  Good stuff. Lindt is my favourite chocolate maker.

Today I finally brought my little fan into the office.   I originally bought this fan when I worked out in Warren before they began the crackdown on anyone trying to make themselves productive by being at a comfortable temperature. Then I took it home to keep it from being confiscated as it is a nice little fan that I bought from Walmart and of which many people were jealous.  Since fans are allowed and prevalent on Wall Street I have been meaning to bring my little fan in with me but there is never a time when it is convenient to carry a fan into the office with you.  Today it just needed to be done so that the fan would not be shipped to Peekskill where it would really not do me any good.  So I stuck it into my bag and carried it into the office today.  Now it is set up on my desk and helping to keep me cool while I work.

I decided that I really needed a command line Twitter client today so I whipped one up in Ruby.  I used it extensively today and I much prefer it to other Twitter clients that I have used.  It is also much easier to automate over methods.  Now I can start doing neat, automated Twitter messages without too much effort.  I am even considering making a little service that will read Twitter or Identi.ca and auto-publish to the opposite service.  In that way I could switch to an Identi.ca account but have everything that I do automatically appear in Twitter.  Then people who use either system would keep getting updates.  Even cooler would be if I set up my own Laconi.ca server (which is my long-term plan) and then have a service pull that feed and update Twitter, Identi.ca and maybe some others as well.  A microblogging-blaster.  Maybe this will be a project for next week.  I am talking myself into it as I write about it.  Seems like a neat idea.

I skipped lunch today and at around three in the afternoon Dan and I walked down to NYHRC on Whitehall and did our workout.  He played basketball for a bit while I swam.  I got a pretty good workout today and felt really good about it.  My swimming is definitely improving.  I was really glad to get in to the pool today as I have been missing quite a bit this past week and I don’t want to slack off nor do I want to waste the money that I put into the gym membership.  In theory, Katie is going to be able to start swimming with us soon too.

Dominica left work and went over to Doggie Paradise to pick up Oreo and then to visit some friends who just had a baby a week or two ago before she drives up to Peekskill.

We are so excited about tonight – our first night living full time in our new home.  That is going to be awesome.  I have a pretty light weekend from work too.  I originally had deployments scheduled for tomorrow morning but they were postponed until next weekend.  I will be doing a lot of homework this weekend and a lot of unpacking.

Dad and aunt Sharon are spending the night tonight and hanging out tomorrow morning since we have gotten very little time to actually visit even though they have been here for almost an entire week.  The commute time from Manhattan to Peekskill is pretty grueling and by the time that we would get to Peekskill it was always very late and everyone was so tired.  They are heading back home probably around lunch time at which point I will be getting to work on the homework situation from my new office in the basement.

Beyond the painting, which has been a tremendously huge project we are really hoping that dad will be able to get the Westinghouse 32″ LCD screen that we have mounted in the living room.  Until we have that mounted on the wall above the fireplace we really don’t have any way to watch anything or to try out the Wii Fit or the PlayStation 3.  Our first Amazon shipment, with a PS3 game and our first BluRay content, is supposed to have arrived today as well.  I checked the website and have not seen it listed as “out for delivery” or “delivered” yet so that is not a good sign.  The site still claims that it will arrive today.

Dominica took care of forwarding our mail to the new house today as well as setting up Netflix to go to the new house.  She also added BluRay as an option on our Netflix account.  Now we can really start getting use out of the PS3.

I managed to get in some class time for my RIT class.  There is almost no class discussion going on at this point.  I guess that people are winding down as they prepare for the final.  Unfortunately we have not yet gotten any feedback on the second draft of a final project so we really have almost no direction coming into our last week of the quarter.  This is really rough.  We have had almost no feedback at all for the entire course.  I have no idea whatsoever how I am doing or if I am even on the right track for this very large final project.  This is going to be a rough weekend attempting to do a project completely abstractly while being concerned that I am not even tackling the right problem.

Work at the office wrapped up at a decent time tonight.  I had some paperwork that needed my attention so I took care of that and then decided to just take the opportunity to deal with some work that is scheduled for this weekend.  The more that I am able to get out of the way tonight is less that I have to worry about tomorrow or on Sunday.

Dominica filled up the Mazda today while she was in Wallington, New Jersey.  She paid just $2.19 per gallon!  That is crazy.  We were at almost $4.00 just a few months ago.  This is so cheap.  I am pretty sure that gas is now cheaper than it was when we moved out of Geneseo well over two and a half years ago.  Gas is a big cost of living item and with it being half of what it was recently and lower than it was almost three years ago it does a lot to buffer against inflation.  We have not yet even begun to see what impacts the lower fuel costs may have on the transportation of food and manufactured good either.  There is a real possibility for big cost reductions although a lot of businesses raised prices based on the excuse of high fuel and are likely to be reluctant to bring the prices back down now that people have adjusted.

I called dad at a quarter after seven.  He and aunt Sharon were sitting in the dark hiding from trick or treaters because they didn’t have candy to hand out.  They reported that a package arrived today which is almost certainly from Amazon which should be Heroes Season 2 on BluRay for Dominica and Elder Scrolls IV: Oblivion – Game of the Year Edition for me for the PS3.

My Friday night work went really well.  I burned through a ton of stuff very quickly.  I was quite productive.  I was very happy with the work that I was able to complete tonight.

I wrapped up at the office on Wall Street at eight in the evening.  Late but not all that late.  I am posting before I leave the office as I will not be back online until tomorrow.  I am hoping to be home before ten.

Simple Ruby Twitter Client – Tweet [Ruby]

This is my simple, Ruby based Twitter client using Curl designed for UNIX systems like Linux, Mac OSX, FreeBSD, Solaris, etc.  The only requirements are Curl and Ruby.

In order to use Tweet, simply copy all of the included code into your favourite text editor (I use vi) and save as ‘Tweet’.  Don’t forget to “chmod a+x tweet” so that it is executable.  I suggest moving Tweet into your path (perhaps you should consider /usr/local/bin as a recommended directory) to make it easier to use.  I have designed Tweet to be useful to users on a multi-user UNIX system.  It is a command-line utility that simply accepts text input and posts that text, maximum of 144 characters, to your Twitter account.  An existing Twitter account is necessary so sign up if you do not have one already.

There is very little to know in order to use Tweet [Ruby].  (Should I name this RTweet perhaps?)  The one thing that is needed is to set your username and password.  Tweet [Ruby] is designed to accept username and password data from the system environmental variables $tweetuser and $tweetpass.  This design decision was made because it makes it extremely simple to have multiple users on the same system be able to use Tweet [Ruby] transparently from one another.  If you desire, you can bypass this setting by changing the “unset” user and pass settings in the code to your username and password.  This hardcoding is not recommended but is available if needed.

Once you have your username and password set (you can see what your settings currently are by using the -t option) all you need to do is enter the text that you want to publish.  Here is an example:

tweet ‘This is my first post from Tweet [Ruby].  Thanks Scott, this is great.’

Here is the code, go crazy.

#!/usr/bin/ruby -w
#Scott Alan Miller's "Tweet" - Twitter Command Line Script

text = ARGV[0].chomp
user = "unset"         #Supplied Username
pass = "unset"         #Supplied Password
url  = "http://twitter.com/statuses/update.xml"
ver  = "1.0"

user = ENV['tweetuser'] if ENV['tweetuser']
pass = ENV['tweetpass'] if ENV['tweetpass']

if    text.length <= 0
  puts "Please enter text to post."
elsif text.length >= 144
  puts "Please limit post to 144 chars."
elsif text == "-v"  # Version Message
  puts "Current Version of Tweet [Ruby] is " + ver
elsif text == "-h"  # Help Message
  puts "Tweet [Ruby] Help: \n"
  puts "To set environmental username and password:"
  puts "  export tweetuser=yourusername"
  puts "  export tweetpass=yourpassword\n"
  puts "Usage:"
  puts "  tweet \'This is my message.\'"
elsif text == "-t"  # Variable Test
  puts "Username: " + user
  puts "Password: " + pass
else
  result = %x[curl -s -S -u #{user}:#{pass} -d status="#{text}" #{url}]
  puts "Update Failure" if result.grep(/text/) == nil
end

If you end up using my little Twitter client, please send me a Tweet to let me know!

tweet ‘@scottalanmiller Using Tweet, best Twitter client ever.  Ruby rulz.’

October 30, 2008 Part Three

And the long day continues…

It was almost eight by the time that the maid wrapped up and we were in the process of loading the car.  When we went down to the lobby to get the car loaded we ran into a ton of people on their way to the halloween party and everyone kept asking us to go.  We finally caved in and decided to put in an appearance.

We love the Eleven80 Halloween Party, it is awesome.  It is Eleven80’s biggest event of the year.  A lot of people were really disappointed that they didn’t get to see Oreo compete in the dog costume contest this year.  He won last year and has a really cool pirate (salty dog?) costume this year that Dominica’s mom made for him.  He is the only dog that always has a custom made costume.  He looks so adorable in it.  He was far and away the favourite to win this year but with him being in Peekskill there was no way for us to get him down to Newark in time for the judging.

We stayed at the party for maybe half an hour.  It wasn’t very long.  We did not venture in very far and only made it to the ramp of the bowling alley.  We got to see several people just before leaving so that was good.  It is really starting to hit us tonight that we are leaving and really have been here for a really long time and know a lot of people now.  This is our third Eleven80 Halloween Party.  We were invited back for next year’s party and we will definitely make an effort to come visit.  Oreo would love to be back for an evening and show off his costume.

We hit the road around nine thirty with a very loaded car full of plants and food from the apartment.  It was almost eleven when we arrived in Peekskill!  We had not been planning on having been out this late.  What a long day.  We are not sorry that we delayed and stopped by the party, though, as it was really good to get to say some goodbyes.

Dad and aunt Sharon were still awake when we got to the house although they sure were not going to be awake for much longer.  Oreo had really been missing us all day and spent the day following dad around like, well, like a lost puppy.  We unloaded the car and visited for twenty minutes or so and got to get a first look at how the painting has been coming along.  The upstairs looks awesome.  The nursery is all but done and the master bathroom is done and bits of the master bedroom are done (there is just a master bedroom and the nursery as far as bedrooms go.)  They are hoping to complete the master bedroom tomorrow.

Dominica, Oreo and I arrived back at Eleven80 in Newark at one thirty in the morning.  Wow were we tired.  We pumped up the air mattress and did some quick, last minute packing to be sure that we were ready for tomorrow morning and got to bed sometime around a quarter till two!  The alarm was set for five thirty so this is a very short night.

No sooner than we dropped off to sleep on the not very comfortable air mattress than the phone rang, it was ten after two in the morning, from the valet saying that our car was double parked and blocking the street and that they needed our keys.  We had dropped off the keys so we were pretty confused.  I got out of bed and searched around the completely empty apartment for a few minutes before Kamil, the concierge, found where they had fallen behind a computer monitor on the desk and had disappeared.  So our short, less than four hour night was now a much less than four hour night with an interruption in the middle of it.  Tomorrow morning is going to be rough.

There is very little for us to do in the morning.  We are both going to shower, pack up the few clothes that we have here, deflate the bed, load the car, get Oreo ready for his daycare halloween party and get Dominica off to her final day at work.  (Her finaly official day.  We’ve decided that if she feels well enough come Monday that she is going to work Monday and Tuesday of next week.  Those are the two busiest days for her office when they will miss her the most.  Then she will take her three bereavement days and that will round out the week.  It will be a full five days later before she could work again and there is no way that she will be able to do so that close to the baby day.)  Then, as soon as Dominica leaves for work I am orchestrating the check-out of the apartment.  That is just a brief walkthrough to determine any damage, stains, missing parts, etc. in the apartment for which we will be charged.  Very quick and easy.  Then I will take the PATH from Newark to the WTC for the last time.

After work tomorrow we all just head to Peekskill and shift completely to our new home!

Twitter from the Linux Command Line

Okay, so you are a crazy BASH or Korn shell nut (DASH, ASH, TCSH, CSH, ZSH, etc., etc. yes, I mean all of you) and you totally want to be able to Tweet on your Twitter feed without going to one of those krufty GUI utilities.  Such overkill for such a simple task.  I feel your pain.  When I found this little nugget of command line coolness I just had to share it with all of you.  Special thanks to Marco Kotrotsos from Incredicorp who published this on IBM Developer Works.

If you have curl installed, all you need to do is:

curl -u username:pass -d status=”text” http://twitter.com/statuses/update.xml

So, to give you a real world example, if you are “bobtheuser” and your password is “pass1234” and you want to say “Hey, my first UNIX Shell Tweet.” then you just need to:

curl -u bobtheuser:pass1234 -d status="Hey, my first UNIX Shell Tweet." \
http://twitter.com/statuses/update.xml

You will get some feedback in the form of a response XML file. Happy Tweeting!

Disclaimer: I realize that using “Linux” in the subject is misleading.  This is not a Linux specific post but will apply to FreeBSD, OpenBSD, NetBSD, Mac OSX, UNIX, Solaris, AIX, Windows with Cygwin or just about any system with a command line and the curl utility installed.

I use this as the basis for my Ruby based Twitter Client for the command line.

October 30, 2008 Continued

I took the PATH to Newark at one and arrived at Eleven80 just after two.  In the middle of the day without any traffic whatsoever it takes about sixty five minutes to get from office to home in Newark and seventy to seventy five minutes during rush hour and more when the weather is warmer because I have to walk so much slower.  Today was extra fast because I actually had to run for the PATH train doors as they were closing just as I made it to the platform.

I got to the apartment and got logged back in to the office and then spent an hour working and cleaning as much as I could to get ready for the maid service to arrive.  I know that it sounds strange to be cleaning ahead of the maid but this is the move out final cleaning and I have to get absolutely everything out of her way so that she can really clean.  We have her booked for four hours today!

I am a member of some Disney photo groups on Flickr and one of them had a Disney ride competition this week.   I was flipping through some of the pictures and found an image of the final scene from Walt’s original Carousel of Progress as seen in 1979.  The ride was updated in 1981 to the final scene that I saw the first two times that I went to Walt Disney World.  In 1993 it was updated again to the travesty atrocity that they have now.  I really wish that they would put it back.  It was so much better before.  The way that Walt intended it to be with each scene being twenty years after the one before.  Now the scenes are 1904, 1924, 1944 and this weird, Orwellian view of 2004 actually made in 1993.  It is awful.  The 1981 update that I originally saw was not too bad even though they tore out 1964 to put in 1984.  It was close enough that it at least still worked more or less.

The maid from Maids on Call arrived right at three and got right to work.  She is scheduled to be here until seven.  That is a long day.

Tonight is Dominica and my very last chance to have dinner in Newark – at least while living here.  So, for old time’s sake, we ordered in dinner from Food for Life.  It just wouldn’t be right to not have FFL on our final night in Newark.  It is so hard to believe that our first meal at Food for Life in Newark was more than two years ago!  It doesn’t seem like that at all.  The first time that we ate at Food for Life was September 26, 2006.  Twenty-five months ago.

I got the BLT that I first got that very first time at FFL.  Just for old times’ sake.  It is still delicious after all of this time.  I didn’t really think about moving out of Newark much until I went into Food for Life.  It was completely empty except for the employees and me, just like our first night there.  I got a chance to say goodbye.  It is weird that the people who work there now have only been working there for half as long as we have been going there regularly.

It is a quarter after seven now.  I am shutting down the laptop in the apartment now to go offline and to pack up everything that is remaining.  I have been working for the last five hours just standing at the kitchen counter.  My feet are killing me.  We have to make a run to and from Peekskill yet tonight.  It is a very long night.

We are very sad that we have to miss the awesome Eleven80 Halloween Party.  It was awesome last year and we were really looking forward to it again this year but there is just no way that we can take the time to do that tonight.