World Cup fever is high now that we’re into the semifinals with the Dutch and the Uruguayans facing off today. I’ve managed to catch a good bit of the tournament despite having this qual hanging over my head. With both of these entities demanding my attention, I LMAO’d at this head-to-head comparison in PhD Comics, spotted by Ingrid:
Posts Tagged ‘geek’
World Cup vs. PhD
Tuesday, July 6th, 2010Updating mysql without phpMyAdmin
Saturday, June 12th, 2010I maintain an online database of auditions for musical theatre in the Philadelphia area, and up until now I’ve always used the phpMyAdmin interface to update it. It’s fine as a tool in general, though I don’t have much perspective because I’ve never used anything that’s very different. Accessing it for minor updates is kind of a hassle, though. So, today I added my own mechanism for updating my database, and it’s a heckuva lot easier =) Yay!
MacPorts “build.cmd” error fixed with Xcode
Saturday, May 22nd, 2010While I’m reporting on my computer mishaps (go here if you want to know how to install ITK), here’s another headslapper. (BTW, this applies to Snow Leopard/OS X 10.6.3.)
MacPorts is a command line tool for installing software, and I was trying it out for the end goal of getting ImageMagick on my computer. Installing MacPorts itself went smoothly. Then, as its documentation suggested, I tried to update by running sudo port -v selfupdate. “Tried” is the operative word, as I kept getting this:
Error: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
No, you twit, I did not move it.
Sarcastic frustration being ineffective for compelling my computer to cooperate (whew alliteration of c-p sounds), I turned to Google and found that a few other people also experienced this problem. At least two arrived at resolution by (re)installing Xcode with Unix Development Support. I installed Xcode from my OS X install disc, and after that MacPorts updated properly. I’m not sure if the version of Xcode available online for download will also work.
How to install ITK on a Mac: CMake >> MacPorts
Saturday, May 22nd, 2010Installing Insight Toolkit (ITK) shouldn’t be that hard to do, but I wasted a lot of time trying to figure this out, so I’ll share what I’ve learned. If you’re in a hurry, here’s the gist: go with CMake, it took about half an hour on my 2-gb, 2.13-ghz MacBook Air.
Since I have a Mac, specifically OS X 10.6 (Snow Leopard), I reduced my installation options to two routes: CMake and MacPorts. Both are free and run from the command line; CMake also has a GUI. Initially I tried MacPorts, since it seemed the easier of the two with a one-liner:
sudo port -d install InsightToolkit
For reference, here’s the wiki guide on ITK with MacPorts.
However, the process seemed to stall after several minutes, attempting to download something at ever decreasing speeds. I let it run all night and it still didn’t finish. The longer it went, the more the download rate slowed, like an annoying instance of Zeno’s paradox. So finally I ^C’ed outta there. I did try initiating the build again and it seemed to bypass the steps it had already taken but again stalled at a similar downloading step.
After that failure, I set about learning some of this CMake compiling business. I should have known to start there from the beginning, since CMake is from Kitware, the open-source software group responsible for ITK as well. Here’s what would have made my life easier if it had been spelled out for me:
- Download and install CMake using the familiar and friendly .dmg format meant for simple folks like me.
- Download ITK and unarchive the compressed file. This folder is the ITK source folder, which CMake will need.
- CMake can be run from the command line or from a GUI. Since I’m feeling particularly noob, I went with the GUI. It looks something like this, once it is running (note the output in the bottom window):

Set your Source (the ITK source folder that you downloaded) and the Build folder, which should be an empty new folder where you will build ITK. I called mine “ITK_bin.” - Click “Configure.” A window will pop up, asking you to “specify the generator for this project.” I went with the defaults on this and it worked. After you click “Done,” CMake will write files to the build directory. At some point it should have a red screen and ask you to choose from a set of options such as the one below:

I unchecked “Build Examples” and “Build Testing” since I don’t need them. When you have set the options as you like, click “Configure” again. Repeat this until no new options are available, at which point the screen is no longer red. - At this point, you will need the command line, but this last step is very easy. Go to your ITK build directory and enter “make.” E.g., if I am in the parent folder of my ITK build directory,
$ cd ITK_bin $ make
ITK should start building, with progress displayed as [4%], [11%], and so forth.
Yay, my first professional theater gig! At WST, no less!
Wednesday, March 17th, 2010I’ve been doing community theater for a few years now, mostly musicals and a scattering of other random performances. I once did a brief internet commercial thingy for $50, but that’s the extent of any compensated work I’ve done. Well, I can now proudly say that I’ve landed my first professional gig, a small one but important nonetheless. One small step for penguins, one giant leap for penguins in theater. From March 26 to April 10, I will be an extra – a water person, more specifically, although I’m still not totally clear on what that means beyond being interactive scenery – in “How I Became a Pirate,” a children’s musical playing on the mainstage at the Walnut Street Theatre! I believe the Walnut is the oldest theater in the country, and it’s certainly the largest and most prestigious in this region.
One of the complexities of trying to get more serious in theater (while you’re trying to live your other life) is that professional theaters rehearse during the day, when you would otherwise be at work or school. I’m extremely fortunate to be in graduate school with a professor (Paul Yushkevich, who teaches Image Analysis, which is possibly the most awesome and most useful class I’ve taken since college) and mentors (Anjan Chatterjee and Jim Gee) who are supportive of my creative pursuits. So next week, I will experience for the first time the workings of a professional production. I can’t wait!!!
I bet all the engineering for the technical stuff will be waaaayyyy cool. I vaguely remember all the coordination that went into putting on Fantasmic! at the Studios, involving dancing water effects, pyrotechnics, you name it. Although I don’t think this show will involve quite as much, I will see its preparation with a much different perspective and appreciation for the end goal of not just having cool stuff to wow the audience, but to communicate our story and invite them into our world onstage.
Facebook blog importing, take 2
Wednesday, March 17th, 2010I’m a huge geek, or a little OCD, or both. In any case, I was frustrated when, after switching from my homemade blog to the Wordpress setup, the new blog feed (which comes with Wordpress) did a nice job of conveying text and images but couldn’t handle videos or other customizations I had implemented. (That’s not Wordpress’s fault, of course; I just occasionally add things to my posts that require the code within my site to work.) As a result, when I used the feed to import my posts into Facebook as Notes, the Notes aren’t quite displayed as I would like. For instance, I might refer to a video in my post, but it doesn’t appear at all in the Note.
With my old blog, I created a custom RSS feed that stripped out all enhancements and provided Facebook only an excerpt, along with a link to the original post where the customizations (should!) work. I realize this additional linking step might be annoying for Facebookers, but seriously, if you are on Facebook to begin with, you probably have time to kill, and I’d rather you see my post as I intended it. So, I revised that RSS feed to pull data from the Wordpress database instead. So far it seems to be doing okay!
Every theater geek should know about American Theatre Wing
Sunday, March 7th, 2010Yesterday I discovered a podcast series featuring renowned Broadway actors, directors, composers, you name it. The podcast is one of several produced by American Theatre Wing, and they’re all free!!! Anyone who is interested in the workings of theater, from just about any aspect – be it costume design, stage engineering, playwrighting, composing, or just plain old acting/singing/dancing – will find this resource to be an enormous wealth of information. The episodes definitely feel very educational and PBS-like, geared toward people who want to study theater. On iTunes, try this link.
Hmm, I suppose I am a masochist
Wednesday, September 30th, 2009Today, my first math homework was due. I am taking Engineering Mathematics (ENM) 510, Foundations of Engineering Mathematics I. Whereas this class would be too easy for my Applied Math grad friend Yan, I can’t make heads or tails of the stuff sometimes. To make matters worse, I shamelessly procrastinated on it and didn’t really start until about 8 hrs before it was due. Oh, I had looked at it earlier, and it seemed impossible. As of this morning, it still seemed impossible.
My fri…
[this is an excerpt from the original blog post]
Pinky and the Brain: The Brainstem Song
Saturday, February 7th, 2009I’m on Neurology at CHOP, and while my experience there won’t help me as much on the shelf exam (e.g., Cat Eye syndrome is not in my vernacular), I do look forward to going there everyday. That said, the shelf is in less than a week, and I’m having some serious difficulty with concentrating on my studies. So, to take a marginally productive break, I found the Pinky a…
[this is an excerpt from the original blog post]
Meet SPE, Stupid Programmer Error
Friday, November 21st, 2008Every now and then, it happens: I’m chugging along, methodically testing my code and — thunk — the code hits a solid brick wall. Perhaps I mistyped or spelled something wrong; this is sometimes the case when I’m working with a lot of variables. But no, everything is typed correctly, so what else could it be? I check my assumptions, the order of the functions, run test cases in simplified environments. Those all pan out to the intended result. So I’m left with bangin…
this is an excerpt from the original blog post]