Creating a Celery Periodic Task on Gondor

I’ve recently been using Gondor as a hosting platform for a business I’m starting. I needed to set up a task to update my search indexes every 30 minutes, so I thought of Celery. Asking in #gondor on freenode, I discovered that the Gondor guys had recently gotten whatever backend was needed to make Celery periodic tasks available on Gondor. They haven’t yet gotten around to documenting it fully, but it turned out to be relatively simple. Setting up Gondor for Celery: The Gondor docs have a great page on this. Follow the directions and you should be good. I … Continue reading Creating a Celery Periodic Task on Gondor

Converting Django Tests to Use Factory Boy

I heard about Factory Boy this last summer at a Django meetup in LA and figured I’d give it a shot. I ended up using it on a small project and intending to write a post back then, but I got distracted and never finished the project. I’ve been working on another Django site the past month or two and decided today would be a good day to convert all of my partner’s code into using Factory Boy. First off, Factory Boy is a tool for generating data in tests. Pretty much any project you have is going to need … Continue reading Converting Django Tests to Use Factory Boy

Fixing Postgres on Mac 10.7 Tiger for Django

I’m currently in the process of downsizing my number of computers to a single laptop (or maybe two… I mean who doesn’t need at least 2 laptops these days?), so I got a used macbook pro from a friend and have been trying to make the conversion to developing on it. So far I’ve spent far more time sysadmining on the mac than I have on ubuntu in the last 2 years. Not worth it for the pretty icons, but I really just go the macbook for the touchpad and battery life which are pretty gangbusters. Anyways, setting up postgresql. … Continue reading Fixing Postgres on Mac 10.7 Tiger for Django

Life-Mod: Physical State-Anchoring

I was recently watching a video on YouTube about how to spot a liar and toward the end of the movie, the guy mentioned something interesting. He has physical cues for himself which he uses to trigger certain states. Touching his pointer finger to his thumb recalls the state of meditation for him which helps him suppress micro-expressions when he’s negotiating. He also will raise his right big toe when he needs to remind himself to be patient with people that he doesn’t care for. Hearing this set me to wondering: could I train myself to recall or trigger certain … Continue reading Life-Mod: Physical State-Anchoring

Improving Memorization Technique for Opera

Memorization of music has always been something that I’ve struggled with. I think in part I’m not as good at it as many of my musical peers, and I also have study methods don’t lend themselves to memorizing. I don’t like tedious work where it’s difficult to see progression. Memorizing can be very intangible, where you’ve memorized something one day, only to have it disappear the next. While discussing singing with a friend recently, I noticed that she seemed to have a much better idea of the structure of her pieces that I do. This kicked off some inquiry and … Continue reading Improving Memorization Technique for Opera

Fencing Tournament Follow-up

Note: this is a follow-up to this post:¬†https://jeffammons.net/2011/04/fencing-tournament-physical-and-nutritional-preparation/ Alright, so I survived two tournaments since posting last. The first one on May 1st was a much tougher crowd as it was a regional qualifier, meaning I was fencing pretty much strictly highly rated fencers. I knew that going in though, and I think I got some useful learning out of it. I finished 33/36, so not dead last which I suppose I can be happy about. I also lost my direct elimination to a B, but only 8-15 or something like that. The second one, on May 7th was a … Continue reading Fencing Tournament Follow-up

Locational Filtering

If you wanted to find fish, where would you go? Certainly not the desert. Despite trying to avoid this for as long as possible, I’m going to devote a post (partially) to some of my thoughts on romantic relationships. Luckily this concept applies to more than just meeting women though. It just happened to occur to me while thinking about picking up women in a grocery store. To set the scene: I recently went grocery shopping at both Whole Foods and Trader Joe’s, and as I often do, I was checking out women in the store (in a non-creepy way … Continue reading Locational Filtering

Update and review: 100 Pushups Program

I posted a while ago (in February I think) about starting the 100 pushups program to try to get to 100 pushups in a row. I was a bit skeptical at the time of the 100 pushups program but figured it was as good a place as any to start. I quickly became impossible though. I tend to find that this is the case with most programs that claim to be able to do X number of something in X weeks. I’m pretty sure they just do the math to see how many you’d have to increase per week if … Continue reading Update and review: 100 Pushups Program