2008-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« æ¬ææ¸ã¯ãruby 1.9 ã«å°å ¥ããã M17N 対å¿ã«ã¤ãã¦ã調æ»ããçµæã調æ»ã«é¢ããä½æ¥ãã°ã§ããã 調æ»ã®ç®çã¯ãç§ãã¡ã³ããã³ã¹ãã¦ãã Ruby ã® Readline ã¢ã¸ã¥ã¼ã«ãæè¿ (2008 å¹´ 10 æ 25 æ¥ç¾å¨ ) å°å ¥ããã Encode.default_internal â¦
ã¯ããã« Ruby ã®æ¡å¼µã©ã¤ãã©ãªã®ä½ææ¹æ³ã®èª¿æ»ã¨ãMP3 ã¨ã³ã³ã¼ãæ©è½ãå«ã LAMEã®èª¿æ»ãããã¦ãRuby ã® LAME ã©ããã¼ãä½æãã¦ãã¾ãã LAME MP3 Encoder Google Code Archive - Long-term storage for Google Code Project Hosting. ã¾ã ãPCM ããâ¦
w1011 ã« Debian GNU/Linux lenny ãã¤ã³ã¹ãã¼ã«ããã¨ãã®ä½æ¥ãã°ã§ããã¤ã³ã¹ãã¼ã«ã«ã¯ debian-LennyBeta2-i386-netinst.iso ãå©ç¨ãã¾ãããã¤ã³ã¹ãã¼ã©ãèµ·åããã Installer boot menu 㧠Install ãé¸æããã 以ä¸ãè¨å®é ç®ã¨è¨å®ããå¤ã Choâ¦
OSC 2008 Shimaneã®ã©ã¤ããã³ã°ãã¼ã¯ã§ãMasaruã«ã¤ãã¦çºè¡¨ãã¾ããã使ç¨ããè³æã¯ã以ä¸ã§é²è¦§ã§ãã¾ãã http://www.slideshare.net/kouji/masaru-presentationMasaruã«ã¤ãã¦ã®è©³ããç´¹ä»ã¯ãã¾ãä»åº¦ãã¾ãã (ã¾ã ãå®å®ãã¦åä½ãã¦ããªããã ãâ¦
ä»æ¥ãAmazon CAPTCHAãèªã¿ã¾ããã Ruby ã使ã£ããã¨ãããã°ã3 æéç¨åº¦ã§èªã¿çµãããã¨ãã§ããå 容ã ã£ãã¨æãã¾ããRuby ã使ã£ã¦ãã¦ããpython ã®ååãããèããã©ããªããªãåå¼·ããæéãªããã ããã¼ããªãã¦äººã¯ããã®æ¬ãèªãã§ã¿ãã¨ãâ¦
ä»æ¥ãZope ã¬ã¤ããè³¼å ¥ãããããã¦ãä»æ¥ãèªã¿çµãã(ãã³ã¬ãã)ã ãã®æ¬ãè³¼å ¥ãããã£ããã¯enbug diary(2008-01-31)ãèªãã ãã¨ã§ãããã®è¨äºãèªãã§ãZope ãç¥ãã°ãæªæ¥ãç¥ããã¨ãã§ãããããããªããã¨æã£ãã®ã§ããããã®æ¬ã«ã¯ç§ãèâ¦
ãã¦ãiPod touch ã§ã®ãéã³ãä¸æ®µè½ããã®ã§ã9/12 ããã® OSC 2008 Shimane ã«åãã¦ã Masaru ãæ¹è¯ããã capistrano 㧠deploy ã§ããããã«ããäºå®ã ã£ãããããã¯ã¨ããããããã¦ãããã¦ã¼ã¶ãããã㨠capistrano 使ãããã使ãã¾ãããå¤åâ¦
ããã®ããCocoaããã°ã©ãã³ã° [Leopard対å¿ç]ãã®çºå£²ãè¨å¿µãã¦ãhttp://hmdt.jp/books/enjoyCocoa/campaign.htmlã«ã¦ããã®æ¬ã3åã®æ¹ã«ãã¬ã¼ã³ãããä¼ç»ããã£ã¦ãããç· ãåã㯠9 æ 8 æ¥ï¼æï¼ã®å¤ä¸ã® 12 æã¾ã§ã§ãã®ã§ãã»ãã人ã¯æ¥ãã§å¿åâ¦
IRCNet ã«æ¥ç¶ã§ããªããã¨ãå¤ãããã IRC ã® bot ã takao7.net ã§åä½ããããã¨ã«ãã¾ããã ã¤ã³ã¹ãã¼ã« persian$ cd ~/setup persian$ svn co http://www.atdot.net/svn/nadoka/trunk nadoka-trunk è¨å® nadokarc ãä¿®æ£ãã¾ããnick 㯠kouji_ndk â¦
å 容ã®ç解 Subject: Readline and conditional tab results based on input From: Marc Heiler <shevegen linuxmail.org> Date: Fri, 18 Jul 2008 01:44:26 +0900æåã«ãcdããå ¥åãã¦ãã TAB ãæ¼ãã¨ãã¡ã¤ã«ããã£ã¬ã¯ããªã®ãã¹ãè£å®ããããä¸æ£ãªæå (ä¾ãã°ãblabalblab</shevegen>â¦
ãµã¼ããã·ã³ãªã®ã§ IPMI ã使ããã¯ãã§ããã¨ãããã¨ã§ãOpenIPMI ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã ã¤ã³ã¹ãã¼ã« lv1$ sudo aptitude install openipmi ... The following NEW packages will be installed: libopenipmi0{a} libperl5.10{a} libsensors3{a} â¦
iptables ã§ãã±ãããã£ã«ã¿ãå®ç¾ããéã®è¨å®ã®æ¹éã¯ä»¥ä¸ã§ãã /etc/default/packet-filter ã«å ¨ä½ã®è¨å®ãè¨è¿°ãã/etc/packet-filter.d/ 以ä¸ã«ã«ã¼ã«ãè¨è¿°ãã¾ãã /etc/init.d/packet-filter ãé ç½®ããstart 㧠/etc/default/packet-filter ãèªâ¦
lv1$ sudo aptitude install ulogd ... The following NEW packages will be installed: ulogd 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 48.6kB of archives. After unpacking 246kB will be used.ulogd ã«ãâ¦
ã¤ã³ã¹ãã¼ã« lv1$ sudo aptitude install logcheck logcheck-database Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading taskâ¦
lv1$ sudo aptitude upgrade W: The "upgrade" command is deprecated; use "safe-upgrade" instead. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing packageâ¦
root ãã¡ã¤ã«ã·ã¹ãã ã xfs ãªã®ã§ãOS ã®ã¤ã³ã¹ãã¼ã«æã«ãã¼ããã¼ãã¨ã㦠LILO ãé¸æãã¾ããã ä»å¾ã¯ GRUB ã使ç¨ããã®ã§ãã¤ã³ã¹ãã¼ã«ãã¾ããã¾ãã LILO ã¯ä¸è¦ãªããããã±ã¼ã¸ãè¨å®ã®åé¤ãªã©ããã¾ãã ã¤ã³ã¹ãã¼ã« lv1$ sudo aptitude â¦
ãµã¼ãã®ãªã¢ã¼ã管çã«ã¯ screen ãå¿ é ã§ãã*1 ã¤ã³ã¹ãã¼ã« lv1$ sudo aptitude install screen [sudo] password for worker: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state inforâ¦
ç§ãé常使ç¨ããã·ã§ã«ã¯ zsh ã§ããæ©é zsh ãã¤ã³ã¹ãã¼ã«ãã¾ãã ã¤ã³ã¹ãã¼ã« ããã¾ã§ã®ä½æ¥ã§ SSH ãµã¼ã㨠sudo ã®è¨å®ãçµãã£ã¦ãã¾ãã ä»å¾ã®ä½æ¥ã¯ãä½æ¥ PC ãã SSH ã使ç¨ã㦠worker ã¦ã¼ã¶ã§ãã°ã¤ã³ãã¦è¡ãã¾ããroot 権éãå¿ è¦ãªä½â¦
ç§ã®ãµã¼ã管çã®ããªã·ã¼ã¨ãã¦ãä½æ¥ã¯åºæ¬çã«ä½æ¥ç¨ã® worker ã¦ã¼ã¶ ã§è¡ããããã¦ãroot 権éãå¿ è¦ãªæä½ã¯ sudo ãå©ç¨ããã ã¤ã³ã¹ãã¼ã« lv1:~# aptitude install sudo Reading package lists... Done Building dependency tree Reading state iâ¦
Debian GNU/Linux lenny ã¯ãã¤ã³ã¹ãã¼ã«ããæç¹ã§ SSH ã¯ã©ã¤ã¢ã³ãã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ã§ããã lv1:~# ssh -v OpenSSH_4.7p1 Debian-12, OpenSSL 0.9.8g 19 Oct 2007 usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [biâ¦
lv1 ã« Debian GNU/Linux lenny ãã¤ã³ã¹ãã¼ã«ããã¨ãã®ä½æ¥ãã°ã§ããã¤ã³ã¹ãã¼ã«ã«ã¯ debian-LennyBeta2-i386-netinst.iso ãå©ç¨ãã¾ãããã¤ã³ã¹ãã¼ã©ãèµ·åããã Installer boot menu 㧠Install ãé¸æããã 以ä¸ãè¨å®é ç®ã¨è¨å®ããå¤ã Choosâ¦
ä»äºã§ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã§HAã¯ã©ã¹ã¿ãæ§ç¯ããéç¨ãã¦ããã1å¹´ç¨åº¦ãéç¨ãã¦ã¿ã¦åãã£ããã¨ãããã Heartbeat ã«é¢ããããã¥ã¡ã³ãã«è¨è¿°ãã¦ããã·ããªãªããããã¾ã§ã«çºçããç°å¸¸ã«ã¯å¯¾å¿ã§ãããã¦ã³ã¿ã¤ã ãæå°éã«ãããã¨ãã§ãâ¦
æ°æ¥åããã¡ã¾ã¡ã¾ä½æ¥ãã¦ãã Readline ã® RDoc ãããããã³ããããã¾ããã http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?view=markup&pathrev=18420 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=â¦
2008å¹´8æ1æ¥ã«å¿µé¡ã® Ruby ã®ã³ããã¿ã«ãªãã¾ãããããã§ãä»å¹´ã®ç®æ¨ã®ä¸ã¤ãããªãããã¨ãã§ãã¾ããã ã¾ã¤ãã¨ãã㨠Readline ã®ã¡ã³ãããããã£ã¦ãã ãã£ãåç°ããã«æè¬ãã¾ããããã¦ã libedit ã«æè¬ãã¾ããlibedit ã®å®æ度ãä½ãã£ããâ¦
Mac OSX 10.4 ã® libedit ã®åé¡ã Debian GNU/Linux etch ã®ç°å¢ã§ãåç¾ã§ãããã¨ãåããã¾ããã ãã®åé¡ã®è©³ç´°ã¯ã ruby-dev:35551 ããã®ã¹ã¬ãããåç §ãã¦ãã ãããã havana$ cat /etc/debian_version 4.0 havana$ sudo apt-get install libeditâ¦
ã¯ããã« æè¿ãruby(MRI) ã® Readline ã¢ã¸ã¥ã¼ã«ã® libedit 対å¿ã rdoc ã®è¨è¿°ãè¡ã£ã¦ãã¾ããããããç§ã¯ ruby ã®ã³ããã¿ã§ã¯ãªãã®ã§ãä½æ¥ã®ææã trunk ã«ã¯åæ ã§ãã¾ãããããããä½æãã¦ã¯ ruby-dev ML ã«å ±åããããã revert ã㦠rdoc â¦
ruby ã® Readline ã¸ã®ããããä½æããããããã®æ¦è¦ã次ã«è¿°ã¹ãã GNU Readline ã使ç¨ããå ´åã®æåã¯ä¸åå¤ããªãã ãããã®é©ç¨åã«ã¯ã EditLine(libedit) ã使ç¨ããå ´åã次ã®åé¡ãããã libedit ã®ãã¼ã¸ã§ã³ (2.9ããä¸?) ã«ãã£ã¦ã¯ã histâ¦
ããããä½æããåã«ãGNU Readline ã使ç¨ããå ´åã® ruby ã® Readline ã®ä»æ§ãæ確ã«ããããåä½ãã¹ããè¨è¿°ããã ãããããã°ãã°ã¬ã¼ããé²ãããext/readline/gnu-readline 以ä¸ã« GNU Readline 5.2 çã ext/readline/editline 以ä¸ã« Mac OSX 1â¦
ç§ã®ãããã ruby-dev ã«å ±åãããã¨ã以ä¸ã®ãã¨ã ruby-dev([ruby-dev:35532]ã[ruby-dev:35534]) ã§æãã£ãã libedit ã®åä½(history_base - 1)ããã°ãªã®ãããã°ãªãå°æ¥ã®ãã¼ã¸ã§ã³ã§ä¿®æ£ãããã®ã§ã¯ï¼ libedit ã«ããã¦ã history_get ã removâ¦
Macã®rubyã®readlineã«ä¸å ·åãããï¼ï¼(4)ã®ç¶ããRuby ã® Readline ã©ã¤ãã©ãªããããã°ããã åé¡ã¯ä»¥ä¸ã http://redmine.ruby-lang.org/issues/show/212Ruby ã® Readline ã©ã¤ãã©ãªã GNU Readline ã使ç¨ããããã«ãã¦ã³ã³ãã¤ã«ãããå ´åã以ä¸â¦