2008-03-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã£ããRubyããã ããã®ã§ FizzBuzzãã¦ã¿ãã 3ã®åæ°ã§Fizzã5ã®åæ°ã§Buzzã両æ¹ãªãFizzBuzzãåºåã (1..100).each{|n| p n%3==0||n%5==0?n%3==0?n%5==0?'FizzBuzz':'Buzz':'Fizz':n} ã¤ãã§ã«Nabeatsuããã¦ã¿ã 3ã®åæ°ã¨3ãã¤ãã¨ãã«ã¢ãã«ãªã(2â¦
ã¨ããããã§ãadd-hookã«ã¤ãã¦ãEmacs dot.emacs /add-hook hook ã¨ããã®ã¯ããã²ã£ããããããã§ãããããããã® Elisp ã®ä¸ã«ç¨æããã¦ãã¦ããã®ååãåã£ãããå©ç¨åºæ¥ãã hookã®æå³ã¯ããã£ãããã©ããªæã«ãã²ã£ãããããã ããï¼dot.emacâ¦
åã³TBãããã¨ããããã¾ãã M-: ã§Evalã使ãã ãããã¡ãã¼ã«ã«å¤æ° - â(rubikitch wanna be (a . lisper)) ãM-: buffer-file-nameãã¨ã¿ã¤ããã¦ã¿ãã¨ã½ã¼ã¹ã³ã¼ãã®ãã¡ã¤ã«åããã«ãã¹ã§åºã¦ããã¯ãã Evalã§å¼ã¶ã¨ãè¦äºã«åºã¦ãã¾ãããã¦ã£ãâ¦
ååã®ç¶ãããã©ãã¾ã§ããã ãã¦æ縮ã§ãã åãã©ãã§ãããã¯ã¥ããï¼ ç®çã®è£è¶³ ä½ã®compileããããã¨ãã¦ãããæ¸ãã¦ããªããã¨ã«æ°ã¥ããã®ã§ãä¸å¿ãã¡ãã§è£è¶³ãã C#ã§ç°¡åãªæ¤è¨¼ã³ã¼ããæ¸ãã¨ãã«MeadowãEmacsã使ã£ã¦ãã¾ãã compileãC-câ¦
compileæã«ãã¡ãã¡ãã¡ã¤ã«åå ¥åããã®ãé¢åãªã®ã§ãèªåã§å ¥åãããªããã®ãã¨ãããã£ã¦ã¿ãã ãã ãLispãªãã¦ãã£ã±ãããããªããé¢æ°åè¨èªã£ã¦ãªãã§ããï¼ã¨ããããç´æã§ï½¥ï½¥ï½¥ (setq-default compile-command "csc " ) ãã®é¨åããããã£ã¦ã¿â¦
ãããWindowsããã£ã±ãå¤ã«ãªããè²ã 試ãã¦ã¿ããã©ãM/Bã®SATA端åããããããªã£ã¦ããããããªãã SATAã®æ¥ç¶å ´æã2ã¤ãâ3ã¤ãã«å¤ããããä»ã®ã¨ããè¯ã調åã2çªç®ã«æ¥ç¶ãã¦ãããã®ããã¨ãã¨ããã¡ã«ãªã£ã¦ããã以åã®DVD-Rã2çªç®ã DVD-Rãâ¦