May 2006 Archives

Sun May 21 18:54:18 UTC 2006

Going from FreBSD 5.4 to FreeBSD 6.1

After countless hours of portupgrade and make buildworld, my Thinkpad is now running FreeBSD 6.1. There were no major problems except:

  • Gaim doesn't accept the gaim-latex anymore. I will have to get the CVS version and adjust it to my needs.
  • Opera complains about a missing motifwrapper.
  • syscons is somewhat buggy.

At least I have found a solution for the Opera problem. It's right in pkg-message. For your convenience, I will post it here. Just add the following to /etc/libmap.conf:

# Opera - Motif
[/usr/X11R6/share/opera/plugins/operamotifwrapper-1]
libXm.so.1              libXm.so.3
libXThrStub.so.6        libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-2]
libXm.so.2              libXm.so.3
libXThrStub.so.6        libXtst.so.6
[/usr/X11R6/share/opera/plugins/operamotifwrapper-3]
libXThrStub.so.6        libXtst.so.6

Maybe you are lucky and it works...


Posted by Canmore | Permanent link | File under: FreeBSD

Mon May 15 09:01:29 UTC 2006

gaim-latex revisited

Being the playful nerd I am, I changed some things in the plugin's sourcecode. There is a diff file available, although the list of changes is rather small:

  • The packages amssymb and amsmath are now used, thus providing you with more symbols and equations.
  • I changed the deprecated equation environment to the gather environment. I don't know if that makes sense.

Still, rendering some symbols such as \LaTeX doesn't work. Apparently, this is a restriction of LaTeX's math mode. However, the LaTeX plugin for kopete seems to handle this.

EDIT: I found a solution: If the plugin ignores any errors LaTeX encounters while trying to build the .dvi, the use of \TeX works in math mode. Download and apply this diff if you want a more kopete-like solution.


Posted by Canmore | Permanent link | File under: FreeBSD, Programming

Sat May 13 18:56:12 UTC 2006

Battery Rundown Tool for IBM Thinkpads

The battery of my Thinkpad has a very limited capacity of about 15 minutes. So I bought a new one at eBay. To prevent memory / leakage effects, I accidentally stumbled over a diagnostic program for IBM Thinkpad T2x series. It is provided by David Jason Smith and can be downloaded here. Being the nice man I am, I set up a local mirror.

Using the program is straightforward. Just boot with the .ISO and go through the menus. There are some interesting options such as benchmarks and generic system information. Battery rundown can be found under Utility. I hope it works for you, too.


Posted by Canmore | Permanent link | File under: Musings

Fri May 12 17:21:13 UTC 2006

Using LaTeX code with Instant Messengers

Explaining maths via Internet is a lot easier if you are able to displayformulas correctly, instead of typing things like:

e^(x + i*y ) = e^( x ) ( cos( y ) + i * sin( y )

Surprisingly, this problem is not quite solved. During my searches I found found the TeXIM Plugin, which should work with Gaim and amsn, thus allowing both Windows, MacOS, Linux and FreeBSD users to chat.

I, however, tried gaim-latex. The version in the ports of FreeBSD didn't work, so I downloaded the release version (0.3) at sourceforge and compiled it (you have to use gmake instead of the standard FreeBSD make). The resulting binary LaTeX.so is to be copied to ~/.gaim/plugins. Then Gaim has to be restarted and told to use this plugin - done.

There are also a number of other plugins out there, for example a MathMode plugin for Miranda (an ICQ client for Windows). But they don't work like gaim-latex or Kopete's plugin: Instead of typing $$ my Tex code $$ you have to use strings like [MathMode] [/MathMode] or something like that. There is definitely a need for some standards - or aren't there mathematicians longing for LaTeX conversations (please note the spelling!)?


Posted by Canmore | Permanent link | File under: FreeBSD, Programming

Mon May 8 20:54:57 UTC 2006

Idle thoughts

University is quite time-consuming at the moment. This is a lame excuse for the missing content of this blog. However, I stumbled over an interesting website while using google: Chilling Effects. Apparently, my search strings are way too illegal (which is ridiculous, given the fact that I was looking for some mathematical information). This raises the issue of google and privacy, but I guess there are better people suited for giving talks about that.

For true believers of logic, the following link might be interesting: Kurt Gödels Axiomatische Theologie. It's a paper talking about Gödel's proof of god's existence. Unfortunately, it's only available in German. Maybe I'll translate it.


Posted by Canmore | Permanent link | File under: Musings