Archive for the ‘ Projects ’ Category

executebin-servicemenu-kde

The executebin-servicemenu-kde is an KDE service menu for setting a file (e.g. the google-earth install file *.bin)  as executable (chmod +x) and executing the file from your favorite filesystem-browser (e.g. Dolphin).

I've published the service menu on kde-apps.org: http://kde-apps.org/content/show.php?content=116129

PathFinder on OpenDesktop.org

We also published PathFinder on OpenDesktop.org: http://opendesktop.org/content/show.php/PathFinder?content=115719

PathFinder goes SourceForge

Today, we hosted our project PathFinder on SourceForge.net. So, if you're interested, visit the project homepage: https://sourceforge.net/projects/jpathfinder/.

Feel free to contribute some comments or enhancements here or on the projectpage.

A fuzzyclock for the bash (german)

Last weekend I've got some time to do some funny stuff. A friend of mine asked me if I know a script which displays a fuzzyclock in the bash. To refresh my bash skills, I took the time and "hacked" (a bit dirty) this for him. The script displays the current time as written german words ... see the following screenshot:fuzzyclock_screenshot
If you are interested, here is the script: fuzzyclock_v0.1.tar.gz
For feedback or improvements, please leave a comment.

Gaussian Distribution with QGraphicsView

During my semester-break I've played around with the QGraphicsView component which was introduced a while ago. My goal was to implement the standard-experiment for the Gaussian Distribution (see schema).

gaussdistrI_schema

Imagine you have 1000 balls and throw these (in sequence) in the opening on top of this vessel (see picture). The sum of each stack of balls results in an Gaussian Distribution form (shown at the bottom of the picture: red ball stacks).

I've implemented this behavior with the qrand() function - to decide if the ball goes left or right. After running the application the embedded QGraphicsView animate the results (the ball-stacks) using a QGraphicsItemAnimation. After finishing this results-animation the applications also shows some statistic-values:

average value - μ: (x1+x2+...+xn) / n

standard degression - σ: sqrt((x1-µ)² + (x2-µ)² + ... + (xn-µ)²)

Here is a screenshot of the application GaussDistri:

gaussdistri

As you already suppose the program is written in C++/Qt and based on a qmake-project - using Qt Creator. I provide the source-code later ... ;)

Update: it seems that I've mixed-up μ and σ in the app (see screenshot) ... :)