CDex ripping to FLAC format

In this article http://lee.org/blog/2005/04/26/how-to-use-cdex-and-flac-together/ the author explains how to rip tracks from CD to the popular compressed lossless FLAC format.

In my configuration the 'On the fly' ripping feature yields problems. In Winamp tracks become 2 hours long instead of a few minutes.

To solve this, I use these settings in CDex configuration -> tab Encoder.
Encoder path:

C:\Program Files\FLAC\flac.exe

Parameter string:
-8 -V -o "%2" -T "artist=%a" -T "title=%t" -T "album=%b" -T "date=%y" -T "tracknumber=%tn/%tt" -T "genre=%g" %1

File extenstion:
flac

Disable (do not check):
On-the-fly encoding and Send WAV header to stdin

You require this (free) software:
http://cdexos.sourceforge.net
http://flac.sourceforge.net

SSH logout while keeping programs running

ubuntu: apt-get install screen
centos/redhat: yum install screen


# screen
# [enter your commands here]

Detach screen:
CTRL+a d

Now you can safely "exit" SSH. Processes keep running.

To re-enter the detached screen:

# screen -x

ssh server in virtual machine (container) doesn't work

From within a 'broken' CT enter:

mknod -m 666 /dev/random c 1 8
mknod -m 444 /dev/urandom c 1 9

If this doesn't work....Jimmy Tang listed the minimal set of devices nodes:

mknod -m 600 /dev/console c 5 1
mknod -m 666 /dev/tty c 5 0
mknod -m 666 /dev/full c 1 7
mknod -m 600 /dev/initctl p
mknod -m 666 /dev/null c 1 3
mknod -m 666 /dev/ptmx c 5 2
mkdir /dev/pts
mknod -m 666 /dev/random c 1 8
mknod -m 444 /dev/urandom c 1 9
mknod -m 666 /dev/zero c 1 5

Reference:
http://www.tchpc.tcd.ie/~jtang/blog/posts/Creating_the_minimum_needed_device_nodes_for_openvz/

ColdFusion server is going open source

As an "old" ColdFusion developer the year 2008 got me quite excited, or....maybe not? Two ColdFusion-server vendors have announced to go open source with their server technologies.

In March BlueDragon (http://www.newatlanta.com/products/bluedragon/open_source/announcement.cfm) made this announcement at CFUnited Europe. And last week Railo Technologies did the same at Scotch on the Rocks (http://www.railo-technologies.com/en/index.cfm?treeID=357).
(There is also Smith a "native" open source ColdFusion engine.)

To be honest with you I was thinking this: "Hmmmm....that's interesting... What's happening here? What's the big picture?".

I think because the original ColdFusion engine - from Allaire, later Macromedia, and currently Adobe - stayed closed source it couldn't compete against languages like PHP. Almost all Linux distros ship Apache and PHP nowadays.

Because ColdFusion is or became a 'niche language' its competitors like BlueDragon and Railo were serving niche-niche markets.

Open Source is evolving
In my opinion Open Source (OS) is evolving and a serious competitor for close source vendors. First OS was used for the basics like the Linux Operating System. Soon serversoftware like webservers and database servers popped up. As serversoftware matured and gain popularity the next step became end-user software like Open Office and standard Web applications.
Many of these Web applications are written in PHP/MySQL: osCommerce, phpBB, Drupal, Mediawiki, WordPress and Joomla...to name a few.
These Web applications got well adopted and matured also. Now ask yourself this question: "Why aren't there any well known killer apps written in ColdFusion?"

ColdFusion today
And what about ColdFusion today? Well it stays as "the quickest language to build *tailored* webapplications". It's great to use in enterprise environments for large custom made web solutions.
A great place to find open source ColdFusion applications is on http://www.riaforge.org but most of them are "building blocks". There are also complete Web applications like BlogCFC but why should you install it....?
Well, what about: "We are hardcore ColdFusion developers and won't drop it until we're forced to do it"? Or: "We don't install Wordpress because we've got our very own ColdFusion clone"

ColdFusion against the world
I think BlueDragon and Railo know their ColdFusion engines can't compete against other languages. They also know that Adobe is "in charge" of developing new versions of the ColdFusion markup language (CFML). And customers using CFML simply want to be "Adobe-CFML compliant".
Lastly CFML is serving a niche market, so BlueDragon and Railo are serving even a smaller part of that market.

Dragons need to eat too
Having that said I think BlueDragon and Railo will earn some money on for giving support and consultancy. Maybe their technologies can become part of bigger server software like Tomcat.
In my opinion Adobe will spend more time on Flex technology. Maybe the next version of ColdFusion (version 9) is going in this "Flex" direction.

Jerry Springer could have concluded...
Open source ColdFusion is great for the community but it's to late to become a real competitor. Use ColdFusion in specific situations and not because you're a ColdFusion developer.

OpenVZ server crash CentOS5 when iptables changes

On a CentOS 5 HN (hardware node) it seems that the server machine itself crashes after making changes in iptables (e.g. with system-config-securitylevel-tui)! The whole machine hangs and becomes unresponsive.
Luckily this doesn't occur when you make changes in iptables from within a VE (virtual environment).



In order to avoid this problem you'll have to stop your OpenVZ services temporarily, make your firewall changes and restart OpenVZ.


# /etc/init.d/vz stop
# system-config-securitylevel-tui
# /etc/init.d/vz start


This problem didn't occur in older kernels but definitely in vzkernel-2.6.18-53.el5.028stab051.1

You can read a threat about this here: http://forum.openvz.org/index.php?t=msg&goto=21273