heisel.org > Blog > 2007 > 09
Blogmarks
This could be interesting. I like MarsEdit, but I wish I could write and save a draft to my server, so I could start a post at work at lunch and finish up at home.
Facebook + AIM = evil
Tuesday | September 25, 2007 | 4:36 pm
To the 105 people I spammed today via IM while playing with Facebook… my humble apologies.
That was way evil of me, and I’d say slightly evil of facebook to offer… in what universe do folks want IM spam?
So aplogies for pressing buttons without thoroughly reading what will happen before I press them.
Update: The only thing I could have done that would be worse, is this, a service that lets you blast messages to your “friends” e-mail, IM and SMS, all at once. Yikes!
Permalink | Comments (0) | Categories: Technology
Blogmarks
The Black Wire and the White Wire
On the tension between "traditional" IT, that needs to be less risk averse, and the innovative, risk taking groups found in many companies. I like to think my group is on the white wire, but I totally appreciate the black wire folks.
One thing I absolutely love about Django’s template loading
Wednesday | September 12, 2007 | 5:38 pm
Is the ability to specify a series of template folders in your settings file.
Here’s what we do at work:
1 2 3 4 | TEMPLATE_DIRS = ( os.path.join(os.path.dirname(__file__), "templates"), os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "ANOTHERSITE", "templates")), ) |
It allows us to easily share templates from ANOTHERSITE with sister/sub sites, but when/if you need to override them you just drop your new template your site’s templates folder and you’re off to the races.
Another template tip
If you use the tip above, I’d recommend putting templates that are explicity shared in a templates/shared folder.
Then you can do things like:
1 2 | <!-- filename: templates/base_somethingorother.html -->
{% extends 'shared/shared_somethingorother.html' %} |
It’s a minor tip, but it helps prevent collisions and alerts developers that these templates shouldn’t have any site specific code in them.
Permalink | Comments (0) | Categories: Django, Python
Blogmarks
Send SMS from Django applications
A nice easy wrapper around turning a user’s cell phone number into an SMS-addressable e-mail address.
I’ve often said that building good software is a lot like building a city — it’s never done, and it’s always changing
Disclaimer: I work at The Atlanta Journal-Constitution. The opinions expressed here are my own, and do not reflect those of the AJC, Cox Newspapers, Cox Enterprises nor any other party.