Parsing JSON with Scala
In the previous post, Arnar wrote about how to do a JSON parser in Haskell using parsec. He also mentioned that I had shown him a similar parser... more »
0 commentsSave Tags: other languages
Programming in a natural order
Whenever I'm doing the same thing over and over, a little background thread in my brain starts to wonder if there's a better way. Sometimes I tell it... more »
0 commentsSave Tags: opinion, other languages
Playing around with parallel maps in Scala
Over the last couple of days I have been hacking around with a few implementations of a parallel map in Scala.
0 commentsSave Tags: java, other languages
Higher-Order Java Parallelism, Part 1: Parallel Strategies and the Callable Monad
Now that even budget desktop and laptop computers are shipping with multi-core processors, it’s more important than ever to design programs so that... more »
0 commentsSave Tags: java, methodology, trends
Sexy Swing App - The Bottom Bar
In the last installment of “Sexy Swing App”, I’ll show you how to create a bottom bar component as defined by Apple in their Human Interface... more »
0 commentsSave Tags: gui, java
Java Syntax Highliting EditorPane
A story of how to implement a Syntax Highlighting JEditorPane. No code shown yet, but will be if anybody is interested.
0 commentsSave Tags: how-to, java, open source
India's SMS GupShup Has 3x The Usage Of Twitter And No Downtime
I recently started using Twitter and have become a big fan of the service. I've been appalled by the downtime the service has endured, but sympathetic... more »
1 commentsSave Tags: database, opinion, ruby, web 2.0
Getting rid of strings (2): use lambda expressions
This article will show you how you can use lambda expressions and expression trees as another tool to avoid strings.
0 commentsSave Tags: other languages, usability
An Introduction to Dynamic Programming
Jesse over at 20bits has a great introduction to dynamic programming with clear examples and excellent charts!
0 commentsSave Tags: how-to, methodology, python
Web development with Wicket, Part 1: The state of Wicket
Don't let state become a performance bottleneck in your Java Web applications. Wicket accommodates both stateless and stateful development models, so... more »
1 commentsSave Tags: java, open source
What is OSGi for??
In his daily update at java.net, Chris Adamson writes about the increasing prominence of OSGi. But also admits that he just doesn’t “get” OSGi, and it... more »
0 commentsSave Tags: java, trends
Making a JTreeCellRenderer fill the JTree
Making a JTreeCellRenderer fill to the right edge of a JTree is a herculean task. Something as seemingly innocuous as controlling a cell renderer’s... more »
0 commentsSave Tags: gui, java
Object Oriented Programming has Failed Us
It seems to me that many of the college students who graduate today understand the syntax, but few know how to apply true object oriented principles... more »
8 commentsSave Tags: methodology, opinion, trends
JVM Compiler Construction with Scala and BCEL, Part 1
Writing a compiler is no simple undertaking. I’ve spent a few years on and off (mostly with the Python source code) trying to understand compiler... more »
1 commentsSave Tags: how-to, other languages
WPF From PowerShell - Select-Grid
After looking over the scripts I’ve pasted in the last few days it struck me that all of them load the UI from XAML — and for the most part, you can... more »
0 commentsSave Tags: .net, frameworks, tools
Simple Syntax Highlighting
Have you ever wanted to embed syntax highlighted code in your app? In the above demo, I wanted to include the code that created the demo in order to... more »
0 commentsSave Tags: gui, java
Closures in Java and Scala
People argue that verbose code is easier to understand. Do you agree when reading these two?
0 commentsSave Tags: java, other languages
Sorting Algorithms Demo
We all know that Quicksort is one of the fastest algorithms for sorting. It's not often, however, that we get a chance to see exactly how fast... more »
2 commentsSave Tags: how-to, java, research
Java: Beautiful enums
Whatever complaints you may have against java, I think you have to grant that at least enums are a thing of beauty.
0 commentsSave Tags: java
Scala: For all you know, it's just another Java library
It's starting to happen... the FUD around Scala. The dangers of Scala. The "operational risks" of using Scala. It started back in November when I... more »
0 commentsSave Tags: other languages
Everything I Needed to Know About Programming I Learned from BASIC
Edsger Dijkstra had this to say about Beginner's All Purpose Symbolic Instruction Code: It is practically impossible to teach good programming style... more »
1 commentsSave Tags: opinion, other languages
A Java to x86 compiler written in F#
While most students chose to write their compilers in Java or C#, my partner and I wrote ours in F#. Though I won’t be publishing the source code -... more »
0 commentsSave Tags: java, other languages
Pattern matching on Java objects with Tom
This post presents a quick overview of the mechanism that Tom provides to enable pattern matching on plain Java objects.
0 commentsSave Tags: java, other languages
WPF Meets the iPhone
The iPhone is one of the most compelling and exciting user interfaces to appear on any consumer electronic device, with many innovations that make it... more »
0 commentsSave Tags: frameworks, microsoft, mobile
Automated Unit Testing your Java using ScalaCheck
I’m assuming you’re familiar with traditional mainstream unit testing techniques such as that purported by JUnit, NUnit and so on. Automated unit... more »
0 commentsSave Tags: java, other languages
via