30 August 2006

Wonderful Gift

Yesterday had a surprise for me. It finally reached me, and it is absolutely wonderful. Want to see how it looks like? Here is a smaller version of the image for you, click on it to go to flickr page and view a larger size.

mbp-sleeve

This is a sleeve for my MBP that a dear friend made for me. It is hand made and one-of-a-kind rather than being one of the run-of-the-mill laptop sleeves you can get online. The black part is a coarse silk cloth; used in order to make it more durable. Inner lining is soft and is padded for safety of the laptop. It will be the obvious choice to carry the laptop to the café around the corner rather than the huge bag I use right now. And the best thing is that the older backpack I use for the laptop will take in the laptop along with the sleeve. Niceee :).

I know it is a macbook pro I will have in the sleeve, but still I'm planning to put a nice logo on the sleeve's front side. Here is a mockup of what it might look if I get around to have that logo on it.

MBP sleeve's future

Yes, you guessed it, its the oh, so dependable swirl.

28 August 2006

Apple Background Images




After a lot of delay, I have finally put the apple background images online. Download and use them if you like them. The background images have been resized to match the optimal resolutions on a Macbook or a Macbook Pro. The ones above are only 2 of the 6 available for download.

Enjoy

27 August 2006

What is a mainframe?

A bunch of hilarious videos by IBM(?). Whoever made those deserves a mainframe

  1. Mainframe - The Art of the Sale
  2. The Mainframe - Its a metaphor
  3. The Mainframe - Its a factory

Warning: flashplayer required to view videos

25 August 2006

VLC misbehaved!

VLC is a swiss knife when it comes to playing or streaming audio/video files. I have been all praise for it till now, but I had to pluck one feather off its cap due to unruly behaviour today.

I wanted to test a video created using imagemagick and ffmpeg on my Macbook Pro(MBP). I started up VLC and tried to play the file in it. As I had expected (due to possible unavailability of codecs) it showed me an error that the file is not supported. So I just closed the window thinking I will get back to using a different codec and test later. I leave the laptop with around 87% battery life remaining and went to make a sandwich. After around 15minutes, I was surprised to see the screen still showing the desktop instead of the MBP going to sleep in 5minutes. The battery life remaining showed only 47% remaining!

Started up the good old terminal and checked what the problem was using top. It showed me that a certain process VLC was using up 99.9% of the CPU! KILL, KILL, Terminate was my reaction using another terminal which lead to normal functioning of the MBP. Need to do some bug searching to see if this has been reported.

Moral: Do not leave your MBP/MB around with VLC running. Quit VLC after you end using it.

Air Travel Instructions

Instructions for air travel year 2006 and possibly beyond:

  • Absolutely no liquids allowed. Better pee before you go through the security check.
  • No lipsticks allowed. You can't fool anyone by putting on makeup, your age and other details are on the passport already.
  • Leave laptops at home. If taken along, laptops have to be in checked-in baggage with no guarantee of being returned when you reach your destination. So much for the nights you spent preparing the presentation for the brand new product.
  • DO NOT PLAY with your cellular phones. The in-flight US marshals don't like kids playing with their cell phones while they are on-duty.
  • If you fit the following profile: teenager or older, male, restless/cannot sit still, like to fiddle with gadgets e.g. cell phone, ipods, camera, etc. that you have all the time, are of Asian origin, and follow a certain religion; just don't travel as you will tend to be a possible cause of flight delays and rigourous questioning/interrogation. Sample questions are: How much did you pay for your iPod? What frequencies does your cellphone use? Does your mp3 player play OGG files, etc.
  • Be Alert and not paranoid about a nervous fellow passengers. Nervousness is not exclusivly demonstrated by "dangerous elements"!

Wishing you a happy and safe journey...

21 August 2006

401 East driver

Thanks to a person for giving me company on the 401 East bound today. I don't know who the person was, but it was a brand new white Impala car going at the speed of around 140kmph (in a 120kmph zone). It was due to him/her that I enjoyed the drive cruising between 135 and 150 kmph. I seldom see people who drive that fast and still observe all the other traffic rules.

And hey, I should thank the 2-door Monte Carlo under me for the ride too. It never complains even if you floor it.

15 August 2006

Passengers Banned from Passenger Flights

Just couldn't resist to post a link to this post. Hilarious, intersting and disturbing at the same time.

4 August 2006

Debugging Google Adsense CSS

Google as it turns out to be can mistakes too. These mistakes are common in the programming world and are commonly called "bugs". I ended up finding one of these so called "bugs" in Google Adsense style sheets. It is something that one won't expect from a CSS expert, but there are some days when these kind of things don't come under the radar. In order to see the buggy behaviour(if they haven't patched the system yet - not till 5Aug 12:00pm EDT) you need a google adsense account. If you don't have one, you will have to make do with the screen captures provided below.

Google Adsense control panel has a tabbed interface implemented using CSS which looks good when viewed in Firefox at default text zoom (Ctrl+Zero). But just when you increase the text zoom level even by a single step, text and other elements under the tabs are shifted to the right giving them a left margin equal to width of the tabs above it.

The problem comes from the fact that the anchor links in the inline list of the tabs are floated left and hence when we zoom in with Ctrl++, the anchor element's size increases so that it overlaps the div element under it which is in normal flow. Now as the div element under the tabs is not cleared left, its content is shifted to the right equal to the width of the tabs above it.(cf. Floats)

A quick hack to solve the problematic behaviour would be a clear: left rule added to the div element below the tabs. In the other more elegant(and longer) method, the use of the float behaviour can be dropped as the anchors are already in their list element boxes. Positioning and other properties can be applied to the list elements instread to achive a better implementation of the tabs using CSS.

Screenshots for the problem and results after adding clear property:

Google, where is my reward for the above explanation and solution?

3 August 2006

unpredictable as the weather

Weather has been suprisingly wierd this summer. Just yesterday the temperatures were in the lower 40s with humidex (yes the units are in Centigrade). When I was coming out of a Presse Cafe, a senior lady entered the cafe along with her small dog. No sonner had they entered the cafe that she exclaimed how hot and humid it was outside. The heat and humidity not only affected the lady but also her dog who had laid on the floor seconds after then entered the control atmosphere of the cafe.

So just after a hot and humid afternoon, the gods of rain smiled on us around 21:00hrs. The rain didn't last long but there was some relief from the heat. It looked like it was going to be hot today too. But I was surprised to see incessant rain combined with high speed winds in the early afternoon. I had to run around 20meters to be sheltered from the rain, but the rain got me good even in that short span of time. I have never seen such rain and powerful winds here till today. It reminds me of the rainy season back home. It has been raining after that on and off with bright flashes and roaring thunder firing off the theft alarms of vehicles parked outside.

Lets see what the weather brings for us tomorrow.

31 July 2006

Promotion tricks

Someone management position at apple.com has probably given orders so as to get new and flashy descriptions to basic actions available in all other OSes. I'm refering to the Apple Pro Tip about Copy and Delete at same time. As far as I understand, their "copy and delete at same time" action is basically called "move" in other OSes. C'mon apple, you can do better. Get some new tips up there and stop presenting old polished shoes as new ones.

30 July 2006

Word Verification!!

Apparantly blogger thinks my blog is a spam blog and wants me to use word verification even to post new blog entries. Does my earlier post have anything to do with it? Have to do some research about why blogger thinks this is a spam blog. Till that time I have to go through the wretched word verification process even to post my own entries aarrrrrgghhhhhhhHHH.

Oh BTW it is not that the comments could be a cause of this as they are already protected with word verfication and a warning is there on the bottom of the page that spam comments will be deleted.

Macbookpro battery Xchange

Apple has announced a battery exchange program for the macbookpro laptops sold between February to May 2006. The affected batteries have model number A1175 and a 12-digit serial number that ends with U7SA, U7SB or U7SC. For more details go to the annoucement page and fill out the form on the right side to order an xchange.

Blogger grrrr.....

Is it only me or has blogger changed its policy of serving images to feed aggregators? I haven't been able to view any of the images of people using blogger with my feed aggregator. I have seen a couple of posts regarding the same problem on blogger help google groups. Some say this may be due to a recent maintenance. I hope this is just temporary.

Situation: a feed aggregator didn't show images for posts with blogger hosted images. Clicking on the link (every image on blogger is linked to itself or a bigger version) gave me a 404 error but typing the link addressin the URL bar shows up the image fine. Turning off http referrer in Firefox solved the problem but it is not a solution as it messes up a lot of other things and the solution is per user and not general.

C'mon google don't be so mean, you have lots and lots of bandwidth. Don't break feed aggregators reading your images.

22 July 2006

Efficiency

High Speed Connection hardware and delivery times...


Verizon highspeed 4-6 weeks


Sympatico highspeed 3-4weeks


Dataone Broadband 24hrs: priceless

19 July 2006

Bookmarklet pdoFoldToggle

There was some talk on planet.debian.org about long entries and how to fold them. Erich suggested using max-height for folding the longer entries and Daniel cooked up a hack for Firefox's userContent.css to achive the same.

And as Erich was also suggesting about a "one-liner" javascript, I cooked up the pdoFoldToggle bookmarklet to do the folding.

pdoFoldToggle bookmarklet can fold entries having a height more than 30em (can be changed by changing the value of maxH variable in the bookmarklet) and also undo the action. Hence the name pdoFoldToggle.

If you like folding the posts on planet debian, go get the bookmarlet and play with it.

17 July 2006

Quicktime - sans iTunes

For myself and those people who do not want iTunes® installed along with their Quicktime® installation: Install the standalone version of Quicktime instead i.e. Quictime without iTunes.

Standalone version of Quicktime is available from Apple.com website. They try to make the standalone download link a little difficult to spot as the combined package of Quicktime+iTunes download is plastered all over the download page!

One more thing to notice on their download page is that the link for Quicktime 7 features is dead (both win & mac versions). Why? Shouldn't the obvious link to see what features Quicktime has to offer be working? I would have filed a bug report but couldn't find a BTS link on their website ;)

16 July 2006

Google Firefox page

Isn't it a bit late to still show the Jog.com Companion extenstion for the World Cup on the Google Firefox start page?

Update: Skype Misleads

Recently I had posted about Skype home page to be a little misleading for non-windows users, espeically Linux. I don't know if they saw that post or were awaken by someone else or even just realised their own goof up but their main page now shows a link for downloading a Linux version when visiting their website using Linux. Great work, whoever did that.

That aside, they need to get their main page a little bit of more scripting to filter out information for Linux users. Why do I say this? Because the main page showed said that I could call anyone in the UK using Skype(free for the 15 and 16 July). But the Linux 1.2.0.18 version link they provide does not do that! It can't even be used to call anyone in the North America which has been free for a while and will be so till end 2006. So the kind soul who updated the main page for Linux users has some more work to do.

14 July 2006

macbook::sleep

After reading the apple-tip about making your macbook* go to sleep the fastest way, I thought why not document the various methods of getting macbook* to sleep. They are listed below:

  • Click on apple icon in menu bar, choose sleep.
  • apple tip: Command+Option and hold Eject button for 2seconds.
  • my tip: Control+Eject, choose Sleep (or restart or just shutdown).

Enjoy the sleeping...zzzZZZZ

PS: macbook* = macbook or macbook pro