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

Hide Console Window in C#

I just made a silent application to check how much time my brother stay on his computer. But, I needed to make an application that doesn’t show any window. Now, I show you my personal solutions to do this for the Console Application Projects and for the Windows Forms Application Projects.

Read more

LAMP Virtual Hosts

In the last post I tell you how you can install LAMP in Ubuntu 11.10. Now I tell you how to configure virtual hosts, in this way you can create a lot of independent sites (also in different domains).

Read more

Install LAMP on Ubuntu

The last week I re-installed LAMP on Ubuntu 11.10 to try somethings.

I post you the simply instructions to install all fine. In the future I’ll post you something about the sites configuration.

Read more

VMWare Shared Folder on Ubuntu 11.10

Recently, I’ve installed Ubuntu 11.10 into a virtual machine, using VMware Fusion 4.1.1 on MacOS X. But, after its installation, I’ve found several issues relating to the shared folders. Now, I share with you the steps to resolve these issues.

Read more

Online! Again.

After a long absence, my site came back online! This time I decided to create a Blog using WordPress. With this blog I want to share any information, tips, algorithms and other stuff.

I’ve decided to write my posts in English: the first reason is that, in this way, I can talk to the whole world; the second reason is that I’m Italian and this is also an opportunity to write something in English. For the last reason, excuse me for any error!