Grooveshark for listening to music

by paul on January 17, 2012

I’ve just started using Grooveshark.com for listening to music. Running in the browser, its a great cross platform solution – no installs necessary. I’m just running the browser on my MythTV media center, with the sound via the TV. The quality seems great, even though I’ve got it on the lower quality, and I’m hoping [...]

{

Continue Reading Comments on this entry are closed }Media center

Fixing browser sound on Ubuntu 11.04

by paul on January 17, 2012

I’ve finally fixed sound via the browser on my Ubuntu 11.04 MythTV media center. MythTV was working fine, but the browsers never even tried to play sound (the sound settings would show NO applications using sound, when Chrome or Firefox should have been).
The information I needed was here and I had no /etc/asound.conf so I [...]

{

Continue Reading Comments on this entry are closed }Linux

Could not complete schema update

November 3, 2011

I recently mapped a JPA entity to a view, and encountered this error while using hibernate to update the database schema:
ORA-01702: a view is not appropriate here
[SchemaUpdate.execute] could not complete schema update
I was using the Oracle JDBC drivers 10.1.3.3 – luckily, the solution was to upgrade the drivers – when using 11.2.0.2.0 it works fine.
Download [...]

On to some exciting stuff

October 17, 2011

I went to a Agile Sydney meetup recently – “Automated web tests as a team communication tool” – by John Smart of Wakaleo Consulting. It was great stuff, and the presentation is now online.
There is a nice story here in that the project feature set is documented via
easily readable and executable tests, and the [...]

Using the Crystal Reports Java API to generate PDF

September 15, 2011

I recently had to investigate how to generate a PDF from a Crystal Report created by another team. Without knowing anything about Crystal Reports, I had to google around for information and piece it all together. It turns out to be really simple once you know how.
We were using Business Objects 4.0, and probably the [...]

Easy classpaths with Java 6

September 12, 2011

Back in the day it used to be a bit more difficult than it is now to dynamically generate your java application classpath – you’d have to write a script to loop over all the jar files in a directory, appending them to your classpath variable – like this.
Since Java 6 though, its been a [...]

Turning off JDK logging

September 10, 2011

I’ve been developing a simple little command line application and one of the libraries I’m using seems to log debug information to the console. To clean up the console output, I had to turn off the JDK by using:

LogManager.getLogManager().reset();

This seemed to do the trick for me, but [...]

JUnit parameterized test with Spring autowiring AND transactions

September 8, 2011

I’ve been writing JUnit Parameterized tests (a nice intro here – also see Theories) to do some data driven API testing. Now, when introducing Spring into the mix there are a couple of extra things to do. I came unstuck though because I was trying to do Transactional tests – since I’m now using @RunWith(Parameterized.class) and [...]

Week in Review – 2011-33

August 19, 2011

I’ve occasionally been frustrated by the output of ‘ps -ef’ not showing the full command line for the processes. Well, it turns out that the solution is as simple as piping the output to a file – i.e. ‘ps -ef > ps.txt’ – now I can easily see the FULL command line for my java processes.
I bought [...]

Week in Review 2011-32

August 12, 2011

This post is on the money. Humorous and accurate. I’ve seen this all before.
There is a very interesting podcast on the software patent situation at NPR Planet Money.
I’m in a bind! I’m ready to launch a new app (Grails based), but my VPS with 768MB memory can’t handle it (its running vsconsole already, and apache, mysql etc). [...]