2007-02-12

RuPyRu - Ruby & Python conference

I've visited a conference dedicated to Ruby & Python. As opposed to Microsoft speakers were developers themselves that's why they told about bugs, little discrepancies and so on:)

Reports archives are already available.

Impressions of reports:
Gusarov Mikhail "OOP principles in Python"


Hum... It seemed that the speaker desired to manage in five minutes and threw away the most interesting things, only a compressed description of what dynamical languages are was left. And all the principles of projecting were brought to the necessary automate testing and to restate of Liskov Substitution Principle.

Rastyagaev Vadim "Introduction to Ruby"


A little description of syntax — it was not interesting... in the discussion that took place later a little bit more interesting explanations of closures vs ruby-blocks and scopes of made changes were sound.

Artamonov Igor "Python and Ruby in Java-projects"

Speaker was concentrated on weak places — productivity and correspondence of java-clones and native implementations in ruby and python. As a result everybody was deeply disappointed...
About the speed he told for nothing... everybody was scared of jruby productivity failure, but by the was jyton looks worthy enough.
But for the scripting in java projects I would choose Scheme or Groovy

Tarancov Andrew "Dynamic Languages Toolkit"

The project is interesting, promises a lot, written in Java. Wish them good luck. Looks like their goal is equivalent to creation own language interpreter, as it actually happened with Eclipse JDT. May be, in this way a good implementation of python and ruby in java will appear :)

Okoneshnikov Andrew "Python in business applications"

It were our honorable guests — guys use python since 2002 year in business applications and they are satisfied with their choice... a drop of optimism :)
By the way, this is not the only business system, which uses python. This is at least one more

Baburov Yuri "Python in C/C++ and C/C++ in Python"

A good review of everything. Choice to any taste.

Lyfar Dmitry "Boost.Python, Python in GameDev"

One more good report. What, how and why. But may be one should use Lua?

Coffee-break

That everybody looked forward — it justified the expectancies :) However I would like it happen in one or two reports earlier.

Nemytchenko Ivan "Introduction to Ruby-on-Rails"
A short retelling of standard tutorials. But those who followed carefully, obviously would like familiarize themselves with rails closer.

Yurevich Yuri "Python for Web"

Django, Twisted, Pylons — choose any. H'm, does Django _really_ so fast?? I have to try it. But I still have no doubts that for a very custom project Pylons is the right choice.

Yurevich Yuri "Using Unicode in Python"

Oh... why I have not thought about sity.py, since I have difficulties — just forget u in the line beginning and get errors :) I'm kidding — the report is absolutely correct.


In the end surprising news were sound - Iss Art is going to hold such conferences once in a three months. The next conference will be dedicated to the «extreme programming». Looking forward to it.

Update:
Photos are on flikr
With the «official» report and participants opinions are here

2007-02-05

Linux: Fun stuff

# man factor

NAME

factor - factor numbers

DESCRIPTION

Print factors of each NUMBER; read standard input with no arguments.

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!