the dangers of triclosan

http://www.helium.com/items/2050545-new-research-reveals-your-hand-soap-could-kill-you

How to fix no sound in Windows XP under VMWare Fusion on Mac OS

I haven’t been using my Windows XP VM lately, but I had to install a game to review and was having trouble getting the sound to work for some reason. Maybe it never worked before. I don’t know because I don’t really use anything in my XP VM that requires it.

But this game needed it, so here’s how I fixed it:

1. Activate your Mac’s root user account:

From the Apple menu choose System Preferences….
From the View menu choose Accounts.
Click on the lock and authenticate with an administrator account.
Click Login Options….
Click the “Edit…” or “Join…” button at the bottom right.
Click the “Open Directory Utility…” button.
Click the lock in the Directory Utility window.
Enter an administrator account name and password, then click OK.
Choose Enable Root User from the Edit menu.
Enter the root password you wish to use in both the Password and Verify fields, then click OK.

2.  Once you have finished enabling the root account, log out from your own account and then log back in with root user (the username is “root” just in case you didn’t know).

3. Goto System Preferences, open the Sound control panel, and specify the correct sound output settings for your particular setup. For me, I chose “Built-in line output” for my MacBook.

4. Log out of the root user account.

5. Log back in with your own user ID and disable the root user.  This basically entails undoing what you did in step 1.

6. Launch VMware Fusion and check for sound in your virtual machine.

Mad props to these two sites for helping me figure this out:

http://communities.vmware.com/thread/134438

http://support.apple.com/kb/HT1528?viewlocale=en_US

gb

Android – How to add a progress dialog to your app

This site was totally helpful when it came to explaining how to add a progress dialog.  Using threads and handlers is totally the way to go:

http://www.helloandroid.com/tutorials/using-threads-and-progressdialog

But I had a problem because, like this other guy, I am an idiot, too:

http://www.anddev.org/override_handlerhandlemessage_-t8782.html

I was relying too much on Eclipse when I had this error.  I tried to use the code from the first website but kept getting an error about not being able to override handleMessage().  It kept telling me to remove the @Override clause.  But doing that causes the progress dialog to never go away because the handler method never gets called.  I had to import the “Message” library just like this other dude did.  I was relying too much on Eclipse.

gb

Android app cannot access Internet

While making a new Android app, I kept receiving errors like UnknownHostException, null pointers, and unresolved hosts.

It turns out you need to add a permission to your app within the app’s manifest file:

uses-permission android:name=”android.permission.INTERNET” />

Massive props goes out to this site for helping me out:

http://stackoverflow.com/questions/3293659/android-java-net-unknownhostexception-host-is-unresolved-strategy-question

Sierra Wireless C885 Aircard cannot see micro SD card

Hey party people,

I have a Sierra Wireless C885 Aircard. The 3G portion of it works fine. I can connect to 3G/EDGE/GPRS networks just fine. But I have tried inserting 2GB and 4GB micro SD cards in it to no avail. The memory card doesn’t get recognized in Mac and Win32 PCs. What’s wrong with it?

Thanks,
gb

How to view and kill tasks from the command line in Windows XP

So I was sitting in an Internet shop today and needed to check what processes were running in the background. I hate using Internet shops because you never know what kind of viruses/virii and keyloggers may be lurking in the background.

But many shops disable ctrl-alt-del, thus preventing you from opening the task manager. I’m sure there is a way to do this from windows->start but I don’t remember.

But I found this useful tidbit of information…use tasklist and tskill to save your life. They work similar to ps and kill in Linux.

More information a this site:

http://techmonks.net/windowsxp-using-the-command-prompt-to-see-and-kill-processes

Enjoy,
gb