09 FebGoddard v. Google, Inc. (N.D. Cal. Dec. 17, 2008).

A nice review of some of the developments in CDA Section 230 case law: Goddard v. Google, Inc., C 08-2738 JF (PVT), 2008 WL 5245490, 2008 U.S. Dist. LEXIS 101890 (N.D. Cal. Dec. 17, 2008).

14 JanBoot from either disk of a RAID1 Mirror

I always forget this series of commands and have trouble locating them. After setting up a RAID1 mirror set, I want to be sure I can boot off of either drive in case of a drive failure. Assume two SATA drives, /dev/sda and /dev/sdb. The first will be set up during the OS install. To be sure the second drive also has the right info in its MBR, do this as root:

grub>device (hd0) /dev/sdb
grub>root (hd0,0)
grub>setup (hd0)

12 DecScript to Convert Windows-1252 files to UTF-8

I had several hundred (over 1000) HTML files in a directory. They were unfortunately encoded in Windows-1252 and I wanted them all converted to UTF-8, but I was not willing to open the files one by one or feed their names to a script (there’s too many) so I needed a script that would operate on the whole directory and spit out the converted files in one fell swoop.

If you’re not familiar with encodings the visual problem one sees is that Firefox displays little black diamonds with question marks inside them for characters it doesn’t understand (I think they’re mostly tabs, spaces, and em-dashes in this case.)

With help from friends and the internet I learned about the GNU/Linux command-line tool iconv which handled this perfectly. Here’s the bash script I used that made it work on the entire directory at once:

LIST=`ls *.html`
for i in $LIST;
do iconv -f WINDOWS-1252 -t UTF8 $i -o $i.”utf8″;
mv $i.”utf8″ $i;

It seems that iconv requires a new name for the output file, so the above script temporarily names them *.utf and then moves them back over the original .html files. Hopefully this helps someone else.

06 NovGoogle, Inc. v. American Blind & Wallpaper Factory, Inc., (N.D. Cal. Apr. 18, 2007).

I hate it when I can’t easily find an opinion online: Google, Inc. v. American Blind & Wallpaper Factory, Inc., (N.D. Cal. Apr. 18, 2007).

16 SepThe CONTU Final Report

The Final Report of the National Commission on New Technological Uses of Copyrighted Works (The CONTU Report) was conveniently scanned to pdf by Digital Law Online. However, they provide it as seventeen different pdf downloads, without providing a single pdf containing the entire report with all appendices. I’ve combined them all in one 162-page pdf here: CONTU.pdf

14 SepU.N. agency eyes curbs on Internet anonymity

Interesting CNET article,

A United Nations agency is quietly drafting technical standards, proposed by the Chinese government, to define methods of tracing the original source of Internet communications and potentially curbing the ability of users to remain anonymous.

The U.S. National Security Agency is also participating in the “IP Traceback” drafting group, named Q6/17, which is meeting next week in Geneva to work on the traceback proposal. Members of Q6/17 have declined to release key documents, and meetings are closed to the public…

09 SepA Land Called Paradise

In December 2007, over 2,000 American Muslims were asked what they would wish to say to the rest of the world. This is what they said. A music video for Kareem Salama’s “A Land Called Paradise.” (Winner of LinkTV’s 2007 One Nation Contest’s Grand Prize):

08 SepHistory of the Browser User Agent String

In the beginning there was NCSA Mosaic, and Mosaic called itself NCSA_Mosaic/2.0 (Windows 3.1), and Mosaic displayed pictures along with text, and there was much rejoicing…

History of the Browser User Agent String.

15 AugDebian on the Openmoko Neo FreeRunner

It was inevitable. One can now run the entire Debian distribution (ARM port) on the Openmoko Neo Freerunner. Slashdot previously covered the July 4th launch of this GNU/Linux-based smartphone, which is open down to its core, with the company providing CAD files and schematics for the phone. Openmoko released an update to their software stack earlier this month, called Om2008.8, which is still a work in progress. But now one can use these instructions on the Debian wiki to open up the possibility of using apt-get to access Debian’s more than 20,000 applications–on your phone, which due to integration with freesmartphone.org efforts, can also actually be used as a phone. There were previously efforts to run Debian on the predecessor product to the Neo FreeRunner, the Neo 1973, but with the wider adoption of the Neo FreeRunner and the hard work of many Debian developers at the ongoing DebConf8, carrying Debian in your pocket has just gotten a lot easier.

23 JunCapitol Records v. Multiply, Inc. 07-11357 (SDNY)