Qre
Submitted by elmo on Fri, 2011-05-06 23:32I started working with Qt again and I am trying to create a function editor widget.
This is still just the beginning, but after three days of coding I got something working.
Code is available for download from github.
There is also a slight chance that this will start a bigger project.
Hopefully this one widget will start a bigger library of random widgets for Qt.
Below is the video showing what is working right now.
Meta-Albums beta
Submitted by elmo on Sun, 2011-03-06 18:26I started creating a new web service Meta-Ablums.
The main reason behind its creation was the lack of Picasa albums to:
- let many users manage the same albums (useful i.e. for club galleries)
- create hierarchies of albums
Aquaria open beta expires on 13th January
Submitted by elmo on Wed, 2010-01-20 12:18Yesterday I had some spare time so I looked what has happened in the Linux games world. I found out that there is a free open beta for Linux of Aquaria. Unfortunately this beta release expired about a week ago and I wanted to see how it looks. It also made me wondering how can you make any program expire on a given date. How do you actually check what's the current date?
Integer comparison in C
Submitted by elmo on Wed, 2009-12-09 20:38Recently while writing a small project I run across a rather standard problem with qsort and comparison function.
Standard example of the mentioned function looks like this:
int simple_cmp(const void *a, const void *b) { return *((int *) a) - *((int *) b); }
So is there any problem with that? As a matter of fact, yes there is. Behavior of qsort will be incorrect (looking at this problem from point of view of the programmer who wants his array sorted in the ascending order) if subtraction operation will lead to the integer overflow
Pathfind
Submitted by elmo on Fri, 2009-10-30 22:33I thought about writing finding shortest path in a 3D environment (for example for game). I looked through few articles and found out that the most flexible solution is to use Navigation Mesh. I wondered how hard it is to implement, so I tried to do so.
So far I learned the basics of OpenGL picking (finding out what was clicked) and at last I got to know what is so special about A* when compared to Dijkstra's algorithm.
You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.
Controlling Qt tab traversal order
Submitted by elmo on Thu, 2009-10-29 12:44Some time ago I tried to create a custom behavior for tab traversal in my Qt application (Qt in version 4.5 to be precise).
I wanted to create a table and when tab was pressed I wanted it to go only through cells in the current row. Below is example of how focus should go when the tab is pressed (green background is for the active row).
I read in documentation about how easy and fun it is to set tab order in Designer. It appeared it will be also as easy to do this in program, but as I tried to hook into tab traversal code I couldn't get it to work.
YAS
Submitted by elmo on Thu, 2009-10-29 00:36So this is a YAS (Yet Another Site).
I tried a few times before to run a website, but soon after starting them I lost the interest/didn't have time to run them. Hopefully this one won't get abandoned.
Also this time I will try to use Drupal and not create something by myself from the beginning.
