Miro Rubix comes back!

Hi! I just put online again the Miro Rubix game for PC and for PSP! A simple puzzle inspired by the famous game called Rubik’s Cube. The puzzle starts with two equal pictures where only the left one is mixed in various boxes. Moving the columns and the rows of the left one, you just have to form the picture on the right. The game comes with few puzzles. Some puzzles are classic, they contains only boxes with few colors; the other was created using various photos. But, you can create your own puzzle with your own photos!

Read more

Network Time Protocol request in C#

I’m writing an application in C# that needs to know if the system time is not fake (only if the network is on). For this reason, I make a class that retrieves the time from a NTP server. The class is written to prevent that the same servers are called too often using a simple circular array. For the data returned by the servers, I invite you to see the RFC-2030.

Read more

MExpr

Finally, I release my first version of MExpr library!

A C++ Library that parses mathematical expressions. The library is made using bison and flex. Evaluation on the AST Tree browsing it recursively. Ability to compile the expression in a bytecode that uses a stack to be evaluated. Support for variables, for implicit multiplications like -3xy^2, for functions and for overloaded functions. Furthermore, there is a set of standard functions taken from math.h.

See more…

ExitWindowsEx in C#

I post you my simple class to shutdown, reboot and logoff Windows using the famous ExitWindowsEx. Each method is overloaded with another that force the action, in other words, it executes the action without prohibiting Windows to send the WM_QUERYENDSESSION message. With the latter way, the user can’t cancel it.

Read more