Archive for the ‘Uncategorized’ Category
JSR-166: The Java fork/join Framework
The JSR-166 are concurrent utilities that were included in Java 5. The fork/join framework was a piece of it that didn’t make it into Java 5. After all this time the fork/join framework is finally making it into JDK 7. What surprised me about the framework is that it is so [...]
In: Uncategorized · Tagged with: java, sorting, threading
Setting up a VirtualBox LAMP Server
Introduction
I recently decided to play around with web development a little bit. Not being familiar with setting up a web server, I decided to setup a VirtualBox LAMP server. Since I couldn’t find a good guide that went through all the steps of setting up a VirtualBox LAMP Server in one place, I [...]
In: Uncategorized · Tagged with: lamp, virtualbox
NLTK Regular Expression Parser (RegexpParser)
The Natural Language Toolkit (NLTK) provides a variety of tools for dealing with natural language. One such tool is the Regular Expression Parser. If you’re familiar with regular expressions, it can be a useful tool in natural language processing.
Background Information
You must first be familiar with regular expressions to be able to fully utilize the [...]
In: Uncategorized · Tagged with: nlp, nltk, python
Sort Optimization (Part 2) with JDK 6 vs JDK 7
In part 1, I went over my first foray into the world of sorting algorithms. Since then, I’ve had some other ideas on how to improve my quicksort implementation. One idea that I had while originally working on the sorting algorithm, was to rework the partition function to take into account duplicate elements. I had [...]
In: Uncategorized · Tagged with: benchmarks, java, shootout, sorting
Sorting Algorithm Shootout
Since I did my Sort Optimization post, I’ve been keeping an eye on things that happen in the sorting world. Recently an article popped up on Reddit about someone wanting to replace the JDK sorting algorithm with a Dual Pivot Quick Sort. This lead to the discovery that Tim Sort would be replacing Merge [...]
In: Uncategorized · Tagged with: java, shootout, sorting
