2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ããããééãã¦ããããªã®ã§ãã1åãªãã³ã¸ãã¾ã ã¾ãæåã« 1ç§ã«4ã»ã³ãé²ãéãã§4ç§èµ°ã£ããå ¨é¨ã§ä½ã»ã³ãã®å³ ãã®æ¬¡ã¯ ç§é0ã»ã³ããã4ç§ããã¦ç§é4ã»ã³ãã«å éããã¨ãã®ã°ã©ã ããæåæ¸ããã¨ãã¯ééã£ã¦ããã®ã§ãããã³ãã©ãééã£ã¦ â¦
æãã£ããã«ã¦æ°å¦ã®è©±ã«ãªã£ã¦ã°ã©ããæ¸ãäºã«ãªã£ãã®ã§ èªåãæ¸ããã¤ããæãã¾ã 1ç§ã«4ã»ã³ãé²ãéãã§4ç§èµ°ã£ããå ¨é¨ã§ä½ã»ã³ãã®å³ãæ¸ã㦠ãã®æ¬¡ã«ãç§é0ã»ã³ããã4ç§ããã¦ç§é4ã»ã³ãã«å éãã ã¨ãã«ã©ãã ãèµ°ã£ã¦ãããããå³ã«æ¸ãâ¦
æ°å¦åå¼·ã¡ããã¡ãããã¦ããã§ããã© SICPã§å¾®ç©åºã¦æ¥ãã®ã§ä»ããããã¡ãã£ã¨æ°å¦é å¼µããã¨æã£ã¦ãã¾ã åç´ã«è¨ç®ãã¦ãã¨100pæ°å¦ã®åèæ¸ãé²ãã ããã£ã¨å¾®åã«ãªãã®ã§ 1æ¥5pé²ããã¨ãã¦20æ¥å¾ã«ã¯å¾®åã«å°éããäºã«ãªãã¾ã ããã§ä»å¹´ä¸ã«ã¯â¦
SICP#4ãç¡äºçµãã¾ããï¼ åå ãã¦é ããçæ§ãç²ãæ§ã§ãão(>Ð ä»æ¥ã®ç§ã¯emacs使ããªããã³ã¼ããæ¸ãã¦ãã¾ããv(ï¼ âï¼ )v æè¿å°ãã ãschemeã®ã³ã¼ãæ¸ããããã«ãªã£ãã®ãã¨ã£ã¦ã å¬ããã£ããååã«æ¯ã¹ã¦å°ãã ãæé·ãããããªæ°ããã¾ããw ã â¦
ææ¥SICPãªã®ã«ãã®èª¿åã§ã¡ãã£ã¨ã ãä¸å®ã§ã ä½èª¿ä¸å ¨ã«ããªããã»ã»ã» 復ç¿ã°ãããã¦ã¦ãã¾ãäºç¿ã«æãåã£ã¦ããªãç¶æ ã§ãã ææ¥ã¯é å¼µãããã¨æãã¾ãâ SICP on lineãå°ãå¾®å¦ãªç¶æ ã«ãªã£ã¦æ¥ã¦ããã®ã§(ä½èª¿çã«ï¼) ææ¥ã®äºãèãã¦èªéããâ¦
ä»ã¾ã§ã¯SICPã®ã³ã¼ãã®å®è¡ãããã¨ãã¯ã¿ã¼ããã«ã«ç´ã«æã¡è¾¼ãã ã ã³ãããããæã«ã¯gosh.vimã使ã£ã¦ããç§ã§ããid:suztomoããã®ãé°ã§ ã¤ãã«å¿«é©ãªç°å¢ãæã«å ¥ããäºãåºæ¥ã¾ãã Emacs + Gauche ã§äºå ã追ãï¼ http://blog.livedoor.jp/incompâ¦
ä»ã¾ã§ã®fire foxã«ã¯[ãæ°ã«å ¥ã]ã£ã¦ãããã¼ã«ããã£ãã®ã« ä»ã¯å ¨é¨ããã¯ãã¼ã¯ã«å¤ãã£ã¦ãæ°ã«å ¥ãã¯å»æ¢ããã¦ãã®ã§ã ãããããã¯ãã¼ã¯ãããããªãããã»ã»ã»ã¨ãæã£ã¦ ãã®ãã¼ã¸ãããã¯ãã¼ã¯ã¨ãããã®ã§ããã¯ãã¼ã¯ããã¦ã¿ã㨠ã¿ã¤ãâ¦
ããæ¥ã®å¤ã®ã話ãªãã§ããã©ããã°ã«æ¸ãããã¥ã¼ãã³æ³ã«ã¤ã㦠æãã£ããã«ã¦id:nyaxtããid:kareyaããid:ukstudioãã㨠ã話ãããã®ã§æ²è¼ãã¾ã <nyaxt> ãããã¨ãã¥ã¼ãã³æ³ã®è©±ã§ããã© <nyaxt> èå³æ·±ãã§ãããã <nyaxt> ããã¡ãªã¿ã« <nyaxt> expmodã¯ä»¥åãããã¾ãã</nyaxt></nyaxt></nyaxt></nyaxt>â¦
åãããªãã¾ã¾ã«æ¥ã¦ãããã¥ã¼ãã³æ³ãåå¼·ãç´ãã¾ãã ä¾ãã°å¹³æ¹æ ¹ãæ±ããé¢æ°ãèããæã« ãã¤ã§ãããã㪠ã®ããã«å®ç¾©åºæ¥ã¾ã ããã©ãããã¯æ°å¦ã®é¢æ°ãªã®ã§å®æ°ãå ¥ãã¦ãæ±ãããæ°ãåºã¦ããªãã®ã§ã gosh> (define ( sqrt x ) (the y ( anâ¦
ã¾ãä»ãã¡ããã¨ç解åºæ¥ã¦ãªãã³ã¼ããã (define ( expmod base exp m ) ( cond (( = exp 0 ) 1 ) (( even? exp ) ( remainder ( square ( expmod bese ( / exp 2 ) m )) m )) ( else ( remainder ( * base ( expmod base ( - exp 1 ) m )) m )))) ( defiâ¦
éææ¥ã®å¤ã®äºã§ãã ãµã¨ããäºã§ããããã«é¤æ°ã®æ¢ç´¢ã®åå¼·ã«ã¤ã㦠ãã®å¾ã©ããªã£ãã®ãã¨ããå 容ã®äºãèããã¾ãã ãã®æã«id:nyaxtãããSICPã®ircãæãã¦ããã¾ãã nyaxtããã®ããã°ã«ãæ¸ãã¦ããã®ã§ãããã¡ãã§ãåç¥ãã¡ããã¾ãâ SICPâ¦
é±æ«ã¯SICPä¸çæ¸å½ã«åå¼·ãã¦ãã¾ãã åãããªãäºã ããã§å¤§å¤ã§ãããããããªæ¹ã«å©ãã¦é ããªãã¨ãé å¼µãã¦ãã¾ã æ¬å½ã«ç³ã訳ãªãã¨æãé£ãã§ãã£ã±ãã®æ°æã¡ã§ã ãªãã¹ãããã«èããªãã¦ãèªåã§ç解ãããã®ã§ããã»ã»ã» ç¥èã追ãã¤ãã¾ãâ¦
SICPé ããªãã¾ããããã£ã¨ç³ãè¾¼ã¿éå§ãã¾ããâ http://cotocoto.jp/event/28779 http://groups.google.co.jp/group/sicp-in-kansai äºç¿ç¯å²ãªã©å ¬éãã¦ã¾ãã®ã§ä½µãã¦ã覧ä¸ããï¼ ã¡ãªã¿ã«åå è²»ã¯ååã¯ç¤¾ä¼äºº500å å¦çãã®ä»300åã§ãã 飲ã¿ã®ãâ¦
SICP#3ã¾ã¨ã vol2ã®è£è¶³ã§ã hogelogããã¨umeajiããã«ã³ã¡ã³ãé ãã¾ããï¼ ã¨ã£ã¦ãå¬ããã£ã&ç§ãªãã«ããããèããäºãªã©ãæ¸ãããã¨æãã¾ã hogelogããã®ã³ã¡ã³ã > å¦çé度ããªã?? yep. æ¥æ¬èªSICPæå ã«ç¡ããã§åæã§ç¤ºãã¾ããã© âThe endâ¦
次ã«é¤æ°ã®æ¢ç´¢ (define (smallest-divisor n) (find-divisor n 2 )) (define (find-divisor n test-divisor) (cond ((> (square test-divisor) n) n) (( divides? test-divisor n) test-divisor) ( else (find-divisor n (+ test-divisor 1))))) (define (dâ¦
SICP#3çµã£ã¦ããªãçµã¤ã®ã«ã¾ã¨ããå ¨ããã¦ãªãã£ãã®ã§ï¼ã¼â³ã¼ï¼ï¼ ããå æ¸ã¾ã¨ãããã¨æãã¾ã(^â^) SICP#3ã§ã¯å®å¡18åã®ã¨ãã16åã®æ¹ã ã«åå ãã¦é ãã¾ãã åå ãã¦é ããæ¹ã ãSICPã«é¢ãã£ã¦é ããæ¹ã å ¨ã¦ã«æè¬æè¬ã§ãm(_ _)m ä»åã¯1.2.5â¦
ä»æ¥ã¯æè§ã®ä¼æ¥ã ã£ãã®ã§ãèåã¥ããããã¦ãã¾ããï¼ å½åä½ããã¨æã£ã¦ãããèåé¡ã®1/3ç¨åº¦ããä½ã£ã¦ãã¾ããw ããã¯ã»ã»ã»éãå¤éããããΣ(*ï¾Ð`;) ã¨ããããä½ã£ãã¹ã¤ã¼ããããã¾(ï¼ ^â½^ï¼ )ï¾ åæããã¦ä½ãã¾ãã⪠ããå°ããã¿ã¼(ã¦ãã§ã¯â¦
å·èµåº«ã®ä¸ã«ãã¾ã£ã¦ããªã³ã´ããã£ã¦ã¡ãã£ã¨çãã§ãã®ã§ ã±ã¼ãä½ã£ã¡ããã¾ããâ ã¡ãªã¿ã«ä½ææé10å ç¼ãæé30åã®ææããã®ã§ãw åéã«è¦ãããã¨æã£ã¦æ®å½±ãããã§ããã©è²¼ä»ãæ¹ãåãããªãã£ãã®ã§ ããã°ã«ã¢ãããã¡ããã¾ãã⪠SICPã¾ã¨â¦