News for hackers. Stuff that matters.

zenbot

Re:Numpy: Plan for dropping Python 2.7 support on Wednesday November 15, 2017 @08:17PM (#15709560)
Nick Coghlan has written on this extensively: http://ncoghlan-devs-python-notes.readthedocs.io/en/latest/p...
Re:Insomnia 3.0 – A simple and beautiful REST API client on Tuesday September 06, 2016 @12:42AM (#12433712)
Is this a general objection to apps being web views run inside of Chrome? Insomnia's website does not make any claims towards being native.
Re:Python Best Practice Patterns on Sunday March 02, 2014 @06:30PM (#7331229)
This is incorrect. “The preferred place to break around a binary operator is after the operator, not before it.”
Re:Escape from Callback Hell: Callbacks are the modern goto on Saturday November 03, 2012 @10:11AM (#4736631)
This is possible in Twisted, using inline callbacks:

  try:
      data = doManyFancyThingsWith(yield asyncResult())
      print 'Parsed data:', data
  except:
      print 'Oh no, something went wrong!'
I find that I use inline callbacks for the common case and work with deferreds directly only when it makes more sense to handle callbacks explicitly.