Friday, February 27, 2009

Obama is a socialist?


If you think Obama is a socialist, then you are exceedingly naive. I heard the author of a very popular religious book on Rachel Maddow claim this. In fact, he went even further to state that the "end times" are upon us. Ridiculous! I think this author should understand that greedy capitalists are the ones that brought us into this mess. **** the banks that inflated home prices without care for the risk involved. What about them?

Ok, so for those fools who confuse what socialism is, here's my response. Obama is following the recommendations of his economic advisors and acting on views commonly held by most economists. That advice is that you must bail out the banks at the cost of inflation. It is a temporary measure. So, go get educated and shut your mouth. I am not an economist, but I know enough to know this is not socialism. I'm done educating today. So tired. Excuse my french...

Thursday, February 26, 2009

Can't wait to visit Thailand!


Look at this beach...heh

Wednesday, February 11, 2009

Some people are nosy


Stop reading my blog and gossiping about me behind my back. Instead, leave a comment. As if you're a saint or something. Get a real job if you have too much free time on your hands...

[EDIT]: Excuse my momentary anger. I just don't appreciate a particular someone who reads my blog trying to avenge a mistake I made with them previously. Just because I was an idiot, doesn't mean you should be one too.

Monday, February 9, 2009

The girl that got away, Sarah Modr



Today, I found out that an ex-girlfriend of mine is getting married. Or, so it appears. Sarah Modr and I first met in Spanish class at the University of Massachusetts during the summer of 2006. I was wildly depressed and going through a horrible breakup with my long-time girlfriend Aprill Aronie. I remember not even wanting to talk to anyone when we had to introduce ourselves to the class. I couldn't even eat any more, and most nights were spent alone in my cramped studio apartment in Amherst, MA. I was living off of a bag of organic baby carrots a day. That's all I was eating, and when I met up with my long-time friend Alison in New York that summer, she told me that I looked "too thin". I was sleeping around indiscriminately to thwart my depression, and at one point I even had five or six simultaneous lovers. It was a train wreck.

But I began to notice this girl in my class with green converse sneakers. She was beautiful and sassy. She sat next to another guy and they always worked on projects together. I thought they were together. That was until we started talking more often, and I began to realize we shared many similar interests. After hanging during class breaks a few times, I invited her to see the new Al Gore movie on global warming with some friends.

We went to the movie and had a great time. It was really when things began to turn around for me. I remember our first kiss on her couch after watching a movie. I remember drinking red wine from the bottle while watching a double-feature film at the drive-in. I remember camping by the lake somewhere far out of town. I remember staying at her father's cabin and taking walks in the woods. I remember listening to Death Cab for Cutie over and over and over again. I remember swimming with her in a quiet lake away from everyone else, alone, peacefully. I remember the way everyone stared at her when we went out together. I remember her bright smile and quirky laugh. I remember playing guitar and singing songs in her bedroom late at night. I remember when we went to see Neil Young together with Goutham, and we got a speeding ticket on the way home just a few miles from Amherst. I remember everything.

And when my ex-girlfriend Aprill found out about Sarah, she wouldn't shut up about it. My ex would tell me she wanted to work things out between us. Deep inside, I think I really wanted to salvage that relationship, but Sarah was a good thing. I regret ever trying to work things out with Aprill. It was a lost cause and our relationship was too damaged to fix.

I don't know what happened to me that summer. Perhaps I was blinded by new love. I am not sure. All I do know is that Sarah and I had a lot of fun together. I really fucked that up and I think back on it quite often. She was the one that got away. And I still remember a couple lines from Death Cab's album Plans that conjure up images from that summer. That album will forever remind me of her beautiful smile and sweet nature.

Summer Skin
"""
Squeaky swings and tall grass
The longest shadows ever cast
The water's warm and children swim
And we frolicked about in our summer skin

I don't recall a single care
Just greenery and humid air
Then Labor day came and went
And we shed what was left of our summer skin

On the night you left I came over
And we peeled the freckles from our shoulders
Our brand new coats so flushed and pink
And I knew your heart I couldn't win
Cause the season's change was a conduit
And we'd left our love in our summer skin
"""

What Sarah Said
"""
Cause there’s no comfort in the waiting room
Just nervous pacers bracing for bad news
And then the nurse comes ‘round and everyone lift their heads
But I’m thinking of what Sarah said
That love is watching someone die

So who’s gonna watch you die?
"""

Thursday, February 5, 2009

My ride...


;-)

Sunday, February 1, 2009

6-figure salary data analysis



So, I got bored the other day. I threw together this hack to pull $100K+ salary data and parse it ;-)

$ cat parse.salary.com.sh
#!/bin/sh

wget -q -O- "http://swz.salary.com/salarywizard/layouthtmls/swzl_salaryrangenarrow_50.html" | egrep -o '(/salarywizard/layouthtmls/swzl_salaryrangenarrowjob_50.*.html)' | while read line; do wget -q -O- "http://swz.salary.com${line}" | egrep -o '(/salarywizard/layoutscripts/swzl_compresult\.asp\?NarrowCode=.*=U\.S\. National Averages)' | while read line2; do echo "${line2}" | egrep -o '(JobTitle=.*&JobCode=)' | awk -F '=' '{print $2}' | awk -F '&' '{print $1}'; wget -q -O- "http://swz.salary.com${line2}" | egrep -o '(\$[0-9,]{6,10})' | head -n 4; done; done

$ head -n 20 parse.salary.com.out
Accounting+Director
$89,568
$104,653
$143,633
$164,037
Actuarial+Fellow
$93,330
$111,579
$141,639
$150,759
Controller+Assistant
$77,556
$92,822
$131,129
$150,738
Treasurer+Assistant
$78,507
$96,724
$143,398
$167,676

$ cat sort.salary.com.py
#!/usr/bin/env python

from sys import argv
from urllib import unquote

job_sal = {}
last_key = None

f=open(argv[1],'r')
for line in f:
data = unquote(line.replace('+',' ')).strip()
if data not in job_sal and data[0] != '$':
job_sal.setdefault(data)
last_key = data
else:
sals = job_sal.get(last_key)
if sals == None:
a = []
a.append(data.replace('$','').replace(',',''))
job_sal.update({last_key : a})
elif data[0] == '$' and len(sals) < 4:
sals.append(data.replace('$','').replace(',',''))
job_sal.update({last_key : sals})

for j,k in job_sal.items():
print '"%s","%s","%s","%s","%s"' % (j,k[0],k[1],k[2],k[3])

$ head -n 20 sort.salary.com.csv
"Chief Executive Officer",350880,486253,828000,1003771
"Surgeon - Cardiothoracic",215774,314650,568163,690043
"Surgeon - Neurology",265533,353988,570565,679293
"Chief Operating Officer",240482,327456,552136,669720
"Surgeon - Heart Transplant",218340,315173,527658,624282
"Top Subsidiary Executive",209290,291660,504038,615028
"Dean of Medicine",214448,295160,485869,578788
"Surgeon - Orthopedic",218443,305359,489585,570399
"Top Sector Executive",187968,265828,455365,550069
"Chief of Surgery",178696,260582,450487,521668
"Top Merchandising Executive",130767,190690,401304,517577
"Physician - Radiology",261552,308236,431592,497217
"Physician - Maternal/Fetal Medicine",251459,302061,429869,495629
"Top Administrative Executive",146348,213410,389013,480671
"Surgeon - Vascular",197974,260083,407081,478806
"Top International Executive",142501,207801,380857,471963
"Surgeon - Plastic Reconstructive",201327,256010,396415,469563
"Chief Financial Officer",171060,230261,382551,462002
"Physician - Gastroenterology",187368,247357,390600,461027
"Physician - Radiation Therapy",172623,240971,391381,459974