« June 2005 | Main | October 2005 »

September 30, 2005

Women Exposed!

Remember yesterday I mentioned that there are apparently guys searching Google for the answer to the question: "how to make your wife happy"? Yeah well this morning I'm looking at the Search Query Report and I see this:

to keep my husband guessing

That's right guys, the women are going to Google just to find ways to mess with our heads. Well the jig is up ladies. So, to all you guys out there desperately trying to figure out "how to make your wife happy": don't worry about it, they're just messing with us.

Oh and for all the guys that saw the subject and hoped that this would be about something else: Sorry about that. Not really though.

September 29, 2005

An Update On AdWords

Yesterday I was looking over the results of the "To My Wife" ad I placed on AdWords to try and get an idea how many people had read the story and I noticed the numbers were pretty high: 962 impressions and 24 clicks. Wow, I thought, a bunch of people must have found that little story interesting. Or maybe I have more relatives than I thought.

After looking over the stats this morning though I see that the story was only read 95 times. Hmmm... strange. Those numbers don't reconcile. And then I looked over the search term report with dawning realization that my ad, which was meant to be triggered by a vary specific set of keywords was, in fact, being triggered by all sorts of interesting things. Among them:

  • what to write in my wifes bday card
  • short message of birthday to my girlfriend
  • letter to my wife
  • how to excite your wife
And my favorite:
  • how to make your wife happy

You see that ladies. This person, whoever he is, is completely at his wits end and has gone so far as to ask a search engine for the answer to a question that man has been struggling with since the dawn of civilization. Google cannot help you my friend.

On the other hand if you ask Google "how to make your husband happy" it will reply simply: Give him the remote.

Now about "the picture": To those that read the message to my wife yesterday and weren't prepared for the shocking picture of me that accompanied it, let me just apologize right now for any loss of appetite/sleep, internal bleeding or blindness. Oh and that's not the original picture, it's been altered (if it was a document about our president's National Guard service you would've known that by now). The rose was added in Photoshop. Now you have to look even closer to see if you can tell. I suggest protective eyewear.

September 28, 2005

Google AdWords as Greeting Cards

Oh this was going to be such a clever idea and it does work. Kinda.

Google's AdWords, is an ad service offered by Google whereby you "you create your own ads, choose keywords to help us match your ads to your audience and pay only when someone clicks on them." The ads can appear when you do a Google search, browse GMail, or anywhere else that Google's near ubiquitous ads appear. So if you create an ad with the keyword "kittens" it should appear whenever you're looking at a web page that Google determines is primarily about kittens. Neat eh?

Then I started thinking... When I told my wife I was going to redesign my site she asked, "Why, so you can tell everyone what a wonderful person I am?" Well, no, but she is a wonderful person and so I thought, how cool would it be to create an AdWords ad and have her Google the magic phrase which would bring up my message of undying love or something like that. My plan solidified as I rode home from work today.

Setting up an AdWords account costs $5. And the ads themselves don't cost a thing unless they are clicked on. This price is determined by you. Basically you tell Google how much you're willing to pay for the click and you're ad is ranked according to this amount. This can be as little as $0.01, but $0.10 or more typically if you want Google to even bother. So, I got my ad ready to go and chose several phrases that I wanted to trigger the ad. Unfortunately the only one that seemed to work somewhat regularly was To My Wife. I was really hoping to use The Best Wife, but keyword phrase didn't seem to want to trigger my ad.

So, now I had everything set up and ready to go, albeit with a less than ideal search phrase. I called Susie over to the computer and said "Hey, look what happens when I search for this", typed in my phrase and... nothing. So I put it in quotes, tried it again and voila. At first she didn't notice but I gently suggested she check out the ads where she saw:

She looked at me with an expression that said both, "Aw that's sweet" and "Now what have you done".

But then she clicked the ad which took her to a page where I describe just how much she means to me. She was quite touched I think... until she saw the picture (you'll know it when you see it), at which point she lost it and we both began laughing uncontrollably.

If you'd like to see the tribute to my wonderful wife you can try the Google thing (assuming the ad is still running), or you can save me a nickel and follow the link: To Sue.

September 26, 2005

Hacking AirClick USB (for Mac)

If you're interested in adding additional functionality to your AirClick without all the mucking about in property lists and what not, you may want to look at this, otherwise, read on.

Quite a while back I wrote a little blurb suggesting that people interested in customizing their AirClick USB software contact me for an explanation. What I should have really done was taken the time to write up as nice little HOWTO instead of setting myself up to write several individual HOWTOs. That is something we shall have to remedy.

A few notes before we get started. Though I work for Griffin (we'll see for how much longer after this post) this article is by no means endorsed or supported by Griffin Technology. In other words if you go mucking around inside AirClick package and break something, don't expect much sympathy from the guys in support. Me either for that matter. If you accidently rm -rfv / please don't come crying to me (by the way, I did that once, it made me sad). Please make a backup copy of the application, your hard drive, make sure the batteries are good in your smoke alarm, etc., etc. That being said, if you're still interested, read on.

In order to make this easy on yourself, you should probably have installed Apple's developer tools. You don't need to compile anything, but you'll find that Property List Editor, found in /Developer/Applications/Utilities will make life much easier. You should also be familiar with AppleScript.

functions.plist

First let's take a look inside the AirClick package and see how things are put together. Control-click the AirClick application and select Show Package Contents from the contextual menu. Notice the various scripts in Contents/Resources. You'll also see a file called functions.plist. Open this file with Property List Editor or your favorite text editor and follow along by navigating through the items in the as they are explained.

The top level is an array of dictionaries. Each of these dictionaries represents a group of functions that can be selected in the AirClick menu. Within each group are two entries: an array named "Functions" and a string named "Name". The "Name" appears in the AirClick menu which is used to select the active group of functions. "Functions" is an array of dictionaries that describes each of the functions in this group and the rules required to execute each script.

A function dictionary contains the following:

  • Button (Number): A code indicating which button will trigger this function. The button codes are:
    • Play: 1
    • Volume Up: 2
    • Volume Down: 4
    • Next: 8
    • Previous: 16
  • Modifiers (Number): A mask indicating which additional buttons need to be pressed to trigger this function. Uses the same codes as described above. Use 0 to indicate no required modifiers.
  • Name (String): The human readable name of this function. Not currently used, but you never know.
  • OnRelease (Boolean): YES if this function executes when "Button" is released. Otherwise executed when pressed.
  • Repeats (Boolean): YES if this function repeats until the state of "Button" changes.
  • Scriptname (String): The file name of the AppleScript to be executed.
  • SetLogic [optional] (Dictionary): Contains optional parameters used to set internal variables. Defined as:
    • Value (Number): The value to set the variable to.
    • VarName (String): The name of the variable to set.
  • TestLogic [optional] (Dictionary): Contains optional parameters used to query internal variables. The function will only execute if the test evaluates true. Defined as:
    • Value (Number): The value to compare the variable to.
    • VarName (String): The name of the variable to compare.
  • Time (Number): Time in seconds the state must remain true before the function executes. 0.0 indicates that the function should execute immediately.

So now you know what all of the various property describe, let's take a look at a few examples. First look in the first (or zero-ith if you like) function group (Name: DVD Player) in the first function. The properties are:

  • Button: 1
  • Modifiers: 0
  • Name: Play / Pause
  • OnRelease: Yes
  • Repeats: No
  • Scriptname: dvd_playpause.scpt
  • Time: 0
Translated that means when the Play button is released (and no other buttons are pressed) immediately execute the script named dvd_playpause.scpt once. That's a fairly straightforward example.

A slightly more complicated example is emulating an iPod's next and previous buttons. These buttons when pressed and released quickly go to the next or previous track. If held the track will fast-forward or rewind respectively. However when the button is released, it should not trigger the next / previous track function. The DVD Player remote works the same way. Consider these two functions:

  • Button: 8
  • Modifiers: 0
  • Name: Fast Forward
  • OnRelease: NO
  • Repeats: No
  • Scriptname: dvd_fforward.scpt
  • SetLogic:
    • Value: 1
    • VarName: DidFF
  • Time: 0.5
and
  • Button: 8
  • Modifiers: 0
  • Name: Next Chapter
  • OnRelease: Yes
  • Repeats: No
  • Scriptname: dvd_nextchapter.scpt
  • TestLogic:
    • Value: 0
    • VarName: DidFF
  • Time: 0
The first function will execute the dvd_fforward.scpt script once the Next button has been held for 0.5 seconds. Furthermore it will set a variable named DidFF equal to 1. This variable is key because the next function says execute when the Next button is released if the variable DidFF evaluates to 0. A third function is actually required to reset this variable when the button is released if necessary. But you get the idea. You can create some pretty non-trivial functions if needed.

AppleScripts

This is pretty straightforward. Create your AppleScript and test it in Script Editor, or AppleScript Studio etc, and save it into the Contents/Resources folder along with all the others. There is one tiny wrinkle however. You must make sure your script is saved as a text file and not a script. The software expects, at this point in time, to find a text file at the location specified in the function definition.

Additionally, the AirClick AppleScript suite provides several commands for such things as an on screen display which can include a message, assorted icons and a level meter. Also the ability to simulate a user key press and a means of adjusting the system volume. This commands are all documented in the AirClick dictionary and there are plenty of examples in the scripts provided in the AirClick package so there really isn't a need to dive into them here.

Where to go from here

I would encourage you to examine the built-in functions and scripts until you feel comfortable enough to construct your own group of functions. It's really pretty straightforward I think. And so I think that pretty much covers things. Hopefully someone finds this useulf and if there's something that's unclear or something I've forgotten just leave a comment.

It's a Major Award!


Not the
award I won
I just want everyone to know that the nice folks over at Tennessee Bloggers have chosen this site as a recipient of the prestigious and very exclusive Best Blog in Tennessee award in the categories of Best General Info Blog and Best Middle Tennessee Blog!

OK well maybe it's not terribly exclusive. There are hundreds of recipients including Instapundit and we all know that no one reads that guy. Seriously the recognition is appreciated, but now I have to work extra hard to make sure I keep providing the award winning content that people have come to expect here at SGnTN.

A little side note: Last night I got started on the gallery section. The software is up and running and nearly 1000 pictures have been uploaded. Susie is updating all the picture names, descriptions, and so forth. It's still a work in progress, but if you'd like to take a sneak peek you'll find the gallery here: http://www.somegeekintn.com/gallery


This site won a 'Best Blog in Tennessee' award!

September 25, 2005

Minor Genealogy Update

First, all of the histories have been updated so they use the SGnTN style and in many cases they are actually readable now :)

Second, TNG software has been updated to version 5.0.7. The update seems to have gone well but take a moment to visit the roots section and report any problems you encounter.

September 24, 2005

Why Flickr?

The last big thing I have to move to SGnTN is my photo library. Initially the debate was whether I should use Coppermine or Gallery 2. I have, or had, decided that although Gallery 2 might be slightly behind Coppermine in terms of the features that I want, it looks to me like Gallery development is more active and will catch up and pass Coppermine soon. That and Gallery 2 is new and shiny and we all know about my weakness for all things shiny.

In the midst of this comes the realization that you can't swing a dead cat (or is that huff a cat?) on internet without hitting a site who's owner has placed his photo library on flickr. I've viewed a few albums on flickr and it seems ok, but OMGWTFBBQ!? I want my site, including the gallery, to have a consistent look and feel and using flickr wouldn't allow for that. But why is everyone else using it? Is it because they're on Blogger and it's not as easy to add photos there? Is it to save on bandwidth costs? Is it because everybody is moblogging now and just has to be able to post pictures from their cell phone? Is it because people would rather erect an SEP field and be done with it? Is it simply the cool thing to do? Is anyone actually reading this? Anyone? Bueller?

September 23, 2005

Need. Weekend. Now.

Note to the non-geeky: This is funnier if you know a little something about programming (apparently I don't).

Wow I need a break. I'm sitting here cranking out code but my latest addition broke something. I didn't take long to find. Witness a chat log from a few moments later:

Casey Fleser: going crazy.. i actually wrote this code:
Casey Fleser: if ([item marked] && ![item marked])
Andy Cook: Hahaha
Casey Fleser: that doesn't happen often
Andy Cook: You could write anything in there, secure in the knowledge that you would never have to deal with it
Casey Fleser: [self kill];
Andy Cook: Hahahaha

September 21, 2005

Katrina: The Gathering


Katrina: The Gathering
George Bush, American Nero
A couple of guys, who go by the names of Ubiq and Lum, have created their own version of the popular trading card game Magic: The Gathering based on the whole Katrina mess. In their own words: This is the combined effort of Ubiq and Lum to use our mighty ubergeek powers to laugh in the face of that which cannot be explained. No offense is intended, unless offended is a Bureaucrat or Politician creature.

Ubiq and Lum have done a pretty good job lampooning both the left and the right and quite a few in between. And even if you're not a familiar with Magic: The Gathering, it's worth a look just to see some of the quotes contained on the cards which range from the stupid politician quotes "Brownie, you're doing a heck of a job", to light night talk show jabs "To recap: This guy [Bush] came down four days later to mourn Trent Lott’s house… while I Am Sam waded through toxic sludge in a dinghy."

Also, they are taking suggestions for new cards on Lum's (or is it Ubiq's?) site. There are quite a few comments there already, but add your own and perhaps your idea will be immortalized on a Katrina: The Gathering card.

Genealogy added... kinda


One of the many pictures you'll
find in the genealogy section
I spent this evening bringing over my genealogy database from pr3d4t0r.com and then upgrading the software I use to drive this portion of the site.

Now originally I had planned to completely integrate the genealogy section with the rest of the site before making it "live", but there have been so many changes to this software since the last time I updated that I wanted to go ahead and allow access to it now. I've actually been poking around at it for the last 1/2 hour or so just checking out all the cool new tricks it can do. It looks a little plain at the moment, but I'll try and get the chrome added as soon as I'm able.

To get to the genealogy section, follow this link: http://www.somegeekintn.com/roots.

September 20, 2005

The Million Dollar Hompage

Yeah this is old news... In internet time anyway. That means it's days, not hours old. Anyway, I keep looking at it and shaking my head. What a simple idea. Why don't ideas like these ever pop into my head. All my ideas tend to cost money... sometimes a lot of money.

The idea that Alex Tew had was create a grid of 1,000,000 pixels on his homepage and sell them in 10x10 blocks for $1 per pixel. For the mathematically challenged, that's $100 a block. People can use these pixels to create an ad or logo with a link to their site. Alex who's 21 and lives in the UK, created the site hoping to generate enough money to help pay for university. Well he's done that and has enough left over for some new socks. $52,300 so far.

September 19, 2005

A Busy Weekend

What a fun (and busy) weekend. I'd been looking forward to this weekend for a while. OK, first on Friday... ok well nothing really happened on Friday. We vegged out and I goofed around with the site here a bit.

Saturday morning I took the kids out for a little geocaching. Or as they prefer to call it: "treasure hunting". We found 4 caches before it was time to go home and get ready to head out to Memaw's (thanks Memaw!), because Mommy and Daddy had planned an evening out with friends :) We met up with our friends later and had a blast. But we had to get home and get at least a little sleep because Sunday was going to be really busy.

On Sunday morning Susie and I went our separate ways as she went to bring the kids home while I went to the Titans game with my neighbor Joe. I think I got the better end of this deal, though I wasn't expecting much from the Titans. It's pretty well known that this is a "rebuilding year" but of course I'm always there to cheer them on win or lose. It was obvious pretty early on that the home team had the Ravens number, and after the Titans forced a safety late in the 4th quarter, making the score 25-10, we felt confident enough to consider it a victory and head to the car at the 2:00 minute warning.


Sue relaxes
before the concert
The football really took it out of me. Something to do with being sunburned all along the right hand side of my body I think. But there was still more to do. Coldplay was in town and playing Starwood Amphitheater. Susie and I arrived about an hour early and had pretty nice seats... or pretty nice section of turf I guess since we sat on the lawn. Rilo Kiley opened the show which wasn't bad. Finally around 9:00PM Coldplay took the stage. They opened with Square One (no surprise) and finished with Fix You (also not a surprise). In between they mixed selections from all 3 CD's. Tracks like Yellow, Clocks, Speed of Sound, etc. In the middle of the set they described their admiration for Johnny Cash and how they'd written Kingdom Come for him, and he had agreed to record it with them but of course he passed away before that could happen. Then they sang Kingdom Come and followed it with their rendition of Ring of Fire. Very cool.

Following the concert was the least fun part of the weekend: waiting 30 minutes to get our of Starwood. But all in all, a great time, but sadly it's back to work tomorrow... actually today now that I think about it.

September 16, 2005

Gaaaaates!

I been happily frittering away my evenings playing around with an idea for the layout of SGTN which I like, even if J doesn't. J also pointed out that it looks as though I'm peeing in the bottom right image... sigh. Anyway, I've used some tricks with transparency in PNG files to achieve some nice effects, and also in some areas to allow me additional flexibility with maintenance.

It occurred to me that I'd better take a peek and see how things look using Internet Explorer on Windows. I expected to have to make some tweaks to support this browser's peculiarities, especially with cascading style sheets. Boy was I in for a surprise. PNG files were the wave of the future when they were introduced TEN YEARS AGO. But apparently Microsoft hasn't yet gotten around to adding full support for them yet, and therefore my beta layout looks like total crap on Windows. Unless you are using a decent browser such as Firefox (which I highly recommend by the way regardless of your platform of choice).

So anyway, now I've got to decide what to do about this little problem. There is a workaround for PNG files in the body of a page, but I'm not sure how to handle them as part of the style definition. Or perhaps I could modify the script such that PNG images are replaced with something like this:

Get Firefox!

September 15, 2005

Work In Progress

So basically the way the site.... which I think I'll refer to as SGTN... anyway the site is basically using the default look from the Movable Type installation. While it's "ok", I'd like to personalize it a little more. I have a few ideas bouncing around in my noggin', the first of which you can take a look at here. Obviously it's not terribly functional, but it's useful to visualize what may or may not work.

I was happier with the woods theme until this morning when I realized the original background images, which were png files, were about 400k and 500k in size. I really wanted to use the png files with translucency so I wasn't locked into any particular background color. Alas, that won't be possible with jpeg files. On the bright side the file sizes shrunk to 16k and 24k.

So, anyway, I would appreciate any feedback, suggestions or encouragement you may have. Thanks!

September 14, 2005

Caged

When I got home from work on Monday there was an ominous looking envelope on the kitchen counter from the fine folks at Suzuki. Upon opening it I discovered that my scooter has been recalled. It seems that the ignition switch can inadvertently cause an "unstable contact between the ignition switch contacts" which if not corrected "can cause arcing in the ignition switch", which can lead to ignition switch failure which means "the engine will stall, the lights will go out, and the operator may be unable to restart the scooter". Not exactly a tenable position toodling down I-24 in morning traffic. And if I wasn't completely convinced the letter included this:

WARNING
SUZUKI STRONGLY RECOMMENDS THAT YOU DO NOT RIDE YOUR AFFECTED 2003 OR 2004 MODEL YEAR AN400 OR AN650 BURGMAN SCOOTER UNTIL THE REPAIR HAS BEEN COMPLETED
To minimize the risk of injury or death, do not ride, or allow anyone else to ride, your scooter. If you must ride your scooter before the recall service is completed, make certain that the ignition switch is completely in the "ON" position. Schedule this repair as soon as possible.

So, I guess I'll keep the scooter parked until I can get this taken care of... probably. We'll see how long it's going to take for the dealer to get the parts in. So far they haven't been able to locate the specifics regarding the recall. They're supposed to call me back "real soon now".

September 13, 2005

So it begins...

...or ends, depending on your point of view. I've decided to forget about coming up with something clever and just go for obvious and easy to remember. My new site will be somegeekintn.com. It just so happens that's my AIM screen name as well.

You can go there and watch my progress if you like. It's pretty boring at the moment with only Movable Type installed and the generic theme that it defaults to.

I started yesterday, selecting the domain name and hosting service. I used GoDaddy for both, though before the night was over I was beginning to regret the decision. It seems GoDaddy and Movable Type 3.2 don't get along very well. But I came across a reference to a hosting company called DreamHost that looked really promising. Today I canceled my hosting agreement with GoDaddy (painless), found a sweet promotion code and ended up with 4800MB of space with 120GB of bandwidth per month plus a buttload of additional features for ~$30 for the first year. Now, I was nearly very upset at my new hosting company this afternoon when I could no longer access my new site or even theirs until I realized that they must have been affected by the blackouts in the Los Angeles area today.

So anyway there you have it. I'm going to keep both blogs synchronized for the time being. I haven't yet decided if I'll hang onto the pr3d4t0r domain past it's expiration in a few months or not. I may go ahead and get one more year simply to make easier to redirect to the new site we'll see.

Let me know what you think of the new name. Good? Bad? Ugly?

September 11, 2005

The future of pr3d4t0r.com

Ya'll may have noticed I haven't done crap with this site in a very long time. As is usual I started something and devoted myself to it single-mindedly for quite a while and then it slowly faded into the background as other obsessions came and went. Well I've really been wanting to change this. The site has also been in limbo because it continues to live on the server of my former employer and I've been wanting to not only move it to another server but rename and redesign it. pr3d4t0r doesn't exactly roll off the tongue. But I've been stuck trying to come up with a new domain name that makes sense and is short and catchy. I've been thinking on this off and on for quite a while so that's prevented me from even trying to get started on something new. If anyone has any suggestions feel free to let me know.

I did take a moment today to update the genealogy software to version 3.4.10 (from version 3.4.4). The software is up to version 5.0.6 but I'm so behind in my updates not only will I need to cough up some more money but also figure out what sort of database changes I'll need to make to make this happen. I don't expect I'll change this right away.

Movable Type (the software that drives the blog portion of the site) is also pitifully out of date. So to is the gallery. I'd like to change the gallery to a nicer package called Coppermine. So anyway, if I ever get started, I have a lot of work ahead of me.

Links

www.flickr.com
This is a Flickr badge showing public photos from somegeek. Make your own badge here.
Powered by
Movable Type 3.2