Jun 21

Just a note for myself to log when it happened… I found a competitor to the new site we’ve been working on and they are doing lots of things we have already planned. Competition’s good though - keeps you on your toes. (if you’re lost, don’t worrry - none of this will really make sense to anyone but me)

May 16

In case you don’t follow my candy blog, I’m being flown to NY on Monday to be on TV as a Candy Expert! I was on TV once when I was a kid because I won a Pet Rock Race :)

Apr 09

I happened to visit NerdyShirts tonight at just past midnight EST and saw they were having a $1 sale! I picked up two Don’t Hate The Player tees and one (misprint) Free Hugs tee. $3 plus $8 shipping so $11 total for three t-shirts! SWEET!

donthatetheplaya_browse_0.jpg

misprint_hugs_browse.jpg

Mar 31

When using a plugin in Firefox to get the XPath of an item, be aware that Firefox inserts tbody tags into the source. So, if you get an XPath like

/html/body/div[@id='content']/table/tbody/tr/td[1]/div/table/tbody/tr/td[1]/table/tbody/tr[2]/td[3]

Do a View Source in Firefox and see if the tbody tags are actually in the source or not. If not, remove the tbody tags in the XPath then the modified XPath will work with Hpricot.

Tags: , ,

Feb 29

Wow. My candy blog was linked from BusinessWeek today!

Tags: , , ,

Feb 27

Haven’t fully finished tweaking the theme yet, but check out my latest site: GeekCrafts.com. I’ve got a great writer named Shayne that’s gonna be writing for it. We kick it off in earnest this weekend.

Tags: , , , , , , , ,

Feb 25

I finally broke down and bought a nice used PSP today (even though I already have a GP2x). Fun fun!

Jan 19

I couldn’t find a good simple explanation of this online, I had to look at some examples and figure it out so I thought I’d post this for myself and others. Here is how to get all links on a page using Hpricot:


  def get_links(doc)
    urls = []
    unfiltered_links = (doc/"a")
    unfiltered_links.each { |alink|
      urls < <  alink.attributes['href']
    }
    return urls
  end

Tags: , , ,

Jan 12

compaq laptop

On December 30, I bought a Compaq Presario F732NR laptop from Officemax for $549. My desktop had died a few months ago and I was tired of using my work laptop at home (it SUCKS). 3 days ago, I saw that it was now on sale at OfficeMax for $499. I took my receipt to OfficeMax on the 14th day after I bought it and they happily refunded $50 to me. I was amazed. No trouble, no problem. Just $50 back. (It’s $679.99 now) Thanks, OfficeMax!

So far, I am happy with the laptop, I just need to get rid of Vista…. I have found other people that successfully installed XP on it. I’ll probably make it a dual boot XP and linux machine.

Tags: , ,

Jan 09

gyo_1up_mushroom.jpg
These should be so easy to make. I might try it this weekend. Would look great in my cube and would make a great gift.

Buy it at ThinkGeek (they are out of stock) or wait for my instructions to build your own :)

Tags: , ,