Saturday, October 14, 2006

Best of (the serverside)

5 Principles For Programming: (1) Fail Fast (don't hide errors), (2) Write Less Code (and Don't Repeat Yourself), (3) Computer Programs are for People (4) Do the Right Thing (5) Reduce State (6) Know Your Shit

Sunday, October 01, 2006

Linux on Acer TravelMate 4062

  • Ubuntu 6.0.6 - nice, but does not use the 1280x800 screen resolution and wireless does not work
  • OpenSuse 10.1 - configured the display correctly to 1280x800, wireless is OK, but the wired ethernet does not work. Second install: wired ethernet is OK. The NetworkManager applet could not connect to wireless, but disconnected the wired.
  • Fedora Core 5 - Desktop/System Settings/Display knows the 1280x800 resolution, but the Desktop/Preferences/Screen Resolution does not. Wireless is not detected.

Saturday, September 16, 2006

Intel PROSet on Acer 4062

Initial state: wireless works with the pre-installed windows drivers, but I need some features of Intel PROSet.
  1. First try: download latest Intel PROSet (version 10.1.1). Install. Reboot. Standard (Windows XP) wireless driver works (as before), Intel PROSet does not work (does not find any Intel Wifi adapter) and configuration changes do not help.
  2. Second try. Download Intel PROSet 9.0.0.39 from Acer's site. Install. Reboot. No wireless at all.
  3. Third try. Upgrade Intel PROSet to version 10.1.1. It works.

HTML GUI - Stripes

Stripes wants to be simpler than other web frameworks and succeeds. It is much easier to create a stripes GUI and results in less complexity than struts. See http://stripes.mc4j.org/confluence/display/stripes/Quick+Start+Guide for a first impression.

Sunday, May 28, 2006

Free software

TheOpenCD. (AbiWord, OpenOffice.org, MoinMoin, PDFCreator, 7-zip, Notepad2, etc.)

Thursday, May 25, 2006

Logging to syslog

Enable network messages:
* add "-r" option to /etc/sysconfig/syslog (Fedora Core 4)
* add the "local6" feature to /etc/syslog.conf
local6.*   /var/log/local6.log
* restart syslog (/etc/rc.d/init.d/syslog restart)

Check if syslog is listening:
root@yozi:/etc/rc.d/init.d> netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 *:syslog *:*


Rotate the new log:
* add /var/log/local6.log to /etc/logrotate.d/syslog (Fedora Core 4)
* logrotate is started by anacron (/etc/cron.daily/logrotate)

Wednesday, May 24, 2006

Code generation

* JAG
* OpenXava and discussion at theserverside

Content Management

Thursday, April 06, 2006

Service Data Objects

SDO is based on the concept of disconnected data graphs. A data graph is a collection of tree-structured or graph-structured data objects. Under the disconnected data graphs architecture, a client retrieves a data graph from a data source, mutates the data graph, and can then apply the data graph changes back to the data source.

... from http://www-128.ibm.com/developerworks/library/specification/j-commonj-sdowmt/index.html ...

Service Component Architecture

• http://dev2dev.bea.com/technologies/commonj/index.jsp
• http://www.ibm.com/developerworks/library/specification/ws-sca/
• http://www.iona.com/devcenter/sca/
• http://oracle.com/technology/webservices/sca
• https://www.sdn.sap.com/
• http://www.sybase.com/sca

Wednesday, January 11, 2006

Java ThreadPool

ThreadPool is available in Java 5.
For older Java versions, even the Jakart Commons ThreadPool points to util.concurrent.
LinkedQueue (Channel) and PooledExecutor are my first tested classes and work well.

Saturday, January 07, 2006

WebLogic on Fedore Core 4

WebLogic 8.1 did not work with JRockit (core dumps). Experienced networking problems with the Sun JDK 1.4.2. The solution: java -Djava.net.preferIPv4Stack=true

WebLogic 9.1 works fine with JRockit.