teh interwebz
RSS icon Home icon
  • Video Blog #2

    Posted on June 24th, 2009 Josh Highland 1 comment
    YouTube Preview Image
  • First Video Blog Entry

    Posted on June 22nd, 2009 Josh Highland No comments
    YouTube Preview Image
  • iPhone + AIM + push notification = Happy Josh Highland

    Posted on June 22nd, 2009 Josh Highland No comments

    aimPush

    I got my real start in programming making “progies”, back when MaGuS and fungii ruled the scene (only a fist full of people will know who I am talking about), circa 1995. I have and always will have a soft spot in my heart for AOL instant messaging. I don’t use the AOL service anymore, but I still have a bunch of friends that use AIM (AOL Instant Messenger). AIM is one of the biggest things that I missed when I got rid of my T-mobile Sidekick and went to an iPhone. Sure iPhone had an aim app, but it was garbage. It would sign you off line the second that you closed the screen or got a call or SMS message. Complete garbage.

    Just moments ago, the iPhone AIM app with push notification launched. With the release of the iPhone 3.0 software it is now possible to stay connected to services like AIM and get notified when you have a new message with hout having to have the app always running. It works in a similar manner to SMS message. It’s called “push service” because the notifications get pushed to your device, instead of your device polling the server on a timed interval.

    With that said, I have decided to retire my 15 year old AOL screen name and create a more fitting one. You can reach me on AIM at “xJOSHHIGHLANDx“. Let’s party like it’s 1995!

  • My Brute on iPhone

    Posted on June 17th, 2009 Josh Highland 1 comment

    Lately I have been consumed by an iPhone game called “My Brute”. My Brute is an RPG fighting game based on the popular MyBrute.com. It works like this, You create a character, pick their body, their clothes, their hair and skin color. You pick an animal to represent your dojo (snake, fox or bear… I’m the bear of course). Once you have this all set up, you enter the arena, pick a person to fight and then WATCH your character fight for experience points, bonus weapons and award, and honor. Notice I said WATCH and not control. You have NO control over the actions of your brute. It basically turns into a spectator sport where you cheer your character on and hope he kicks the crap out of the other guy. It also adds stress when you only can fight 5 times in a 24 hour period, very stressful.

    I am completely hooked on this game. On top of trying to make my brute the best he can be, you can recruit people to join your dojo. To join my dojo, enter in the following secret code when you are asked: HGHHFHFE

    I think this game is worth the $4 I spent on it. My Brute is awesome to watch, and it totally draws you in despite the fact that you don’t control the action.

    Check out the screen shots below

    IMG_0087

    IMG_0085

    IMG_0082

    IMG_0083

    My Dojos code is HGHHFHFE, join me and together we will crush the competition!

  • Controlling Twitter SMS notifications through code

    Posted on June 1st, 2009 Josh Highland No comments

    twitter sms

    It’s not secret my current favorite tech toys are my iPhone and Twitter.

    I follow several hundred people of interest, and regularly use TwitterFon Pro, TweetDeck and Twitter.com to keep up with them all. For an elite group of people I follow on twitter I choose to have their updates pushed to me via SMS (text message) to my phone.

    Sometimes I’m in area where I dont have reliable service to my phone (most of the meeting rooms at my work for some reason), and Twitter will try to send me an SMS message telling me that one of my good friends just made a tweet. If Twitter cant deliver that tweet for some reason, like the phone doesnt have service, Twitter simply stops sending message to your phone. There has been many times where i have thought to myself “damn Twitter is quiet today”, then I log onto Twitter.com and see a “is you device have trouble?” error. If i don’t go check the website, I have no idea that Twitter turned off SMS updates to my phone. Twitter is cool but they aren’t cool enough to send you an email saying “Hey your phone is screwed up, we are going to stop sending you SMS message until you fix it”. Atleast then the poor bastards like me who are addicted to twitter would know what we have to do.

    Because I am such a Twitter addict, I have come up with a plan to end my frustrations with this problem. The solution? Use some evil “robots” to do my bidding. I have blogged about them before, I am talking about Cron and Curl. okokok, so they aren’t evil robots they are software running on my computer.

    Twitter has an awesome API (Application Programming Interface) that allows you to do all sorts of sweet things using REST based http requests, including turning on and off SMS notifications to your phone.

    cURL is an application that allows you to connect to web addresses from a command line.

    cron is an application that allows you run application at scheduled intervals.

    Can you guess where this is all going? Here is mathematical representation for you
    ((Twitter API + cURL) * cron(30 minutes)) = Happy Josh Highland

    I have cron run the following command every 30 minutes (replace username and password with your own of course)

    /usr/bin/curl -u user:password -d device=sms http://twitter.com/account/update_delivery_device.xml

    I will never need to log onto twitter to turn on my SMS notifications ever again. In the event that Twitter disables notifications to my phone, every 30 minutes my evil robots enable MS messages to my phone. At most I will have 30 minutes of down time. I can live with that.

    This is a perfect example of what one of my Computer Science professors told me… “If you have to do it more then 2 times write a script to do it for you”.