2007-01-31

Links: multiple inheritance

An interesting comparison of different approaches from CLOS, Dylan and Python(C3)
A Monotonic Superclass Linearization for Dylan

2007-01-22

Darcs + Emacs

Aha, I've found it:
 ;;David's Advanced Revision Control System
(if (executable-find "darcs")
(progn (add-to-list 'vc-handled-backends 'DARCS)
(autoload 'vc-darcs-find-file-hook "vc-darcs")
(add-hook 'find-file-hooks 'vc-darcs-find-file-hook)))


Since not on every computer there is/is needed darcs I've wrapped in config darcs support in order not to receive annoying error messages on every file opening.

I was lazy to write checking for the presence of executable file in PATH. It turned out that everything already exists. M-x apropos is great :)

2007-01-18

Run Emacs, run...


tripplemacs
Originally uploaded by kmmbvnr.
I'll keep it to remember... when it will happen again - three opened emacses from three operating systems

I'm playing with compatibility of SOAP implementations.

Freebsd on Qemu

I'm continuing the installing-unwrapping actions. So amazing... no problems again.

But in the beginning I was very afraid... to write under FreeBSD 5.5? By no means, guys! Crypto protection... linux... it's not grand.

Well, I've downloaded Qemu+KQemu installed, made iso image of the installation disk, or more exactly, since I have CD-ROM on Windows machine only, I made nrg first and then
dd if=nero_img.nrg of=iso_img.iso bs=1024 skip=300 

By means of qemu-img I've made an empty file image. Booted
qemu -L . -cdrom freebsd-5.5.iso  -hda freebsd.qcow -boot d -m 128

As a blind kitten I nuzzled up sysinstall. Bada-bing - and loaded the fresh-installed system
qemu -L . -hda freebsd.qcow -m 128 -localtime -redir tcp:8080:10.0.2.15:5000 -redir tcp:10022:10.0.2.15:22


As for the magic -redir option I had to google a little... that's all is because the most easy way of net raising is described here in the veeery bottom...

When googled, I've known about pkg_add, pkg_delete and installed bash, python and Emacs 21.
And the last:
export DISPLAY=10.0.2.2:0


What's a pity that there is no built 22nd Emacs for FreeBSD 5.5 ;(
So far I'm afraid of building.

2007-01-16

Cygwin sshd and windows domain users

Life is good!

Follow step by step the How to install OpenSHH sshd server om Windows XP

ssh-host-config
When the script asks you about "privilege separation", answer yes
When the script asks about "create local user sshd", answer yes
When the script asks you about "install sshd as a service", answer yes
When the script stops and asks you for "CYGWIN=" your answer is ntsec tty


Run

net start sshd


Nothing "you most likely have to manually edit /etc/group". Configure on bash with a little bit different parameters

mkpasswd -d > /etc/passwd
mkgroup -d -local > /etc/group


Check it — everything works!