Installing subversion using subdomain on Apache and Debian

Mon, 23 May 2011 15:59:02 +0000

Here’s a quick reference on the basics of installing Subversion on Debian using an Apache subdomain both for my own reference and others too. There were a couple of bits I had to search around for so I thought an all-in-one guide might be useful for others. Install subversion. apt-get install subversion Install Apache and [...]

Read the full article →

jsr166y and extra166y libraries on Maven

Sun, 22 May 2011 10:14:55 +0000

If you wish to use jsr166y (fork join) and extra166y (parallel arrays), normally available as jars at the concurrency interest site, through maven there is a mirror repository that has been set up that can be used as follows. Milestone repository <repositories> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>codehaus-milestone</id> <name>codehaus-milestone</name> <url>http://repository.codehaus.org</url> </repository> </repositories> Dependencies <dependency> <groupId>org.codehaus.jsr166-mirror</groupId> <artifactId>jsr166y</artifactId> [...]

Read the full article →

Concurrency Pattern: The Producer Consumer Pattern in Java

Sat, 21 May 2011 21:43:11 +0000

Introduction Recently, after a very long time, I encountered once again the topic of the producer consumer pattern in Java. In our day to day lives as developers we rarely have to implement such a pattern in code. We are usually dealing with producers and consumers in concept form at far higher level of abstractions [...]

Read the full article →

Apple adopts new Thunderbolt IO format

Wed, 04 May 2011 11:06:45 +0000

Apple released the new iMac recently with, ThunderBolt, a new IO format that’s considerably faster than Firewire 800 and USB2. It provides 10 Gbps bidirectionally and allows daisy chaining of up to six peripherals as well as offering backward compatibility with other formats through the use of simple adaptors. Interestingly Thunderbolt seems to be a [...]

Read the full article →

Concurrency Pattern: Finding and exploiting areas of latent parallelism

Wed, 23 Mar 2011 08:48:49 +0000

With the JDK 7 developer preview out and a final release fast approaching it’s important to not only to become aware of what the new version offers but also, in certain areas where existing programming paradigms have radically changed, to make a mental shift in the way we think and understand how we can leverage [...]

Read the full article →

RSA asymmetric cryptography in Java

Fri, 18 Mar 2011 14:56:06 +0000

I’ve been working with rsa asymmetric cryptography in Java recently and found that this area was very poorly documented. The article, RSA Public Key Cryptography in Java, provided the breakthrough I required in how to generate asymmetric keys in a way that would then allow Java to read those keys in and understand them for [...]

Read the full article →

JDK7 developer preview available

Wed, 23 Feb 2011 22:49:10 +0000

The JDK7 developer preview is now available. The following are what I’m looking forward to the most amongst all the new features. Concurrency and collections updates (jsr166y) JSR 203: More new I/O APIs for the Java platform (NIO.2) Enhanced JMX Agent and MBeans We’re already using jsr166y and extra166y with Java 6 at work amazingly.

Read the full article →

Good code

Tue, 11 Jan 2011 22:21:08 +0000

How true. Is there really such a thing as good code? If so how can it be attained, qualified and quantified? Perhaps there is only code that serves a purpose for a length of time and another that is retired or is never adopted. This is a philosophical debate I fear so I’m going to [...]

Read the full article →

Presentation: Development at the Speed and Scale of Google

Sun, 09 Jan 2011 18:50:27 +0000

Since I’ve never had the good fortune of being able to afford QCon (one day this will change) I appreciate the fact that InfoQ post QCon videos online for free albeit late. Recently I watched ‘Development at the Speed and Scale of Google‘. Prior to watching this presentation I knew only what I had encountered [...]

Read the full article →

Java concurrency bug patterns

Sun, 09 Jan 2011 16:30:54 +0000

Rather randomly and on a legacy note – here’s a series of links on the subject of java concurrency bug patterns from both IBM DeveloperWorks and from Alex Miller at Pure Danger Tech both for my reference and yours. Most readers, I expect will know all of this, but if you don’t the list is [...]

Read the full article →