Archive for April, 2008

How to be a Programmer »

This is a free e-book which is worth reading for programmer. I wish someone have told me all these when I started my career as a programmer instead of learning most of those things the hard way. Free e-book How to be a Programmer by Robert L Lead. If you think that technical skills are [...]

Software Installation Made Easy BitNami »

BitNami stacks make it incredibly easy to install your favorite open source software. Application stacks include an open source application and all the dependencies necessary to run it, such as Apache, MySQL and PHP or Ruby. The stacks are available in Windows, Mac, Linux, Solaris and Solaris. There are various application stacks available from blogging, [...]

Calais – Annotates Content with Rich Semantic Metadata »

As quoted from the website, Calais seeks to help make all the worlds content more accessible, interoperable and valuable via the automated generation of rich semantic metadata, the incorporation of user defined metadata, the transportation of those metadata resources throughout the content ecosystem and the extension of it’s capabilities by user-contributed components. At the core [...]

Search Clustering Engine using Carrot2 »

Carrot2 is an Open Source Search Results Clustering Engine. It can automatically organize (cluster) search results into thematic categories. As quoted from the website, Carrot2 provides an architecture  for acquiring search results from various sources (YahooAPI, GoogleAPI, MSN Search API, eTools Meta Search, Alexa Web Search, PubMed, OpenSearch, Lucene index, SOLR), clustering the results and [...]

Trac: Integrated SCM and Project Management »

This is the issue tracking system I am currently using. Trac is an enhanced wiki and issue tracking system for software development projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress. Trac has an interface to Subversion, an integrated Wiki and convenient reporting facilities. As quoted from [...]

Natural Language Processing using OpenNLP Tools »

I used tools from OpenNLP as part of my research on natural language processing and semantic web OpenNLP is an organizational center for open source projects related to natural language processing. It hosts a variety of java-based NLP tools which perform sentence detection, tokenization, pos-tagging, chunking and parsing, named-entity detection, and coreference using the OpenNLP [...]

CSLA.NET »

This is the framework I am looking at currently. CLSA.NET by Rockford Lhotka is an application development framework that reduces the cost of building and maintaining applications. It stands for Component-based, Scalable Logical Architecture. I am trying to build a trading system with complex business logic using it.

Use HtmlUnit for Web Scraping »

HtmlUnit is a unit testing framework for web applications but it also can be used for web page scraping considering its capabilities. HtmlUnit is a “browser for Java programs”. It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc… just like you do in your [...]

xUnit.net – Unit Testing for .NET »

TestDriven.NET is one of my favorite add-in for Visual Studio for unit testing. Normally I used NUnit or MbUnit for my unit testing. Recently I was trying on xUnit.net which is still not supported by TestDriven.NET yet. However, it has a a TestDriven.net 2.x test runner (inside Visual Studio) which you can use. I am [...]

Mogwai FormMaker: Design Your Swing Form with JGoodies »

Mogwai FormMaker is another useful tool if you want to write a Swing application using JGoodies. It  is a visual form editing tool for developing Swing forms using the JGoodies FormLayout. Using this tool you can fast and easily develop rich client forms. It contains two powerful modules : a visual editor for rapid form [...]

Open Source Java UML Modeling Tools »

Below are other UML tools that I have tried before besides those I wrote previously. ArgoUML As quoted, ArgoUML is the leading open source UML modeling tool and includes support for all standard UML 1.4 diagrams. It runs on any Java platform and is available in ten languages. All 9 UML 1.4 Diagrams supported Platform [...]

Power Architect: Data Modeling and Profiling Tool »

Just after I wrote about Mogwai ER Designer NG, someone told me about Power Architect. As quoted, Power Architect is a user-friendly data modeling tool created by data warehouse designers, and has many unique features geared specifically for the data warehouse architect. It allows users to reverse-engineer existing databases, perform data profiling on source databases, [...]

Using SQuirreL SQL together with an ER Designer »

Most of us should be familiar with SQuirreL SQL. It is a graphical Java program that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc.   I used SQuirreL SQL in almost all my projects. It supports a wide range of databases. Axion [...]

Mogwai ER Designer NG »

This is another ER designer that I am currently using on one of my projects Mogwai ER-Designer NG is a ER modeling tool like ERWin. According to the website, it is based on Java and can be run on Windows and Unix systems has a powerful WYSIWYG for physical database design handles tables, relations, indexes [...]

Java: green UML for Software Engineering and Reverse Engineering »

green UML is another useful Eclipse plugin  that can be used for UML modeling and reverse engineering. As quoted from the website, green is a LIVE round-tripping editor, meaning that it supports both software engineering and reverse engineering. You can use green to create a UML class diagram from code, or to generate code by [...]

Java Concurrent Modification Exception »

I was troubleshooting a multi-threaded application for a occasional exception. Run the following code public static void main(String[] args){ Map<String,String> context = new HashMap<String,String>(1); context.put(“key_1″, “value_1″); context.put(“key_2″, “value_2″); for (String key: context.keySet()){ System.out.println(context.get(key)); context.remove(key); } } You will encounter the following runtime exception Exception in thread “main” java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry (HashMap.java:841) at java.util.HashMap$KeyIterator.next(HashMap.java:877) I am [...]

Java: Currency Rounding Issue »

This is one of the issues raised to me recently. I have a function that round the amount to the nearest 10 cents. E.g. 0.53 is rounded down to 0.5, and 3.15 is rounded up to 3.2. public static String formatNearestTenCent(double value) { DecimalFormat formatter = new DecimalFormat(“###.#”); return formatter.format(value); } But look at the [...]

PowerGUI : PowerShell Editor »

PowerGUI is the PowerShell editor that I currently used. As quoted from the website, PowerGUI is an extensible graphical administrative console for managing systems based on Windows PowerShell. These include Windows OS (XP, 2003, Vista), Exchange 2007, Operations Manager 2007 and other new systems from Microsoft. The tool allows to use the rich capabilities of [...]

Reset Your Password on Windows Vista, Windows XP, Windows 2000, Windows 2003 Server, Windows NT using USB Drive »

In my earlier article, I described various tools that can be used to reset Windows password. To use these tools, I have to create a bootable CD from the ISO image given. I have encountered one problem recently whereby one of the laptop passed to me has no floppy and the external CD-ROM is missing. [...]

Reverse Engineer Your Java Code Using Omondo EclipseUML »

Omondo EclipseUML is a useful Eclipse plug-in that I recently used for Java code generation, reverse engineer Java code, and UML modeling. There are 2 free editions available for download, which are the Java Modelers and Java EE Modelers. One things I like is that I can easily reverse engineer the existing legacy Java code [...]