Better HN
topnewbestaskshowjobs
Log inSign up

zenbot

5 karma · joined Feb 8, 2010 (16y ago) · 4 submissions

Submissions

comment 9y ago · link · parent

Nick Coghlan has written on this extensively: http://ncoghlan-devs-python-notes.readthedocs.io/en/latest/p...

comment 10y ago · link · parent

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.

comment 12y ago · link · parent

This is incorrect. “The preferred place to break around a binary operator is after the operator, not before it.”

comment 14y ago · link · parent

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.