Another rev for brainycat.com

Wednesday, 25/02/2009 ≅21:13 ©cat

I just updated to version-1.5. This update includes numerous UI tweaks, expanded results per page with excerpts, links to tags, and a new structure for the pages.

This is the first update that really digs into the database. As well as the template updates, there is much work to be done massaging the database into shape. But it will be nice to take a break from php for a while and do some pointy-clicky.

And have some time to write more posts and SURF MORE! I am SOOO behind reading up my RSS and blogs and news. F1 season is right around the corner and I haven't even read any racing news in a week.



Wordpress Upgrade to 2.7.1

Monday, 23/02/2009 ≅11:35 ©cat

As you may have noticed, I've made some changes to the site recently. I've gone to one post per page and fixed nearly 40 UI bugs in the last few days. Behind the scenes, I've also upgraded to Wordpress 2.7.1 from 2.6.2. I never upgrade to x.0 releases. I'll let everyone else find the bugs and get the release that works properly out of the box.

So far I don't see what the big deal about 2.7.1 is. Aside from breaking some plugins (or obfuscating them so well I can't figure out where the new UI for them is), and having a glacially slow admin interface (yes, I installed gears) I really don't see any difference. Performance on the blog side seems about the same.

I would rather the admin side be a set of APIs, to which developers can create their own look/feel. I don't want whiz bang AJAX menus. I want quick and easy, and save my CPU cycles for other stuff.

Upgrading was seemless. I upgraded on my local development server, and found no problems. I updated all my plugins, still no issues. I pushed the updates (pulled from SVN?) to my development environment on my hosted server, still no difference. Updating the site was painless. I really wish the developers would tell me exactly what SQL queries are entailed during the "Updating your database..." phase. Additionally, the "automatic upgrade" option in the Tools menu scares me. I have my entire site (sans database, which gets backed up regularly elsewhere) in version control, so I download tarballs and integrate them into my trunk. I can forsee users who aren't using source control and are lazy with their backups going into hysterics when the update blows up their site. Hehehehe.

Here's my procedure for updating my site:

  1. tag a release in SVN
  2. backkup my database via phpMyAdmin and keep the file locally
  3. login to the shell on my hosted server (it's a shared box, but my server process is all mine)
  4. cd ~/DOCUMENTROOT
  5. svn checkout http://SVNURL/path/to/tag
  6. cp ./OLDVERSION/.htaccess ./NEWVERSION/
  7. cp ./OLDVERSION/wp-config ./NEWVERSION/
  8. ln -s ../media ./NEWVERSION/media
  9. login into my hosting provider's admin UI and change the SERVERROOT to ~/DOCROOT/NEWVERSION
  10. wait a few minutes while the records update and the processes respawn
  11. verify new installation

The whole process takes about 10 minutes, and it has a builtin backout plan: change SERVERROOT back to the last version, and reload the database if that blew up as well.



Book Review: Heavy Metal Islam

Monday, 23/02/2009 ≅10:15 ©cat

I recently read the book "Heavy Metal Islam" by Mark Levine via mobipocket book format. I didn't know anything about this title before I selected it for download from my local library, but being a longtime headbanger and blessed(?) with enough brains that I can't help but be politically conscious, it seemed like it would be an interesting read.

I was not disappointed. Mark writes in a personable style that feels more bloggy than journalistic. Additionally, he has quite the insider's understanding of the scenes he visits. The scope of the book, however, seemed too broad for  memoir styled prose. Between paragraphs, he switches from impartial, objective reporter trying to provide a global perspective to a concerned fan explaining his best friend's new album. All the while, the stories and attitudes he imparts broadened my horizons immeasurably. I still can't pretend to know what life is like for people like me in the islamic world, but I have a strong outline and it isn't pretty.

Most of the artists he interviews don't really share any political insight. This may very well be for their own protection, as most of these people risk being arrested and charged with "satanism": a catchall crime that includes any behavior, dress or attitude that is contrary to the ruling class. Don't laugh, it's happened in Morocco and Egypt recently. The book reads like a "working holiday" travelogue, broken into chapters by the countries he visits. I had the sense that the book does not follow the chronological order of his trips, as events that seemed important enough to galvanize the islamic world resonate heavily in some countries but not in others. Mark knows his metal, but does not seem to put any effort into conveying the sound through words. He seems content to compare the bands to western bands, and mentions numerous middle eastern bands and performers that I've never heard of before. I finished the book with no sense of the music at all, but with a deep appreciation for the feelings and hardships of the performers.

The biggest drawback I felt was the lack of interaction with the fans. Mark appears very well connected throughout the Middle East, as he spends most of the book interviewing succesful recording artists. In his recount, he often went on stage with his friends for both huge festivals and tiny jam sessions. Perhaps this is why we don't hear from the fans, Mark was backstage during all the shows. As most of the artists explained, the fans drive the music. But we never hear from the fans. I don't know anything about their lives; I read the whole book and I don't feel any closer to my bretheren across the globe.

There is an appendix at the end of the book that lists contact information for most of the bands he interviews, and I plan on looking them up and checking out their music. Apparantly, EMI has been leading the west by signing Middle Eastern metal bands. I look forward to hearing the music that comes from such stiflingly oppressive socieities.

I would recommend this book to more than headbangers. Anyone interested in an insider's view of the contemporary Middle East would be interested in this book, as would any musicians interested in the traditional sounds of the region. Additionally, political activists won't find themselves any more motivated, nor will they find any new informaton, but they will read about kindred spirits.

Heres I rate the book, on my nonfiction scale of 2-7 cats :

  • readability: 6 cats
  • edification: 7 cats
  • relevance: 5 cats
  • accuracy: 5 cats
  • human interest: 7 cats
  • leftistness: 6 cats

for a grand total of 6 cats, a very solid recommendation.

If I were a total blogging whore, I'd have a link to buy from amazon and make me some scratch. But I'm not yet motivated to setup an account like that with amazon that kind of person.



Ahoy! Hoist the Sheets!

Monday, 23/02/2009 ≅08:56 ©cat

A new buddy of mine invited me to come sail with him on Lake Union yesterday. He has a membership in the Center For Wooden Boats, so he gets to take a boat out anytime the wind isn't too strong.

As we waited for the office to open, the wind was extremely favorable for pushing a little boat around the lake. We rigged up the boat, donned our PFDs and pushed off.

And sat there, slowly bobbing up and down for a couple of minutes. The sailing gods have just a sick sense of humor as the rest of them.

Undaunted, we paddled away from the dock and out into the open air. Not that it did us much good. We slowly sailed (drifted) along the western shore, north towards Gasworks Park. Past dozens of yachts with more interior space than my house. Many, many for sale signs. I cried big huge crocodile tears for each of them.

While the wind wasn't especially cooperative, we had a great time. We chatted about this and that, and we found out that we're both F1 fanatics. Excellent. I have someone to watch races with this year, and this makes me happy. We watched Kenmore Airtaxi's finest take off and land several times.

About .75 miles from the dock, we started to head back. Another lazy trip and some more chatting, we eventually made it back to the docks without incident. What a great, lazy day. It was so nice to have nothing to but enjoy the sun and scenery for a couple of hours. I'm looking forward to going out again.



Ballot would force a god into every public resource

Friday, 20/02/2009 ≅13:53 ©cat

Pharyngula notified the blogosphere of yet another wildly unconstitutional attempt by the theocrats to recreate the political landscape in their own image. This ballot measure for the state of Washington that "would prohibit state use of public money or lands for anything that denies or attempts to refute the existence of a supreme ruler of the universe, including textbooks, instruction or research." It later goes on to specifically mention scientific research.

And this is what America comes up with in the state with one of the most (percentage wise) atheists anywhere in the country.

I continue to weep for the future.

EDIT
The woman responsible for this is nuts, and the company she keeps are insidiously stupid.



Unable to compile libphp5.so with 12.2 php.Slackbuild (trying to add mycrypt)

Wednesday, 18/02/2009 ≅08:45 ©cat

I originally posted this at LinuxQuestions.org. Funnily enough, it was a perfect example of what a coworker and I were talking about the other day. He's getting a technical degree in systems administration, and this quarter he has a unit on Linux. He's completely lost. He doesn't get it. He struggles with the GUI, and he's completely hopeless in the CLI. He was telling me how frustrated he is because he goes to the help forums (he doesn't know how to use IRC) and tries to ask questions, but he doesn't know the right questions to ask so he gets flamed. I told him I have exactly the opposite problem, in that by the time I'm reaching out for help most other users won't have a clue what's going on. It's not their fault, it's just a matter of experience.

Anyways, the thread is here. In a nutshell, I was trying to rebuild php5 with the mcrypt libraries included, and my system didn't want to build the dependencies (c-client from UW's imapd project) nor did it want to build libphp5.so. The build seemed to show that libtool may be misconfigured.

I've found a great deal on a new harddrive, so I won't be debugging this issue too much farther. I'm just looking at this install as a test run, taking lots of notes, so when I reinstall on the new drive it'll be speedy and simple. And with enough room to install some new OSs in VMWare.



Review: Mobipocket Reader

Sunday, 15/02/2009 ≅14:53 ©cat

I installed the free Mobipocket Reader on my Blackberry 8300/v4.5 a couple of days ago. My first impression was finding books I wanted to read was going to be a real time consuming chore via EDGE, so I went to the mobipocket online bookstore via FireFox. I found several titles I want to read, but I wasn't going to spend roughly eight bucks a title for the electronic versions when I can get the paper versions used for the same price.

Next, I checkd my local library and VOILA! For the price of a free library card, I could download up to 20 mobibooks at a time and keep them for 3 weeks each. All from the convenience of wherever I happened to be at the time! I selected 5 titles to begin with:

After providing my Mobipocket Reader PID to the library's database, I "checked out" (downloaded) the software to my laptop. "In the Beginning" and "100 People" are just over 200kb, "Deer Hunting" is about 800kb, "Heavy Metal" is 1.1MB and the hefty file is "Google Tools" at 17.6MB. That file includes numerous images. Once they were downloaded, I copied them via USB to the /ebooks directory I had already created on the SD card in the Blackberry.

I am very impressed with the software. It is easy to select a font that you are comfortable with, navigation is simple if you're accustomed to Blackberry shortcuts, the software loads fast and is responsive. Mobipocket Reader handles the images very well, inserting links as placeholders, then rendering the page with a thumbnail. Clicking the thumbnail brings you a full size image you can scroll around. If you leave a title, you will be returned to where you left when you open it up again. I placed a bookmark in a file, but I have yet to find where to go back to the bookmark. There is a menu  option titled "Navigation" which seems to imply a submenu, but when I select it nothing happens for me.

All in all, I would highly recommend this software to any blackberry poweruser who wants to extend the functionality of their device. Blackberry skills and hardware requirements you will need to use this software include:

  • downloading and installing applications
  • keyboard shortcut navigation
  • navigating the Blackberry SD filesystem
  • an SD card with a nominal amount of available space
  • Handheld OS version 3.7 or higher

My one caveat is that I recommend finding a source of free titles rather than relying on the bookstore that the software will point you towards.



Ecclestone Admits to Hemorraghing F1 Money

Saturday, 14/02/2009 ≅00:07 ©cat

Bernie Ecclestone has done an amazing job for the F1 sport. Unfortunately, that work was all some time ago in an era long past. While there are still several people involved in various aspects of F1 management who have been around as long as he has, these other people have had to prove their mettle every race day. Bernie has the luxury of sitting on his throne, accountable to the FIA but unchallenged by competition. Ruling by fiat, he has long been both complacent and a force of stagnation and boring, orthodox thinking and outdated business acumen.

In an article posted at autosport.com, he finally admits one of the grave mistakes he's made recently. He's sold all the local distribution rights via any medium to the TV broadcasters. What a fool. Only someone as out of touch with the world as he is could have made such a grave mistake. Whatever you feel about Mosely, at least he has enough brain cells to make a synapse:

"Just think for one moment - on the one side you could have all the archives, all the practice times, all the four (timing screen) pages and everything that is available to the teams. A camera in every garage, a camera in every public area of the motorhomes, a camera in all areas of the paddock. They would be all there and there on site.

"On top of that, if you have some good software writers you could sit at home and join in the race. And there would be the race, and you would be in the middle of it...socking it to Lewis Hamilton for pole position. It is all there to be done.

That is exactly what I've been talking about for years. The data is generated, the bandwidth exists to distribute it from every track. I would pay much money to have those feeds available, and more if they're archived so I can access them at my convenience and review past races at my discretion. F1 is the greatest worldwide spectacle in sport, and with so many facets: the technology, the personalities, the financing and best of all the racing, there's no reason why the FIA can't be making bank from fans like me.



A picture is worth a thousand words…

Thursday, 12/02/2009 ≅20:23 ©cat

And I certainly couldn't have said it better myself. So I'll spare you the rant and share a pic via roxykatt:

Enjoy Capitalism, billions are suffering for you

Enjoy Capitalism, billions are suffering for you



Seattle PI prints a rebuttal to Joel Connelly

Wednesday, 04/02/2009 ≅14:32 ©cat

Redeeming themselves in my eyes, the Seattle PI ran an excellent column written by Lisa M. Stone, executive director of Northwest Women's Law Center, Christine Charbonneau, president and CEO of Planned Parenthood of the Great Northwest and  Karen Cooper, executive director of NARAL Pro-Choice Washington.

In this column, these women demonstrate the misinformation and poor thinking that got me so riled up earlier this week.