Dev Platforms

Development platforms in general

Stupid monitoring trick: Watch mysql queries fly

Put this somewhere in your ~/bin:
watch ‘echo “show processlist” | mysql -u whateveruser –password=mypassword | grep -v “show processlist” ‘
Now run it and you will have a poor man’s monitor, kind of like top but for MySQL. That coupled with screen (or multiple terminals) may give you some quick and easy piece of mind.

This […]

Speed Up Firefox web browser – Ubuntu Geek

Ubuntu Geek provides a great little guide on speeding up Firefox. A lot of the about:config settings he proposes changing are already fairly optimal on a Mac, but disabling IPv6 seemed to make the most difference on my case.

[From Speed Up Firefox web browser | Ubuntu Geek]

By |April 9th, 2009|Mozilla XUL|Comments Off

JIRA To Omnifocus Script

This script logs into your JIRA and creates OmniFocus tasks for each of the JIRA items that are assigned to you, so they sync to your Omnifocus for iPhone, you only have to keep track of one inbox, etc. It only takes a tiny bit of setup.

Ruby Appscript – Sweet automation

Yesterday a coworker pointed me to ruby’s appscript. I have found it nothing short of amazing. I love my Mac, and many of us like the idea of automating our software, until we try to use AppleScript to do it. To say that Applescript is professional developer unfriendly is an understatement. I like ruby but […]

By |January 23rd, 2009|Mac, Ruby|2 Comments

Concurrency Strategies for Hibernate Caching

Caching and concurrency management are tricky. If you have a cache that lives in memory but you have updates to the database that the objects originally came from, how are you going to make sure that the cached objects still reflect the contents of the database? This really depends on what type of data you […]

By |July 30th, 2007|Java|Comments Off

On the topic of assertions

Every assertion should be thought from the standpoint of

What was expected
What actually happened

Translation: assertTrue should always, always have a message.

Consider the following:

assertTrue(mv.getViewName()
.startsWith(myController.getSuccessView()));

This will only return “assertion failed”. Which is great, but how do we know what happened? If this is buried on one of the lunt automated remote builds, how […]

Wazaabi – XUL for RCP.

This opens pretty interesting possibilities:

Via TheServerSide:

Wazaabi includes a GUI framework that brings XUL to Eclipse RCP plugin developers and a set of components that link the client-side XUL based viewers and forms to server-side business components. Thus, rich client developers can use XUL to code a GUI, rather than using SWT.Wazaabi brings XUL to […]

Cheatsheet: Favorite Eclipse Plugins

This is a quick little cheatsheet with my favorite eclipse plugins and the locations of their update sites. It’s so I can get back up and running quickly when reinstalling eclipse from scratch.

Eclipse Checkstyle – http://eclipse-cs.sourceforge.net/update
Spring IDE – http://springide.org/updatesite/
Fitnesse by Band XI – http://www.bandxi.com/fitnesse/
Subversion for Eclipse – http://subclipse.tigris.org/update_1.0.x
Memory Monitor – http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/updates
Mylar – http://download.eclipse.org/technology/mylar/update-site/e3.2 (or […]

By |November 15th, 2006|Eclipse|1 Comment

Graphical Modeling Framework

Boy don’t I know this – in a prior life I wrote a GEF editor for a workflow engine.

Let me be blunt: In the past, creating graphical editors within Eclipse using the Graphical Editor Framework (GEF) was slow and painful. It involved understanding a complex framework and quite a bit of redundant code. That […]

By |September 15th, 2006|Eclipse|Comments Off

Using Hibernate Validators with Spring and Hibernate

In this article, Ted Bergeron shows you how to use the Validator component of Hibernate Annotations to build and maintain validation logic easily in your Web apps.Hibernate can meet your validation needs

technorati tags:java, validation

By |September 14th, 2006|Best Practices, CBBTR, Java|Comments Off