News for hackers. Stuff that matters.

cuppster

Re:Web Scraping 101 with Python on Monday March 11, 2013 @02:24AM (#5355209)
Watch out for unicode when using pyquery and requests. I provided a fix for that just recently now merged into the pyquery repo. I use it (among other things) to scrape upcoming comic book releases =) http://cuppster.com/2013/01/30/decorators-scrapers-and-gener...
Re:Multicolor image search on Thursday February 07, 2013 @02:19PM (#5183964)
Do you mean that the algo sorts on decreasing color frequency? i.e. you choose "blue" then the top results are images that are literally all "blue".

Usually when I want an image with a specific color, I don't want the entire image to be that color...

Re:The uncanny valley of web scraping on Tuesday February 28, 2012 @01:16PM (#3644168)
Anyone scraping in Perl? I've found pQuery very useful. (I tried it in node.js to stay cool, but async scraping is an anti-pattern) You can use jQuery selectors, etc... Just posted something related to it on by blog: scrape with pQuery, dump into Redis, reformat into CSV then into mysql...

http://cuppster.com/2012/02/28/utf-8-round-trip-for-perl-mys...

I did the same thing with my local pizza shop. They were =really= happy to get the domain... and in return they gave me a $100 credit, and I threw a party for my friends... good times! http://jerseyspizza.com/
Re:Normalize.css: An alternative to CSS resets on Wednesday June 08, 2011 @12:28PM (#2633786)
CSS gets re-written anyway along the way. Resets gives you a leg up in the beginning for a consistent look across browsers so you can focus on other pieces of a project -- at least that's how I use it.
Re:DIY node.js server on Amazon EC2 on Wednesday May 18, 2011 @02:51PM (#2561224)
if you're using an ubuntu image, it's going to be the ubuntu user: ssh -i path/to/key.pem [email protected]

Spent too much time figuring that out the hardway...

Re:DIY node.js server on Amazon EC2 on Wednesday May 18, 2011 @12:11PM (#2560611)
I've got a follow up post that shows how to use upstart instead of init to manage supervisor http://cuppster.com/2011/05/18/using-supervisor-with-upstart

People were having issues with the init script gist... upstart simplifies things quite a bit.

Re:DIY node.js server on Amazon EC2 on Tuesday May 17, 2011 @03:33PM (#2557528)
Yes it does, but I'm having so much fun deploying these things, I've created more than one... =)
Re:DIY node.js server on Amazon EC2 on Tuesday May 17, 2011 @11:30AM (#2556633)
I've used this recipe for a couple sites of mine, including the blog itself. The ups and downs of beta features of other node.js hosting providers was becoming a hindrance so I decided to roll my own.
I loved that podcast... also, you can find his QVC work on youtube. Gold.
Re:Why is it so hard to be a good domain registrar? on Thursday April 14, 2011 @04:59PM (#2448431)
I've been moving my domains from godaddy to moniker as well... for some time now b/c of the better control panel. Plus, domains bought in the snapnames aftermarket can be moved to (and sold from) from your moniker account.
Re:... Artfinder, the LastFM of art on Tuesday March 01, 2011 @01:52PM (#2276664)
Just last weekend at the startup weekend in San Diego I joined a team working on this kind of idea. Having a facepalm moment right now upon hearing this news...
Re:Rate My Startup (Weekend Project): LaunchRock on Tuesday February 01, 2011 @09:33PM (#2168628)
I've made one of those for practice at http://redlandsbuzz.com (my home town). It's backed by MailChimp. What I should do is place a unique cookie, then on the confirmation page, use it to provide referral links. Mine's running on WordPress...

MailChimp takes forever to redirect after submitting the form. They're API is faster...

I'll take a mortgage-reduction bomb any day...
Re:Poll: How old were you when you started programming? on Wednesday December 29, 2010 @12:31PM (#2049439)
Around 9, started with the VIC-20 and a stack of BASIC programming games books - still love those crossword generator programs!

Show HN: My Personal Delicious (clone) using WordPress

On the heels of all the press about Delicious sunsetting, I went to work on a clone using WordPress called "Savory". Would love to get feedback on it:Code is hosted at bitbucket: https://bitbucket.org/standout/savoryDemo site is live: http://b.cuppster.comUsage is here: http://cuppster.com/savoryBasically, it installs as a WordPress theme with a couple recommended plugins. Just added...

( Read More... | no comments | 3 points | on HN )
Re:FCC Adopts Net Neutrality Lite on Tuesday December 21, 2010 @02:43PM (#2029036)
I see the fight now moving to the "managed services" space. As Netflix warned earlier, this is where ISP start to really cash in and squash competition, and there's nothing in these new rules that watchdog that.
Re:Yahoo is Shutting Down Del.icio.us on Friday December 17, 2010 @03:47AM (#2015672)
Today I put together a WordPress plugin/theme to import delicious bookmarks and make them browsable at http://b.cuppster.com/ and a little write up at http://goo.gl/7lus7

Anyone interested in me posting this code? turning it into a collab. project?

Re:Yahoo is Shutting Down Del.icio.us on Thursday December 16, 2010 @10:04PM (#2014966)
I like the idea of us taking our own bookmarks and re-importing them into a new system, then getting it to work (optionally) in a network (maybe syncing based on friend/follow relationships) on any domain we like...
Re:Yahoo is Shutting Down Del.icio.us on Thursday December 16, 2010 @06:48PM (#2014420)
I'm writing a Wordpress plugin right now to import del. bookmarks. Stop gap, but could be fun. Will do a theme to go with it...
Re:Don't shoot the messenger for telling the truth on Tuesday December 07, 2010 @12:11PM (#1979682)
Surprised Visa and Mastercard didn't do something more evil... like raise their APR to 19.99%
Re:The Android Google Reader app is here on Monday December 06, 2010 @09:58AM (#1975321)
The native app's loading times are WAY to annoying to use it regularly. The spinner always needs to run for 10 seconds or more on my mobile before showing content. I'm sticking to the web-version for now...
Re:Computer Games You Can Program Yourself (1978) on Tuesday November 16, 2010 @05:48PM (#1912051)
The checksum at the end of each line saved my *ss. I don't know how I could have typed in the machine code to the C-64 Red Baron game without that!