Bring on the Ruckus

September 5th, 2008

The Ruckus is a great little scooter. Finally broke 1000 miles on it. I also got the Daytona Rear Shock in and the ride is 100% better. I’m no longer bottoming out the ride (I’m 225lbs now, and I think the rear shock is rated for like 180lbs) and when I go over bumps I don’t feel like my spine is being driven out through my skull. I recently added the Daytona Damos Exhaust and a Polini Variator. It feels faster, stronger up hills. Next up, new handlebars and disc breaks!

Kung Fu

September 5th, 2008

Since April I’ve been going to Shaolin-Do Kung Fu classes. After the first week I knew I’d stick with it, after a month I loved it. Now I work my schedule around it! Right now I’m yellow belt, but I should be testing into blue soon. I’ve lost 20 lbs this year so far and I give most of the credit to the class. It has also given me a lot more confidence and flexibility. I’m pretty proud of the progress I’ve made and am excited about learning more every time I go.

Anime Avatar

August 22nd, 2008

You can make one of these here.

course I still like my old one:

Strawberry Banana Smoothie

August 19th, 2008
  • 1 Banana
  • 1 container of Strawberry Yogurt
  • Juice from 2 Limes
  • 5 blackberries (or more)
  • 1 cup of ice

Blend. Yum!

Garibaldi’s

July 19th, 2008


I love this place. Best chilaquiles in town. I used to come here when I was in school with tommy, chalo and mike.

Using ZSI

July 18th, 2008

So I had some task to complete at work which involved swapping out and old XML based API for a new SOAP based API.  I had looked at ZSI in the past, was scared away and didn’t continue.  Of course the WSDL for that one was over 1MB and this one was pretty simple, so what the heck.  I found a simple example of a WSDL so I can explain how to use ZSI.

The WSDL located here is used in this simple example.  Maybe I’ll post a more complex one soonish.

First, you find your WSDL.  If you have ZSI 2.0 installed you need to run the wsdl2py script like so:

wsdl2py –url http://lyricwiki.org/server.php?wsdl

In the directory you’re in (make a new one if you are so inclined) you will notice two files, LyricWiki_services.py, LyricWiki_services_types.py.  We aren’t going to be editing either file, but we will be using them.  Now fire up your favorite editor and plug this in:

from LyricWiki_services import *
 
loc = LyricWikiLocator()
port = loc.getLyricWikiPortType()
 
request = getSongRequest()
 
request.Artist = 'Jack Johnson'
request.Song = 'If I Had Eyes'
 
response = port.getSong(request)
 
print response.Return.Lyrics

Which prints the lyrics! The basic idea here is that you have to build up your request and then send it off. For more advanced APIs you end up having methods that create new objects for you to build up. I’ll see if I can find something more advanced and post it up.

Lunch Club

July 17th, 2008

Process Kills Productivity.

July 17th, 2008

Maybe I’m generalizing, but from what I’ve seen, this is true.  Recently I broke my first generation iPhone.  We don’t need to talk about that, it’s a sensitive subject.  I like the old iPhone and I wasn’t planning on upgrading.  Well my timing couldn’t have been worse, but regardless of timing, I would have still run into the same kinks.  My first thought after I stopped beating myself up was “well I’ll just go get a new one, take the extra year on my contract and be done with it”.  Based on my first experience of getting the first iPhone, I expected something similar.  Boy was I wrong.

When I decided to get the first iPhone (wasn’t a hard decision, since I had a HTC Wizard and after two months of using it was completely fed up with pricing, usability and stability) it was a couple months before it came out.  I thought, well I’m not going to wait in line, I don’t like lines and my patience for them is very low.  So the day it came out I went to the Apple Store at 9pm and they were still open and had a ton of iPhones.  Ten minutes later I was walking out with my 8GB iPhone.  Once I got home, it was up and working in another 5 minutes.  I’ve never had a more simple process for phones, landlines or mobile.  I was amazed.

So I kill my 8GB by putting it through the wash.  Yeah, I’m a retard, but, I admit that and am willing to pay the price.  So it’s 4 days after the launch and I figured they’d have some in stock at the Apple Store (AT&T stores got like 40 I think, so there wasn’t any way they’d have some).  I go to the Apple Store and there is a line.  Out the door.  In the Texas Heat.  There is also a sign that says “We don’t have any iPhone 3G at this time”.  So why is everyone waiting in line?  I ask on of the CSRs inside if they have any to which he replies “I don’t know, I think we might”.  A lady in the line was more helpful, telling me they had received a shipment that morning.  Well cool, I’ll go wait in line.  A CSR came outside and brought people bottled water while we were waiting in line.  Very cool, very Apple.  I waited in line for an hour and a half.  What really was mind blowing was that no CSR could say “yes we have enough”.  Why couldn’t someone go count the little boxes and say “we have X iPhones total of so and so types.  If you are in line position X+1, you might not get one”.  That way the hard core gamblers of their time could just sit there and take the chance!  After an hour and a half in line, I get to the front.  I tell the guy I’d like a 16GB White (I like the white, doesn’t show fingerprints and stuff).  He gets it and scans it with their little handheld doohickey.  Types in my info and hits next.  His face melts.  He says “do you have a discount or business plan?”  ”Not that I know of.” “Well it says you’re not eligible for the upgrade.” “Well how much for just the phone, no discount?” “I can’t sell you the phone.  You’re going to have to go to an AT&T store.”

I had to leave.  I had just waited an hour and a half for the phone and just got told no.  My att.com account page said I was eligible.  I was on the regular iPhone plan for the last year.  W.T.F?  

That evening, after I’d cooled down, I tried to call the local store to see if I could come in and order one, then they would just let me know when it was in.  A coworker had lent me and old RAZR so I could at least have a phone (thanks Albert!).  Somehow I didn’t press the correct sequence of keys and I got an AT&T CSR.  She was very kind and helped inform me of what was going on (Nicole FTW).  Basically I’d applied a “discount” through my company some time ago, like over a year ago when I had my HTC Wizard.  When I switch to the iPhone plan, it didn’t get rid of the discount.  The discount simply didn’t work for that plan.  The new plans were eligible for discounts (so if you removed one, put it back on!), but not the old ones.  However, according to AT&T, Apple had lots of stipulations regarding who was eligible.  If you had discounts or a business account, you couldn’t get one in the Apple Store.  So I had her remove the discounts.  She said I should be able to go in later on that day and get one.  I had stuff to do, so I figured I’d check stock in the morning and get one.  

Next morning, I go in and wait for half an hour when I finally get one.  I’m still wondering why no one can count off how many they have, and tell the people in line “We only have X iPhones.”  They did tell us they only have 16GB white ones (score!).  So I’m checking out and this CSR tells me the same thing as yesterday.  This time I’m equipped with the knowledge that I’m eligible.  I showed him my account on att.com to confirm my eligibility.  He grabs their AT&T rep onsite and she fixed it.  Like in 5 minutes.  Why couldn’t they do that yesterday?  Anyway, I walked out with iPhone in hand (thanks Spencer!) and was able to restore a backup from my last one.  

My concerns with the process is Apple is saying its AT&T, AT&T is saying its Apple, but since they are blaming each other, aren’t they basically admitting the process sucks?  Why not make it better?  You had a year.  

This is really just an example of crap we all go through every day.  Some people come into a company, or companies try to collaborate, but when one doesn’t understand something, they try to slap a crap load of process on everything.  This doesn’t help understanding, because now we have to train and educate people on the process, and that takes a lot of time.  We also have to do the process, which is time consuming.  If your doing business stuff, why do you have to augment another process on something that is probably already time consuming?  Many of those processes are self imposed and could be avoided.  For some reason business likes to add process to everything, maybe they feel it “standardizes” things.  I’m just a lowly software engineer, what do I know about business?