News for hackers. Stuff that matters.

rhettg

Re:Arrow: Better dates and times for Python on Wednesday August 06, 2014 @11:42AM (#8143032)
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.

Re:Arrow: Better dates and times for Python on Tuesday August 05, 2014 @09:07PM (#8140429)
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.

Re:Poll: Which RSS reader have you switched to? on Tuesday June 18, 2013 @11:50AM (#5899958)
http://blogtrottr.com/ combined with discipline about what I subscribe to. Now I just want a better email client.
Re:Building Photoshop 1.0 on Sunday March 31, 2013 @03:40PM (#5469920)
You should take a look at Archive.org's Disk Drive project: http://archive.org/details/diskdrives
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.

Re:The Twisted Way on Friday December 28, 2012 @03:40AM (#4977012)
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/

Re:Seattle to deploy Gigabit fiber network on Thursday December 13, 2012 @11:24PM (#4919608)
I just moved from SOMA in SF to Belltown. Feels like Disneyland.
Re:How To Package Your Python Code on Sunday November 18, 2012 @08:33PM (#4802429)
It can be problematic to import your package from setup.py if you want your dependency specification to be useful.
Re:How To Package Your Python Code on Sunday November 18, 2012 @08:21PM (#4802395)
You guys might also find this github project useful: https://github.com/splaice/py-bootstrap
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.

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?
Re:Cutting the Gordian Knot of Web Identity on Tuesday September 06, 2011 @12:54PM (#2966226)
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.
Re:It's Official - Cell Phones are Killing Bees on Friday May 13, 2011 @01:06PM (#2545304)
Anyone know how to build a Faraday Hive?
Re:Ask HN: Books for soon to be Software Engineers on Saturday May 07, 2011 @03:02PM (#2524312)

   Code Complete
   Being Geek
Re:Two Programs Enter, One Program Leaves on Tuesday April 19, 2011 @11:56AM (#2462980)
Bomb SSSS #0
Re:Two Programs Enter, One Program Leaves on Tuesday April 19, 2011 @11:53AM (#2462969)
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...

Re:Two Programs Enter, One Program Leaves on Tuesday April 19, 2011 @11:19AM (#2462830)
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.

Re:Which Y Combinator company would you fund? on Wednesday March 23, 2011 @02:35AM (#2358338)
Convore was fantastic during pycon
Re:Why You Should Never Buy a Home Again on Saturday March 19, 2011 @02:43PM (#2344348)
If recent history of the mortgage market tells us anything, it's that lenders are not too concerned with making financial sense.
Re:Show HN: WaitingRoom on Tuesday February 22, 2011 @12:41PM (#2250680)
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.

Re:Dogs, Unicorns, & Mysterious Gongs: Inside Yelp’s 5-Star Pad on Thursday February 03, 2011 @07:52PM (#2177799)
All that high-tech beer-mate technology and we can't get a good foam free auto-pour ?
Re:Programmers: how to make the systems guy love you on Monday October 18, 2010 @10:22PM (#1805935)
"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.

Older »