GoDaddy Alternatives | Boycott GoDaddy

Due to its support of SOPA, many people are calling for a boycott on GoDaddy. At first GoDaddy was laughing because of the planned boycott. After about 24 hours, their tone changed and they proclaimed that they were no longer supporting the legislation. Many people are looking for alternatives to Godaddy.

I searched for a bit and found that about the best deal in town is namecheap.com. There is a transfer fee for moving domains over to them, but you get a free year of registration with the transfer. So for around $7 bucks you can transfer and renew a .com. If you have a few months left before it’s time to renew your .com, you can still transfer the domain and get a free year along with the remaining time of your current registration.

Check out their deals. Let’s show GoDaddy that we do not like their support of this unconstitutional legislation.

NameCheap.com

PHP Video Tutorials

I just started a new website devoted to teaching people how to develop websites. The site is PHP Video Tutorials. So far I have about 20 videos uploaded. There are nine in the first series which teaches basic HTML and CSS. The second video series goes into PHP and MySQL. I think these videos will be very helpful to anyone who wants to get into web development.

Best Samsung Galaxy Tablet Deals

When it comes to tablets many people have rushed to get their hands on a new iPad, but there are many tablets which offer better hardware. Most of the other tablets run Android. The Android platform has advantages over the iOS platform used for iPads, iPods, and iPhones. The Android Marketplace is a lot more open. You’ll have just as many app and game choices through it, if not more than you would have with the Apple app store.

The Samsung Galaxy Tab is an awesome tablet that beats the iPad in many ways. First, it has a real GPS receiver, that doesn’t require a wireless network provider. It supports more file types for video playback and image display. The Galaxy Tab is lighter. It also has full Adobe Flash support.

So if you are looking for a tablet, you may really want to give the Samsung a look-see. I’ve found some great deals here:

Best Samsung Galaxy Tablet Deals

Cool Christmas Gift Idea

Looking for a cool gift for Christmas? I found a cheap little device that would be awesome for just about anyone, or you could even get colorful cool socks. It’s called the WikiReader. For around 20 bucks, you get a device contains the entire Wikipedia encyclopedia in English. It comes with a four gigabyte SD card. It has a touchscreen display with an onscreen keyboard. Your information will always be up-to-date because there are updates available for the device quarterly. For $20, it’s a hell of a deal. Wikipedia has over 3 million topics and contains the equivalent of 1,000 volumes.

Some people may dispute the accuracy of some of the things in Wikipedia, because it can be updated by anyone. This is very much a testament to open source in general. Even though anyone can edit Wikipedia, it can also be checked and verified by the community. I’ve always found that Wikipedia is as accurate (and sometimes more so) than any World Book or Britannica. Here’s a link to the item:

http://bestsellingauctions.com/index.php/shop/comments/220910497098

This is one of my new sites. It is designed to add better communication to auction listings. I’m really excited about the site, and I’m looking for participant in the community.

The Best PHP Framework

I searched for the best PHP framework for a while. I tried CakePHP, Zend, Yii, Symfony, and Codeigniter. Some of them frustrated me to the point that I was ready to write my own mini-framework. I think the problem with some of them, at least from my perspective, is that they try to do too much. Some were just poorly documented. Sure, you can find all the information you need to find about all the features, but they don’t make it very easy. For this post, I want to compare two of the most recent frameworks I’ve worked with, Codeigniter and Symfony.

I use Codeigniter for all of my personal projects these days. Recently, I had to use Symfony for some other work I was doing. I can see positive and negative aspects of each system at this point, and this is an overview of their main differences.

First, I’ll talk about Symfony. It includes two ORMs, Doctrine and Propel. I was using Doctrine. It relies heavily on the ORM as it should, but I found utilizing an ORM to be overly complex. This may be due to my own ignorance, but when using an ORM, you have to get into a different mindset. Most people would view the ORM as a feature. For me, it was unwanted. Symfony is a great framework and is used by many people. My distaste for it should not be a deciding factor in choosing your own framework.

However, I would like to point out other things about Symfony that I didn’t like. First of all, the directory structure is overly complex, especially when your job is to maintain code that is already in place. You may find yourself looking at a page and going through 10 different files trying to find where the code is located. Symfony has a ton of plugins, many of which have auto-generated forms and templates. There are times that you won’t find the code that generates the form and from what I saw, your only option is to override the plugin’s actions and templates. If the code you’re maintaining doesn’t override the plugin, you will have to check cache files for the auto-generated PHP and then implement this in the override.

While we are talking about caching, I’ll point out that this is a good feature and it’s implemented by default in Symfony. During the development maintenance of a site, however, it gets on my nerves. So, you’ll spend a lot of time clearing your cache from the command line. Symfony depends on command line usage. While I like using a command line in most cases, I don’t want to be jumping back and forth between my IDE, command line, and web browser so much. Since Symfony auto-generates a ton of code for you through the use of the command line, I can see the advantage, but I prefer the Codeigniter way.

So, let me talk about Codeigniter and why I prefer it to all other frameworks I’ve tried.

First of all, it stays out of your way. It arranges your site into three folders, as I think it should, models, views, and controllers. You can then arrange your files in sub-directories under these main folders as you wish. So if you have a user system on your site, you can put all your views for that section under views/user.

While I’m on the subject of views, let me touch on Symfony’s templates and layouts. It’s actually a good system and cuts back on the amount of code one has to write, but it depends on yaml config files in various locations. I liked the idea, but hated the implementation. I much prefer having the view source where I can easily find it. In Codeigniter, I get all my data ready to send to a view, then load that view. In this view, I can load other views as needed. So if my page has a top navigation menu, I can just load that menu from within my view. This templating system works best for me, and I don’t have to search through config files at various locations to find out where the HTML is located.

Finally, documentation is much better in Codeigniter. If you want to know how a library or helper works, their documentation makes it simple to understand. Symfony’s documentation is terrible in comparison. There’s a reference but it’s just not that good. Plus much of the documentation you’ll need is actually on the Doctrine site.

Symfony has many features that Codeigniter doesn’t. Codeigniter is much easier to use, has the best documentation, and is much easier to maintain. These three things are why I prefer Codeigniter. Maintainability and ease of use are the two main reasons to implement a Framework anyway. Without these two things, one would be much better off using straight OOP PHP.

 

 

Hard Drives and Rice

In 2008 there was a major rice shortage in the world. Prices surged, and people were hurt/killed. This year (2011) we had another rice shortage, except this time it wasn’t a shortage. The world had a surplus of rice, yet the supply was cut off from the consumer. Governments refused to export rice, mainly from fear that they wouldn’t have enough for their citizens, but some also stopped exports because they knew they could profit from a shortage under-the-table. Some government officials in Southeast Asia profited by selling their stockpiled rice at very high prices. By stopping their exports, they created a fake shortage. There was plenty of rice to go around. Yet many people couldn’t buy rice for their family.

Recently I’ve been reading about the upcoming hard drive shortage. Thailand, one of the world’s largest manufacturers of hard drives has been suffering from heavy flooding. This has created a shortage. There’s no doubt about it. However, that shortage was projected to increase prices by around 10%. Instead, tech merchants started sounding an alarm that there was about to be a major shortage, and prices have jumped by as much as 180%. Many people I know are rushing to buy hard drives that they don’t actually need, just to avoid paying much higher prices for them later. This is a terrible time to buy hard drives. Sure their prices will be higher for a few quarters but eventually they’ll drop back down to what they are now. In fact, they’ll probably plummet as soon as production kicks back in to top gear. There will be a huge surplus of drives as everyone realizes they don’t really need as many as they bought. Merry Christmas, everyone!

Couldn’t Load XPCOM

If you are like me, you like to use the latest plugins for Firefox (when you use Firefox). Things like Firebug have become a staple for my web browser usage. I also love using Debian as my OS, and the stable version comes with a much older version of Firefox (sans logos and with the name iceweasel). Unless you download older version of plugins, most of the time you’ll have trouble installing the plugins you want.

The simple solution is to download and install the latest version of Firefox directly from Mozilla. There’s not much of an install process. Just download and uncompress the file. You’ll get a firefox directory, which I moved over to my home directory and proceeded to create shortcuts for on my desktop and menus.

If you are using the 64 bit version of the OS, you will quickly run into the “Couldn’t Load XPCOM” error. It’s obvious that it is a library issue but the error doesn’t give you a big clue as to how to fix it.

Good news, the fix is extremely easy. You are lacking some 32 bit libs that are required to run the program.
Fix is by running the following as root or with sudo:

apt-get install ia32-libs-gtk

After that, you should be able to run Firefox. Enjoy!

Double-Edge Razor Bliss

My father used to have a comb-over and I always said, “if I go bald, I’m going to shave it all off”. Well genetics is hateful to some of us, and I indeed went bald quickly after the age of 19. Being a man of my word (usually), I started shaving my head after the denial stage. I’ve been shaving it ever since. I’m almost 34 years old, so I have quite a few years of shaving experience. Today changed everything though.

I’ve been using a Fusion Power for about a year. Before that I used a regular Fusion. Before that I used a Mach-3 Power. This goes all the way back to the Gillette Sensor. It was a two blade razor. I’ve been using mult-bladed razors for at least 10 years. The more blades the better, I’ve always thought.

I’ve been stupid. The multi-blade razors have been tough on my skin AFTER the shave is over. They shave close and really aggressively. Your skin is smooth after you shave with them but the next day you’ll have ingrown hairs and bumps. I’ve read that this is a result of the lifting motion of the first few blades on the razor. This lifting motion was once regarded as a break through for close shaves. I remember the commercials. The first blade lifts the hair out of the skin and then the next blade either lifts further or cuts the hair. This actually cuts the hair so that it settles under the skin. Thus the reason it produces a lot of ingrown hairs. The hairs grow back the wrong directly.

Some ideas are great, but are later found to have negative effects. This is one of them.

So, on with my story. I started reading about double-edge razors and wet-shaving in general. I found that there were a lot of people that really take their shaving seriously. I watched video reviews on Youtube of razors. I shopped on Amazon for the perfect razor. I ended up buying one of these:

This is the best purchase I’ve made in a long time. It came in today and I had to immediately shave with it. It’s amazing. I can’t describe the difference, but it’s makes you want to shave. It shaves like a knife through butter. It glides across your skin. It’s just amazing. Plus I bought 100 blades for this thing for a whopping $14. This is the cheapest, most amazing, and close shave I’ve ever had. Read up on double-edge shaving. It’s well worth the time and you’ll save a lot of money.

Vintage Keyboards

A few years ago, I developed a fascination with old keyboards, especially the iconic IBM Model M. I managed to snag one on eBay for about $20. During that time, I was also experimenting with Compiz/Beryl on Linux. Unfortunately, the absence of “Super”/”Windows” keys on the Model M became a significant drawback, so I switched to a newer non-mechanical keyboard.

Recently, I found myself yearning for a better typing experience. The rubber dome keyboards just weren’t cutting it anymore. I decided to reconnect my Model M and realized I no longer needed the Windows keys; the allure of Compiz/Beryl had faded, and I simply needed a reliable keyboard for coding.

I’ve been using the Model M for the past few weeks and it’s been a delight. However, when I first bought it, I damaged the spring in the left shift key. I ordered some replacement key assemblies, hoping to fix it. While waiting for the replacements, I temporarily used the spring from the Pause button to patch up the shift key. Through trial and error, I learned the correct method for removing and installing the springs.

When the replacement assemblies arrived, I disassembled the keyboard for a thorough cleaning and attempted to replace the key assemblies. It turned out to be more challenging than I anticipated, and I ended up misaligning the spring in the left Ctrl button. While I believe I can eventually fix it, I needed another keyboard to use in the meantime.

This prompted me to look for a replacement for the Model M. I wanted to keep costs down, so I bought an old vintage Dell AT101W on eBay for $20. To ensure I had a solid backup, I also ordered a modern Model M, the Unicomp EnduraPro, which features a built-in trackpoint and stabilizers for improved key stability.

Today, I received the AT101W and immediately tested it out. This was my first time typing on one of these, and while I liked it, it felt different from the Model M—almost “muddy” compared to the crisp feedback of the Model M. It functions well and sounds great, but it just isn’t the same. I’m eagerly anticipating the arrival of the EnduraPro on Monday. It promises the familiar feel of the Model M, complete with functioning Windows/Super keys and stabilizers to enhance the typing experience. That’s definitely a plus.

Funny vWorker Job Posting


One of the most entertaining emails I received daily is the vWorkers mailer. It is a list of all the latest freelance work that is available at vWorker.com. It’s entertaining because of some of the amazing things some people want written for peanuts. There are many foreign programmers waiting on job vacancies like this, and they are willing to work for near nothing. However, it still gives me a good chuckle when someone thinks they have come up with some amazing idea and just need someone to code it. Why is that funny? Because most people have good ideas, even those idiot code monkeys. The main difference is that a code monkey realizes when an idea is ridiculous.

Today’s job posting was funny for a whole new reason. The irony in this post is just amazing. Here is a screen shot of the listing. I’ve highlighted a clue to the irony. Enjoy!