News for hackers. Stuff that matters.
Re:Howdoi – Instant Coding Answers via the Command Line by nicpottier on Tuesday January 08, 2013 @12:37PM (#5027256)
I really like the idea of this, I'm getting some good results and some not so good.

One that fails rather badly:

format dates django templates Returns simply "date", despite StackOverflow having lots of hits: http://stackoverflow.com/search?q=format+dates+django+templa...

But some others are super cool:

create datetime from epoch >>> datetime.datetime.fromtimestamp(1284286794)

One suggestion is that by default I would include the link to the stackoverflow page.

Some color might be nice to make it extra sexy, look at the colorama package to do it easily cross platform.

Re:Howdoi – Instant Coding Answers via the Command Line by gleitz on Tuesday January 08, 2013 @12:46PM (#5027300)
Thanks for playing with it. Sometimes the first answer isn't the greatest but -p2 or -p3 will get it. In this case the following command gets you closer:

howdoi format dates django templates -p3

Excellent idea for colorization! I've already got that suggestion on the github page -> https://github.com/gleitz/howdoi/issues/4