Author Archives: Svenn-Arne Dragly

Adjusting to the new version of Pylab and Mayavi on Ubuntu 12.04

It seems the IPython and Pylab packages has also been updated in 12.04 and thus removing the old ipython -wthread flag that would ensure Mayavi plots to be run in a separate thread. Running with the flag causes this error … Continue reading

Posted in Mindseye, Programming, Python, Python, Ubuntu | Tagged , , , , , , , | Leave a comment

Using the same script on installs with different EPD versions

In the newest version of Enthought’s Python Distribution (EPD) on Ubuntu, the plotting package has been moved from enthought.mayavi.mlab to the shorter and more general mayavi.mlab. This does however mean that if you, like me, need to work with different … Continue reading

Posted in Mindseye, Programming, Python, Python, Ubuntu | Tagged , , , , , , , , , , | Leave a comment

Modifying keys on a Norwegian Linux keyboard to resemble those on a Mac

A friend of mine is switching between a Mac and a Linux machine, causing some readjustment whenever he switches keyboards. The most urgent fixes were to move the curly and square braces together with the backslash and dollar sign. Basically … Continue reading

Posted in Efficiency, Ubuntu | Tagged , , , , , , , , , | Leave a comment

Installing Norwegian dictionary in TexMaker

I just came over a great LaTeX editor named TexMaker. It seems to fit my needs perfectly, with auto-complete and mapping between tex and PDF files. It does however not have a Norwegian dictionary installed, but this is easily fixed: … Continue reading

Posted in LaTeX | Tagged , , , , | Leave a comment

Installing the nVidia driver in Kubuntu 12.04

Running the vanilla install of Kubuntu 12.04 worked incredibly well. It took me quite some time to notice that I was in fact using the open source noveau driver. Dual displays, desktop effects and all other first impressions worked without … Continue reading

Posted in Ubuntu | Tagged , , , , , , , , | 2 Comments

Launching apps from XBMCbuntu Eden

I just replaced an old Ubuntu install with the fresh live CD carrying XBMC. It has now been named XBMCbuntu, noting its inheritance a bit more than earlier. While running XBMCbuntu has its benefits with a pre-made nicely working setup … Continue reading

Posted in TV | Tagged , , , , , | 5 Comments

Nanoparticles game reviewed by Nanoparticles Blog

If you are interested in real-life nanoparticles and not just the game I made with the same name, you should check out Nanoparticles Blog. Run by Niko Bärsch, CEO of Particular GmbH, a company that is in fact making real … Continue reading

Posted in Games, Uncategorized | Leave a comment

Classical mechanics in HTML5 and Javascript

Ok, so we’re working on the home exam in classical mechanics and I decided to spend some time simulating the solution of the first exercise. Probably not the wisest way to spend time during an home exam, but what the … Continue reading

Posted in HTML5, Javascript, Mindseye, Physics, Programming | Leave a comment

Passwordless access to MySQL by using sudo

Tired of remembering root passwords for MySQL on your servers? Fear no more, help is on the way. I’ll assume that you have a Linux system set up with sudo and mysql already installed. Fire up a terminal and type … Continue reading

Posted in Databases, Ubuntu | Tagged , , , , , | 1 Comment

Developing MPI applications in Qt Creator

I have grown very fond of the ease and usability of Qt Creator lately, making it my main tool for developing anything in C and C++. Recently I started learning the MPI framework for doing large scale parallel programming and … Continue reading

Posted in C++, MPI, Programming, Qt | Leave a comment