The Nature of Lisp Pretty good article for developers who
have a mental block when it comes to Lisp.
Springing Ahead Toward the Open PaaS New VMware/Google
collaboration. Integration of Spring with GWT. Deploy Spring
apps to the Google App Engine.
Thursday, May 20, 2010
Thursday, May 6, 2010
Ubuntu 10.04 LTS
My first experience was with a very old system. It's an old
Dell server with two 400 MHz Pentium II CPUs, 1.5 GB RAM
and SCSI hard drives. I used the Upgrade button in the
Update Manager dialog. It ran more or less all day on this
slow hardware. The download got interrupted once but
it was able to resume without any trouble.
6715b with dual core Athlon 64, 4 GB RAM, 320 GB 7200 RPM
SATA drive, wireless. Just downloading the over 3400 packages
took about 12 hours, then it took another about 12 hours to finish
the upgrade. With certain packages it stops to ask you questions
and I wasn't sitting right there looking at it the whole time so it's
likely for a few hours of that second 12 it was just sitting there
waiting at a prompt. At one point wireless was down but it needed
the network and I had to cable up ethernet. When it finally rebooted
I saw issues with Gnome similar to the first system only worse. I
couldn't work around by changing the visual effects. Also after a
few tries most of my panel disappeared. Wireless did
come back up. I didn't really have a lot of time to mess around
and wound up recovering 9.10 from backups.
So far, this is pretty disappointing... 9.10 was a lot smoother.
Lots of people are having this problem. For some switching
window managers (metacity to compiz or vice versa) seems to
fix it:
worked fine with the new user. So I guess the way to recover
from this is to create a new user, then carefully move everything
but the config files from the old user to the new user.
Second try on the laptop. I tried the procedure described above,
still couldn't get things working with Metacity. Resigning myself
to Compiz for now.
Performance on my laptop OpenGL graphics is terrible.
(It's an ATI Radeon 1200). Also I get artifacts in some
OpenGL applications like Google Earth and SecondLife
(though frankly the Linux SecondLife client has not been
usable for me on any distro for a long time).
System->Administration->Hardware Drivers does not
offer any proprietary graphics driver. Envy does not
support Lucid. According to the AMD web site, my
graphics hardware has been moved to legacy support and
there will be no updates to the driver software after 2/2009.
This didn't work... when I tried running aticonf it said
something like 'no supported device was found'. This
messed up my desktop and even after uninstalling the
fglrx packages the window manager was not working
right. For a second time I bailed on Ubuntu 10.04 and
restored 9.10. It kind of looks like you can't get the
proprietary driver for 'legacy' ATI graphics devices and
the freeware drivers aren't so hot.
Dell server with two 400 MHz Pentium II CPUs, 1.5 GB RAM
and SCSI hard drives. I used the Upgrade button in the
Update Manager dialog. It ran more or less all day on this
slow hardware. The download got interrupted once but
it was able to resume without any trouble.
- System wouldn't reboot. It got the error "Gave up waiting for root device" and came up in the BusyBox shell. There's some discussion of this error here. If I exited out of BusyBox it would then come up. Fixed by adding 'rootdelay = 60' to the boot lines in /boot/grub/menu.lst.
- Window manager apparently not working. No bar above the windows with Menu, Maximize, Minimize, Close. Can't move windows. Can't change to a different virtual desktop. See this. Workaround: I tried switching my visual effects setting from 'none' to 'normal' and that fixed it.
- No virtual terminals. CTRL-[ALT-]-FN buttons take me to screens with video confetti or sometimes a flashing cursor. No fix/workaround for this yet.
6715b with dual core Athlon 64, 4 GB RAM, 320 GB 7200 RPM
SATA drive, wireless. Just downloading the over 3400 packages
took about 12 hours, then it took another about 12 hours to finish
the upgrade. With certain packages it stops to ask you questions
and I wasn't sitting right there looking at it the whole time so it's
likely for a few hours of that second 12 it was just sitting there
waiting at a prompt. At one point wireless was down but it needed
the network and I had to cable up ethernet. When it finally rebooted
I saw issues with Gnome similar to the first system only worse. I
couldn't work around by changing the visual effects. Also after a
few tries most of my panel disappeared. Wireless did
come back up. I didn't really have a lot of time to mess around
and wound up recovering 9.10 from backups.
So far, this is pretty disappointing... 9.10 was a lot smoother.
Lots of people are having this problem. For some switching
window managers (metacity to compiz or vice versa) seems to
fix it:
- My window captions are gone
- Title bars are missing after upgrade to Lucid
- Problems with the window manager
- Window borders keep disappearing
- Windows effects lost after logout/in and no titlebar
- Lucid Lynx 10.04 no minimize, maximize or close buttons
worked fine with the new user. So I guess the way to recover
from this is to create a new user, then carefully move everything
but the config files from the old user to the new user.
Second try on the laptop. I tried the procedure described above,
still couldn't get things working with Metacity. Resigning myself
to Compiz for now.
Performance on my laptop OpenGL graphics is terrible.
(It's an ATI Radeon 1200). Also I get artifacts in some
OpenGL applications like Google Earth and SecondLife
(though frankly the Linux SecondLife client has not been
usable for me on any distro for a long time).
System->Administration->Hardware Drivers does not
offer any proprietary graphics driver. Envy does not
support Lucid. According to the AMD web site, my
graphics hardware has been moved to legacy support and
there will be no updates to the driver software after 2/2009.
This didn't work... when I tried running aticonf it said
something like 'no supported device was found'. This
messed up my desktop and even after uninstalling the
fglrx packages the window manager was not working
right. For a second time I bailed on Ubuntu 10.04 and
restored 9.10. It kind of looks like you can't get the
proprietary driver for 'legacy' ATI graphics devices and
the freeware drivers aren't so hot.
Thursday, March 25, 2010
xv on Ubuntu
Remember good old xv? This worked for me on Ubuntu 9.10:
http://www.ulich.org/hints/xv_ubuntu.html
http://www.ulich.org/hints/xv_ubuntu.html
Friday, March 19, 2010
groovyConsole
Lately I've taken to using the Groovy Console for all
kinds of little interactive debugging and prototyping
tasks, like working out the syntax of a regular expression
or the sequence of calls to do something with a
Calendar object. How did I ever live without this?
It's incredibly fast compared to writing a test program,
compiling it, running it, repeat...
kinds of little interactive debugging and prototyping
tasks, like working out the syntax of a regular expression
or the sequence of calls to do something with a
Calendar object. How did I ever live without this?
It's incredibly fast compared to writing a test program,
compiling it, running it, repeat...
Thursday, March 11, 2010
JMockit
Using JMockit and this technique, for the first time since I
got interested in unit testing and TDD, I feel confident of
being able to write a unit test for absolutely anything.
Most frameworks don't support mocking final classes
and methods, static methods, constructors... but
JMockit seems to do it all. Unfortunately, so far I haven't
been able to get JMockit working in Groovy. JMockit
uses anonymous inner classes. Groovy uses closures
instead. In most ways closures are better but the lack
of anonymous inner classes does seem to create a
compatibility issue with JMockit.
got interested in unit testing and TDD, I feel confident of
being able to write a unit test for absolutely anything.
Most frameworks don't support mocking final classes
and methods, static methods, constructors... but
JMockit seems to do it all. Unfortunately, so far I haven't
been able to get JMockit working in Groovy. JMockit
uses anonymous inner classes. Groovy uses closures
instead. In most ways closures are better but the lack
of anonymous inner classes does seem to create a
compatibility issue with JMockit.
Friday, March 5, 2010
Spring Roo
Article about Spring Roo at JavaLobby
I think I understand better now what Spring Roo is for. My first reaction
was 'Huh? What do we need this for? Grails does the same thing.'
Roo deals with all the configuration that is one of the biggest costs of
working in Spring, without requiring you to commit to a whole different
framework (Groovy/Grails).
I think I understand better now what Spring Roo is for. My first reaction
was 'Huh? What do we need this for? Grails does the same thing.'
Roo deals with all the configuration that is one of the biggest costs of
working in Spring, without requiring you to commit to a whole different
framework (Groovy/Grails).
Subscribe to:
Posts (Atom)