Sunday, August 16, 2009

This morning I was awakened by a warm, s...

This morning I was awakened by a warm, soft pair of feet on the side of my face ... intentionally. When I opened my eyes I saw my son just laying perpendicular to me, looking at me. I guess he was up for the day. :)

Tuesday, August 04, 2009

Being sanitary. ... I guess that’s the end of that.

Yesterday I was at the toilet at work. A coworker came in, did his business in one of the stalls and simply walked out. No washing hand or at the least pretend to do so, like some of my other co-worker. Yes, I can tell the difference. When you turn on and off the water faucet without leaving enough time in between to even get your hands wet, let alone to actually wash them, and maybe add some soap – it is pretty obvious. And, NO, wetting the tips of your fingers does not qualify as hygiene.

On a side note: Here is an instructional video on how to properly wash your hands, filmed by students from ITE College East:

Personally I think step 4 is not necessary. Maybe more applicable when in hospital settings or out in the field.

Back to the subject at hand: At work we also have a new refrigerator that makes ice. Unfortunately, it does not mechanically dispense it. A person has to reach into the ice box and take out individual cubes. I wash my hands before doing that, because I know it is neither ethical nor healthy to take out ice with dirty hand. I have hear and read about the ice in restaurants.

Earlier as I was walking toward the fridge to get some ice, I remembered what I observed yesterday and realized that that very same person could also be consuming the ice. Knowing that he doesn’t wash his hands I can, without a doubt, be hapless he doesn’t wash his hands before taking ice, either. And for that matter any other person that takes ice out of the communal ice box.

Cold drinks … I guess that’s the end of that!

P.S. Please, do use the ass gaskets. They are there for a reason. Oh, and cast your vote in the coworkers' hygiene poll below, and sound off in the comments.

[poll id="12"]

Firefox and DNS prefetching

Firefox and DNS prefetching - I read about this being a feature in Google Chrome, but I wasn't sure if it was, yet, a feature of Firefox. It is in Ff 3.5. Here you can find a list of the new features in Firefox 3.5.

What is DNS prefetching? - It is the process of requesting domain name and IP address resolution used in links, images, documents and other content linked to from a page a web surfer is currently browsing. Theoretically, by taking care of the name resolution before a surfer desires to navigate to a file or another page from a link on the current page can save fractions to X number of seconds. Name resolution being out of the way the surfer should arrive at its next destination faster. The former is my definition and understanding of DNS prefetching. In my experience, at least in Google Chrome, I am able to see performance improvements.

I needed to know how can I tell if it is on or off. In Google Chrome it is in the options menu and it can easily be turned on and with a simple check-mark click.

Google Chrome DNS prefetching option. Google Chrome DNS prefetching option.

But, in Firefox this is not a function in the options menu. At least not at this time.

To control it you will have to go to the about:config in your address bar. If this is your first time going to the config panel then Firefox will give you a warning. Something about "voiding your warranty", which I don't quite get. Anyways, just click the "I will be careful button" to access the config panel.

Firefox config warranty warning.

By typing in the filter text field you will be able to actively filter all other settings but the one you are looking for. In this case, you are looking for network.dns.disablePrefetch. My installation of Firefox is an old one with upgrades added over time. For some reason, I did not have the above parameter in my configuration. I'm guessing it is either because DNS prefetching comes turned on and there is no need to add an On/Off switch or it simply was not created during the upgrade to Ff 3.5. In any case, if you want to turn off the DNS prefetching feature or, like me, you want to make sure it is on, and the parameter is not there, you will have to create it. To do so right-click on a white space in the config panel and hover down to New > Boolean. In the "New boolean value" text box that pops up enter network.dns.disablePrefetch then click OK. In the next box select false. The result will be a user set parameter.

Firefox user set parameter

That's it. Enjoy faster browsing.

Source: Controlling DNS prefetching