New ISP. Better Upload speeds?

I’m still alive. I survived a nearly 24 hour email blackout. You don’t believe it? Here’s a tip for other people attempting this stunt. Read lots of news. After you’re done, search for more news. Then some gadget blogs, followed by message boards. Don’t forget to drink lots of water.

It didn’t help that xname crashed around the same time. It was excruciatingly painful to click on network tools to see the TTL on my SOA record go down to zero at midnight. The final piece of the puzzle was to disable the DSL firewall (which is on by default to keep the kids safe).

Hopefully the site is faster now. Do let me know if you see problems.

Comments

Open source and business viability

AP article:

There are several examples like that, that we have to address without worrying about the fundamentalism in some of the open-source community,” he said. “One can be an open-source advocate without being an open-source fundamentalist.

– John Negroponte, Founder, OLPC project

Comments

Indian banks and security

icici-security.jpg

Comments (1)

More Good vs Evil

Best buy, Netflix and now Walmart — all claim that they have heard from consumers that they should dump HD-DVD for Blu-ray. However a cursory glance of player sales data at top retailers will tell you that they’re lying through their teeth. On the other hand it’s more likely that they got a big cash infusion or favorable business terms on something else for their actions.

HD-A30 is #2 selling DVD player on Amazon. Blu-ray players are no where in sight. In fact, 85% of them are supposed to be PS3s. Next come the disc sales. Blu-ray here seems to maintain an edge with around 60% or so market share. But I think the size of the market overall for $40 DVDs is very small.

The corporations are going to do whatever gets them the most profit (more DRM, more proprietary stuff). It’s pretty clear to me that HD-DVD is in the interest of consumers.

Comments (1)

Support HD-DVD

Netflix and best buy made announcements today, which they had no business of doing. I don’t particularly care about the best buy announcement. If you took their advice, you’ll be paying $$$ for extended warranty anyway.

But the netflix one really bothers me. I sent them a mail making it clear that this one has to be settled by consumers. And that if they don’t offer HD-DVDs, I’ll look elsewhere.

So go ahead - order those cheap HD-DVD players from Amazon. May the format that offers most quality for your dollar win. $400 blu-ray player? Give me a break.

Comments

Mysql and UTF-8 hell

I was trying to dump some UTF-8 data from a mysql database and import it on another machine. Getting it right took almost a day for me.

It was hard to figure out who was screwing up. Was it mysql, php, php-mysql, server or the client, dumping program or something else?

After having solved the problem, I still don’t totally understand what went wrong. But blogging it here in the hope that someone will find it someday and find it useful.

Machine which was exporting had:

mysql> show variables like '%char%';
+--------------------------+----------------------------------+
| Variable_name            | Value                            |
+--------------------------+----------------------------------+
| character_set_client     | latin1                           |
| character_set_connection | latin1                           |
| character_set_database   | utf8                             |
| character_set_results    | latin1                           |
| character_set_server     | latin1                           |
| character_set_system     | utf8                             |
| character_sets_dir       | /usr/local/share/mysql/charsets/ |
+--------------------------+----------------------------------+

Machine which was importing had:

mysql> show variables like '%char%';
+--------------------------+----------------------------------+
| Variable_name            | Value                            |
+--------------------------+----------------------------------+
| character_set_client     | utf8                             |
| character_set_connection | utf8                             |
| character_set_database   | utf8                             |
| character_set_filesystem | binary                           |
| character_set_results    | utf8                             |
| character_set_server     | utf8                             |
| character_set_system     | utf8                             |
| character_sets_dir       | /usr/local/share/mysql/charsets/ |
+--------------------------+----------------------------------+
8 rows in set (0.00 sec)

The exporting machine had wordpress running and was displaying utf8 data just fine, although the client was defaulting to latin1. I suspect that mysql was doing some type of weird escaping.

mysqldump --default-character-set=utf8 ... > dump.sql
mysql --default-character-set=utf8 < dump.sql

didn’t work at all. What worked was:

mysqldump --default-character-set=latin1 ... > dump.sql
sed 's/latin1/utf8/g' dump.sql > dump1.sql
mysql --default-character-set=utf8 < dump1.sql

Hope someone can explain what was going on here.

Comments

Nokia N800

It’s been less than 24 hours since I got my Nokia N800. I’ll admit to flashing OS2008 and openssh’ing as root into the device.

Still trying to figure out how to do N800 to PC/Mac video chat.

Comments

Mallige Idli (ಮಲ್ಲಿಗೆ ಇಡ್ಲಿ)

After hearing quite a bit about Mallige Idli from my Dad, I decided to check it out during a visit to India.

Mallige == Jasmine in Kannada. Idli of course is a delicacy, usually made from Rice and Urad Dal (ಉದ್ದಿನ ಬೇಳೆ).

Mallige Idli is slightly different. It seems to resemble Appam popular in Kerala. It’s rumored to be made from Poha (ಅವಲಕ್ಕಿ). If you have the full recipe, please do share.

Comments

Transit in Thailand

So you’re a Desi used to taking Singapore airlines to travel to India via Singapore. But you just happen to pass through Thailand this time and hoping to do the things you’re used to doing in Singapore. Well, I did just that earlier this week.

Pitfalls:

  1. 1000 Baht ($33) per person in visa fee.
  2. 700 Baht per person in departure fee
  3. The tours are not free. Watch out for cab companies trying to sell you trips for 4700 Baht

Since I had only 7 hours and 2-3 hours were spent standing in various lines to get a visa, I had very limited time and couldn’t visit the city. Instead, I ended up taking a cab (230 Baht + 60 Baht in tolls) to visit a place called “Erawan Shrine” located next to a few western looking shopping malls and high end hotels (Four seasons, Grand Hyatt etc) cluster.

The experience at the airport was a bit mixed. There are of course nice people who are very polite and some in high pressure jobs (eg: visa desk, immigration on departure) who were unusually stern. The flight from Bangkok to Bangalore was a lot more disorganized compared to the one originating in Singapore. I had to checkin my carry baggage because space was limited. Boarding the plane was a huge mess. No pre-boarding announcement, no boarding by row. Not sure if the over-eager passengers are to blame or the ground staff.

And make sure that you ask for mild curries. It took me a couple of days to recover from the Green curry.

Comments (2)

India macroeconomic data

Lots of goodies published by Reserve Bank of India are here - but the site is down.

But you can always check the Google cache - View as HTML feature.

Comments (3)

Next entries » · « Previous entries