How Rails Saved Me Last Week

The night time, it was great.  Air was cool, had just gone on a nice jog with my girlfriend, and I was quite content with everything.  Being that my girlfriend has my health in my best interest, she decided to give me some cereal to take home with me.  I walk out to my car in my running shorts that have no pockets and I’m half juggling my clothes, laptop case, shoes, cereal, and… my Blackberry.


def for_the_record
running_shorts != skin_tight
end

I do what I can, placing my blackberry on the roof of my car, get everything inside the car and start driving home.  I get about half way there and…

Read More…

Posted in Uncategorized at August 27th, 2008. No Comments.

PatrickTulskie – Now More Mobile!

If you read my site from your Blackberry or iPhone then try pointing your browser at http://m.patricktulskie.com

This is powered by Mobi which basically takes the RSS feed from my site and parses it into a normally readable page.  This works pretty good on iPhones and Blackberries but I would imagine that it will be just fine on even your normal cellphone.  It took me like 1 minute to setup my site so if you’ve always wanted the m.yourdomain.com then here is an easy way for you to do it.

I think I might need to write some logic in the back end to redirect viewers to the mobile site if I detect they are browsing from a mobile browser.  Hmm.  That’s a post for another time I suppose.

Please note: I am not affiliated with this service at all.

Posted in Blog News, New Stuff at August 24th, 2008. No Comments.

What the heck is REST?

Quite frankly, I’m tired of about hearing about REST.

So what if I started off my post with a pun?  Look you’re just going to have to deal with it.  Let’s move on.  No stop it with the face, it’s my blog and I can do what I want.

Anyhow – REST is one of those things I hear a lot of people talk about as if it is this big mystery.  Then, when you finally find someone to explain it, it turns out they have never actually used it and only understand the theory.  It’s so frustrating to the beginning Ruby on Rails developer because not everyone has a mini David Hansson in their pocket and it really is one of those things you need to see to understand.

Read More…

Posted in Code, Software Development at August 20th, 2008. No Comments.

Tales of a Developer: I Code in my Sleep

You know what I am talking about.  It happens to us all at some point.

Oh no it doesn’t, you’re just being silly/bragging/etc.

No.  It will happen if it hasn’t already so just shut up and listen.

The Night Before

You’re working on a project, it’s late at night, you can barely function, so you close the lid on your Macbook and go to sleep.  A meer fifteen minutes later and you’re coding again.  How is this possible?  You’re not at your computer anymore.  You’re off in la la land and yet the project you’re working on continues to consume your subconscious.

Suddenly, at 3am, you spring out of bed, open up Textmate, and write in some code, relaunch your application and sometimes it works perfectly, other times the foos and bars don’t line up properly so you start trying to fix it.  Next thing you know it’s 5am and you need to wake up for work in an hour.  Then you get back into bed, angry at yourself for ruining your sleep, and get out of bed an hour later, shower, head into work a complete zombie.

Read More…

Posted in Opinion, Tales of a Developer at August 2nd, 2008. No Comments.

The Great Comment Dilemma

My father IM’d me this afternoon because he wanted to comment on my article about Digg vs Mixx. Apparently no one could register and no one could comment on my blog as a result. I had initially turned it all off so that I didn’t have to deal with spammers and the like but I had forgotten to turn it all back on once I had some countermeasures in place. Oops.

Read More…

Posted in Blog News, Opinion, Social Media at July 21st, 2008. 2 Comments.

Mixx vs Digg – David and Goliath

I spend a pretty equal amount of time on both sites.  On Digg I mostly go to read whereas on Mixx I go to participate in a community.  Both get me my news and both deliver different content, but it got me to thinking… what makes these two sites so different?

If you Digg this then you Dugg this.

The typical workflow at Digg is that you go, submit an article, people digg or bury it and if it’s popular and makes it through their algorithm it makes it to the front page.  If you aren’t up for submitting something you can just read the articles, make comments, and digg or bury them.  The comment stream at Digg is really great.  Sure there is a lot of stupid stuff, but the user participation is fantastic.  It’s not uncommon to see a few hundred comments on an article.  Furthermore – you can actually digg or bury the comments.  If people are saying stupid stuff then they can be burried so no one has to look at them.  If you leave a good comment then it can be dugg up so you and everyone else can see what the community is thinking about things today.

More after the jump…

Read More…

Posted in Opinion, Social Media at July 20th, 2008. 1 Comment.

Twitter Acquired Summize – Good or Bad?

The fine folks at Twitter have been talking about a search feature for quite some time now.  They never actually pulled it off since they were busy focusing on stabilizing the platform and restoring functionality to the service.  Off in the distance, a website called Summize rose up and filled that void.  The nice thing about Summize is that it was able to provide a realtime query into what’s going on in Twitter without having to visit the actual Twitter website.  It also proved to be a solid failover for developers for when Twitter had gone down or was busy firing off whales like a mad man.  Aside from that, there was no real cap on the number of API requests one could make in a given time frame.  It just worked.  Period.

Read More…

Posted in Opinion, Social Media at July 15th, 2008. No Comments.

Well I had a smooth upgrade to Wordpress 2.6.  No problems.  I also changed themes at the same time.  Not entirely sure if I like this or not.  The Hemmingway stuff from the previous one was pretty awesome.  Maybe I’ll try to combine to two into a super theme of sorts.  For now this one will stay though because it feels more readable and comfortable.

Like it?  Loathe it?  Tell me.

Update 7/15/2008:
I was informed today by James Januszka (http://twitter.com/jamesjanuszka) that if you were not logged into the site and you tried to view a full article that it would not work properly.  I apologize for that and spent some quality time with the theme working out what was going on.  Apparently there was a missing close div tag.  The author of the theme still denies that there was a bug and insists it is a conflict with plugins in Wordpress.  If anyone is looking to use “Hello :D ” and needs the fix, let me know.

Posted in Blog News, New Stuff at July 15th, 2008. 2 Comments.

I decided to start writing a little series of articles based on the lessons I’ve learned in writing code the uses twitter, using twitter itself, and just generally getting the most out of it.  This is the first one, and maybe there will be more depending on how I like it.

The Problem – Why You Should Care

Other sites that you pull content from are not always going to be reliable.  They could be down, running slow, or some other possible problem.  If you are using something like twitter to display your status on your site but you have a lot of other content you want people to see then it would be wise to use client-side scripting to get the content.  You might be saying in your head “Oh but I have this sweet PHP script that does that for me.” but you should tell that voice in your head to shut up and just listen.

Read More…

Posted in Code, Social Media, Uncategorized at July 14th, 2008. No Comments.

Welcome back to the saga of Patrick’s battle with the Chinese.  When we left our hero, he thought he had battled off the Chinese internet registrar and the government in a few short emails.  Alas, he was wrong.  Carol had one more thing to attempt to sell to him.  Sensing that this was a scam of some sort, and not really caring about who looks at his lowly blog in China, he decided it would be fun to start messing with them.

If you haven’t read the previous posting about this nonsense then you should probably do so.  Basically a Chinese company contacted me with some nonsense about someone wanting to buy my name in China and wanted to know if I would allow this.  I said no, and they started trying to convince me to register the names with them… and then this happened…

Read More…

Posted in Blog News, Comedy, Opinion at July 9th, 2008. 1 Comment.