07 Jun
Posted by Elf Sternberg as Uncategorized
Django has just about the most awesome syndication system on the planet. It’s bog stupid simple, and if you want to implement it, the django documentation is great. But those of us who use and love RSS appreciate the ease and speed with which the WFW standard allows us to syndicate comments as well, and [...]
01 Jun
Posted by Elf Sternberg as Uncategorized
I’ve recently watched John Underkloffer’s presentation on 3D UIs, and how he helped create the presentation for the film Minority Report. You know the scene, the one where Tom Cruise is working his way through the UI with a series of hand gestures (although the one in Iron Man 2 is an upgrade). [...]
12 May
Posted by Elf Sternberg as Uncategorized
I was going to respond to this on genehack, but recovering my password proved to be onerous, and besides, the issue is an important one worth discussing. John SJ Anderson wrote:
Elf digs into some Javascript on a particular high-traffic site. In the same way that some people love reading about high-performance cars or bikes they’re never [...]
I was looking at the Digg source code the other day and, I’ve gotta say, mega-props to the developer of their javascript. The traditional rule in web development has become, “Put your Javascript at the end of your page.” That way, all of the DOM objects you might refer to are guaranteed to be [...]
02 Apr
Posted by Elf Sternberg as Design, programming, python
Following up on the The Onion’s announcement that they’re using Django comes this priceless discussion of the technical challenges of doing so with several members of The Onion’s technical team. They were using Drupal before.
Among the things I discovered:
Grappelli, a customizable theme for the Django admin
uWSGI, a high-performance WSGI container separated from Apache,
HaProxy, a [...]
Giggle has become my new best friend. Giggle is a graphical front-end for Git: you start it in a Git repository and it keeps excellent track of all of your branches, their history, mergings, and so on. Since one of my big initiatives in my current position has been refactoring an inappropriately large model class [...]
We all know the drill with MySQL and Django. You have a dev database, probably compressed, and you need to roll it out so your server’s in a “pristine” state before you start running migrations and adding stuff. And the routine typically looks something like this: gzip -dc dev_database.gz | mysql -u djanguser -p djangodb. [...]
From twitter: TheOnion.com has migrated to Django. If you don’t understand this, please register with your local unemployment office.
23 Mar
Posted by Elf Sternberg as Uncategorized
I recently had to convert a few GIMP palettes into color schemes for a website, and since I’m very fond of LessCSS, I decided to create LessCSS variables and use that as a plug-in to my CSS. The trick was converting on the fly; GIMP palettes store their variables in decimal, and I like [...]
16 Mar
Posted by Elf Sternberg as programming
Apress’ Pro Git is a better book than O’Reilly’s Version Control with Git. The O’Reilly book tries hard to educate you about the repository, but goes off into the weeds with details about history and branch management that overwhelm a user who “just wants to use the damn thing.” The Apress book has a section [...]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||