News for hackers. Stuff that matters.

pxm

Re:“Let her speak please” on Wednesday June 07, 2017 @07:22AM (#14505271)
And the "let her speak please" happens just after 1:05: https://youtu.be/Er7qPv8jsZo?t=3928
David is his brother, rather than his friend.
Re:Don't use the jQuery .data() method. Use .attr() instead. on Sunday December 18, 2011 @05:45PM (#3367747)
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]"
Re:Little Wars on Friday October 21, 2011 @06:45AM (#3139235)
Wells also wrote Floor Games: A Companion Volume to 'Little Wars': http://www.gutenberg.org/files/3690/3690-h/3690-h.htm
Re:Little Wars on Friday October 21, 2011 @06:44AM (#3139233)
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.

Re:Zork like set of games on Tuesday June 28, 2011 @03:36PM (#2706925)
If you like Lovecraftian horror then Anchorhead is highly recommended. A really well made game and the writing captures the mood perfectly.