1 or more

April 14th, 2009

A couple main parts to my shopping vision.

  1. Help users filter down to just the product(s) that they are looking for
  2. Find the best prices on said products

Well, been hoping for some progress on the second front for a good few years to no avail.  For whatever reason, this last week I integrated products (not a ton but a few) from newegg, bestbuy and buy.  This allows for actual price comparison, like so from http://mycomparer.com/ap/B00005ATMK/yo

pricespretty dang cool, I think.

The first one took a fair amount of work, but the next couple were a bit easier.  Looks like overstock.com has a data feed.  I would like to integrate with them and pretty well anyone that pays for conversions and offers a csv or the like.

I bit the bullet and switched everything that was going to trackings.com, shopthar.com, shop.spack.net, yohomes.com (and maybe a few others), and pointed it to http://mycomparer.com/.  Guess we’ll see how it goes.

Enjoy!

Earl

say hi to your NaN!

March 17th, 2009

Recently I cleaned up some shopping stuff so that if I got a single slider (that’s what I call the number picker guys) that was kind of empty, I would kill it.  I knew that it wasn’t really in general, and figured that I would someday have to clean it up.  Well, tonight was the night.  Stuff that looked like this

slider_nan

now doesn’t have that last chunk.  Not real sure where it comes from, but at least now I can clean it up 🙂

Also cleaned up something a little more subtle.  My goal is to have a pretty generic shopping engine, which doesn’t know the difference between a hard drive form factor and the clarity of a diamond.  That’s fine, except that also means it doesn’t know that IsLabCreated may not be the most meaningful, or weird contract warranty terms, or whatever.  Tonight I added the ability to ignore a category of stuff.  I even made it smart so that I walk the lineage of a category and look for ignore lists.  The cool part there is that I didn’t need to ignore IsLabCreated for each type of diamond ring.  So now, this

ignore

has the weird stuff stripped out.  Granted I need to do a database insert each time I find something else to ignore, but that’s ok.  I don’t have that many top level categories to manage (for now).

Next up, I would like to specify the order for distinctables to appear.  Like color and clarity before number of stones, or the like.

Tonight it hit me that once I get a little further along, I can go put up some “looking for a friend in the diamond comparing business?” flyers at byu, since I think a few folks down there are looking for rings 🙂

Anyone have any thoughts on mycomparer.com?  I registered it today.  Gotta be better than shopthar, right?  Still liking my diamondcomparer.com.

Enjoy!

Earl

me look pretty one day

March 15th, 2009

So, trying to clean some things up a bit on the shopping stuff.  First thing I did was get rid of the check boxes and replaced them with links.  The next was to add a couple currency formatters.  A little subtle, but I think, you know a year or two of such changes could help a lot 🙂

Before:

prices_before_left

After:

prices_after_left

Before:

prices_before_rightAfter:

prices_after_right

Pretty nice, right?  Especially if anyone buys pretty well anything that has a comma in its price 🙂  Sorry, I don’t have the old check box stuff.  I updated too quick.

Enjoy!

Earl

a little documentation

March 14th, 2009

Awhile ago, I wrote about LogHelper.  Well, sort of.  Turns out I just mentioned that I hadn’t really mentioned it before then went on my way.  Nothing too remarkable I guess, I would just like to parse folks’ rather arbitrary logs and allow them to do some pretty set analytics.  The theory is that folks would send me their logs, I would ingest them and output some pretty graphs.  As a proof of concept, I tried to create and eat my own dog food with HolaServers and LogHelper.  I scp’d logs from HolaServers to another box, parsed the logs there with good old pig (which I have written about), and display graphs using the Google Visualization API.  The cool graphs look like this

hs_traffic_graph1

A little side note.  Sometime ago, I made it so you could email a photo to your HolaServers site.  I would check once a minute for messages and act accordingly.  Well, the code I was using logged quite a bit and I didn’t realize it was logging anything.  Long story short, I filled up /tmp and my logging stuff started emailing me every few minutes.  So, I commented out a cron or two and quit doing my LogHelper stuff.  A week or two later I discovered that the mail checker was the real culprit but couldn’t figure out how to get the logging to work again.  Even if I had the following few lines, I would have saved several nights / hours.

  • the magic conf file is here conf/loghelper.com/mylogadm.conf, which needs to be copied to /etc/mylogadm.conf
  • on client boxes, this is the magic cron
  • 5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/sbin/logadm -p now /opt/coolstack/apache2/logs/mylog -v -f /etc/mylogadm.conf
  • on the server box, this is the magic cron
  • 2,7,12,17,22,27,32,37,42,47,52,57 * * * * perl -I/export/home/earl/svn/lib /export/home/earl/svn/crons/loghelper/go

If you want to see the stats in action, just sign up for an HolaServers site, get some traffic, and then wait a few minutes to see things show up.

Enjoy!

Earl

now flex!

March 8th, 2009

So, I dove in and learned some flex.  I watched many of these videos, referred to this gallery, installed flex builder 3 and cut some code for ShopThar.  I did a few things in not a ton of time, none of which anyone has likely noticed, but here’s a little list.

  1. ShopThar pages, like this one, have a nice image pulled from amazon for ranking stars.  There was a bug where flex would translate the 100 based numbers into a 5.5 rating on a 5 scale.  Got a nice broken image.  So, I finally tracked down the problem (which was hard because what I thought was a built in flex function was actually a shopthar function) and fixed it.  No more broken images on reviews!
  2. Used to have ARRAY or HASH stuff show up on product pages.  Again, it was hard to track down, but once I found a page with the problem, did some firebug magic, worked around memcache hanging onto bad data, and thought I fixed it.  Turns out the jury may be out a bit.  Just ran a couple queries.  
    • delete from sh_product where id in (select product_id from sh_product_distinctable where raw_value like ‘ARRAY%’);
    • Query OK, 1 row affected (7.17 sec)
    • delete from sh_product where id in (select product_id from sh_product_distinctable where raw_value like ‘HASH%’);
    • Query OK, 9665 rows affected (5 min 1.95 sec)
  3. Sometimes I would get NAN (not a number) for slider stuff.  Turns out I was sending out garbage data.  I look specifically for that garbage data and filter it out.  Not the best fix, but at least I fixed that one instance.
  4. Didn’t send out sets of distinctables (the checkboxes) when there was only one choice.  Not much of a choice if there’s only one, huh!

Flex!  I did all of that in flex.  Wow, better go update the resume, huh!  Did I ever mention that I paid someone to make my resume prettier?  Look how pretty!

Coming up next?

  1. Change the checkboxes and filtering to act more like Yahoo! mail filtering.  I would like folks to be able to pick more than one thing from a set, and don’t quite have that worked out in my head.
  2. Put the categories which are currently on the top of the page in html into flex.
  3. See what I think about changing sliders to use the NumericStepper component.
  4. Do some google analytics stuff for tighter tracking.

I am starting to get spider more and more, but real traffic hasn’t started to hit.

Oh, and I bought and put up diamondcomparer.com.  Took an hour or two to get all up and running.  A whole new vertical in an hour or two.  Someday this stuff will just have to start making money.  I want to get the engine working really smooth on diamondcomparer. 

Enjoy!

Earl

that’s right, action items

February 4th, 2009

I am currently the dev manager for three teams.  I end up sitting in meetings much of the day and help assign and receive action items.  Generally these are not even called out as action items, but if they are, I get them (at best) in an email.  Sometimes the action items are at the end of a word doc, attached to an email.  Also know as, generally, lost.

For ages I have wanted a dumb solution and recently I put up a new site (Action-Items.com) to help out.  It is a google appengine site, and yes, rather simple.  The vision is that you would come and enter your action items, give them a priority and tags if you like, then order on priority and filter on the tags.  Rather simple, but I think even as it is, it can help solve my problem.

If you visit the site, you will notice that for now, there isn’t really anything there until you login with a google account.

Near term features include being able to assign action items with others, accept (or refuse) assigned action items, search on the full text of the action items, maybe have groups of users, and allow read only access to the items. I think that would be a pretty useful product.

Oh, and for the mrs, I plan on sometime changing the font 🙂

Feedback (feedback @ holaservers.com) would be much appreciated.

Enjoy!

Earl

flash! ugh?!

January 27th, 2009
yes, a viking that helps you shop

yes, a viking that helps you shop

Some few years ago, I had a D&D character named spackthar.  He ruled.  For some reason I thought it a good idea to buy a series of domain names based on the *thar theme.

  • blogthar – an awesome blogging site blogthar_logo_174x791
  • songthar – an awesome lyrics sitesongthar_logo_174x791
  • botthar – an mmo helper site
  • guildthar – an  mmo helper site that specifically helps with guilds
  • shopthar – arbitrary shopping engine

followed.  I have let most of them expire by now, but I just can’t shake loose of the shopping stuff.  Lately I have switched my efforts from holaservers back to shopping.  A few years ago I went to an amazon affiliate talk at oscon and kind of caught the vision.  I implemented the affiliate api in good old perl, and generated a few million static html pages.  I uploaded them to a variety of sites (including some of the thars above), and somehow I started selling stuff.  I started to get a thousand page views a day, and a like fifty percent traffic boost each month.  Then, I think I pushed it too far, or my ip changed, or something and I went (I think literally overnight) to like a hundred page views a day.  My sales fell off to nearly nothing, but not to nothing.  I still made like a hundred dollars a month, which was pretty cool.

Then I had a vision, and got some help.  And maybe I had the vision even when I was doing the static html, but I wanted to build an arbitrary shopping engine.  Filter on whatever you wanted and help you find the best products.  Eventually I got a little help, dove in and we made the startings of a pretty cool site.  We were using the YUI! stuff and life was good.  We started to run into some browser compatibility issues and I thought it a great idea to switch to flex.  We had made pretty everything available via a web service so I found a guy that knew flex and he just wrote around the extant web service and there we go.  Or went.  Traffic dropped to nearly nothing, or actually nothing.  Sales followed a similar trend.  There may have been a few reasons, like trying to do a little google dance, and having lame urls, but wow, talk about effort disincentive.

Lately I have decided to give it a go again.  I have implemented some sitemaps and then rewrote them to prettier urls.  I even changed the webservice so that the flex points to the pretty urls.  I have been keeping an eye on my bot traffic and it looks like something may be happening

| count(*) | date        | user_agent                                                                                 |

|       68 | 2009-01-24 | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)                   |
|      674 | 2009-01-25 | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)                   |
|      722 | 2009-01-26 | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)                   |
|       30 | 2009-01-27 | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)                   |

Those are some hits WHERE request_uri LIKE ‘/cgi/shop/product?asin=%’.  Maybe if they can get indexed well, then some real traffic will start to return.  I have also tried to have pages appear on only two domains, which is a whole lot less than the dozen or so I used to do.  A site like computercomparer has computer stuff, and then shopthar has pretty well everything.  Nothing yet, but I am still hopeful.

It is still a little rough, but if you’re looking for a computer, or a harddrive or the like, give it a go.  Even if you don’t buy I would love to start getting feedback on the forums or directly (feedback @ holaservers.com)

Enjoy!

Earl

rewriting my history

January 18th, 2009

Recently I got this page working

http://computercomparer.com/sitemap.xml

It builds a dynamic sitemap along the lines of what I did for holaservers.  I query the database and find all the categories and products for the site.  So that happened a week or so ago.  Today I changed the product links to hopefully be more google friendly.

Before looked like this

http://computercomparer.com/cgi/shop/product?product_id=138

After looks like this

http://computercomparer.com/ap/0743251547/be+prepared+a+practical+handbook+for+new+dads

A couple I hope improvements to point out

  1. the before link is tied to my internal product id, so if I have to recreate my database, the links are hosed.
  2. the after link is tied to amazon’s asin
  3. some title text shows up in the link
  4. kind of a funny picture on the product
  5. I am actually, a relatively new dad; perhaps I should order the book
  6. that link was just the first one on my sitemap
  7. not sure why that book is in my computer category hierarchy, but there you go

Another point is that even though I plan to add more affiliates, which wouldn’t be asin based, I decided to be a little agile, and just write to what I’ve got.  I also think that once I add say buy.com, most of the stuff will likely be sold at amazon and have an asin.  Guess I need to think of a way to handle things at buy or newegg but not at amazon.  But not much more tonight.

And yes, I use mod_rewrite to go from my after link to something a little more server-friendly.

Enjoy!

Earl

I never thought these posts were real

January 17th, 2009

Sometime ago, I got forum.holaservers.com up and running.  I never put anything on it, but today, I at least tried to have it be usable.  I don’t think anything links to it, but it is at least a start.  I added forums for HolaServers and ShopThar.  It would be nice if folks could go use the sites and come give feedback.  Especially for the shopping stuff I would folks to start to come up with user stories and then I can see if I can satisfy them.  Like cool ways to find cool products.  I am pretty sold that I can build a pretty dang useful site, but it isn’t there quite yet.

Feel free to go register and start giving feedback.

Enjoy!

Earl

I’ll link you up!

January 13th, 2009

Kind of afraid that folks will hate me for it, but tonight I tried to add a couple little text links to the bottom of holaservers pages.  You can see examples here and here.  I figure that so long as I don’t have banners or for sure pop-ups, then folks won’t hate it too bad, right?  Guess there’s a decent chance though.  So why risk it?

  1. Imagine a world where I have a couple million websites and since they are largely indexed, I would potentially have millions of links to cool sites like computercomparer and potentially cool sites like kindlekindle. Just can’t miss out on the potential page rank.
  2. I already wrote good old MyUrl stuff and I might as well use it.
  3. Could handle giving folks another reason to actually upgrade.
  4. It’s really not that intrusive, really.

Enjoy!

Earl