geoff's blog

2010 Predictions

Iphones will go out of style.

Linux will increase it's adoption in pcs at a significantly greater rate.

Kids born next year won't remember the world when marijuana was almost universally illegal.

My thoughts on the "Tea Party Protests" - Guilty by Association

If I understand correctly, the idea for these protests really originated with the Campaign for Liberty. However, Fox news jumped on board and started strongly supporting them, apparently even letting viewers know they could attend these 'virtual' tea parties at some fox news site.

Hard Drive Click of Death Fix

My buddy had a laptop die, seems his mother board was fried one way or another.. I got a usb enclosure for the hard drive so he could have his data, at first it mounted fine, then it suddenly stopped. At first I thought it was the enclosure (or hoped it was) but upon some testing realized the hard drive was doing the horrible click of death.

Fuck you, Mr. President.

I'll be the first to admit, I don't trust you, Mr. Obama. Not really you, so much as what you represent; I don't see as you any type of individual, just the figure head of a big ugly machine. Sure, I've been annoyed, maybe even jealous when so many people love and admire you, trust you, defend your obvious "rough edges". But I never really thought of you as just some actual human being.

Anthropogenic Global Warming - Fact or Fiction

This is a pretty big question. One that many seem to think is "answered." All the scientists agree, anyone who disagrees is in the pockets of the oil companies or, insane.

I may be insane, but I am certainly in nobody's pocket. It seems to me this is not a cut and dry case. There are debates on both sides, and, virtually all of the science supporting climate change being caused by increased CO2 emmissions, specifically human caused CO2 emmissions seems to be the result of computer simulation.

Drupal 6 Flash interface via Views, Views Node Feed, and XML (w/ Imagecache bonus)

We are making a flash 'headline widget' that reads from a view and I had the job of getting the information 'to' flash. XML was my first thought but eventually started solving via flashvars. flashvars was clunky and ugly, though we did get it working.

Something inspired me to go the XML route even after it was "solved", which should have been the obvious choice in the first place. I came across http://drupal.org/project/views_node_feed which unfortunately wasn't ported to 6. Fortunately, someone had written a patch (http://drupal.org/node/298695#comment-1256975) which worked.

Thirty days of sobriety, a week later.

in

As anyone who is reading this near its time of writing likely knows, I 'endured' a month of no nicotine, caffeine, alcohol or ganja. It was the best month I'd had in years. I started back up basically the night of the 30th.

I really should have written this post on the 30th when I felt great. I feel like absolute dog shit right now so I don't even feel justified in talking about how great it was. But, I'm going to.

Seeing if your drupal core is hacked

I have been hired to debug someone's drupal installation as their previous developer basically stopped talking to them. They are in pretty rough shape, they have a couple custom modules that are working together, a lot of the code is broken, stuff is really jacked up.

Facebook Application for feeding my blog's RSS to facebook

I followed the tutorial here and it seemed to work like a charm!

The only edit I made that wasn't recommended was to edit the number of items being displayed in rss.php

I will likely make other customizations as I go along, but it was very simple up to this point.

Creating a zen subtheme in drupal 6 with ssh and vi

This tutorial assumes you have ssh access to your site (or are local) and can use wget and tar. If you already have zen installed and just want to make a subtheme, skip to secion 2.

Secion 1- Installing Zen

SSH into your site, cd to /path/to/drupal/sites/all/themes

If you haven't installed any custom themes you will need to make the themes folder:

cd /path/to/drupal/sites/all
mkdir themes

Syndicate content