Tag Archives: programming

Syslog Server for your Fortigate® Firewall

      Comments Off on Syslog Server for your Fortigate® Firewall

Are you looking for lightweight Syslog server to test your Fortinet®‘s firewall installation? or Is your firewall missing a local disk to save the logs? If your answer is ‘Yes’ to either question, then you may want to check out this Python script at GitHub. The script starts a syslog… Read more »

Graph Layout – Part 1

      Comments Off on Graph Layout – Part 1

Many applications, especially those that require visualizing complex information, rely on manipulating and presenting data as graphs composed of nodes and links. A graph, in the mathematical context, is a set of objects represented as vertices, or nodes, and a set of links connecting some pairs of objects. The graph… Read more »

Graph Animation

      Comments Off on Graph Animation

This is another example of using Processing to create animations. The GraphAnimation program demonstrates packet forwarding by flooding. A packet sent by node A is replicated by every node (router) it reaches and sent in all connected links until it reaches the destination node N. Knowing the shortest route, node… Read more »

JSim – Queue Simulator

      Comments Off on JSim – Queue Simulator

JSim is a Java-based discrete event simulator of an M/M/s queue system. The source includes a library of classes that can be used to modify the application to simulate other types of queue systems as well. JSim source files can be downloaded from Github. A brief description of the main… Read more »

Processing Game

      Comments Off on Processing Game

Thomas Schelling showed, in 1971, that a small preference for one’s neighbors to be of the same race could lead to total segregation. This model is used as an example to show how such individual behaviour can bring about such undesirable social conventions without the need for evil master plan… Read more »

Arduino robot kit – Motor library

      8 Comments on Arduino robot kit – Motor library

Once the motors were connected to the motor controller (see previous post), I started working on writing the code for basic robot movement. The basic motor commands are: onFwd/onRev: move each motor independently in the forward or reverse direction off/stop: stop either motor gradually (float) or abruptly (break) fwdRight/fwdLeft: turn the robot by running the two… Read more »