Tuesday, February 24, 2009

EU to Strike Another Blow to the "Evil" Microsoft

This is in response to an article on DailyTech, DailyTech - EU to Require Microsoft to Offer Competitors' Browsers With Windows. I am sick of the EU pushing around Microsoft and making them lower the quality of their products in order to make things more "fair." Taking a good product and pulling it down to the lowest common denominator. Sure, you can hate Microsoft for the way it was in the 90's and a lot of people do. But they way they do business now days is totally legit. Don't take away features that are included in the Operating System just because there are competitors. I mean, come on, if there are better products or better price points people will use those products.

I see some correlation between this and the way the US is headed. Socialism. Woops, did I really say that. Now me, I grew up as a Liberal and now days I am more of a moderate. You know, I can see what people like about socialism, the lowest common denominator is taken care of and everyone lives a "happier life." But what about the person that wants to change their position in life? The person that grew up in the lower or lower-middle class and has dreams of being rich. That person wants to work hard and change their life. Well Socialism works against that and won't allow for the outliers. Sort of like a bell-curve on life.

Seth Godin is the luckiest guy

In a new post, Seth's Blog: Luckiest guy, Seth Godin racked up his 3000th post. Well that certainly is a milestone and I just have to say congratulations. My blog which is just spewing nonsense and randomness, has less than 50 posts. I guess our goals are very different as he is a "marketing guy" and I am just an IT guy with no real goal, just to share my ideas and leave a few notes for myself to read.

Again, congratulations Seth Godin.

P.S. Posted with ScribeFire and hopefully no tracking bug :)

Friday, February 20, 2009

A caveat with MySQL and INNODB

While creating a new database using MySQL Workbench, I ran into a problem while running the "CREATE" script that it generated.
ERROR 1005: Can't create table (errno: 150)

There was no description of the error that I could use to fix it so I was stumped. So after doing a little searching, I came across this thread on the MySQL forums. Basically the problem was that the column for the referenced foreign key was not the same as the referencing column. It seems that a lot of people will forget the "Unsigned" property.

Another simple problem was
ERROR 1005: Can't create table (errno: 121)

This error stems from a duplicate foreign key name. Just be sure to name all of your foreign keys unique names.

Monday, February 16, 2009

Got my book in the mail

Just wanted to let everyone know that I got my book in the mail this past Friday. I just browsed through it so far but it does seem to have some very good tips on beginning a job as a freelancer or contractor. One of the most interesting things I've seen so far was a link to the Freelanceswitch.com rate calculator. It basically adds up some figures based on expenses, investments, and hours worked to come up with a rate that you should be charging. Of course it leaves out some basics such as taxes and such, but that is very difficult to deal with when you have a calculator that calculates internationally. Some other good mentions are certifications. Of course, coming from Php|architect, there would be.

I think the best part of the book is that it could be used across different languages. Most of the focus is not on php, but on the aspect of finding a job or running a business. I'd deffinetly recommend this book for anyone looking to get into the business.

Posting this with ScribeFire

Just got this neat little add-on for the Firefox browser. Being a web developer, I use Firefox, Internet Explorer and sometimes Opera and Safari. I thought I'd try this add-on out just to see how easy it is to use. The installation was very simple and adding an account was very fast. One of the nice things about it is that it has some tools to keep links to your past articles that allows you to link very quickly to them. Another nice thing is the ability to monetize your posts through ScribeFire's quick ads.

I'll continue using this to posts my entries and maybe post some updates in the future.

Alright, I just noticed that ScribeFire does something that will probably make me stop using it. That thing is adding a little 1px by 1px gif image that uses the Zemanta linking service. I didn't see any warning prior to using ScribeFire but did see a little empty square at the bottom of my new posts. The following is the example code:

<div class='zemanta-pixie'><img src='http://img.zemanta.com/pixy.gif?x-id=2d26f023-deb5-4bb3-b6d1-6892a134c0ee' class='zemanta-pixie-img'/></div>

Thursday, February 12, 2009

USDA Urges EPA to Increase Amount of Ethanol in Gasoline

Reading my morning dose of DailyTech, I came upon an article about the government wanting to INCREASE the amount of ethanol in gas. And just when I thought the economy was getting bad enough to STOP subsidies of corn ethanol, this comes around. Here in Hawaii, I haven't seen a gas station that doesn't have E10. I live with it because there is no other choice. But if the government wants to increase that amount, I say screw 'em; it's a horrible idea. Got the following quote from a user gstrickler:

Corn based ethanol is good for drinking (e.g. Bourbon), but it's a terrible fuel. In addition to the above reasons, corn requires huge amounts of water to grow and the increase in corn production for ethanol has accelerated the lowering of the ground water table in the massive Ogallala aquifer.

Corn based ethanol uses up precious farm land, uses huge amounts of water, and only produces about 30% more energy that it takes to produce (and that's considered a generous estimate, it may be closer to break even).

Stop the insanity! No subsidies for corn, corn based ethanol, or cornstarch/HFCS. Tell your congresspersons to end the subsidies on corn, end the taxes on sugar cane, and end or delay the ethanol blend requirements. That will affect the ethanol and alternative fuel markets as well as the sugar and sweetener market and food prices.

The corn growers and corn based ethanol distillers may not like it, but until they can demonstrate a viable way to make cellulosic ethanol, the only ethanol made from corn should be in liquor stores.