The Ironism

The Ironism

The lair of Lars J. Nilsson. Contains random musings on beer, writing and this thing we call life.

August 2015
M T W T F S S
« Jul    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories


Programming

Java 8 + Light Weight Threads

The last couple of days I’ve been playing around with Quasar from the fine folks at Parallel Universe. “What’s that then?” I hear you ask. It’s an API and a runtime library that promises light weight threads for the JVM, called Fibers, and all the stuff you can do with that, like light weight channels for message [...]

fungrimfungrim

More on Constructors

Warning: This post contains fictional grammar, ideas off the cuff and high levels of programmer nerdery. Proceed at your own risk. The whole shebang was started off here: If I Would Design a Language. Here’s some more you could do with implicit constructors. Remember this class? [crayon-55dfc2fa55e18154803549/] It turns out that the [...]

fungrimfungrim

If I Would Design a Language

Warning: This post contains fictional grammar, ideas off the cuff and high levels of programmer nerdery. Proceed at your own risk. I’ve had a look at the influx of new languages for the JVM the last couple of months. In particular I’ve read up a bit on Kotlin, Fantom and Clojure. And naturally I started thinking about what I would [...]

fungrimfungrim

Unit Tests with Guice and Warp Persist

Note: this post is cross-posted on Cubeia.com. Yesterday I needed to do some unit testing for a project using Guice and Warp Persist. And one thing that seems to be lacking, or wasn’t to be found be me yesterday, is the kind of unit testing you can do with Spring, where each method is wrapped by a transaction which is rolled back when [...]

fungrimfungrim

A Google Analytics Plugin for Nexus

Note: this post is cross-posted on Cubeia.com. Since Firebase Community Edition uses Maven heavily, I realized I’d like to track our Nexus repository in Google Analytics. The Nexus Book says that there exists such a plugin already, but apparently now one knows where it is. So here’s my attempt to write a simple one. If you’re [...]

fungrimfungrim

A Java Concurrency Bug, and How We Solved It

Note: this post is cross-posted on Cubeia.com. Everyone agrees that good debugging is critical. But it is not entirely trivial when it comes to multi-threaded applications. So here’s the story how I tracked down a nasty bug in the Java5 ReentrantReadWriteLock. Update 15/4: To be a bit clearer, the Java bug in question is on 1) Java 5; [...]

fungrimfungrim

New Article: Real Time BI

Note: this post is cross-posted on Cubeia.com. Since I’ve spent some time discussing complex event processing in various contexts the last weeks, I thought I’d write up a small article about it. And lo, here it is.I do point out in the beginning that the article is primarily targeted towards gambling networks, however it can be [...]

fungrimfungrim