Chrome First Impressions

I had some trouble accessing the CarMax web site this weekend. I thought maybe there was something wrong with my Internet Explorer browser. This was the perfect opportunity to install and try out the Google Chrome browser. During install, Chrome displayed an options screen. However the screen just froze. Nothing seemed to be happened. All I could do was move the screen. Underneath the window, I found another window that said the Chrome install was complete. That was very strange. This cannot be the correct behavior.

Nevertheless, it looked like Chrome installed on my computer. I chose to import my Internet Explorer bookmarks. Unfortunately Chrome reordered my bookmarks in alphabetical order. I did not like this. So I tried to manually reorder the bookmarks. Chrome did not want to let me do that. I guess I had to live with the order that Chrome chose.

The good news is that Gmail feels a little faster in the Chrome browser. Netflix also feels a little faster. But I have lost the ability to drag and drop movies in my Netflix queue. This must be some web features that Chrome does not support yet. Playing videos seemed to work at about the same speed in Chrome as in Internet Explorer.

I understand that Chrome runs different tabs in different Windows processes to assist with crash protection. That sounds like a good idea on the surface. But I went to one web site on a single tab. I spied on Chrome user Windows task manager. I found three separate Chrome executables running. That did not feel right. I also found that a GoogleUpdate process running even when I have not launched the Chrome browser.

The main goal I had with Chrome was to see if it could help me view the CarMax web site. It was not the cure for this problem. That web site must have been physically down this weekend. So Chrome did not work much better than Internet Explorer for me at all. In fact, I was annoyed with some of the Chrome executables running at what seemed strange times and multiple instances. I don’t want my computer being slowed down by secret Chrome processes. Therefore I uninstalled Chrome for now. It is still in Beta mode. Maybe I will try it again later.

Master Boot Record

I read an interesting article entitled “Writing Boot Sector Code” by Susam Pal. He has a whole set of articles that describe what happens when a computer boots up. The article I read concentrated on how to write boot sector software which automatically gets executed when a PC boots up. This can allow you to take over a computer from the start.

Susam said that PCs start executing code at location 0xFFFF0 at start up. This is a memory location in the BIOS ROM. The boot sector is the first sector of data storage. The first byte of this sector is actually executable code. Deeper into the sector is information on the disk itself, such as the partition information. Susam recommended you first verify your code before putting it into the boot sector. You can do this safely by running an emulator such as DOSEMU or DOSBox.

I found this topic so interesting that I did some more research on the boot sector and how a PC starts up. I consulted sources such as Wikipedia, About.com, Microsoft, PC Guide, and Ars Technica. Here I will share some of my findings. This is a ripe topic for much further research. The great thing is that you only need a PC to start tinkering with it.

The boot sector is for booting programs. Usually you will boot an operating system. The BIOS first selects a device (such as a hard disk) for booting. It then copies the first sector on the disk to memory location 0x7C00. Viruses sometimes replace this code with malware for evil purposes.

All disks are divided into sectors. The very first one is the boot sector. The first section contains the Master Boot Record (MBR). The MBR has information about the partitions on the disk. The MBR has code which loads file “io.sys” for MS DOS. Windows XP has a built in recovery console. One utility in the recovery console is Fixboot, which can correct partition problems on the boot sector.

Know that we are talking about machines with the 80x86 architecture here. PCs first conduct a power on self test (POST). Then they figure out which device to boot from. Sector one is loaded from disk to memory. The PC then begins executing instructions at that location. Normally the first 3 bytes of the boot sector do a jump to another memory location. That is because the next 8 bytes are data and not code in the boot sector.

The Master Boot Record used to be a target of malicious code in the old days. Antivirus software now detects and prevents this. Windows Vista has built-in safeguards to prevent malware from messing with the MBR. However some companies that track viruses say that MBR attacks are on the rise.

More Chrome

Previously I have written about my initial thoughts on Google Chrome. Today I was riding the train to visit some customers. To pass the time I read Information Week magazine. This week's issue had a couple articles about the Chrome browser.

First and foremost, the magazine acknowledged that Chrome is still in Beta mode. These days web applications are getting very common. To keep up with changes needed to support web apps, Google decided to roll a browser of its own. Mozilla just could not keep up given its lack of financial backing.

Underneath the hood, Chrome uses the WebKit rendering system. This is significant since Android also uses WebKit. Android is Google's phone browser.Co-found Sergey Brin of Google was quoted as saying that while Chrome may not be an operating system, it is a fast engine to run web applications.

Initial users of the browser like how it maximizes screen real estate by eliminating menu and buttons at the top of the window. I personally have not downloaded and installed Chrome. To tell the truth, I do not like how Chrome will automatically update and get downloaded frequently. People in large companies might also not enjoy the Google license that states they are free to advertise in the browser. Such is the trade off when dealing with a free product.

FreeHackers Union

Every once in a while I read Zed Shaw’s blog. This guy comes off as a bad ass. Recently he lashed out against the suits that have, according to Zed, destroyed the software business. So he decided to form the FreeHackers Union (FU). It was initially supposed to be a bunch of real developers in New York City sharing the new projects they are working on. However this movement seems to have caught on. At least that is what Zed is saying in his blogs. I find this interesting as Zed reports that there is a chapter of the FU forming up in my local area. It might be something worthwhile to check out.

The FU rules sound a little like Fight Club. You have to earn the right to be a member of FU. The way you do that is you attend your first meeting, where you will be forced to “perform” for 5 minutes. During this time you must share what new projects you are working on. If you get gonged during those 5 minutes, you cannot join the club. You can try again during the next meeting.

This FU revolution is a backlash to the business types that have infiltrated the hacker scene and are bringing the whole thing down. The 3 themes of the FU are art, wires, and code. Personally the code appeals to me. I imagine most of the other members are also coders. Groups are apparently forming all over the world. Let’s hope this is not some sort of hoax. Judging from Zed’s character, I would think it is not.

You never know. This could actually be the start of something big. The FU plans to video tape each of its gatherings. Maybe some day I will tell the newbies that I was there when they formed the FU. Who knows?

Google Chrome

Everybody seems to be talking about Chrome. It is a new browser from Google. Chrome is being hyped as a faster, safer, and easier web browser. Google is releasing it under the BSD license. Part of the speed increase is due to a new JavaScript virtual machine named V8. The most prominent user interface change is that the tabs are at the very top of the window.

Chrome is in Beta right now. Under the hood, separate tabs are in sandboxes. Other tabs should continue to function if one of them crashes. There is also a window which does not log any activity to your PC. Google released the Windows version of Chrome this week. Versions for the Max and Linux are coming soon. Google stated that they used parts of Mozilla Firefox and Apple WebKit to develop Chrome.

Google man Matt Cutts came out with a blog post explaining what types of information the Chrome application sends to Google. Nothing is sent to Google if you surf around by clicking links. However Chrome will contact Google search if you type something in the address bar. By default the crash reports are not sent to Google. However for some 404 error pages, Chrome will contact Google to recommend other pages to you. Chrome does phone home to check for an update every 25 hours, and it downloads a list of dangerous URLs from Google every 30 minutes. It also downloads a dictionary when you initially choose your language in Chrome.
I read on Robert Synnett’s web site that he found Chrome a blazing twice as fast as Firefox in general. It also goes real fast when accessing Google JavaScript. Go figure. Robert also mentions that the JavaScript debug tools that come with Chrome are very strong. I confess that I have not installed and used Chrome yet. But with all the buzz I cannot help but be curious and will most likely take it for a test drive soon. I do use a lot of sites from Google which are heavy with JavaScript. I will keep you posted.

Cuil Twiceler

The TechCrunch blog has asked “Is Cuil Killing Web Sites?” This was a post by Don Reisinger. Cuil has an indexing bot named Twiceler. Apparently some web site owners are complaining that Twiceler brings their sites down. It is almost like a denial of service attack. Some people are saying that Twiceler just guesses at random URLs and checks a web server if they exist.

Cuil has said that Twiceler is in a developmental state. However it does obey the “robots.txt” file. And Cuil has also stated that there are Twiceler imposters out there doing damage. Some comments on the blog post include one that likens this to the early days of Google. Another poster asked where is the proof that Twiceler is actually doing all this damage.

Personally I thought that perhaps Twiceler was eating up some extra bandwidth on web servers. But the theory about it guessing URLs at random has to be bunk. Come on. Do you think anybody with some brains is going to write an indexer that guesses URLs randomly? No. You crawl the web using links from other pages right? You could spend all days guessing at random URLs on just one web server and get nowhere. Twiceler has to search the whole web.

There is a lot of FUD out there about both Twiceler and Cuil. It is best to get your facts straight. Hey I have posted about Cuil. And I did not have good things to say. However everything I wrote was backed up by hard facts. I did not go out and create some weird theories about the evil actions behind Cuil. Maybe Microsoft and Google got together and decided to spread some rumors about Cuil to shut it down? There. Do you see how silly it is to promote FUD about a company, new or otherwise?

To the people on the Cuil Twiceler team, good luck to you. You are going to need it. And you might want to spend some money on public relations damage control. Your name is quickly becoming mud in the blogosphere.

Instant Message Bot

I read a short blog post by Amit Aggarwal entitled “How to Write Your Own IM Bot in Less Than 5 Minutes”. Now that’s a catchy title. It seemed like it would not take too long to follow Amit’s advice. Essentially he recommended the use of the IMified service. You can write your bot in any language. And getting a simple one started takes little time. I was interested to say the least.

IMified was launched around a year and a half ago. I think it might be only two dudes in the company. Their service is free to use. You create an account with them. Then you create a web page and host it on your own server. You tell IMified who your bot is going to IM. Then the service will do the instant messaging and communicate with your web page. You web page just responds to IMified, which shall do the instant messaging for you.
At first I thought maybe this was talking about those smart bots you see when you go into chat room. You know. Those are the ones that are usually spamming the people in the room. However I realized I was wrong. Amit is talking about sending messages from a bot over an instant messenger such as Yahoo Messenger. That is still quite a feat. However it was not as exciting as the chat room bot idea.

What it boils down to is that IMified has figured out the instant messaging protocol for all the popular instant messaging systems. It then provides an API that you can program to control IM message bots. If you were trying to do an IM message bot, that seems like a lot of help. You don’t have to decode the instant messaging protocol yourself. Somebody else has done the research for you. I imagine IMified will keep up with changes in the instant messengers as they get upgraded.

I am sure IMified is a business. They do not charge you for their bot service. However I always wonder how companies such as this make money. Usually there is some catch. I got the feeling from their web site that they do more than just IM message bot control. Perhaps they make their money elsewhere. I hope they come out with an easy interface to chat rooms for bot purposes. Then I will check them out for sure. In the mean time I am going to brush up on some web programming skills.