Singleton Pattern in C#

Implementing the Gang of Four Singleton Pattern in Microsoft’s C# .NET language is nearly identical to its Java implementation. The Singleton Pattern (as definied by the Gang of Four in 1995) is to “ensure a class only has one instance, and provide a global point of access to it.” The idea behind the Singleton pattern …

Singleton Pattern in Java

Implementing a Singleton Class Pattern in Java is a common and easy task. The Singleton Pattern (as definied by the Gang of Four in 1995) is to “ensure a class only has one instance, and provide a global point of access to it.” The idea behind the Singleton pattern is that there can only be …

Ignite Realtime Spark IM Can’t Open Web Links in Linux

In the latest version of the Java based Jabber/XMPP Instant Messaging client Spark by Ignite Realtime / Jive Software (Spark 2.5.8) there is a “bug” that keeps Spark from being able to open hyperlinks properly. According to AGomez in the Spark discussion group the client is hardcoded to point to Netscape which is, of course, …

Linux Processor Ignored

WARNING: NR_CPUS limit of 1 reached. Processor ignored. Not exactly the error message that you were hoping to see when you were checking you dmesg logs.  Don’t panic, this is easily remedied.  If you are wondering how to check your own Linux system for this error you can look by using this command: dmesg | …

Linux’ kscand

In Linux the kscand process is a kernel process which is a key component of the virtual memory (vm) system.  According to Unix Tech Tips & Tricks’ excellent Understanding Virtual Memory article “The kscand task periodically sweeps through all the pages in memory, taking note of the amount of time the page has been in …