Google
 

How to Create CD-ROM Partitions on USB Flash Drives

August 17, 2009 – 10:46 pm

Many recent flash drives such as Sandisk Cruzer come built in with a read-only CDROM-like partition which appears as a CD-ROM on the computer, and a second writable partition. It seems that this is something not done via software but must have support in hardware since presenting a device as a CD-ROM requires providing a different USB device flag. The tools are chipset specific and require a compatible flash drive/controller. Some more technical details appear here.

You can check this Russian site for full instructions and tools, or use this tool.

Getting Flash to Work in Opera 9.64 and Ubuntu

August 17, 2009 – 10:15 pm

The easiest way is to install the standard Debian 5.0 package instead of the Ubuntu-specific package. Full instructions can be found in Ubuntu Forums.

For the technical among you – there seems to be an issue with the statically linked package for Ubuntu. The dynamic package for Debian seems to work better.

Charlie the Groundhog

August 11, 2009 – 12:32 pm



Charlie the Groundhog

Originally uploaded by netwizard

A groundhog has been attacking our garden for the past few weeks. After a call to the exterminator he has been finally caught. You can see it in the picture waiting to be transported out of the city.

Google Base and Unicode

August 11, 2009 – 8:41 am

For quite some time, Google Base feeds for some of of my projects were either partially ingested or rejected out of hand with a message “Required attribute missing”. I ran xmllint and several online validation tools, and found nothing. But thanks to a Mac blog, I finally figured it out.

It seems that while officially Google Base supports Unicode and utf-8 encoding in XML feeds as stated here. they don’t support it fully. Apparently it seems that instead of taking plain UTF-8 text, Google Base requires it to be encoded at Unicode entities like &xxxx; where xxxx is the Unicode codepoint. This was originally found by this blogger.

The solution in XSLT at least is to use us-ascii encoding which forces entity creation. In Perl you can probably use Encode.pm or iconv.

Many thanks to Michael Fourman of the Mac Tips blog for this.

Hard Cover Support Added for PublicDomainReprints.org

July 15, 2009 – 2:54 pm

Over the weekend, I added hard cover support to PublicDomainReprints.org. All requests will now produce both soft and hard cover reprints.

Updated Resume Posted

July 2, 2009 – 9:01 pm

Over the last few days I completely redid my resume. Last time it has been edited was over 5 years ago. The newly minted version is available right here. If you know of any consulting/employment opportunities, don’t hesitate to contact me.

WordPress Auto-Update Feature and 1&1 Internet

June 26, 2009 – 5:40 pm

WordPress v2.7 comes with a feature that allows plugins and the program itself to be updated within the web interface. However, I was never able to get it to work until I happen to see the following instructions at the WordPress Codex:

1and1 (fails running PHP 4, but works with PHP 5. Add the line: AddType x-mapp-php5 .php to the file .htaccess in your main wordpress directory to enable PHP 5. This also appears to not only affect Core updates but some Plugin updates as well.)

(Something about many eyeballs and bugs rings a bill here)

Low Resolution When Printing to PDF on Ubuntu 9.04 (Jaunty)

June 4, 2009 – 3:34 pm

Recently, after upgrading to Ubuntu 9.04 (Jaunty) from 8.10 (Intrepid) I noticed that PDF files produced via the “Print” command in various programs (similar to Adobe Distiller) produces very low resolution files and renders all text into images. It turns out to be a bug in CUPS-PDF, which is the package handling that functionality in Ubuntu. For some reason, the pdftops filter in cups got replace, you can get a fixed version here. Hopefully, a fixed package will be reduced soon.

Imeem.com Autoplay Does Not Work with OpenDNS

June 4, 2009 – 3:11 pm

While using Imeem.com, a free music streaming site, I noticed that the autoplay feature in their playlist as well as autosuggest were not working. It turns out that Imeem requires “ads.imeem.com” domain name to be accessable. At the same time OpenDNS is blocking that domain because of adware. I sent in a report to OpenDNS to alert them regarding this issue.

Manipulating Files in the Cloud

May 14, 2009 – 10:54 pm

A few days ago I got to the see the power of cloud computing up close and personal. Someone had a large amount of files already stored in Amazon S3 which needed to be combined with another large set of files. The problem was that my desktop could do it but it would take forever to download and upload. The solution: one EC2 instance of stock Ubuntu 9.04 running for about 15-20 minutes. Download the files with s3cmd, rename using shell scripts, combine and reupload.