My trip to Spain
I’m still going though the photographs, but I thought I’d share the summary. YMMV: Yo no hablo español.Picasso’s Guernica is worth the trip. The rest of the Museums in Madrid are excellent as well. I...
View ArticleBanned by Facebook
I’ve been banned from Facebook because I have a funny name.Update: I’m back!
View ArticleCinematic mysteries revealed.
I think I finally figured out the ending to 2001. You know how some small apartments have murphy beds to save space? Well, the aliens didn’t have a lot of time to work with, so they kept doubling the...
View ArticleSending an error when it’s not quite unique enough
Back in 2005 I mentioned I use to_ascii to make sure that there aren’t accented and un-accented versions of artists. Like Hüsker Dü. That one always gets people.The problem is, there’s no way to easily...
View ArticleHow to not delete.
The next series of posts will deal with steps I’ve taken to prevent deleting past playlists. I’ve even gone to the lengths of disabled deleting PlayHistory at the database level. So what do we do when...
View ArticleThe merge function
The merge function is hard to figure out. Fortunately, there’s the the delete_view method already in ModelAdmin. Open it in another window and follow along.Let’s start with a pseudo-code outline:def...
View ArticleUpdates
Some updated to last week’s code. First, new_obj is obj always returns False, so I changed it to ==. Secondly, I wrote a MagicAlbumWidget that you probably saw coming. We’ll bring it up later. Third, I...
View ArticleRotation editing
Setting the rotation level of a song is a manager’s job, so it can only be done in the admin interface. When I wrote about the schedule I talked about changing the admin interface to do what I want,...
View ArticleDeleting from the FormSet
Most of the songs in rotation are DJPick. That is, they aren’t real songs, but instead are markers for a pop-up menu on the playlist. They should be deleted when they are no longer in rotation. So...
View ArticleNew job
I just got a part-time job working as a psychopomp. Good pay, but the irregular hours are killing me.
View ArticleThe best room in the Denver Public Library
I just got back from the Denver Plein Air exhibit at the Denver Public Library. The paintings were great, but the best part was finding the conference room the bosses use. On the seventh floor, all the...
View ArticleHow to deal with Dell
Now that I no longer work for Dell, I can reveal the secrets to getting good tech support. Note: Most of these are only true for Dell, but some can be used with any company.First, and most import rule:...
View ArticlePrinting vs. the web
At Radio 1190, one of the things we do is print an insert into each of the CD cases that has the information we use. In addition to a brief review, there’s also extra info about the songs, like the...
View ArticleBuilding an iCalendar file
Most calendar programs today accept URLs to iCalendar files to keep up to date on something. That’s how I get Radio 1190’s concerts. There are two ways to build such a thing in Django. You can either...
View ArticleShow the whole line with Javascript
Sometime something happens that we can’t see because the effected part is scrolled off screen. Most of the time it doesn’t happen because the button to trigger a DOM change is part of the DOM element....
View ArticleTagging in Django
The last time I talked about tags in Django, there was only one game in town: Django-tagging. Now there is Django-taggit. It does (almost) everything right: A relation manager is used, which shows up...
View ArticleMixing Django and Other Content with Apache
My major Django project involves mixing Django urls with static. That is, I want /blog/ and /djpro/ to be handled by the same Python dæmon, but / to be the static file /html/index.html.Turns out that’s...
View ArticleI’m about to lose it
I was really looking forward to Tour de Fat this year. I even bought a glittering green cape for it. Ran into Aaron during the parade.When I came back in the afternoon, I saw Aaron, but avoided him. I...
View ArticleThe music nerd’s delemma
I just heard one of my favorite bands in a commercial. Should I be happy that they’re getting money, or annoyed that the song was so butchered? It could be worse. Fans of Phillip Phillips must be...
View ArticleA few thoughts on my Birthday
Yesterday was my birthday (I lied to Facebook), and that’s caused me to think about what the last year has entailed. I’d like you to humor me as I look back at what the past year of my life.A typical...
View ArticleGoogle keeps getting worse
I was forced to delete my Google+ account recently. The problem is it was interfering with work. My office has Gmail for Work because it’s cheaper and more reliable than Outlook. And it comes with...
View ArticleArticle 1
The stuff that happened in the last post bothers me more than it should. The reason is poor timing. I figured all this out just before a brief bout of depression. (By brief, I mean less than a day.)...
View ArticleMoving from Django 1.4 to 1.8
I’m currently in the process of moving from Django 1.4 to 1.8 and Python 2.7 to 3.4. The main reason I’m writing this is so that someone else making the same changes doesn’t need to work too hard.This...
View Article