Java vs. Ruby
Here are two example solutions for the problem
Write a threaded server that offers the time.
The first example is written in Java, the second in Ruby (taken from the excellent book “The Ruby Way”). Both versions are implemented to be very simple. Please judge for yourself:
Java (31 lines of code)
package at.martinus;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Date;
public class [...]
Software Design Principles
I have tried to collect the most important principles of software development. At least I consider them extremely important, I am sure that other people think otherwise. Good software designs should follow these principles as much as possible. Follow the links to learn more about the principles:
DRY Don’t Repeat Yourself
PoLS Principle of Least Surprise
DTSTTCPW Do [...]
Fxri Maintainer Wanted
Update:
Now that was quick. Thanks to Markus Prinz for taking over maintenance!
Original Message
I am the creator of fxri, which is an FXRuby interface to RI, that supports search-on-typing. Fxri is a small little program, that tries to provide the desired information as fast as possible.
I currently do not have time to do any Ruby [...]
Subversion Propset Script 2.0
This Ruby script is pretty convenient to set the svn:keywords of given filetypes. It uses regular expressions to match file names, and also supports exclude patterns as well. Just modify the $includes and $excludes variables as you need.
#!/usr/bin/ruby
# $Id: setSvnKeywordProperties.rb 2397 2005-11-07 10:57:56Z manker $
require ‘find’
$includes = [ /\.txt$/, /\.java$/, /\.xml$/, /\.properties$/, /\.sh$/, /\.sample$/, /\.rb/ [...]
svnlog2html
Subversion has the ability to output a log file in XML format. I think it would be pretty straightforward to implement an application in Ruby (mabe with use of Amrita), that creates some nice looking statistic about the repository.
On a side note, I have a personal subversion repository that contains everything I have accomplished [...]


