Skip to main content

Evan Summers

Evan Summers lives in Cape Town and plays Java, PostgreSQL and Linux. Most interested in crypto, systems monitoring and BI right now. Past interests include Swing, and future interests include mobi web.

 

evanx's blog

My usual Swing vs web two cent blah blah's

Posted by evanx on July 18, 2007 at 1:50 PM PDT

In The future of Windows should be open source, the author suggests

My checklist for the next year

Posted by evanx on July 14, 2007 at 5:43 AM PDT

Things to Streamline

I recently started writing a Swing feed reader (FeedTrove.dev.java.net) - which i was on my checklist, so that's ticked - but i have still more things to do there...

Trip and Tick: svnserve on linux et al

Posted by evanx on July 9, 2007 at 11:27 AM PDT

I spotted this handy blog entry and so decided to give it a go, on a brand new $15 linux VDS. Here are my notes, which are consequently a rehash of that blog.

A Short Note About Properties And Politics

Posted by evanx on July 7, 2007 at 9:13 AM PDT

Another reason why we need properties in the language is ... for "native" database queries, e.g.

Person person = createQuery(new WhereLikePredicate(Person.name, "Homer Simpson"));

where Person.name is a property, ie. Person.class has an accessor getName().

Entity Equals

Posted by evanx on June 28, 2007 at 8:01 AM PDT

Let's look at neatening up those messy equals() and hashCode() methods in our entities.

Chronicles of the Trove: Fixing by Deprefixing

Posted by evanx on June 17, 2007 at 7:42 AM PDT

I have one very simple rule for design, namely to create as many classes as possible! Let's name this "Evan's Rule of Simplicity by Multiplicity."

Java SSL Sockets

Posted by evanx on May 28, 2007 at 10:45 PM PDT

Let's build a trivial client/server demo using SSLServerSocket and SSLSocket as provided by the Java Secure Socket Extension (JSSE).

Java Highlighter

Posted by evanx on May 8, 2007 at 2:10 AM PDT

In the Hyper Text Processor prequel, we processed half-baked HTML for this "Foundation Beans" series of articles.

Now let's meet the QHyperJavaProcessor, which highlights Java code in HTML pre blocks.

Splash Screen

Posted by evanx on April 25, 2007 at 1:44 AM PDT

If it's gonna take a while to start up our Swing app, then we probably wanna display a splash screen.

It's easy with Java6 - just add a -splash command-line option.

Encryptic

Posted by evanx on April 19, 2007 at 4:17 AM PDT

Earlier we considered using straight Base-64 for hiding sensitive data from prying eyes.

Let's take it a step further and actually encrypt the data using a known password.