A surprising disclosure

Friday, 16/05/2008 ≅17:47 ©cat

Kylie Minogue - Love At First Sight

One of the ten best pop songs EVARRRR!!!!

As much as I listen to thrash, black and death metal and industrial...

... Well, I have a secret softspot for catchy, fun pop songs. There. I said it. And I'm not going to be ashamed!

You know what Jack Burton always says

Thursday, 15/05/2008 ≅20:34 ©cat

My favourite scenes (Jack Burton spinoff)

Woohooo! All the fun of BTILC without all the crappy boring plot development!

Subversion: art or science?

Sunday, 04/05/2008 ≅21:21 ©cat

I've been messing around with subversion lately. I can't really say I've made great strides. I've been able to import the website into the repo. But I had a heck of a time trying to get files back out of it. It seems that if you import files, they aren't automatically added as a local workspace. In fact, I'm not even sure that svn thinks of workspaces the way I'm used to from the days I cut my teeth with perforce. I somehow got around that issue with the svn switch command, but not after I created immense problems for myself by failing to properly declare the path for the src, creating several trees that are just all wrong.

I guess I'm expecting SVN to act like p4. I was expecting to be able to copy the entire hierarchy from the depo, but only checkout the specific files I want to edit. It seems that SVN wants you to checkout to get a copy, but then it doesn't care how many open working copies there are in the wild. I hope, anyway.

Another feature that I find myself wishing I knew how to implement is the ability to map different parts of the repo to my workspace. I may just need to find a new way to work. I was expecting to be able to create a branch but map it into the trunk while working on it, then merge the branch back to the trunk after getting it stabilized. Ideally, I'd like to NOT have to change where the files live on my workstation.

Another issue I didn't think through is that the dev site is running off the trunk. But I generated a branch for my WordPress theme. So none of the updates are showing up on the dev site. Two possible solutions present themselves immediately: Find a way to map the branch into the workspace, or do the development against the trunk. That's the way I've done things before, without involving SCM, and I don't want to keep making the same mistakes. However, for the most part WP is modular enough that nearly everything I'm doing would be in it's own node in the hierarchy, so it becomes feasible if not advisable to work in the trunk.

Remember the switch command? Yeah, I broke something with that. I was trying to figure out why I couldn't branch from the dev site. It made no sense at the time. I had /dev.site/FILES and was able to import them. I was able to goto /live.site/ and do svn update and that worked fine, voila! www.brainycat.com is up and running. But in the /dev.site/, I couldn't do ANY svn operations. Remember, I had tonsilitis, a fever, no sleep, no food for many, many, many hours prior to trying to teach myself this software by implementing it. So I deleted the files in that dir, then tried to do an svn update. But I got the tree all wrong. I tried to delete the local files and try again, working under the idea that SVN doesn't care what I have locally. Nope, not able to try a new update. So I dig around in the book for a while and I find that switch option. It worked; but now it takes forever to do any sort of updates to the repo. I'm afraid I somehow crossrefererenced everything to each other. I'm seriously contemplating blowing the entire config and starting over.

But first I'm going to eat now that I can.

Search Results for “chicken velocity”

Saturday, 03/05/2008 ≅15:56 ©cat

Plumbing the depths of the google oracle for amusement and edification.

An old article about the Air Force's windshield labs, where the "rooster booster" launches chickens at up to 900mph.
Measurement of chicken blood velocity using dual beam mode of laser Doppler anemometry by optical fiber module

Effects of drinking hot water, cold water, and chicken soup on nasal mucus velocity and nasal airflow resistance

The Legend of the Frozen Chicken

Chickens as waveforms

More RTFM goodness

Friday, 02/05/2008 ≅15:42 ©cat

I just uploaded the PHP docs to rtfm.brainycat.com/php.

Enjoy!

Yeah, I work in Tech Support

Monday, 28/04/2008 ≅08:39 ©cat

Which is only part of the reason this is so funny. The rest of the reason is that this is soooo totally me... "It was working fine until you broke it? >click<" hehehe.

Life is too short for man pages, and occasionally much too short without them.

 

Shamelessly embedded from the fine mind at xkcd.com

Monday morning blah

Monday, 28/04/2008 ≅08:30 ©cat

It's monday, and I'm back at work. Training isn't so bad, except for the glacial pace. This is the first chance I've had to see the site on IE. It looks better on firefox, though it remains to be seen if that's a function of display settings. All the features seem to work ok, except for the known bugs. Hopefully I'll have the production site up and running while I wait for my wife to get off work, then I can start beating this site into shape.

TODO:

  1. Get www up and running
  2. install some plugins? Need to find an expert list of the must-have plugins.
  3. Create my own theme.
  4. Install gallery and gallery plugins. Upload pics.
  5. Start working on some real projects.

Development site is running

Sunday, 27/04/2008 ≅23:39 ©cat

I am posting this on the a.dev.brainycat.com site I got running. In order to do development on wordpress without fear of breaking something useful, I had to change the user that some of the files were hosted under, which broke the live site. That's ok. I also had to backup the db from the live site and copy it to a new db that I setup. Some of the dev work will include new tables and such, so I don't want to jeapordize the live db.

I also had a little bit of an issue with the database. Dreamhost's installer configures a random string in the /wp-config.php:$table_prefix variable. When I went through the installer, I pointed the a.dev installation at the same database, but none of the data came up. Bummer. A quick peek with phpMyAdmin and the problem was obvious. I configured the dev site with the same table prefix, and my site came up without a hitch. Damn I'm good!  I'm debating how often I need to sync the two dbs. I need to think through the logic, and if I'd be creating more problems than save time. I need to develop an offsite backup system, as well. I had another issue with passwords; when I installed to the dev site wordpress pointed me to the login and admin pword generation site. I could not get logged in, so I just reset the pword via phpMyAdmin and life was grand.

Now I really need to get on board the subversion bus and get this site into a repo, so I can push the live site.  I'll probably have some time tomorrow at work to go over the SVN commands. Firstly, I need to find the url svn url ;).

I'm really excited about this. I was recently shown what one can do with google's tracking utilities. I'll have to setup YAGA (Yet Another Google Account) and get one of the keys and whatnot.

With all these new pwords, I'm going to look for a spreadsheet app that runs under linux. M$ compatibility is nice, but everything I'd need to import I can export from M$ as a CSV.

Things are moving along nicely. At this rate, I should be able to work on some real projects within a couple of weeks. Let's see how long it takes to beat wordpress into shape.

TODO items:

  1. find spreadsheet app for linux
  2. determine SVN URL
  3. import dev site to repo, publish to production site
  4. offsite db backup

Some notes about Subversion

Sunday, 27/04/2008 ≅11:35 ©cat

Dreamhosts info

Using subversion for web development

Turtle Book

Chardonnay and the TinyMCE’s handling of IMG

Sunday, 27/04/2008 ≅00:08 ©cat

I just really want to see what posted pix look like. I'm also sensing that I'll get email updates working before much happens with SVN. Somehow, a bottle of chardonnay became procured while returning from a venture to purchase subversion documentation. Thus, a pic:

Ferrari and Formula One: It's almost enough to make a guy believe in god