2009-06-01ãã1ã¶æéã®è¨äºä¸è¦§
100xã§ã¯çæç¡é§ä½¿ãããæ¹ããã ã¯ããã¦ã®ã«ã(2009-06-30) - ãã¼ã ãããã¼ããã ã£ãã®ãã¼ããããã®æåã«ã¯ãªãã¨ãªãæ°ã¥ãã¦ãããFAQ ã«ããªããè¼ã£ã¦ãã®ã¯ç¥ã£ã¦ããã ãã©ãã¡ããã¨èªã¾ãã«ãobf ã®ãã°ãªã®ã§æçµçã«ã¯ä»æ§æ¸éãã®å¼ã§â¦
VM ã Scala ã§æ¸ãã¦ã¦å¾ãç¥è¦ã(åæ¤è¨¼ããã«æ¸ãã¦ã¾ãã®ã§ééã£ã¦ããæãã¦ãã ãã) for (i <- 0 until 100) { ... } ãã var i = 0 while (i < 100) { ...; i += 1 } ã®æ¹ãã¨ã£ã¦ãéãã for ã«ãã㨠for ã®ä¸èº«ã (Java ã¬ãã«ã®) å¥ã¯ã©ã¹ã«â¦
ref: http://icfpcontest.org/ ä»åã®èª²é¡ã¯ãªããªãé¢ç½ãã£ããã§ããããã£ã±ãããæ°ã足ããªããªã£ã¦è±è½ãã¾ããã ä¸å¿ãã£ããã¨ã®è¨é²ãæãåºããªãããªã®ã§é©å½ã 1 æ¥ç® 3 æãèµ·ãã¦åé¡èªã¿å§ãããç©çã ã¼ãåè»éã®åé¡ã¾ã§ãèªåå ç®æ¨ã«â¦
ref: http://icfpcontest.org/ ä»å¹´ã®èª²é¡ã¯è¡æã®æ縦ã§ããè¡æãæå®ãããåè»éã«ä¹ããããåè»éãæ¥åè»éä¸ã®ä»ã®è¡æã«è¿ã¥ãããããããªãååããããã¾ãããªãã¹ãçæãæéã使ããã«èª²é¡ãéæãããé«å¾ç¹ã ç©çãå¹¾ä½ããããããªã®ã§ â¦
ãã¡ããã¡ãé ãåå¿ã§ããããããè¨ã£ã¦ãããï¼ãã¨ãã話ã ç¾ç¶ã®RDocã¯ã¦ã¼ã¶ãªãã¡ã¬ã³ã¹ã«åãã¦ãªãã¨æã£ã¦ãã RDocæ¸ããã ãã§ããªãã¡ã¬ã³ã¹ã¯å®ç§ã ãï¼ãã¨ãè¨ã£ã¦ããã¤ãªããªã® - Greenbear Diary (2009-06-04) 以ä¸é¢ä¿ãããããªãªãâ¦
æ¨æ¥ã®åææ¥ã¯ã横æµå¸å¶å°ä¸éãã«ã¼ã©ã¤ã³ã®å¾åãæ©ãã¾ãããé¢å é§ ããããã¿éé§ ã¾ã§ãç·è·¯ã®è·é¢ã§ 20.7 km ãæ©ãã®è·é¢ã§ 24.4 km ã ãªãã¨ããããä»åã¯äºä»¶ãããã¾ãããé¢å é§ ããæ¡æ¨çºé§ ãé«å³¶çºé§ ã横æµé§ ã¾ã§ã¯ç«æ´¾ãªæ¨ªæµä¸å¿é¨ã 横æµâ¦
ä¾ãã°ãããããã¹ã¿ãã¯ãã¬ã¼ã¹ããã°ãã°è¦ãã¨æãã¾ãã $ ruby19 -ruri -e 'URI(nil)' /home/mame/work/ruby19/local/lib/ruby/1.9.1/uri/common.rb:156:in `split': bad UR I(is not URI?): (URI::InvalidURIError) from /home/mame/work/ruby19/locâ¦
ref: http://d.hatena.ne.jp/methane/20090615/1245025996 ããã¾ã¨ããRuby ã® Array#join 㯠1. èªç¶è¨èªã®ææ³ã¨ãããªãã®ããã¢ã¤ 2. åæã«åå¤æ (to_s) ããã®ããã¢ã¤ 3. æååã¹ã£ããã®ã¡ã½ããã Array ã«ããã®ããã¢ã¤ 4. Enumerable ã§ã¯ãªâ¦
ãå®å ¨ãããªããæ©è½ãç°¡åã«ä½¿ããããã«ãªã£ã¦ããã®ã¯ãã©ã¡ããã¨ããã¨JVMã®ä¸ã§Scalaãå®ç¨è¨èªã¨ãã¦ãã£ã¦ããããã®å¿ è¦æªã¿ãããªãã®ã§ãã£ã¦ãScalaãè¨èªã¨ãã¦å®å ¨æ§ãéè¦ãã¦ããªãã¨ãããå æ¸ã«æ±ã£ã¦ãããã¨ããããã§ã¯ç¡ãã®ã ã¨ç解â¦
(ã ãã¶åã«æ¸ããè¨äºã§ãå ¬éã«ããã£ã¦åæ¤è¨¼ãã¦ãªãã®ã§ãééãããã£ããããããªããã)ref: http://d.hatena.ne.jp/h_sakurai/20081213#p1flagir ãä½ãã¨ãã«åèã«ããã¦ããã£ãã®ã§ãããProGuard ã®ã¨ããã§èºãã¾ããã $ java -jar proguardâ¦
ref: http://d.hatena.ne.jp/kmizushima/20090615/1245002849ã¾ãã¾ãã¿ããã¾ããã«ããããæãã¦ãããã¾ããããããã¨ããããã¾ãã æç¸åã® val å¤æ°ãåç §ã§ãã¦ãã¾ã£ããããªãã¯ã¾ã£ãããã㯠Scala ã®ãã°ã¨è¨ã£ã¦ããã¨æã *1 ãã©ãç´ããâ¦
flagir ãä½ããªã©ã®éç¨ã§æãã Scala ã¸ã®ä¸æºãåæããããªè¨äºã (æ¥æ¬èªã§) å ¬éãã¦ã誰ãå¾ããªãã誰ãèªã¾ãªãã ãããããããããããªã¨ãæã£ããã ãã©ãã¼ãã®åéããªãææãã¦ãããããããããªãããè¨é²ã¨ããæå³ãããã®ã§ãã£ã±ãâ¦
æ¨æ¥ã®åææ¥ã¯æ¨ªæµå¸å¶å°ä¸éãã«ã¼ã©ã¤ã³ã®ååã§ããæ¹åå°é§ ããé¢å é§ ã¾ã§ãç·è·¯ã®è·é¢ã§ 19.7 km ãæ©ãã®è·é¢ã§ 23.4 km ãé§ åãããã³ã³å±ã ããã®æ¹åå°é§ 西å£ããã¹ã¿ã¼ããå°ç°æ¥ã¨ç¸éã¯æ©ãæ¸ã¿ãªã®ã§ãããã«æ¥ãã®ã¯æå¾ããã æ¹åå°å ¬åãâ¦
æè¿ã¡ããã¨æ¸ãã¦ãã¾ããã§ããããå é±ã®åææ¥ã«ã¯ã¡ããã®åèµéç·ãæ©ãã¾ãããæ¸è°·é§ ããæ¼ä¸é§ ã¾ã§ãç·è·¯ã®è·é¢ã§ 16.8 km ãæ©ãã®è·é¢ã§ 18.7 km ãããå æ¸è¦é£½ããæ¸è°·é§ ããã¹ã¿ã¼ããå¾ã§æ°ãã¤ãããã©ãä»åã§æ¸è°·é§ ãéãè·¯ç·ãã³ã³ããªâ¦