inportb

Author Archive

Moe Anthropomorphism

by Jiang on Aug.17, 2010, under General

A couple of nights ago, I chanced upon a particularly interesting image. The character appears to be from the Japanese TV anime series Gakuen Utopia Manabi Straight!, though for some reason she’s in a box labeled #inportb. So… not to be outdone, I kicked it up a notch.

Erm... yeah.

Popularity: 1%

Leave a Comment more...

Sent From My <Device> [Using <Software>] [On <Network> [From <Carrier>]]

by Jiang on Aug.15, 2010, under General

Free email providers of old appended advertisements to messages to subsidize their service. Thanks to Google’s email service, these footer ads had largely disappeared. More recently, however, there has been a resurgence of such useless footer messages corresponding to usage of mobile devices. It used to be just Apple fans letting the world know that their messages were sent using their iPod Touches or iPads or Macbook Wheels. Now we have more elaborate footers on not only emails but forum posts as well, “Sent from my Droid using Tapatalk” or even “Sent from my HTC Touch Pro2 on the Now Network from Sprint.”

Signatures were once used to express something personal about the sender or convey a useful notice. Today, abuse seems to be the norm. It’s just an observation. If you actually like these messages, just go right on sending them…

Popularity: 1%

Leave a Comment more...

Install Windows 7 from USB Pen Drive Using Grub2 and Grub4Dos

by Jiang on Jul.19, 2010, under Computing, Hacks

I wanted to install Windows 7 on my netbook, but I didn’t have access to a Windows environment from which I could run bootsect.exe or install Grub4Dos; so I figured I’d install Grub2 on my USB disk using Ubuntu, have Grub2 chainload Grub4Dos, and finally let Grub4Dos chainload the Windows installer. This worked for me:

  1. Prepare a fresh NTFS partition on the USB disk /dev/sdX and mount it at /mntX1, then copy all files from the Windows installer disc or image into /mntX1
  2. Install Grub2:
    cd /mntX1; sudo grub-install --no-floppy --root-directory=/mntX1 /dev/sdX; sync
  3. Download the latest Grub4Dos, and unpack grub.exe into /mntX1
  4. Create /mntX1/boot/grub/grub.cfg:
    set timeout=0
    set default=0
    menuentry “Install Windows” {
         linux16 /grub.exe --config-file=”root (hd0,0); chainloader (hd0,0)/bootmgr”
    }

I was surprised that such a complicated setup actually worked. Be sure to substitute your own values for /mntX1 and /dev/sdX. In the Grub4Dos config, (hd0,0) refers to the first partition on the boot disk; you’d need to change that if you want to boot the installer from a different partition.

Popularity: 5%

3 Comments more...

Installing Chameleon Using Linux

by Jiang on Jul.18, 2010, under Computing, Hacks

So you want to experiment with the Chameleon boot manager, but you don’t have a Mac or Windows environment handy? Here’s how you could prepare a Chameleon-bootable USB key (or any other kind of disk, for that matter). Be warned that the following procedure would overwrite the target disk’s MBR, effectively wiping all data on said disk. Make sure that you do not target the wrong disk. Naturally, what you do with this information is your responsibility ;)

  1. Install hfsprogs (available in the Ubuntu repositories, if you use Ubuntu).
  2. Get the Chameleon binary package from <http://chameleon.osx86.hu/> and untar it, then navigate to the i386 directory in your terminal.
  3. Type `sudo dd if=boot0 of=/dev/sdX`, where /dev/sdX is the target disk; this is the step that cleans up the disk and loads a fresh MBR containing the stage-0 boot code.
  4. Make a new HFS+ partition (type AF) using fdisk. Let me know if you need help with this.
  5. Format the partition by doing `sudo mkfs.hfsplus /dev/sdX1`.
  6. Type `sudo dd if=boot1h of=/dev/sdX1` to install the stage-1 boot code to the bootsector of the new HFS+ partition.
  7. Now, type `sudo mount /dev/sdX1 /mnt` to mount the partition, where /mnt is your mount point of choice.
  8. Type `sudo cp boot /mnt/` to copy the final piece of Chameleon over.
  9. Unmount the partition using `sudo umount /dev/sdX1`.

Now you should have a shiny new Chameleon boot disk. I hope this helps.

Popularity: 5%

Leave a Comment more...

Are You Sure You Want to Get On This Elevator?

by Jiang on Jul.01, 2010, under Quotable

A bunch of people and I were filing into an elevator at the end of the day when I heard one of them ask, “Have you seen True Blood?” “No,” said his companion.

Dude: Well in True Blood there’s this girl who has to cut up a body and get rid of it.
Companion: Okay.
Dude: Last night I dreamed that I had a backpack full of body parts.
Companion: It happens. Last night I dreamed that I killed someone.
Dude: I was all like, “ugh, all these legs and stuff, what do I do with them before someone catches me?”

While we were eying them in silence, somebody said, “Last night I made a baby.” “Why, congratulations!” was the consensus. He clarified, “No, I mean I got someone pregnant and then two hours later I had a baby. I thought, ‘whoa, what an improvement!’”

I hope it was just a case of pre-thesis-defense jitters.

Popularity: 2%

Leave a Comment more...

Removing Ubuntu One Client in Ubuntu

by Jiang on Jun.27, 2010, under Computing

I installed an early development release of Ubuntu Netbook Edition 10.10 on my new Lenovo IdeaPad S10-3t. While the interface is rather smooth, and more usable than Windows, I found the Ubuntu One feature slow and wasteful. I don’t use Ubuntu One because of its lack of cross-platform compatibility options, and it takes up a nice chunk of screen real-estate in Nautilus just to remind me that “Ubuntu One [is] disabled.” It also tends to slow down the file manager.

To remove it, I simply issued

sudo apt-get autoremove ubuntuone* python-ubuntuone* --purge

… and it stopped bothering me after I logged out and logged back in. Launchpad has a page on this as well.

Popularity: 3%

Leave a Comment more...

On Smiling

by Jiang on Jun.26, 2010, under General

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.

Popularity: 2%

3 Comments more...

Goodbye 110mb Hosting

by Jiang on Jun.20, 2010, under General

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.

Popularity: 3%

Leave a Comment more...

Kindle Firmware 2.5 With Root

by Jiang on Jun.15, 2010, under Computing, Hacks

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

Popularity: 10%

Leave a Comment more...

Open Source Record Keeping and Practice Management for Physicians

by Jiang on Jun.04, 2010, under Computing, Healthcare

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.

(continue reading…)

Popularity: 4%

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!