gstpw – a simple stopwatch program

I could not find under Ubuntu any stopwatch program with modern GUI. There was only one available: “Stopwatch” by Don Libes, but it uses Tcl/Tk, so it is ugly and starts long time. Yesterday I have written new one in C. It is “one file program” which needs GTK > 2.0. Project’s home page can … Read more

How To Enable UUID In EMF Generated Model To Get Copy&Paste Working

If you get very strange results using Copy&Paste in GMF diagram editor then in all likelihood your EMF model doesn’t use Universally Unique Identifiers. EMF’s XMIResourceImpl supports generation of UUID transparently but it’s disabled by default. To enable it you have to overwrite XMIResourceImpl‘s useUUIDs() method and make model plug-in use that new Resource implementation. … Read more

New Project: netdgrm

I have just created new project named netdgrm (code.google.com requires lower letters for projects names, so I use this convention here too). It’s simple graphical editor for diagrams of computer networks. Project’s page is here. There is a screenshot and first pre alpha 0.0.1 release. It’s very stable but lucks “few” features. Unfortunately it is … Read more

Color Scheme Generator for Charts

Sometimes one needs to show many data series on one chart. In such cases, usually distinction between those data series is achieved by using different colors for each data set. Most charting libraries leave colors selection to developer. This can be problem when there is need to choose more than six colors which can be easily distinguished by most people. Below you can find Python program which can be helpful.

Read more

JGrups on Linux With Multiple Network Interfaces

Few hints for those, who want to run JBoss Cache in clustered mode ([a]synchronous replication/invalidation) on Linux machine with multiple network interface cards (NICs) and using UDP/multicasting in OSI layers 4/3 . Here is situation overview:

We need multicast communication through eth1 to other JBoss Cache nodes.

Read more