Software Development
Slashdot Today
2.4 vs 2.6 Linux Kernel Shootout
FyRE666 writes “Infoworld are currently running an interesting comparison of the 2.4 series kernel against the new 2.6 release on Xeon, Opteron and Itanium …
Source: http://slashdot.org/article.pl?sid=04/01/31/1915227
IETF Approves XMPP Core as Proposed Standard
hystrix writes “As long expected, the IESG has approved the Extensible Messaging and Presence Protocol (XMPP): Core (draft-ietf-xmpp-core-22.txt) as a Proposed …
Source: http://slashdot.org/article.pl?sid=04/01/30/1346237
UserLinux Will Support KDE
kollum writes “Bruce Perens has revealed that UserLinux will now support KDE commercially. It seems there is a demand for a KDE plan afterall.”
Source: http://slashdot.org/article.pl?sid=04/02/01/1551242
xbelgen
XBELGen
Description
- IE Favorites로부터 XBEL format의 xml을 생성하는 python script.
Requirements
- Python 2.3.3
- CJKCodec
- PyXML
- 이상하게 Python 2.3.3에 기본으로 들어가있는 xml.sax.saxutils.XmlGenerator로는 한글 쓰기가 안된다. (utf-8로 하는데도!!!)
Download
- xbelgen.zip (Updated 2004/01/26)
Example
- xbelgen에서 생성된 결과물
- 위의 결과물에 XSL을 적용한 결과 (XSLT from Favorez)
External Links
— JosephJang – 23 Jan 2004
http://www.lastmind.net/tWiki/bin/view.pl/Main/XbelGen
Comparing and introducing Ruby
Ruby가 어떤 점에서 다른 language 들(esp. Python, Perl)에 비해 뛰어난지를 설명하는 article이다. syntax로부터 library까지 여러가지 내용이 있지만, 인상깊었던 것들만 요약하면 다음과 같다.
What is Ruby?
– modern, interpreted and object-oriented programming language
– Ruby > (Smalltalk + Perl) / 2
– developed, having Perl, Python, Smalltalk and Eiffel in mind
Easy to learn
– has good tutorial
– easy syntax
– clean, readable but short
Syntax
– variables only contain references to objects
– all constructs have a value (e.g. if-construct)
– variable name convention defines characteristics of variable (capital letter, small letter, $, @)
(Perl use my, local, …)
– iterator, blocks with method
– exception model support post-condition (begin-rescue-ensure-end)
– dynamic type checking
OO Features
– instance variables (member variable in C++) are only accessible from insdie the class (maybe getter-, setter- methods)
– attr_accessor function of module Module dynamically creates a getter- and setter- method for each parameter
– extend existing class in adding a whole class
– support only single inheritance
– support mix-in (alternate multiple inheritance): every module can be included into a class
Library
– Perl-like Regular expression
– DB access (MySQL, Msql, PostgreSQL, Interbase, Oracle)
Language Extension
– C/C++ extension
– Ruby/Python