About The Contest

The first ever Olympiad of Misguided Geeks contest at Worse Than Failure (or OMGWTF for short) is a new kind of programming contest. Readers are invited to be creative with devising a calculator with the craziest code they can write. One lucky and potentially insane winner will get either a brand new MacBook Pro or comparable Sony VAIO laptop.

Navigation

Advertisements

Entry #100155: Calc Server / Client

by Mark Collier
This is a client / server calculator in a single (Win32) program.

* The server runs in the background and can allow people with the same program on a different machine on the network to run the calculations on the server, thus saving valuable CPU time and memory on the client machine. The server will then send back the answer in a very compact form, saving on the amount of data sent over the network.

* The server generates and runs x86 assembly to perform the calculations thus minimizing the time to perform these calculations ensuring a quick response time.

* All communications between the server and client are encrypted, ensuring that all calculation data is secured against hackers. All communications are also verified via MD5 to eliminate the possibility of data corruption over the TCP/IP network link between the server and client.

* The user interface has a unique easy-to-use interface. Each calculator button on the user interface is sorted in order of the number of times used. This allows quick and easy access to the commonly used buttons, ensuring that the use of the client side of the application is as effeciant as possible, while maintaining ease of use.

Download0 Comments