HNHacker News
TopNewBestAskShowJobs

pxm

16 karma · joined February 23, 2011

submissionscomments
pxm··on “Let her speak please”
And the "let her speak please" happens just after 1:05: https://youtu.be/Er7qPv8jsZo?t=3928
pxm··on Prince of Persia creator finds lost source code 23 years later
David is his brother, rather than his friend.
pxm··on Don't use the jQuery .data() method. Use .attr() instead.
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]"
pxm··on Little Wars
Wells also wrote Floor Games: A Companion Volume to 'Little Wars': http://www.gutenberg.org/files/3690/3690-h/3690-h.htm
pxm··on Little Wars
See also BrikWars: http://www.brikwars.com/rules/2005/cover.htm
pxm··on Better Python Scraping - Installing lxml and Beautiful Soup
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.

pxm··on Zork like set of games
If you like Lovecraftian horror then Anchorhead is highly recommended. A really well made game and the writing captures the mood perfectly.