Opportunities

Well, I am going to be moving soon. I need an apartment, furniture, all that stuff. I may have found some furniture from a friend’s mother who is moving out of her house, It is currently up by Orlando, but my find it’s way to Lakeland for me. This weekend I may have found a place to live.

A one bedroom, one bath with a large kitchen and huge living room with a patio big enough that I could work on my projects in it. Well, that’s the description I got at least, I haven’t seen it. The current occupants are paying $350 a month. Tack on the $150 a month they are paying for utilities ($90 last month, but I am going for the most expensive summer season here for pricing), and I found a place for the same money that I am living now! Granted, it’s not a mansion and is in Lakeland, 25 miles away from the office, but, still! It is a straight shot right into the office. 2 blocks off the main drag for the apartment, and 3 blocks for the office. For that kind of money, even including the money spent on the commute, I come out ahead. Let’s see, 25 miles, figure 1 gallon of gas each way, $2.50 per gallon, $1 toll each way, 1/3 of an $30 oil change, 20 working weeks days a month. I would be spending about $150 $110 a month on the commute. If I was to live in Tampa, my apartment price would be about $650 a month, plus utilities, plus commute of say, 5 miles each way, so 200 miles a month, or about $16.50 a month in gas.

That $165 $205/month difference is half a lot of the car payment of the new car that I would need anyhow (or the new insurance price). A new car, with working air conditioning would probably make the extra hour I spend a day in the car OK. A new car would be getting 30mpg or thereabouts. I am thinking Ford Escape Hybrid or Dodge Magnum – although the Magnums are still too new to get a good price on them. Heck, if gas hits $3.00 per gallon I am still $100 $140 bucks ahead doing the commute.

Of course, I could always get a new car, and keep driving the Escort until it dies. Is the $80 a month in insurance on the Escort worth potentially saving 12,000 miles a year on the new car (if the Escort lasts that long, that is)? Probably. Granted the Escort needs a new transmission seal, brakes and rotors, tires and alignment, the AC fixed, some rusty spots fixed, and a few other minor things (like being replaced).

The most important factor here though, is – Close to the office, or Close to Katie? I don’t think I am even going to bother keep looking in Tampa for a place to live if I can price a new car into living closer to my girlfriend! Talk about a WIN-WIN!

UPDATE – It’s ok to edit a post the same day I posted it right? Or even say 24 hours…
Anyway. I got a clarification, I thought that the apartment was near the Parkway, but it isn’t so I wouldn’t have to pay any tolls at all. That’s $40 a month that I wouldn’t have to pay. I corrected all the numbers above.

Broken Blogger "rel" Tags

I use Operator for FireFox which parses Microformats and allows you to take actions on them – such as add a contact to your address book. Some really cool stuff.

But the “rel” tag is broken on my blogger blog. Blogger doesn’t follow the spec. Not that they can, with my site being a FTP published blog, they can’t follow spec and still be able to publish the “Labels” as they call tags, correctly. The issue is that blogger makes the URL end with “.html” as the would need to in order for that “Labels” page to work at all.

I took matters into my own hands. I can’t fix blogger, but I can fix my site.

My webhost has PHP available to me. I have made 3 changes so I can do some really cool stuff with my blog, like fix the Labels issue.
1) I have all my blogger uploaded .html pages parsed as PHP
2) I use mod_rewrite to allow me to link to /labels/tag as well as /labels/tag.html
3) I use PHP’s output buffering to dynamically rewrite the page as it is being served.

In more detail:

1) I created a .htaccess file at the root level of my website (/httpdocs) that contains the following line.

AddType application/x-httpd-php .html .php

This allows all .html pages to be parsed as php code.

2) I created a .htcasses file in /labels that has the following code in it.

RewriteEngine On
RewriteBase /labels/
RewriteCond %{REQUEST_URI} !.+\.html$
RewriteCond %{REQUEST_URI} !.+\.html.+$

RewriteRule ^(.+)$ $1\.html [L]

This checks to see if the URL requested ends in .html and if not, appends the .html and serves the file.

3a) I created a file called bloggerrewrite.php and it contains the following code:

<?php
//ob_start(“bloggerlabelrewrite”);
//ob_end_flush();
function bloggerlabelrewrite($buffer)
{
// Lets find the blogger labels stuff
// It is good to be as specific as we can because we don’t have control over any changes Blogger may make
$pattern = ‘/(<p class=\”blogger-labels\”>.*<\/p>)/iu’; //case insensitive and ungreedy just incase Blogger changes something.

$html_array = preg_split ($pattern, $buffer, -1, PREG_SPLIT_DELIM_CAPTURE ); // $html_array[0] = the stuff before, $html_array[1] = the blogger lables paragraph, $html_array[2] the stuff after

$trans = array(“Labels:” => “Tags:”, “.html\”>” => “\”>”); // the transformation we want to make – Changing Labels to Tags, and dropping the .html

return $html_array[‘0’] . strtr($html_array[‘1’] , $trans) . $html_array[‘2’] ;
}
?>

3b) I then modified my Blogger Template by inserting the following between the <BLOGGER> and </BLOGGER> so I can use the output buffering from the 3a file on each individual post.

<Blogger>
<?php
include_once(“{$_SERVER[‘DOCUMENT_ROOT’]}/bloggerrewrite.php”);
ob_start(“bloggerlabelrewrite”);
?>

[SNIP BLOGGER TEMPLATE STUFF]

<?php ob_end_flush(); ?>
</Blogger>

The results are as you see. My Blogger “Labels” no longer exist, you now see a “Tags” section at the bottom of every post. These tags are properly formatted, and so they work with Operator.

I am kinda wondering, what if a crawler or whatever comes across the site, identifies it as a blogger site, and tries to parse the “Labels” in a BloggerQuirks mode, and doesn’t find any Labels…

200th post

Wow. This is my 200th post to this blog. I didn’t think I had that much to say.

I worked on my boat tonight. I basically did the same thing as last night, only on the other end brace. I worked on the two bottom stringers – rounding them out and recessing the nuts. I can use a one inch flathead screw on the bottom of the end-brace aluminum and side stringers.
I didn’t take any photos as it’s the same as last night.

I was hungy so I took a walk. I was in the mood for fish. I stumbled upon Shucks on th Water. The Blackened Grouper Rhuben came highly recomended by the waiter who might be the owner by the way he talks. The sandwich was awesome. The steak fries are as good as they come. I am full, but am getting the triple chocolate cake.

A large hoe is squealing down the road. It is shaking my water on the table. It has traffic all tied up.

Finishing an End Brace

PakYak end brace I worked on finishing up one of the two end braces tonight. I beveled all braces, counter sunk all the holes, filed all the corners. I did notice that I need to cut a bevel on the bottom (short) braces on the end brace so they will clear the stringers when folding and unfolding.

I see what Jonathan Abitz means when he said that cutting the notches in the braces on the mid braces that hold the side stringers up makes assembly tricky. I futzed and putzed tryibng to get the boat unfolded tonight. It folds up like a breeze, I just cant get the goofy thing unfolded for the life of me. I must be unfolding a part too soon, and having a brace bind up on me.

Posted by Picasa

Midbrace notched out for gunwales

 The midbrace with the different hole pattern gets notched out for the gunwales. Here I balanced one of the midbraces on the other so I can mark where I want the notch to be. I think the gunwale is supposed to lay flat and square to the ground.


 Here is the midbrace marked and ready to cut.


 The midbraces have been cut. I just stacked the two of them together and cut them both at the same time.


 Here you can see that the gunwales set flat, parallel to the ground. I had to disconnect one side of the gunwales from the other in the middle so I could put the brackets back on. I cut the other end of the boat, and then re-assembled the gunwales in the middle. The boat folds up a lot easier with these notches cut in too.

Posted by Picasa
WordPress Appliance - Powered by TurnKey Linux