Better HN
topnewbestaskshowjobs
Log inSign up

pxm

16 karma · joined Feb 23, 2011 (15y ago) · 10 submissions

Submissions

comment 9y ago · link · parent

And the "let her speak please" happens just after 1:05: https://youtu.be/Er7qPv8jsZo?t=3928

2.

Node.js: Style and structure(caolanmcmahon.com ↗)

2 points · by pxm · 14y ago · discuss

comment 14y ago · link · parent

David is his brother, rather than his friend.

comment 14y ago · link · parent

Yep, latchkey, I think you might want to rethink the article. As others have pointed out, you're seeing JavaScript's behaviour, not jQuery's. And this:

  elem.data('foo', { 'a':1, 'b':2 });
  elem.data('foo'); // Returns the object
Is certainly more desirable than:

  elem.attr('foo', { 'a':1, 'b':2 });
  elem.attr('foo'); // Returns "[object Object]"

comment 15y ago · link · parent

Wells also wrote Floor Games: A Companion Volume to 'Little Wars': http://www.gutenberg.org/files/3690/3690-h/3690-h.htm

comment 15y ago · link · parent

See also BrikWars: http://www.brikwars.com/rules/2005/cover.htm

comment 15y ago · link · parent

Just tried this out last week. The docs are pretty sparse, but it seems to mirror the jQuery interface fairly closely so if you're familiar with one, you'll have a fair idea of the other: http://packages.python.org/pyquery/api.html

That's the key advantage as I see it. If I'm scraping something it's often in a hurry and I just want it done. Not having to internalise a new API is a significant win in that respect.

comment 15y ago · link · parent

If you like Lovecraftian horror then Anchorhead is highly recommended. A really well made game and the writing captures the mood perfectly.