Bhati Bhai's Journal
Apr. 17th, 2009
04:43 pm - Implicit type conversion can be evil
mysql> SELECT IF(('text' = 0), 'true', 'false');
+-----------------------------------+
| IF(('text' = 0), 'true', 'false') |
+-----------------------------------+
| true |
+-----------------------------------+
1 row in set, 1 warning (0.00 sec)
mysql> select * from users;
+-------+
| name |
+-------+
| usera |
| userb |
+-------+
2 rows in set (0.00 sec)
mysql> select * from users where name = '0';
Empty set (0.00 sec)
mysql> select * from users where name = 0;
+-------+
| name |
+-------+
| usera |
| userb |
+-------+
2 rows in set (0.00 sec)
mysql> delete from users where name = 0;
Query OK, 2 rows affected (0.03 sec)
mysql> select * from users ;
Empty set (0.00 sec)
mysql> show variables like 'version';
+---------------+--------+
| Variable_name | Value |
+---------------+--------+
| version | 5.0.77 |
+---------------+--------+
1 row in set (0.03 sec)
mysql>
implicit type conversion is evilDec. 12th, 2008
08:57 pm - AT & T Technical Customer Support
I am not able to receive emails send to my-number@txt.att.net as sms on my AT & T mobile.
why so:
mycomputer:~ myname$ telnet 66.102.165.114 25
Trying 66.102.165.114...
Connected to atlsmtp.cingularme.net.
Escape character is '^]'.
220 atledge02.cingularme.com ESMTP server (InterMail vG.1.02.00.03 201-2136-104-103-20050318) ready Fri, 12 Dec 2008 23:22:33 -0500
helo dd
250 atledge02.cingularme.com
mail from: myemail@mydomain.com
250 Sender Ok
rcpt to: 408XXXXXXX@txt.att.net
550 Invalid recipient: <408XXXXXX@txt.att.net>
quit
221 atledge02.cingularme.com ESMTP server closing connection
I feel helpless, after explaining my problem 30 minutes, technical support guy says:
* Turn off & on your phone N number times
* Take out your battery & put it in
* Get new sim from nearest shop (free of cost)
I can't imagine what would happen to average non technical mobile customer
Sep. 18th, 2007
03:32 pm - Do You Hack?
Time to get out of your cubicle and quickly code your mashup at Yahoo! Bangalore Open Hack Day.
You may use any number of available APIs from Yahoo! Developer Network or other available open APIs and code using your own favorite language.
First step is to register to secure your invitation.
Jun. 25th, 2007
10:00 pm - Old Classic Hindi Songs
I have been using this site for few years, every time I visit this page, I get few new 'old classic' hindi movie songs:
http://indianscreen.com/songs.htm
http://indianscreen.com/songs_Previ
Jan. 8th, 2007
11:42 am - Jodhpuri Pyaaj Ki Kachori in Bangalore?
Jodhpur is famous for Pyaaj Kachori, Hot & Spicy Mirchibada (made from potato, onion, chili and gramflour) and Sweet Mawa Kachori. It is almost impossible to get such taste anywhere else in India. In case you are looking for similar taste in Bangalore, you should try "Jodhpur Sweet Home" at RT Street, BVK Iyengar Raod, Chikpete.
Google Maps Link to Jodhpur Sweet, Bangalore
WikiMapi link to Jodhpur Sweet, Bangalore
You are not going to get exact taste at this shop, but it is close enough (80%) to remind you original taste.
Jan. 2nd, 2007
02:11 pm - Presentation files from various O'Reilly Conferences
Links to Presentation files from various O'Reilly Conferences:
- O'Reilly Open Source Software Convention 2002
- O'Reilly Bioinformatics TechnologyConference
- O'Reilly Emerging Technology Conference
- O'Reilly Mac OS X Conference
- O'Reilly Bioinformatics Conference 2003
- O'Reilly Emerging Technology Conference 2003
- O'Reilly Open Source Software Convention 2003
- O'Reilly Mac OS X 2003
- O'Reilly Emerging Technology Conference 2004
- O'Reilly Open Source Convention 2004
- Web 2.0Conference
- O'Reilly Mac OS X 2004 Conference
- MySQL Users Conference
- O'Reilly Emerging Technology Conference 2005
- O'Reilly Open Source Convention - August 1-5, 2005 - Portland, OR
- O'Reilly Where 2.0 Conference - June 29-30, 2005 - San Francisco, CA
- Web 2.0 Conference 2005
- O'Reilly European Open Source Convention - 17-20 October, 2005 - Amsterdam, The Netherlands
- O'Reilly Emerging Technology Conference - March 6-9, 2006 - San Diego, CA
- O'Reilly Emerging Telephony Conference - January 24- 26, 2006 - San Francisco, CA
- MySQL Users Conference 2006 - April 24-27, 2006 - Santa Clara, CA
- O'Reilly Open Source Convention - July, 24-28, 2006- Portland, OR
- Where 2.0 Conference 2006 - June 13-14, 2006 - San Jose, CA
- O'Reilly European Open Source Convention - 18-21 September, 2006 - Brussels, Belgium
- Web 2.0 Summit - November 7-9, 2006 - San Francisco, CA: Presentation Files
May. 28th, 2006
May. 18th, 2006
09:17 pm - download Google video
Somtime google video streaming is really slow, we can wait and watch it.
Get a bookmarklet from my site to download Google video
Feb. 13th, 2006
01:44 pm - going down? going up?
you are in elevator, suddenly someone came half the way in and ask a question:
"going down?"
why?
Something wrong with human man interface design?
Can we have interface that take care of such 1% use case to make life simple of other 99%?
Sep. 10th, 2004
08:31 pm - Early morning yoga camp
Joined yoga camp at http://www.ramakrishnamath.com/yoga.a
Yoga exercise is not a challenge for me, the real challenge is to wake up early
at 5.30 to attend the yoga session from 6.00 am to 7.00 am for
one month (except sunday).
Jul. 2nd, 2003
07:51 pm - blog entry in dictionary
Just run the spell check at Live Journal, it suggests the following words for the 'Blog' :
Bog, Log, Bloc, Biog, Bldg, Blow, Blob, Blot, Clog, Flog, Slog, Belg, Bligh, Belong, Bloch
http://dictionary.reference.com/sea
07:33 pm - Blog Ideas
If you are away from your home, no need to write a mail to your family members and friends everyday about you, just update it on your blog!
Blog can be used a text based live camera? A live update about you to your friends!
