Archive for the 'Computers' Category

24″ iMac sound woes, aka “Why we should try the obvious”

The first thing I found wrong with using Windows under Boot Camp with my iMac was the horrendous sound. I updated the sound drivers from the Boot Camp install disc and from the supplier’s website. Neither of those produced decent sound, so I played with the mixer settings and got something almost sort-of kind-of not [...]

Javascript Visualization

Saw this on Slashdot the other day. It is a port of the Processing Visualization Language to javascript. It looks pretty cool.

An Obvious Statement

Windows XP running in VMWare Fusion under Leopard runs much faster when you are using the bootcamp partition. If you do not use the bootcamp partition then allocating the full space for the virtual disk image will improve performance some. Of course, your results may vary as this is only in my non-scientific tinkering.

Microsoft Photo Story 3

I have been looking for a good free or cheap Windows application to make nice photo slideshows like iPhoto does for a friend in Japan. I happen to find Microsoft Photo Story 3, which is a free product from Microsoft that accomplishes this. It is not as nice as what can be done with iPhoto, [...]

An update on Shift Jis and Mono

I thought I tried this before and it failed, but with the latest version of Mono “shift_jis” is a valid encoding.

Bib2Html.pl version 0.3

I found another little bug that was causing some problems. So please update with the new version.

More Mono musings

In continuation of my last post about Encoding.GetEncoding, I found that “cp932″ will work for getting shift-jis, which means that I just have to change “shift-jis” to “cp932″ in my code and in all of my configuration files and I should be OK.
update: After checking in Windows, “cp932″ does not exist. This means I must [...]

Mono’s Encoding.GetEncoding

I ran into another small difference that is a bit annoying and I am not for sure if it will become a big deal or not. When using Encoding.GetEncoding in mono with “SHIFT-JIS” I get the following…

Unhandled Exception: System.NotSupportedException: Encoding name `SHIFT-JIS' not supported
  at System.Text.Encoding.GetEncoding (System.String name) [0x00000]
  at KantLibrary.Translation.ExciteJapanTranslator.Translate (System.String sourceText, Code from, Code to) [...]

Mono’s Regex.Replace

I happen to run into a difference in implementation between the Mono project’s implementation of .Net and Microsoft’s. It seems that escaped strings are handled differently in Regex.Replace when the escaped string is the replacement string. What does this mean? The following code …

string replaced = Regex.Replace( "I like the backslash", "backslash", @"\\" );
Console.WriteLine(replaced);

will output [...]

Bib2Html version 0.2

I found a careless bug in the code and have fixed it. Please download the new one here.