HNHacker News
TopNewBestAskShowJobs

rhettg

79 karma · joined January 19, 2010

submissionscomments
rhettg··on Arrow: Better dates and times for Python
You're right. DMC is really just an experiment. I don't mean to disparage Arrow, it does improve the interfaces around datetime, I was just disappointed it didn't attempt to prevent these common timezone related bugs.

I bring up dmc for discussion, because I started it right after finding arrow. Building a full wrapper like this hadn't occurred to me until I saw arrow do it.

rhettg··on Arrow: Better dates and times for Python
I think Arrow still leaves too much confusion around how to handle timezones. That's why I wrote DMC(https://github.com/rhettg/dmc).

Not to be confused with Delorean (https://github.com/myusuf3/delorean) which is a lot like Arrow.

rhettg··on Poll: Which RSS reader have you switched to?
http://blogtrottr.com/ combined with discipline about what I subscribe to. Now I just want a better email client.
rhettg··on Building Photoshop 1.0
You should take a look at Archive.org's Disk Drive project: http://archive.org/details/diskdrives
rhettg··on FarmLogs (YC W12) Is Going To Change The Way That Farmers Manage Their Business
I grew up on my Grandfather's farm in California. I learned QBASIC on his computer. I connected to my first BBS from his computer. Together we used MS-Paint to draw maps of his land for planning.

That experience and my occasional trips to the Tulare farm show make me think farmers are generally pretty able to embrace new technology.

The one issue I can think of is that internet access in rural areas can really suck.

rhettg··on The Twisted Way
I've used twisted for semi-major project (https://github.com/Yelp/Tron).

It's certainly a difficult thing to get your head around. The parts of the project that touch twisted is always the most complex to explain to anyone else. However, async code is always hard. It also doesn't help that the code base shows it's age.. non-PEP8, strange naming conventions etc.

However, one thing that I've noticed with recent projects using Tornado (https://github.com/rhettg/Dynochemy) is that some concepts that I thought was overly complex in Twisted makes sense eventually. For example, handling errors in async code is really hard. The framework twisted came up with with Deferred, callbacks and errbacks is pretty smart. You almost have to re-invent twisted before you can appreciate it.

I'd recommend reading the original paper for more information: http://www6.uniovi.es/python/pycon/papers/deferex/

rhettg··on Seattle to deploy Gigabit fiber network
I just moved from SOMA in SF to Belltown. Feels like Disneyland.
rhettg··on How To Package Your Python Code
It can be problematic to import your package from setup.py if you want your dependency specification to be useful.
rhettg··on How To Package Your Python Code
You guys might also find this github project useful: https://github.com/splaice/py-bootstrap
rhettg··on Asynchronous Processing in Web Apps, Part 1: A Database Is Not a Queue
I understood the point as "Don't use a database as a replacement for a queue". Use the right tool for the job.

The fact that gearmand is backed by a DB is not at all the same as using a DB for a queue directly. Gearmand just uses a database as a backup that it can reload tasks when it get's restarted.

rhettg··on List of every member of congress who supports SOPA, sortable by donations
Can someone use this data to figure out how much it would cost to make SOPA go away and then setup a kick starter project?
rhettg··on Cutting the Gordian Knot of Web Identity
Why don't any websites add the option of just emailing me a link to login anytime I want to use the site. Effectively this is what happens with "forgot password" features.
rhettg··on It's Official - Cell Phones are Killing Bees
Anyone know how to build a Faraday Hive?
rhettg··on Ask HN: Books for soon to be Software Engineers

   Code Complete
   Being Geek
rhettg··on Two Programs Enter, One Program Leaves
Bomb SSSS #0
rhettg··on Two Programs Enter, One Program Leaves
The evolved warriors weren't all that impressive either.

Really required a large number of generations, which my poor turbo pascal skills or lack of hardware didn't really provide. I wonder if I can find that code on a floppy somewhere...

rhettg··on Two Programs Enter, One Program Leaves
Back in the day I tried applying genetic algorithms to corewars as a high school science fair project.

I lost. They had no idea what was talking about. Early lesson in the importants of communicating technical ideas.

rhettg··on Which Y Combinator company would you fund?
Convore was fantastic during pycon
rhettg··on Why You Should Never Buy a Home Again
If recent history of the mortgage market tells us anything, it's that lenders are not too concerned with making financial sense.
rhettg··on Show HN: WaitingRoom
After seeing breakup notifier on here (http://news.ycombinator.com/item?id=2243650) thought I would share our similar side project we launched for Valentine's day.

This app allows you "wait" on your friends that are in relationships. So they know they have options. It's all anonymous until they are single for 48 hours or so. Then then can see who's been waiting on them.

rhettg··on Dogs, Unicorns, & Mysterious Gongs: Inside Yelp’s 5-Star Pad
All that high-tech beer-mate technology and we can't get a good foam free auto-pour ?
rhettg··on Programmers: how to make the systems guy love you
"Don't architect distributed things that require passwordless ssh keys to run. If you need to distribute files to a bunch of machines, they should be pulled from an rsync or http server, rather than via scp or remoting invoking rsync over ssh."

Is this statement directed at me ? It seems to me that if you need some combination of deploying files and executing commands, the chances that you're going to implement it more securely than SSH is pretty low.

It's true that compromising that one machine with the SSH key is going to compromise your whole cluster, but at least you had to compromise a machine rather than hijack some network service.

rhettg··on Yelp Hackathon results in an iPad-powered KegBot
Custom blends of beer ? Have you had a beer before ?
rhettg··on Exploring the software behind Facebook, the world’s largest site
The CDN has to load them from somewhere.