25 January 2010
Linux Wireless Access Point - v2
I had setup madwifi with hostapd for the DWL-G520 earlier. But as madwifi was removed from Debian repos, DWA-552 was the only PCI wireless adapter supported by the linux kernel's ath9k module. That required me to update to the the newest kernel 2.6.30. ath9k works out of the box with this kernel in master mode.
Setup was easy as most of the work was already there. I had to setup my hostapd.conf to use WPA2 and changed the network interface from ath0 to wlan0. Restarting networking and hostapd gave me the wlan0 interface and both the iPod and the Nokia were able to detect the SSID.
Last but not the least, all this was accomplished with help from Robert's post. Thanks for documenting your experience with ath9k.
The next thing to do is to see if it will work in the N-mode. That is for another day, as I'm late to go to bed (...again) by an hour.
22 August 2009
iPod Engraving in UTF-8?
When I went to the famous online fruit store, it said that I could request an engraving to be put on the back of the iPod. I liked the idea and quickly tested something in my mother tongue. All I got was ???? on the back of the iPod instead of ਮੇਰਾ ਸੰਗੀਤ. Has anyone tried using non-English characters? e.g. Arabic? Chinese? Japanese? etc.
It seems to be quite a trivial thing to do when all software Apple has supports UTF-8 characterset and the engraving is also done by a machine rather than a human hand (would be wonderful if it was done manually though).
9 August 2009
MS Excel - Shared file bug
10 May 2009
F1 Barcelona and BBC Bug

A fantastic F1 Spanish Grand Prix is going on and the Brawns up for a 1,2 again. F1 in 2009 has change a lot with Ferrari and McLaren both struggling to get into points finish let alone podiums. This is going to be a very interesting season.
Keeping a watch on the F1 Live Spanish Grand Prix page on BBC Sport. They keep an AJAX powered leader board on the right side and it updates very nice except sometimes when it puts a retired car (MaLaren-Kovalainen) for a podium finish!
12 April 2009
On Demand CPU Frequency Scaling
24 February 2009
GMail Down
Even though the statement on the support page says that it went down at 0130AM PT, I noticed that the mail interface stopped loading around 10:00ET last night. I hope that they get it back up fast.
PS: As of 0730 ET, GMail seems to be working again.
22 February 2009
Spotting Debian
10 November 2008
Art Quilts XIII: Lucky Break
For those who love Debian or other open source projects: Chandler Center for Arts is hosting an exhibition titled Art Quilts XIII: Lucky Break. The highlight for the Debian or open source community is the "Debian" quilt made by Thelma Smith promoting Debian/GNU Linux and open source software in general.
Below is a glimpse of the unfinished quilt along with wonderful detail of the artwork in the close up. More than 2years of hard work has gone into realizing the quilt. The quilt is NFS but if anyone is interested they can contact Thelma for commissioning another or maybe one with a bunch of people holding hands in a cirle ;). Dimensions of this quilt are approx. 6'x4'.
For those of you interested in Debian and art (or just open source); the exhibition runs from 7th Nov. 2008 to 31st Nov 2008. Admission is FREE.
Chandler Center for the Arts
250 N. Arizona Ave.
Chandler, 85225
21 October 2008
New Blogger Type
Midori-san
7 October 2008
Teksavvy + MLPPP
For more information on how to enable MLPPP on your choice of OS you can download and read the MLPP Guide.
MSI GForce 8600GTS - Noise
20 July 2008
Comment Moderation
15 July 2008
Firefox Profile Size
Ever wondered why your Firefox profile is still at least a few MB even after you do a "Clean Private Data"? The culprit might be phishing filter database which helps you warn about phishing websites. I was checking my Firefox profile size and found out that it was more than 50MB even after cleaning the cache and all other private data. I went into the profile and noticed that the urlclassifier3.sqlite was 58MB! I didn't know what the file did, so I went on to the knowledgebase article and learnt it was the phishing filter database file.
This database can, overtime become fragmented and be of a size much larger than its real size. An easy way to get it back to the real size is to delete it (I renamed it and later deleted after everything was fine). Shut down Firefox. Firefox should download the database file again from Google at next startup. Below are the file sizes before and after deleting.
user@localhost 21:11:34 {nzkgcf5p.default} $> du -sch urlclassifier*
5.3M urlclassifier2.sqlite
53M urlclassifier3.sqlite
4.0K urlclassifierkey3.txt
58M total
user@localhost 21:42:00 {nzkgcf5p.default} $> du -sch urlclassifier*
20M urlclassifier3.sqlite
4.0K urlclassifierkey3.txt
20.1M total
So that is more than 50% reduction in size! Is there any way to set Firefox to do this automatically? It would be really great for people using remote profiles.
12 July 2008
Bell Representative Discussions
Just returned from the sidewalk sale. Lots of people enjoying the wonderful day (although it was getting a bit hot) by shopping for items on sale. Pictures will follow soon. But the highlight of the excursion was the talk with a Bell representative.
I was observing a phone+internet+cable TV offer the representative was offering to another lady. After a couple of minutes, the lady started talking to me too along with the Bell-rep. I thought of asking details about the deal as it was a conversation of 3 now. I asked how much could I use the internet and the Bell-rep said, 1GB of bandwidth @512kbps per month. I exclaimed that it was too slow and he said he could offer a high speed connection with 100GB/month cap. I said great, but what about the throttling issue? At this point I think I pinched a sensitive nerve and he became agitated and said "We do not throttle, but reduce speeds for p2p transfers as they use a lot of bandwidth." For that I said, Bell themselves replied to CTRC and their chart does not show more than 6% of peaks due to p2p. Hence they don't use that much of the network. His face was clearly agitated and said "Let me finish with this lady first as she was here before you." I let him go hoping to continue the discussion in a nice way.
Another Bell-rep approached me and said, "May I help you?" I said "Sure". She asked me what information did I need. We started discussing about high speed DSL connection offers from Bell. She said she could offer me 100GB cap/month for high speed DSL @ $86.95/month(!). And extra bandwidth will be $2.50/GB usage. When I said, I already get 200GB/month for $27/month. She asked me "What speed do you get?". I told her that it is a 6Mbps line. She said she couldn't believe that price but cannot lower Bell's offers. She said "The company offering me such a price is not making any money with that price". She was surprised and said that the main goal of doing business is profit and that company is sure to close soon with those prices. She said that Bell spends so much in maintenance and customer support that they can't offer prices any lower than the current ones.
Another person who was standing beside us, said he has been with Bell for 10years and has had no problem. I told him, I too was with Bell till last year and had to change to a better company because Bell breached the contract without intimating me prior to the change.
I told the Bell-rep that I was expecting much more from Bell with regards to offering high speed DSL connections at prices comparable to other DSL providers in the market and not playing Big Brother with what the user downloads and uploads. Taking into consideration that they were just Bell-reps who might have been hired only for the sidewalk sale and couldn't do much about the "throttling and price problem at Bell", and that I had made 2 customers and 2 reps aware about the problem, I thanked her for the information and continued on searching for great deals on clothes.
A couple of minutes later I realized Bell was charging 10 times the cost Teksavvy charges for extra bandwidth usage per month!! $0.25 versus $2.50. Teksavvy Rock(y)s.
9 July 2008
We can now eat YELLOW Margarine
So the 21 year old margarine law in Quebec is all set to be changed with the provincial cabinet agreeing to change the law. Margarine in Quebec will soon be available in the same colour as it is in the rest of Canada and the World (unless someone repeals the decision!).
But the important question is: Will the government be willing to educate the masses that the two yellow milk products are different? One is their protected butter and the other is coloured margarine. One of the excuses given for non-coloured margarine was that people would be confused if margarine was of the same colour as of butter!
What I see here is either the dairy lobby noticed that colouring margarine won't affect their butter sales or that Quebec's population has matured enough to be able to distinguish between butter and yellow margarine. Either way, taste of margarine, whether coloured or not, is going to be the same and butter will always taste better than margarine :)
8 July 2008
Is Rogers Playing Dumb?
Rogers senior VP (Regulatory Affairs) Ken Engelhart seems to think that public is dumb and will believe whatever the telecom companies say. However, little does he know that it is he who is being projected highly paid dumb management employee when he makes statements like:
"Of course, because some P2P applications (BitTorrent for example) restrict download speed to the maximum upload speed provided by the user, a customer’s P2P download speed can be limited by the upstream cap, but that is a result of the business decision taken by the P2P applications provider"
Even a newly initiated person who uses a bittorrent application knows that it isn't true. Moreover, if there is an application which does that (BitTorrent for example, as he says), there are several others available freely to everyone which work as they should i.e. down and up stream bandwidths are not dependent on each other. I myself download Ubuntu every time they release a new version, and my download speed does not decrease irrespective of how low the upload I keep.
And earlier Bell was complaining that P2P users were eating up most of its bandwidth and when CRTC asked for explanations and proofs of the statement, it was just a fluke as P2P was hardly using up 5% of their bandwidth (and that is at peaks and not sustained usage).
This shows that these big telecom companies lie and mislead their consumers to achieve their ulterior motives. It is the consumer's own responsibility to stay informed and fight against unlawful rules being imposed by the big telecos. Go head over to netneutrality.ca and help keep the internet a neutral territory as it should be.
3 July 2008
IE 5 Views the Future

The very first page was from Microsoft® which was offering me to update to their latest browser! As if I will be able to. Don't they do any kind of browser sniffing?
The second page I pointed it to was Firefox download page. It was able to render the page quite nicely, except the main part: the download area with the Firefox icon. Compare it with the correct rendering.

Then comes Google Maps. Tried to search for Canada and look what it gave me. Although IE5 got the XMLhttpRequest object in ActiveX in 2002, this version of IE is probably older and has lots of trouble handling AJAX.
Then I tried Digg and that was one of the worst results. It wasn't able to render almost anything as expected. Although it seems that IE5 had a built-in AdblockPlus feature ;)
Next came another community site: boingboing.net IE5 was able to handle it in a better way than Digg!
In the end are a couple of screenshots of slashdot.org. Although the complex CSS was rendered nicely but barfed when it saw the grey part. The grey part extended for about 9 page-downs after every story!


More to come: screenshots of the mess IE5 created for rendering Apple's page.
1 July 2008
Scrolling: Firefox 3 and Safari
Anyway, I'm enjoying both of them right now. Hope you have got your new version of Firefox too.
PS: Watched Hulk - II today and it was worth it. Good one.
16 June 2008
C-61 - Real Life Implications
Michael Geist is doing a week long analysis of real life implications with examples of the recently tabled Bill C-61 aka the Canadian DMCA. The very first post shows situations of things we do in everyday life considering them as normal; although they won't be if the bill is passed. Keep reading his posts for the rest of the week to know in more detail.



