Override QuerySet.delete() (one way of preventing cascading deletes)

We needed to override the default QuerySet delete function to deal with a client problem that we were facing Yes This is monkey-patching, and probably bad practice but if anyone needs to conditionally override the cascading delete that django does at the application level from a queryset, this is how to do it

Jack Vs Spider and Happy Holidays

Happy Holidays and thanks everyone for a great year. Check out my company's holiday E-card here Our VP of Security takes on an 8 legged intruder

Django gets Multi-DB

For his Google Summer of Code project Alex Gaynor added Multiple Database support to Django, which just got pushed to Trunk. The Documentation is available here. Some of the offhand benifits I can see: Multiple of databases. Got some legacy systems you don't want to migrate but have access to the data? no problem Have a read and a write database. Want one of your databases to speed up by configuring faster indexes and disabling writes? done. Multiple TYPES of databases. This is the one I'm most excited…

Share Google Reader folders with friends

A quick rundown on how to share whole folders with friends so they can see what you are reading, there might be an easier way to do this but this was the quickest I found Click explore click "View all recommendations" click Browse click Create a bundle Fill out the form and drag folders or individual feeds. After this is done you can email the bundle to your friends

Sneak some advanced logic into a Django template

I was adding on an app to a Django project at work where I was overriding an existing template but did not have access to the view that called that template. I was left in a scenario where I had the variables that the view was originally set up with, but non of the new models that I had added. In a filter you can do whatever logic you want, and then pass information back to the view. Please keep in mind, this is probably a horrible practice, but it does have its uses. In this specific scenario I needed to…

We fix while we eat

Hey, thats me! We fix while we eat: " Ai's David Napolitan and Tim Broder fix a late night production bug

Google Wave Invites

I have quite a few Google Wave invites left, if you would like one email me, @broderboy me, or leave a comment below. In all cases, please leave the email address to send the invite to.

Take your batch into the cloud

From the work blog: Take your batch into the cloud: " About a year ago I wrote a webapp called twitter2gtalk, which simply takes your latest Twitter message and sets it as your Google Talk Status. Shortly there after I attended an App Engine Hackathon (GAE) at Google NYC. At the hackathon, I started porting the app over to app engine. At the time, there was no scheduling or cron support in GAE. I created a hybrid app running between GAE and my webfaction server. My webfaction server would handle the cron…

Online advertising moving to.... your car?

Another one of mine on the work blog - Online advertising moving to.... your car?: With the release of Android 2.0 on the Motorola Droid, the Google Maps for Mobile application brings turn by turn GPS navigation (with voice) to your car. A great feature by far, it actually made Garmin and TomTom's stocks tank, but what does it mean for the future? Currently adwords is all over the web; on pages, in your mail, on maps. Now picture this possibility and keep in mind this is all hypothetical: You are using…

Google’s Christmas gift to America is free Wi-Fi at airports starting today (reblog)

Google’s Christmas gift to America is free Wi-Fi at airports starting today: google-xmas-wifi Those that hate Google but travel frequently might feel a bit conflicted over the next couple of months because of Google’s holiday gift to America. Starting today and ending on January 15th, Google will be offering up free, no strings attached Wi-Fi at 47 airports while Virgin American flyers will be getting free in-flight Wi-Fi as of the 18th. The In addition to this, Google has set up a way for travelers at each…

Google Wave as a Project Collaboration Tool

I'm a'bloggin on the company blog! (Alexander Interactive) Google Wave as a Project Collaboration Tool: If you aren't already familiar with Google Wave, check out some basic info, and a very in-depth video here. Wave is a new project from Google that reinvents email communication. Forget everything you know about email, it was invented back in the 70's, things have changed; technology is faster, we have cloud computing, web apps look fancier, and for a while, a large portion of email users are moving (back…

Use Google Voice with your existing number

WOOHOO!!!! It's working on my verizon blackberry! "Up until now, if you wanted to use Google Voice, you needed to choose a new number (a "Google number"). Taking calls through your Google number allows us to offer features like call recording, call screening and getting text messages via email. But we know not everyone wants to switch to a new phone number, so it made sense for us to create a lighter version of Google Voice for people who are willing to trade some features for the ability to use their…

Google Wave checker for firefox

I'm liking google wave so far (not loving yet, but there aren't that many people on it yet), but one of the annoying things was actually having to be in the app to see if I have new waves. Firefox plugin, problem solved!

Firefox Keyboard and Mouse Shortcuts

Here is a list of Firefox keyboard and mouse shortcuts for each of the three major operating systems organized by topic.

Checking if a remote file exists in python

Normally, to check if a remote web file exists I would use urllib's getcode() but that is a 2.6 and newer feature. In Python 2.5 its a little more interesting. Thankfully, wget's spider command can help us out.

Twitter get phone calls, Facebook gets voice chat

Twitter users on Thursday will, for the first time, be able to make voice calls directly to each other through the microblogging service. Look out, Facebook users: Here comes voice chat. Sometime in the next few weeks, the social network's tens of millions of users will begin to be able to have high-quality voice conversations, even as its third-party developers are able to start including voice in their applications.

Fight Gone Bad IV

Anyone want to help me out by donating? Fight Gone Bad IV: On Sept 26th I am competing in Fight Gone Bad IV to raise money for Wounded Warriors and Athletes for a cure.  Fight gone bad is a CrossFit workout scored by the number of reps. Description from the CrossFit website 4.3. Explain Fight Gone Bad In this workout you move from each of five stations after a minute. This is a five-minute round from which a one-minute break is allowed before repeating. We’ve used this in 3 and 5 round versions. The…

Location, Location, Location

This will be pretty cool when it comes out Location, Location, Location: "Twitter platform developers have been doing innovative work with location for some time despite having access to only a rudimentary level of API support. Most of the location-based projects we see are built using the simple, account-level location field folks can fill out as part of their profile. Since anything can be written in this field, it's interesting but not very dependable. We're gearing up to launch a new feature which makes…

Tech Support Cheat Sheet

Tech Support Cheat Sheet: 'Hey Megan, it's your father. How do I print out a flowchart?'