Wednesday, March 02, 2005
Making JBoss Work, Part 1: Installing and Configuring JBoss
Thursday, February 10, 2005
Comparing MySQL performance
With the introduction of the 2.6 Linux kernel, FreeBSD-5-STABLE, Solaris 10, and now NetBSD 2.0, you might be wondering which of them offers superior database performance. In my previous article, I discussed the tools I chose to test these venerable operating systems and the methodology by which they were tested. The result is this MySQL performance comparison between OpenBSD 3.6; NetBSD 2.0; FreeBSD 5.3 and 4.10; Solaris Express (build 69); and Linux 2.4 and 2.6 (Gentoo-based). Read on for the results.http://software.newsforge.com/article.pl?sid=04/12/27/1243207
J2ME Tutorial, Part 1: Creating MIDlets
J2ME Tutorial, Part 1: Creating MIDlets by Vikram Goyal -- Java 2 Micro Edition (J2ME) combines a resource-constrained JVM and a set of Java APIs for developing applications for mobile devices. Here is a step-by-step guide to creating MIDlets, testing and deploying these MIDlets, and a look at the lifecycle of a MIDlet.
Friday, February 04, 2005
STable JavaBean
STable JavaBean |
Description | Installation | Download | Contact | License |
Description - top |
STable is a Javabean that extends the JTable by implementing a rowColor selection for odd and even ones.
|
Installation - top |
Just put the STables.jar file to your classpath, and iclude it with import beans.STable statement.
you can add it to your palette in NetBeans IDE through the Palette manager: |
Download - top |
STable.jar - 7Kb
STable-src.tar.gz - 7.4Kb |
Contact - top |
mailto:gezerlis |
License - top |
Academic Free Licensev. 2.1
This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following notice immediately following the copyright notice for the Original Work: |
Wednesday, February 02, 2005
UniGreek
"...UniGreek is a software tool that allows you to generate Unicode-compliant, polytonic Greek characters using a standard English keyboard. Simply type characters on your keyboad, using an easy-to-learn and standardized system called beta code, and UniGreek converts them into the proper Unicode characters that can be copied and pasted into any Unicode-compliant application. For more information, visit the About UniGreek page..."
http://www.randyhoyt.net/projects/unigreek/
Monday, January 31, 2005
ACX 111 WiFi
General
Resources
Driver
What i found out is that a lot of people have problems with other NICs that come with a new chip every 2-3 months. There is a very nice effort at: http://acx100.sourceforge.net/. My machine is a P4CPU@1GbRAM with SuSE 9.1 Personal Edition. The images above are snapshots taken from the SuSE Hardware Tool. I will try to configure it and will blog on it. I am also going to try and work with the USB D-Link module 120+. Here is an article on USB wlan configuration.
This is Dlinks' webpage on the wlan card.
No software patents banner
The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and, to some extent, the much more complex TIFF format. (See the main page or the history page for background information.) Here we'll concentrate on two major uses: the World Wide Web (WWW) and image-editing.
For the Web, PNG really has three main advantages over GIF: alpha channels (variable transparency), gamma correction (cross-platform control of image brightness), and two-dimensional interlacing (a method of progressive display). PNG also compresses better than GIF in almost every case, but the difference is generally only around 5% to 25%, not a large enough factor to encourage folks to switch on that basis alone. One GIF feature that PNG does not try to reproduce is multiple-image support, especially animations; PNG was and is intended to be a single-image format only. (A very PNG-like extension format called MNG was finalized in mid-1999 and is beginning to be supported by various applications, but MNGs and PNGs will have different file extensions and different purposes.)
For image editing, either professional or otherwise, PNG provides a useful format for the storage of intermediate stages of editing. Since PNG's compression is fully lossless--and since it supports up to 48-bit truecolor or 16-bit grayscale--saving, restoring and re-saving an image will not degrade its quality, unlike standard JPEG (even at its highest quality settings). And unlike TIFF, the PNG specification leaves no room for implementors to pick and choose what features they'll support; the result is that a PNG image saved in one app is readable in any other PNG-supporting application. (Note that for transmission of finished truecolor images--especially photographic ones--JPEG is almost always a better choice. Although JPEG's lossy compression can introduce visible artifacts, these can be minimized, and the savings in file size even at high quality levels is much better than is generally possible with a lossless format like PNG. And for black-and-white images, particularly of text or drawings, TIFF's Group 4 fax compression or the JBIG format are often far better than 1-bit grayscale PNG.)
http://www.libpng.org/pub/png/pngintro.html
Xfce short review
Saturday, January 29, 2005
Xfce - Not too big, not too small
Tomorrow I will try to use it on a regular basis on my Ubuntu box.
http://www.ubuntulinux.org/wiki/LowEndSystemSupport/view?searchterm=xfce
More on Xfce (abstract from xfce.org):
Xfce 4.2 is the first desktop environment to ship with an easy-to-use and platform-independent graphical installation wizard, which takes care of compiling and installing both Xfce and any contributed packages on your computer. Visit the os-cillation installer website for download links and instructions.
The new Xfce desktop, while still being lightweight and easy to install, offers several new and awaited features in comparison with its previous 4.0 stable release like a brand new session manager, keyboard shortcuts, a graphical desktop menu editor, multihead support (Xinerama and Multi-Screen mode), Kiosk Mode support (to lock down Xfce in cooporative environments), optional support for icons in the desktop menu, a desktop menu plugin for the panel, CUPS and BSD-LPR printing support, a new icon theme, and various other small enhancements. Moreover, Xfce 4.2 provides bleeding-edge features, like a compositing manager for xfwm4 (a manager for the new X.org Composite extension, which brings true transparency to the Xfce Desktop) and support for the XDG base directory specification (see this page for an explanation of the new file locations). A complete list of changes between Xfce 4.0 and 4.2 is available here.
Friday, January 28, 2005
Gnome Art work
Here is my favourite:
Name: GNU OX
Author: Kijun Moon Release Date: 01/18/2005 Popularity: 278.4 Downloads per Day Resolutions: jpg-1024x768 ; jpg-1400x1050 ; jpg-1600x1200 Info (Picture): GNU OX on the wave |
Java on Ubuntu
Due to Non-Free status of most Java implementations, Ubuntu does not include Java support natively.
In the repository you can find the latest Sun JRE and Sun JDK prebuilt for Ubuntu Warty. At the moment there is Sun JRE/JDK 1.4.2_06, Sun JDK 1.5.0 (package from above source) and Sun JRE/JDK 1.5.0 Update 1.
deb http://ubuntu.tower-net.de/ubuntu/ warty java
If you have not done already, you must add the multiverse repository for one dependency, too:
deb http://archive.ubuntu.com/ubuntu/ warty multiverse
The package is called somathing like sun-j2sdk1.5 (to find out its actual name do a search in synaptic for 'sun-j2' or type 'sudo apt-cache search sun-j2'.
Alsoe look at this for a generic aproach:
http://www.ubuntulinux.org/wiki/AddingJavaSupport
- Download jre-1_5_0_01-linux-i586 from here http://java.sun.com/j2se/1.5.0/download.jsp (Update 1)
- $ cd browse_to_your_download_folder
$ sh jre-1_5_0_01-linux-i586.bin
$ sudo mkdir /usr/java
$ sudo mv jre1.5.0_01/ /usr/java/
$ sudo chown -R root:root /usr/java/jre1.5.0_01/
$ sudo ln -s /usr/java/jre1.5.0_01/bin/java /usr/bin/java
$ sudo ln -s /usr/java/jre1.5.0_01/bin/java_vm /usr/bin/java_vm
$ sudo gedit /etc/bash.bashrc
- add this to the bash.bashrc
JAVA_HOME=/usr/java/jre1.5.0_01
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
then save it.
- Then to make sure it works type this: java -version
- Adding Java Support to Firefox 0.93 (as delivered with Warty):
$ cd /usr/lib/mozilla-firefox/plugins
$ sudo ln -s /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
Thursday, January 27, 2005
WiFoobar
D-Link | DWL-520+ | acx100 | Yes | Yes | Yes | Just Works, only distro that autodetects this one |
The strange thing is that my DWL-520+ wlan card uses the acx111 Chipset. This is my lspci -n output:
0000:00:0c.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless InterfaceLater in the same page I found:
Subsystem: D-Link System Inc: Unknown device 3b04
Flags: medium devsel, IRQ 5
Memory at dfffa000 (32-bit, non-prefetchable)
Memory at dffc0000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [40] Power Management version 2
"...Does not work for me unless I recompile the pci_acx module with latest patches. After that it works. WEP not yet supported for acx111 cards..."Bad luck...
WiFoo
My NIC is: D-Link AirPlus XTreme G+ DWL-520+
I installed the OS (Ubuntu GNU/Linux 4.10), but after finishing setup I put the NIC to the system. The bad thing is that Ubuntu is the only distro that supports the wlan card from installation. Anyway, I 'll try again this afternoon.
The Warty Warthog
"..."Ubuntu" is an ancient African word, meaning "humanity to others". Ubuntu also means "I am what I am because of who we all are". The Ubuntu Linux distribution brings the spirit of Ubuntu to the software world..."
It took me less than 30 minutes to install and upgrade this beautiful GNU/Linux distro. Its GNOME Desktop is slick yet fast, and I am not at all dissapointed, being a fanatic KDE user. Most of the times, I swithed distributions because of GDM but not this time.
Tips:
- If you want to change the root password type:
host~#: sudo passwd root - To allow root logins type:
host~#: gdmconfig It invokes the configuration panel for your login screen.
- programming
- developement
- Simple/Medium Server applications
Blog 0
Subjects covered:
- GNU/Linux Systems
- Free Software issues
- Software Engineering - Algorithms, Software Management
- Java Programming - J2SE 5.0, JDBC issues
- Contemporary Art and Automation/Information Technology