Elf Sternberg

Done, and gets things smart.

The correct call for posting to a user’s facebook wall with Python and pyfacebook, after you’ve established both user authentication via FacebookConnect and gotten stream_publish permission, is:
request.facebook.stream.publish(
message = render_to_string(template_path, fb_context),
action_links = simplejson.dumps(
[{'text': "Check Us Out!", 'href': "http://someurl.com"}]),
[...]

One of the nifty things that Django provides is the
{% url backreference %} syntax, which allows
you to name the targets in your list of URL objects and then refer to
them by an explicit name. You can sometimes use the function name
instead, and Django has a way of turning the function name back into
the URL. It works fine as [...]

For multi-select boxes where you have a list of things you want to filter on, and you want the queryset returned to be an OR’d set.
qset = Q(mode__exact=modes[0])
if len(modes) > 1:
for mode in modes[1:]:
[...]

For reasons I won’t go into, I’ve had to re-activate my “professional” login on my laptop.  In order to distinguish it from the Elf user, which uses Enlightenment, I use Gnome when at the office.  And one thing I absolutely loathe about Metacity, the Gnome window manager, is that when you’re flipping between workspaces, you [...]

Want.
The link above leads to a 40-card set like the child’s game “Memory,” but with 20 different typefaces. The object, obviously, is to find the two cards in the same typeface. It’s such a brilliant idea, and so charmingly executed, that I can’t wait for it to be commercially available. It reminds [...]

  

Recent Entries

    Recent Comments

      Most Commented