I guess I smile a lot. Almost everyone whom I met and worked with this month mentioned that I almost always had the hint of a smile on my face, even when I was under a lot of stress. In hindsight, I recall being ridiculed by my elementary school classmates for my positive attitude. They bullied me for it; and even in retaliation, I did not lose my smile. I was victorious, I thought, because they could not make me frown.

My folks say that I’m a simple guy — too much so for my own good. I like to see the best in everyone. And if, God forbid, I had a reason to be upset, I didn’t see the need to actually be upset and compound the problem.

With experience, it would be increasingly difficult to maintain this attitude. I would hate to have to live with anger.

Well, not really. I started hosting on a VPS when my needs outgrew shared hosting, but I still hosted some of my experiments with 110mb. Since the new administration took over, my 110mb-hosted material mysteriously disappeared. Until today, I had assumed that the whole server was down. I guess my account was misplaced during the transition. At any rate, I won’t be creating another account there, not because I expect this to keep happening, but because of my specific needs. I still recommend 110mb Hosting to beginners for whom shared hosting should be more than enough. And I would continue helping out on the support forum, as long as I’m needed and I have the time.

I’d like to mention that it is partly because of 110mb that I had gained so much experience with Web development, and that I now know so many worthy individuals. Thanks.

The new Kindle firmware seems to be all the rage these days, though the manual installation package for early adopters had been quite elusive until now. While the new features are quite neat, early adopters found themselves unable to apply any of the previously-established hacks. Firmware hacking is popular because it enables extensive customization options. I was impatient to install the new firmware, but I didn’t want to lock down my Kindle or wait for new hacks. What now?

Why, I simply installed the usbNetwork hack before upgrading to 2.5.2. The usbNetwork hack installs a Telnet daemon and a SSH server on the Kindle, while allowing the Kindle to be controlled over USB. It is a simple way to gain a root terminal, and it still works after the new firmware is installed. Hopefully, this paves the way for further hackery.

It should be noted that users who already have the new firmware cannot apply the usbNetwork hack (the process terminates with error code U004). If you’re interested in using it, install it while you still have the 2.3.* firmware.

So how exactly do you get a root console on the Kindle, with the usbNetwork hack? First, you put the Kindle into debug mode (in general, to issue any command, just follow these five steps and change what you type during the fourth step):

  1. press [Home] to go to the home screen
  2. type any key on the keyboard to enter search mode
  3. press [←] to blank the line
  4. type ;debugOn (the ; character, and many others, is available in the [SYM] menu)
  5. press [↵] to issue the command

Next, issue the `usbNetwork command on the Kindle, and plug it in. It should appear as a “RNDIS/Ethernet Gadget” rather than the usual mass storage device. By default, the interface should be configured with IP address 192.168.2.1, and the Kindle could be accessed at 192.168.2.2. How you go about setting up the interface depends on the operating system on your desktop. Telnet and SSH should be running at this point, either of which would give you a root shell.

Users have reported the interface dying after a couple of minutes. Through the console, it is possible to disable the daemon that periodically resets network connections as the Kindle goes to sleep:

/etc/init.d/netwatchd stop

/etc/init.d/Netwatchd stop

Healthcare professionals have traditionally kept records in paper charts. As a clinic expanded, so did its patient base, and record-keeping rapidly became a bottleneck hindering further development. Hospitals had entire rooms and stacks dedicated to archiving old records. Clearly, the healthcare system needs to take advantage of electronic mechanisms that have already been demonstrated to be useful in other fields. A number of companies provide electronic health record and practice management functionality to help doctors switch to computer systems, and the United States government even offers incentives for meaningful use of such mechanisms. A number of obstacles remain, however.

Read on »

This morning I woke up to an inbox full of suggestions to “like” a certain page on Facebook. Curious, I decided to have a look. It turned out to be a service promising to show you who views your profile (which, of course, is absolutely absurd), and all you had to do was press ctrl+c, alt+d, ctrl+v, and enter. Apparently, a lot of people did this and found themselves wondering how their browsers got hijacked.

Read on »

I recently bought a small virtual server (OpenVZ, 128mb memory, 256mb burstable) for web hosting. I knew that it would be a challenge to work with limited memory, especially since OpenVZ doesn’t swap like Xen. For starters, I went with a 32-bit minimal Debian setup, because 64-bit pointers use twice as much memory as 32-bit pointers. Apache was also out of the picture, but Lighttpd easily filled the role. MySQL was also heavily tweaked to limit resource usage. All in all, I had a happy little system that used 60mb-100mb of memory.

Read on »

It’s been a while since I’ve done this, but I think it’s time for another cleanup! Recently, I almost wiped the wrong database when switching between blog and bleeding-edge code. Yes, I know I was silly, and I believe the time has come to separate blogging from experimentation.

The blog will continue to be accessible at this address, while the experiments are now to be conducted at Area 51. As projects mature, they may be migrated here or simply redirected, resources permitting. The other homepage is still quite young and boring, but there will be all sorts of goodness.

Thanks for your continued readership!

Almost every conversation on Omegle contains the ubiquitous “ASL” (age/sex/location) query. You might be asked if you were American (“STAR”) or if you live near the city of St Albans (“STA?”). More recently, a band of Twitter users have set out to find each other on the Web service for strangers. An instant messaging service that pairs random strangers anonymously, Omegle attracts a variety of users.

The majority of users behave as expected. Anonymity leads to abusive language and general silliness online. Advertisers have taken advantage of the unfiltered and unmoderated service using robotic and human zombies alike. Still others engage in cybersex. In a world where identity does not matter, sophomoric behavior is the norm and civility has no bearing.

Read on »

I now have a shiny new cover for my Kindle 2 (okay, it’s matte, but you get the idea). With a gutted notebook, a bit of felt, and some time, I stitched together a lightweight carrying case. It’s not going to protect the Kindle against a fall, but it’d sure keep it clean. The only drawback is that it covers the speakers, but I’m happy as long as the 3.5mm audio jack is available. As a bonus, the transparent cover shows what’s on the screen even when closed.

The felt back keeps the device strapped to the cover.

It’s today! According to SparkFun,

You can blame it on Chris Anderson’s book Free. After reading his book, I started kicking around the idea of what we can do that’s ‘free’. Sure, we have free bits (open-source hardware designs, available code, etc.), but we don’t have free physical widgets. Now combine that with our love of creating shear havoc (AVC, C&D letter, Portable Rotary Phone), and you get Free Day.Nobody gives away a free physical thing. There’s always a catch. So up front: you have to pay shipping. Other than that, it’s open season.

  • $100 max per household
  • You pay shipping
  • Limit of $100,000 in giveaways for the day
  • Starts 9AM MST January 7th, 2010
  • Ends 11PM MST January 7th, 2010 (or when we hit $100k, whichever comes first)
  • Rainchecks for popular items will be allowed

So… go grab some parts?