On a slashdot thread I was discussing whether I should roll my own data structure or try to use one of the many, many Sun data structures.
Someone recommended this book.
Archive for the 'Java' Category
Researching this Spring Framework. Most interesting so far is it’s touting of being modular. As in, you might only use it for a single feature and it wouldn’t be bloated.
Following a hello world tutorial, I got stuck on this error:
java.lang.UnsatisfiedLinkError: no swt-carbon-3034
Couldn’t find anything so I thought I’d post the fix for someone like me out there:
Found it from an unusual source. Seems I couldn’t get the VM parameters to work so I have to do SWT’s not recommended suggestion of copying the […]
Finished coding a validation action that parses a word followed by an array of words. For example, “ABC” would validate if “Another Bad Creation” was passed with it. This is going to be used in the ever complicated Acronym project that has been taking me forever to finish.
It’s case insensitive, you can see […]
A small class to generate the mathematical constant “e”. Complete with timer and digits per second clock. Unpolished. Here’s a quick benchmark and you can see that it doesn’t scale.
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
/**
* calculate mathmatical constant e
*/
public class ECalculator {
private static final int numberOfDigits = 1000;
public static void main(String[] args) […]
The following build.xml file has a few targets that make compiling a project much simplier. Read on for more details.
I have the following directory structure:
(chris@hobbes)-(BackupLink)$ ls -l
total 20
drwxrwxr-x 3 chris chris 4096 Apr 21 00:07 bin
-rw-rw-r– 1 chris […]
Having some problems getting Ant running the way I want to. It’s another question of whether the IDE (Eclipse) is being too inflexible or if I’m not doing something right. Eclipse doesn’t ship with functionality that allows ant build options. Here’s a log of what I’ve been trying.
Update on new functionality.
I’ve deployed the 1st version of the Acronym Challenge webapp to the server at this location.
Restarting Tomcat everytime I deployed with the Lomboz Eclipse plugin was proving to be too lengthy, so I set out trying to customize Ant a bit.