April 2009 Archives

CA State LP Misguided on 1D and 1E

| 3 Comments | No TrackBacks
The Libertarian Party of California has taken a position I think is misguided on the May 19th ballot measures. They have opposed props 1D and 1E, but these are probably a good compromise to improve California's budget situation.

What 1D and 1E do is to move funding from two specially financed programs into the general fund. 1D would take tobacco tax money currently used for anti-tobacco initiatives (i.e. patronizing tv ads) and redirect it to the general fund to pay for what are presumably more useful programs. 1E would do the same with special mental health funds currently paid by a tax on the wealthiest Californians.

The only argument given against these is that it doesn't cut overall government spending. Is this the only measure of a law? We don't have the option on the ballot to cut taxes. It's not one of the questions being asked. Our options in this election are to spend the money on anti-smoking ads and expanded government provided mental health services, or use it to pay for other more useful services through the general fund.

For these reasons, I will be voting yes on prop 1D and 1E, and encourage you to do the same.

On the other measures, it's important to spread the message that while 1A is a tax increase, it also includes changes to how budgeting is done, which could reduce the hysteria in the future. Prop 1B on the other hand, is a complete gutting of the only beneficial effects of prop 1A. A reasonable person could conclude that prop 1A, though it is a tax increase, is a better option than what may come out of Sacramento if we force them to go back to the drawing board without approving it. I am undecided how I will vote on 1A at this time.

1C is a foolish borrowing against future lottery proceeds, and authorizes the state to increase marketing so that the poor and foolish can help pay off this enormous loan.

Prop 1F is a minor symbolic gesture, but definitely one to vote for. It would prevent law makers from raising their pay while running a deficit.

I welcome your comments.

Edit: here's an interesting piece on prop 1A with a comment from Richard Rider also worth reading.

Migrating from Nucleus to Movable Type

| No Comments | No TrackBacks

My original blog was based what was available as a one click install when I set up the domain in 2006. Times have changed, and even though I don't intend to become a professional blogger, I do see value in building myself as a brand, and a well done blog is part of that. Nucleus may be great for some people, but I wanted to change hosting providers (I'm now at Dreamhost), and so I would need to at the very least reinstall, and at that point, it made sense to look around. I settled on Movable Type, and I'm happy with it so far. My decision was mostly based on the fact that I liked how well commenting worked on Bruce Scheier's blog. So, what do I need to do?

  1. Export the data from Nucleus
  2. Import the data into Movable Type
  3. Make sure external links still work
  4. Fix anyone subscribed to my rss feed

Export from Nucleus in Movable Type format

My starting point was a database dump from the old system. I imported this into my local mysql, and started looking at it and matching up fields to Movable Type import/export format. It's a pretty straightforward process. The comments must be matched up to the blog entries, and the date format is different between the two.

nucleus_export_mt.rb

Import into Movable Type

Once I went to all the trouble to export into the right format, importing was simple. Every item imported just fine. It seems I ended up exporting category numbers, so I had to go back in and rename my categories, but with only four items, this wasn't worth fixing the import process, it's easier to do by hand.

Make existing external links still work

inbound-links.png

One last problem was what to do with external links to individual blog posts. You can see what pages are linked to from outside using Google's webmaster tools. I wasn't able to find this exact information in such a convenient form in MSN Live search or Yahoo! As you can see in the image, I have only a handful of files with outside links. These are linking to the old index.php. Movable Type does not have a file index.php -- the url structure is different.

What I have done is create a very simple index.php that does nothing but forward old requests to the correct pages. It contains a hard coded list of these legacy outside links -- they are unlikely to ever change. If it recognizes the parameters as a request for one of these pages, it forwards to the appropriate page on the MT blog, using a 301 Moved Permanently. This will at least tell search engines that they should index the new location.

If the user didn't supply an understood argument to the script, either an item that I haven't covered, or maybe some archive page, I set status code 404 to indicate to search engines that this page isn't valid. I then redirect to the main page of the blog with a message and a three second delay. This gives visitors the best chance of finding what they want, but also gives them a heads up that they will have to look for it.

index.php

Fix the RSS Feed

I did the same kind of redirect as above, but this time I'm redirecting anything looking for xml-rss2.php to atom.xml. xml-rss2.php. This definitely worked for FriendFeed, still waiting to see if Google Reader picks it up.

Incidentally, every web developer should at least know where to look for HTTP Status Codes. No need to memorize it, but be aware that sometimes subtle difference matter.

A new recruiting paradigm

| 1 Comment | No TrackBacks
Here's what my linkedin profile says:
I'm not looking to change jobs right now, but if you think you can change my mind, I'm open to hear from you if it's a start up with a good business plan within 15 minutes of San Mateo, you are not a recruiter, and you specifically describe the position you are trying to fill. All of you recruiters with "wonderful opportunities" with "several local companies" just please go pester someone else.

Here is what I.M. Dipshit, owner, Dipshit and Associates writes me:
I’ve been trying to connect with you regarding a search for a position, but am unable to reach you via the phone. Please give me a call if you have a moment or send me a number where I can reach you. My number is: 800-xxx-xxxx or xxx-xxx-xxxx.

Am I going to respond to him? Sure, I'm just going to copy and paste that paragraph from my profile and see if he can follow simple directions. As to how hard this guy has been trying to reach me via the phone, searching for my name with any reasonable search terms ("software engineer", "san mateo") would get you my homepage, with my resume linked. As a bonus, it has even more information about the fact that I'm not interested in changing jobs unless you have something really outstanding.

I have a plan I've been considering. I'll charge for my time to talk to recruiters. Force him to paypal me $100 / hour ahead of time to listen to him. It's all about aligning incentives and internalizing externalities.

About this Archive

This page is an archive of entries from April 2009 listed from newest to oldest.

March 2009 is the previous archive.

May 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.