Yearly Archives: 2007

ACM competition and Ruby/MySQL/OS X troubles

Today has been a very long day. I was up at 7:30 this morning in order to help with the regional ACM programming competition. Jess and I showed up and helped work registration, which involved passing out t-shirts, goody bags, and making sure everyone was registered with a name tag. We then [...]
Posted in Class, Daily life | Tagged , , , | Leave a comment

roach v. spider

So I was sitting on my couch last night, coloring (yes, coloring, as in with Crayolas and a print-out of Disney’s Sleeping Beauty, darn it), when I felt something crawl across my leg. I thought immediately that it was a roach, because even though I’ve greatly reduced their numbers around here (thank you, boric [...]
Posted in Daily life | Tagged | 3 Comments

.bash_profile

eval `/opt/local/bin/lesspipe.sh` function dir_access_color { local DIR="${1-$PWD}" COLOR=0 [[ -r "$DIR" ]] && COLOR=1 # red [[ -w "$DIR" ]] && COLOR=2 # green tput -S <<<$'bold\nsetaf '"$COLOR" }
Posted in Config files | Tagged , | Leave a comment | Current music Maria Jose by Federico Aubele

DefaultKeyBinding.dict

To make it more convenient for me to take clean notes, as opposed to notes filled with "x^2" and "y_j", I looked into changing the key bindings in OS X.
Posted in Config files, OS X | Tagged | 1 Comment

proofs and Yip Yips

The week is almost over and I’m very glad about that because I’ve had two exams to prepare for and stress over. My first was yesterday in logic and theory of computing, and it took the full hour and fifteen minutes for me, but I think I did okay. It involved a lot [...]
Posted in Class, Daily life | Tagged , | 3 Comments | Current music Poney Money Honey by CSS

wedding fonts and turkey

Today has been a really pleasant day for the most part. I’m at Todd’s parents’ house and all the kids (ha, they’re all older than I am) are home, so we have a full house. I worked with Todd’s sister Sue today, helping her decide on a font to use for wedding invitation [...]
Posted in Daily life | Tagged , | 2 Comments

Designfruit wallpapers

These make use of the Japanese Foliage Photoshop brush set by Designfruit. I got permission from the brush set creator before posting anything using his brushes. Feel free to use these wallpapers to decorate your desktop, but I ask that you not redistribute them elsewhere, claim them as your own work, or [...]
Posted in Downloads | Leave a comment

pink hair

Because I’m spontaneous, yesterday when I got my hair cut, I also had the underside dyed a deep pinkish-purple. Photo 1 Photo 2 (my favorite) Photo 3 Photo 4 I’ve never dyed my hair before, so you can bet I was nervous throughout all 3 hours and 45 minutes at the salon. Holy crap, I’ve never stayed at a [...]
Posted in Daily life | 6 Comments

cell phone problems

In the back of a pickup truck, a girl was singing a Beyonce song and a group of us were standing around listening to her. I jumped into the bed of the truck and got a few plastic cable holders, which I then used to keep a bunch of cables together that were coming [...]
Posted in Dreams | Tagged | 1 Comment

finding invalid foreign keys in Rails

Sometimes it would be useful to tell users of your Ruby on Rails application if there is a problem in the database, such as some foreign keys are invalid. As an example, let's assume you have two models, Book and Author, such that each Book has an author_id which connects with Author via its [...]
Posted in Programming | Tagged , , , | Leave a comment

IBM swag and a roach-squashin’

I was trying to edit an old post, ‘PHP and forms’, this morning but I kept getting “Service Temporarily Unavailable.” Every time in the past that I have tried to edit that particular entry, I’ve gotten the same result. I don’t know if it’s Wordpress or Dreamhost or what, but it’s annoying as [...]
Posted in 3till7.net, Daily life | Tagged , , | 6 Comments

finals and Mario

I’m starting to feel the stress of encroaching finals, so that any time I’m relaxing in front of the TV or idly surfing the ‘net, I have in the back of my mind a worry that I should be doing something productive. I think all my classes this semester have finals, which is new [...]
Posted in Class, Daily life | Tagged , , | 4 Comments

using Ruby to rename files and edit their content

Recently at work, the web admin for the computer science department came into our lab and told us that my employer's site was broken. The admin had need to make all .php files not act as PHP scripts, and instead, all files with the extension .sphp would now run as PHP scripts. Since [...]
Posted in Programming | Tagged , , | 7 Comments

game beaten, test ahead

I just beat Super Paper Mario again. I started it Tuesday night with my dad as an audience and I’ve played it for several hours a day since then; it’s nice having that kind of free time. I played much better this time around than the last time I beat the game, knowing [...]
Posted in Class, Daily life | Tagged | 1 Comment | Current music Kaerutoki by Akasau

Paper Mario and Ruby programming

So I’m obviously not doing NaBloPoMo since I haven’t posted anything in about a week, but I do have kind of an excuse: I’ve been doing homework and saving Princess Peach, or trying to. I’ve got a calculus test tomorrow and I’ve been working like mad on my databases project, which is coming [...]
Posted in Class, Daily life | Tagged , , , | Leave a comment

calculus test and sleepy quiz-taking

I just had my calculus test, and I really don’t know what to think of it. There were some problems I felt very confident about; others where I thought the right answer could be one of two things, so I wrote out both and finally chose one; and others that I had no idea [...]
Posted in Class, Funny | Tagged , , | Leave a comment

vampire and zombie Sims

I bought The Sims 2 Nightlife Friday night and I’ve been playing it like crazy since then. I was very excited about the possibility of having vampire Sims, which was introduced in Nightlife, so I set about finding and then wooing one of the in-game vampires with one of my Sims. I was [...]
Posted in Video games | Tagged , , , | 41 Comments

database project and dead week

My database project is past the “omigosh are we going to get it done in time??” stage and into the “what neat feature can I add next?” stage, which is a big relief. If you guys want to play with it, I have it here on 3till7.net. We’re doing a demo of it [...]
Posted in Class | Tagged , , | Leave a comment

SVU and Mario

I just watched the best episode of Law and Order: Special Victims Unit ever! Or should I say, “evar!!!1″. It was the new one, ‘Paternity’, and so as not to ruin any surprises for those of you who watch the show, I’ll just hint at its goings-ons: Jaws of Life, baby, and [...]
Posted in Daily life | Tagged , , , | 1 Comment

ugly boots

Like Sara, I have to comment on some boots I saw today while eating lunch with friends. Jess and I were getting some pasta when I noticed the boots on some girl in line. They were white and gray checkered, fuzzy, and had two pink tassley ball things dangling from the top. [...]
Posted in Funny | Tagged , | 3 Comments