Tag Archive | c

TextEdition is updated (again)!

I just commited some improvements I made for my text boxes library! I added the management of some multi-keys characters, so now you can write special characters like ‘â’, ‘ö’, ‘ñ’… I know English people just don’t care about it (^^) but French people really need those characters! And German people too, you’re welcome. But, hem, I’m sorry for Chinese people (and everyone with a non-Latin alphabet…) ; for now, this does not work for you. You should have invented the keyboard first. On the other hand, I also made some slight improvements and corrected a potential deadlock issue I just discovered.

The project is still here: https://ikturm.wordpress.com/projects-2/current-projects/textedition/

Don’t hesitate! 🙂

TextEdition is updated!

My library for the creation of text boxes, called “TextEdition”, received a major update: the library is now written for the SDL 2.0! Finally… For now, this is just a mere translation, but I intend to optimize the performances soon, by using the new possibilities of the SDL 2.0.

The major change is that all text boxes are now transparent, because the SDL 2.0 handles the RGBA blits natively. And, unfortunately, the handling of the multi-keys characters (such as ä, ô, ñ…) is gone, because the SDL 2.0 does not support them. This is a little bit silly: the text API of the SDL 2.0 was made in order to handle this kind of characters, but for an unknown reason, this does not fully work. It keeps interpreting ñ as ~n… I’m still investigating!

This version is the version 0.17, and I isolated the previous one (0.16) in another development branch to keep it available to users of the SDL 1.2. However, this branch will probably receive no further development, except maybe some small corrections. I suggest you to use the SDL 2.0 anyway!

Test and give feedback!

[PS: The project is still here: https://ikturm.wordpress.com/projects-2/current-projects/textedition/]

EquaminatorCMD is updated!

My big command-line calculator just got an upgrade! Actually, this is not very important stuff. I just added two functions I needed for my secret awesome project. EquaminatorCMD was useful to test the correctness of the implementation. The two functions are described below:

  • eig() computes the eigenvalues decomposition of a real symmetric matrix
  • svd() computes the singular values decomposition of any real matrix

And I also added useful matrix functions like trsp(), which computes the transpose, and tr(), which computes the trace. This was indeed a big lack in the matrix manipulation core…

Enjoy, test, and comment!

[PS: The project is still here: https://ikturm.wordpress.com/projects-2/current-projects/equaminatorcmd/]

The OCR Project is updated!

Wow, it’s been a long time since I posted something. I actually have a lot of work (incredible, I’m supposed to be an Erasmus student!). Anyway, I worked recently on the OCR Project, in order to add some functionalities! Now you can search a word in the letters grid. Because I was tired to try to check manually the results…

You can find the project here, it didn’t move: https://ikturm.wordpress.com/projects-2/current-projects/the-ocr-project/

Try and comment! 🙂

Snap Detector is updated!

The version 0.2.2 of Snap Detector is now online on IKTurm! This version tries to correct the fact that the software detects finger snaps each time there is a noise in the room… It works pretty well, but it’s not perfect. Whatever, give it a try!

https://ikturm.wordpress.com/projects-2/current-projects/snap-detector/

And comment of course!