Archive for May, 2007

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) [...]

OAR 0.5

Version 0.5 of the OAR library is now available for download here. It contains a lot of new code and some updates and bug fixes.

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.

The road to linux isn’t as bumpy as I thought

Recently, I have started to port my libraries (Oar, KANT, etc.) to be able to compile using Mono under Ubuntu. The Oar library works with no problems, which made me happy. The original version of my KANT library, which was done using .NET 1.1 and is in use by various projects at my university, would [...]

Bib2Html.pl

I created a simple Perl script to convert my publication list in bibtex into a somewhat pretty html version. You can download it here. There are no guarantees that it will work for you or that it will not go crazy and screw things up. However, if you want to give it a try, please [...]

Conference v.s. Journal: Two worlds two thoughts

In America, Computer Science researchers very rarely submit to journals, because in our field conferences are thought to be more important. The reason being that 1) conferences offer more up-to-date information, 2) conferences allow a wider auidence to see your research and 3) the top 2 or 3 tiers of conferences have a lower acceptance [...]

Information Processing & Management

Today I received my results from IP&M. For some strange reason, my paper only had 1 reviewer! How that can happen in an international journal is beyond me. Here is the result of the one review….
———————————–
Reviewer #1: Overall, it is hard to read a little. The authors should polish the wording and representation.Representation of citations [...]