News for hackers. Stuff that matters.
Re:Ask HN: What APIs do you wish existed? by zephjc on Saturday November 21, 2009 @09:50PM (#955317)
doWhatIMean("parse a bunch of names and sort")

This is from the same framework that has winTheGame() and doMyHomework()

Re:Ask HN: What APIs do you wish existed? by jodrellblank on Sunday November 22, 2009 @12:52AM (#955458)
and justMagicallyWork(), the call that papers over leaky abstractions, off-by-one errors, misunderstandings, logical errors in your thinking and just does whatever it is you were trying to do.

>>> data = urlopen('example.org/lovelydata/2009/') YetAnotherException: [...]

It needs some kind of web form cookie login non-standard authentication. Aaargh I can't spend any more time on this sub-project it was only supposed to take two minutes!

>>> import bigGuns Warning, Universe enters a fragile state. Tread carefully. >>> data = justMagicallyWork(urlopen('example.org/lovelydata/2009/')) Success. Cost: 12 Karma. >>> del bigGuns normality restored

Phew!

Re:Ask HN: What APIs do you wish existed? by danut on Saturday November 21, 2009 @11:02PM (#955389)
Wolfram Alpha's api?