By Yannick Loth, on December 17th, 2010
When you create a domain with –portbase 30000 option, you get the following ports:
Using port 30048 for Admin.
Using port 30080 for HTTP Instance.
Using port 30076 for JMS.
Using port 30037 for IIOP.
Using port 30081 for HTTP_SSL.
Using port 30038 for IIOP_SSL.
Using port 30039 for IIOP_MUTUALAUTH.
Using port 30086 for JMX_ADMIN.
Using port 30066 for OSGI_SHELL.
Of course, you may use different . . . → Read More: Glassfish ports

By Yannick Loth, on October 19th, 2010
I managed to flash my Speedtouch 706WL box and reconfigure it to work with Base (former Tele2, with former Tele2AllIn service) service provider, in Belgium.
Both Internet and Phone (VOIP) work fine.
Tele2/Base Speedtouch routers use a firmware that restricts configuration possibilities for their users. It also gives them direct access to the router’s configuration. I really don’t . . . → Read More: Tele2/Base VOIP & Router Settings – Speedtouch 706WL flash

By Yannick Loth, on August 1st, 2010
This is the line defining my bash prompt in .bashrc, using some colors:
PS1=’\[\e[0;32m\][\u@\H\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m\]]\[\e[1;32m\]\$\[\e[m\] \[\e[0m’
This is what my prompt looks like:
If I’m not wrong, the characters in bold give the content of the prompt, the other ones are color-codes.
I currently haven’t found out how to use this prompt by default for all users, even existing . . . → Read More: Color in bash

By Yannick Loth, on August 1st, 2010
On the web, you’ll find how to setup ArchLinux with LVM, or with RAID, or with encryption, but not with the combination of these three technologies. This article explains the different steps I took to setup these three technologies with ArchLinux.
Required skills:
Sound understanding of Linux (ArchLinux specifics may be useful…) and raid, lvm2, partitioning, encryption.
The story
During . . . → Read More: Installing Archlinux with software raid1, encrypted filesystem and LVM2

By Yannick Loth, on July 23rd, 2010
File locks control access to a file or a range of bytes within a file. This is necessary in situations where multiple simultaneously executing programs need to modify the same file.
File locking functionalities are provided within the NIO API, or more specifically in the java.nio.channels package.
The two most important classes for file locking are java.nio.channels.FileChannel and . . . → Read More: File Locking

By Yannick Loth, on May 28th, 2010
Here’s an interesting article, writte by Eric Geier, about current (May 2010) WPA/WPA2 security status: http://esecurityplanet.com/features/article.php/3884331/Busting-or-Trusting-Wi-Fi-Security-Myths.htm
I recommend it to everyone involved in using or planning to use WiFi . . . → Read More: WPA/WPA2 security status

By Yannick Loth, on May 18th, 2010
My laptop currently runs the 64-bit version of Arch Linux.
The last time (some years ago, I must admit) I tried to run a 64-bit Linux distribution, I was disappointed by the issues that existed with some Firefox plugins, Skype and some other 32-bit applications.
Some weeks ago, as I had to reinstall my laptop and thought it’s . . . → Read More: My experience with Arch Linux x86_64

By Yannick Loth, on May 18th, 2010
As most of you probably don’t know, my prefered Linux distro is Arch Linux. I use it on almost every computer I have:
On my desktop computer (Intel Core 2 Duo with embedded Intel Graphics Card)
On my laptop (Acer 5920G)
On my server (AMD Athlon X2) – a virtualized instance of Arch Linux
On my girlfriend’s laptop (Asus M51SE) . . . → Read More: My Arch Linux configuration files

By Yannick Loth, on January 25th, 2010
This post is a reply to Kent Tong’s post about scala’s getters and setters: http://agileskills2.org/blog/2010/01/applying_scala_to_solving_real_1.html:
You may also use the @BeanProperty annotation to generate Java-compatible getters and setters instead of weird methods with space and equal . . . → Read More: Reply to Kent Tong’s post about scala’s getters and setters: http://agileskills2.org/blog/2010/01/applying_scala_to_solving_real_1.html

By Yannick Loth, on January 15th, 2010
If you encounter the following error running VirtualBox as a user under openSUSE: Error -10 in SUPR3HardenedMain, then execute chkstat -set /etc/permissions.easy to set correct file permissions on the VirtualBox . . . → Read More: VirtualBox setuid/packaging error
