Category Archives: Programming

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

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

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

Nanoparticles available for Android and Mac OS X

As mentioned in the post about Nanoparticles for Android being just around the corner, I have been able to port Nanoparticles by using the Qt port for Android enabled by the Necessitas project. That’s why you can download Nanoparticles from … Continue reading

Posted in C++, Games, Programming, Qt | 4 Comments

Deploy Qt applications for Mac OS X

This turned out to be really simple. I was trying to create a Mac OS X version of my game, Nanoparticles, and was having trouble with some flicker when running a QGraphicsView with OpenGL. The solution turned out to simply … Continue reading

Posted in Programming, Qt | Tagged , , , , , , | Leave a comment

Nanoparticles for Android is just around the corner

Thanks to the great work of Bogdan Vatra and the Qt Developers working on Lighthouse, I have finally been able to create a running version of Nanoparticles on Android. Their efforts have led to the Necessitas project, a very user … Continue reading

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

RewriteRule in .htaccess not working for cURL

For some strange reason I have experienced on one server that the RewriteRule in .htaccess is not working for cURL via the command line. The fix has been to add a User-Agent line to the header of the cURL command, … Continue reading

Posted in Programming | Leave a comment

Nanoparticles available for Nokia N9

Finally the N9 is here. And so is Nanoparticles for the Nokia N9. You can over to Nokia Store to get a copy right now: Download Nanoparticles You can read more about Nanoparticles and download it for other platforms on … Continue reading

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

How to get things done with todo.txt

The simple answer to how you get things done is to actually do them. However, to do things in an organized manner is more easily said than done. Why? Because it is way too easy to drift away with less … Continue reading

Posted in Efficiency, Programming | Leave a comment