About AI and neural networks
In my last post I described the high-level architecture of my software, how the soccer match part is divided into a client that does the work on... more »
0 commentsSave Tags: c-and-cpp, research
Binary search trees
This applet animates the functioning of several dictionary data structures. It can be used as a teaching aid or for self-study. By watching the... more »
0 commentsSave Tags: how-to, java
Programmer Puzzle: Drawing ASCII Art in the Shortest Code
This weeks programmer puzzle challenge - to draw some ascii art shapes in the shortest possible code... have fun.. :-)
2 commentsSave Tags: .net, java, javascript, other languages
Type Inference vs. Static/Dynamic Typing
Above, Jeff explicitly separates inference and dynamic-ness. Unfortunately, later on he proceeds to imply that inference is a small step toward... more »
0 commentsSave Tags: opinion
How to call C functions from C++ and vice versa?
Because of the well-known name managling mechanism used in C++ compilers, a C++ function compiled by a C++ compiler cannot be called by C programs... more »
3 commentsSave Tags: c-and-cpp, how-to
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
DSLs and more with ANTLR 3.0
A very thorough intro to ANTLR: a free, open source parser generator tool that is used to implement "real" programming languages and domain-specific... more »
0 commentsSave Tags: frameworks, how-to, java
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
JavaRebel and the Scala Interpreter (Can your interpreter do this?)
A week ago I went to the Scala Liftoff Unconference, which was a pretty fun time. At some point I'll write about a conversation I had with Greg... more »
3 commentsSave Tags: java, other languages, tools
Sexy Swing App - The Unified Toolbar
The unified toolbar was introduced in Tiger, and provides a distinctive look to Mac applications. Apps written for the Mac that don’t incorporate this... more »
0 commentsSave Tags: apple, gui, how-to, java
Why should I care about OSGi anyway?
InfoQ has a discussion thread summarizing the reactions to the announcement of the SpringSource Application Plaform. Michael Burke asked a great... more »
0 commentsSave Tags: frameworks, java, opinion
Dependency Management With Ant And Ivy
This is an excellent article on Ivy. While it doesn't go into great detail of each feature the author gives a great starting working example that is... more »
0 commentsSave Tags: java, open source
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
Swing: Mac OS X alpha panel
Mac OS X has a particular type of window call "transparent panel". The Apple human interface guideline tell us about this kind of window
0 commentsSave Tags: apple, gui, java
The Thing About Git
The thing about Git is that it’s oddly liberal with how and when you use it. Version control systems have traditionally required a lot of up-front... more »
0 commentsSave Tags: opinion, tools
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
Typesafe DSLs in Java: Part 1 --Typesafe Bytecode
Domain Specific Languages (DSLs) have been brought to Java under the name of Fluent Interface. However most of them utilize a lot of strings and... more »
1 commentsSave Tags: java, research, trends
Stupid JVM Tricks - Read locks from just synchronized
Can Java's synchronized keyword give you read lock semantics? You'll be surprised by the answer...
1 commentsSave Tags: java
Better unit tests with ScalaCheck (and specs)
Writing unit tests can seem tedious sometimes. Some people tell you: "Hey, don't write unit tests only! Do Test-Driven Development". You write the... more »
0 commentsSave Tags: frameworks, methodology, other languages
Build Huffman Compression in Ruby
Many wonderful things can be done with binary trees. One brilliant usage of the binary tree was proposed by David Huffman in 1951 at MIT which has... more »
0 commentsSave Tags: ruby
Why Scala?
Scala integrates features of object-oriented and functional programming languages. It is statically typed and compiles to JVM bytecode. This document... more »
1 commentsSave Tags: java, other languages
Java: automatically increment build number
An application build number is one of the most useful debugging tools out there. When something in the field doesn't work, you need to know which... more »
2 commentsSave Tags: java, tools
Using SQL on Java Collections
On the project I work on, we have an in memory model of some particularly useful data (a POJO model as it were). A situation that regularly occurs... more »
0 commentsSave Tags: frameworks, java
GUI Building with Scala
Demonstration of nascent library for building Swing interfaces in Scala.
0 commentsSave Tags: gui, java, other languages
Eclipse TPTP Webinar
Eclipse is hosting a webinar titled Profiling and Testing Applications Using the Eclipse Test and Performance Tools Platform (TPTP) on November 14,... more »
1 commentsSave Tags: announcement, eclipse, open source
via