Project Euler â ããã°ã©ã ã§è§£ãæ°å¦ã®åé¡éã§ãã å ¬å¼ãµã¤ã é©å½ã«å訳ãã¦ã¾ããæããã¯ã¨æã人ã¯ã©ã¤ã»ã³ã¹ã確èªããä¸ã§èªç±ã«æ¸ãã¦ãã ããã â
Project Euler â ããã°ã©ã ã§è§£ãæ°å¦ã®åé¡éã§ãã å ¬å¼ãµã¤ã é©å½ã«å訳ãã¦ã¾ããæããã¯ã¨æã人ã¯ã©ã¤ã»ã³ã¹ã確èªããä¸ã§èªç±ã«æ¸ãã¦ãã ããã â
URLYou can post either your article on Qiita or your blog post. About reserved postingIf you register a secret article by the day before the same day, it will be automatically published around 7:00 on the same day. About posting periodOnly articles submitted after November 1 of the year can be registered. (Secret articles can be registered anytime articles are posted.)
http://ameblo.jp/nikko-inma/entry-11122429825.html http://b.hatena.ne.jp/entry/ameblo.jp/nikko-inma/entry-11122429825.html ãµããµãããªã«ãªã«ãPHPã¯ã¯ã½è¨èªã§ãC++ãVBãã¯ã½ã§ã ãã£ã¡ãæ¸ãããã¨ãã¯C ãã£ã¡ãæ¸ãããã¨ãã¯C ãã£ã¡ãæ¸ãããã¨ãã¯Cã¤ã¹ãã転ãè½ã¡ããï¼ï¼ï¼ ã¡ãã£ã¨ããã¯PHPerã¨ãã¦ã¯çªã£è¾¼ã¾ãããå¾ãªãã ãã¤çªã£è¾¼ããã£ã¦ï¼ ä»ã§ããï¼ï¼ ã¨ããããä¸è¨ãµã¤ãã§æ¸ããã¦ããµã³ãã«ãããä»£å ¥ã¨åç §ãæ·±ãç解ã§ããªãã ããã£ã¦ãã¨ãããããã®é¨åè£è¶³ãã¦ã¿ããã ã¾ããµã³ãã«ããã°ã©ã <?php $a = 1; xdebug_debug_zval( 'a' ); $b = $a; //ããã¯ãã ã®å¤ã®ä»£å ¥ï¼ãã ããã®ã§æç¹ã§bã®å¤
ãã®æ稿ã¯PHP Advent Calendar 2013ã®12æ¥ç®ã®è¨äºã§ãã PHPæä¾è¡äºã®åç §ã¨ä¸é æ¼ç®åã®disãã§ãããããããããã£ã¦ãªè°è«ã¯ããã¾ãããã¨ãã話ã§ãã ä»å¹´ã®PHP-dis大è³ã¨ããã°ãã¡ãã PHPã¨ãããç³è¨èªï½ããã¾ã®ãã㰠⻠追è¨: ããæ¸ãããã®ã¯2012å¹´ã§ããããã¾ããã ãªãã§åãã¡ãããªã³ã¼ããå¿ è¦ãªã®ãããã¨ãçµè«ããå è¨ãã¨ããã¿ãã¡ãPHPã使ããªãã£ã¦æãã®ã¯ããããªæåã«å·¦å³ããããããªã³ã¼ããæ¸ãããã§ãããã ããCã¨ãRubyã¨ãããããç°¡åãªè¨èªã§ããã£ãæ°ã«ãªã£ã¦ããåå¿è ã¯ã¾ã£ãããã...ã¨ããããã§PHPã®è¨èªææ³ã®åºç¤ãã¨ããããã¾ããã ã¾ããPHPã®arrayã¯ãå¤ãã§ãããã¡ããæååããå¤ãã§ããå¤ã¯å¤ãªãã ãã©ãããã¯ãã¥ã¼ã¿ãã«ã§ããPHPã®arrayãããã¯æååã®ä»£å ¥ã¯ãä¸è¦ããã¨ããã¤ã³ã¿ã使ã
ãã¨ã®å§ã¾ã PHP ã® srand é¢æ°ã«ã¤ãã¦èª¿ã¹ã¦ãã¦ãã²ãããªæåã«srandã®seedã«æååï¼numericã§ããå¿ è¦ã¯ãããã©ï¼ã渡ãããã¨ãç¥ã£ãã ã§ã¯ãããã« long ãè¶ ãããã®ãæ¾ãè¾¼ãã¨ã©ããªãã®ãã ã§ã¯çµæãããããã ããã ãï¼ï¼ï¼ï¼ã ãªããããªãã®ã ç§å¯ã¯ PHP å¦ç系㮠zend_parse_arg_impl é¢æ°ã«ããã¾ãã zend_parse_arg_impl ã¯phpã®é¢æ°ã«æ¸¡ãããå¼æ°ããã¼ã¹ããé¨åã§ãlongãè¦æ±ããé¢æ°ã«stringãªå¤ã渡ãããæã®å¦çã¯ãã®é¨åã§ããã https://github.com/php/php-src/blob/master/Zend/zend_API.c#L335 ãã¦ãèªã¿é²ãã¦ããã¨ããï¼ï¼ï¼ï¼ãã£ã¦ãªãè¡ãããã¯ãã§ãã ãã®è¡ã§ãã https://github.com/php/php-
sbtã¨ããã¨ãç¬ç¹ãªSettingã®ã·ã¹ãã *1ããScalaã§è¨è¿°ããå é¨DSL*2ã°ããã注ç®ãããã¡ã§ãããããã¯ãåå¿è ã«ãããã¥ããã£ãããã¦æ¹å¤ããããã¨ãå¤ãã£ãããéã«sbtã使ãæ £ãã人ã«ã¨ã£ã¦ã¯ã¨ã¦ãå¼·åã§é¢ç½ãä»çµã¿ã§ãã Settingã®ã·ã¹ãã ã«æ³¨ç®ããã¨ãæ±ç¨çã«è²ã ãªè¨èªã®ãã«ãã«ã使ãããã«æãã¾ããäºå®ãsbtã§C++ã®pluginãä½ã£ã¦ãã人ããã¾ãã ããããsbtã¯ããã¾ã§ãScala(ã¨Java)ã®ããã®ãã«ããã¼ã«ãã§ãã ããã¯ãåã«Scalaãããã©ã«ãã§ãµãã¼ããã¦ããã¨ããæå³ã«ã¨ã©ã¾ãããããããçãããæã£ã¦ããããããã£ã¨æ·±ãæå³ã§ãScalaã«ç¹åãããã«ãã®ä»çµã¿ããå é¨ã«åãã£ã¦ãã¾ãã ä»åã¯ããããªãsbtã®å é¨ã¢ã¼ããã¯ãã£ãã®ç´¹ä»ããã¾ãã 以ä¸ãããªãé·ãã§ããèªã¿ç©ã¨ãã¦ã¯é¢ç½ãããããã¾ããããåã«sbtã使
æè¿ã·ãªã³ã³ã¦ã¨ãã¼ããã£ã¦å¬ããã£ãagoï¼@kyo_agoï¼ã§ãã ãã®ã¨ã³ããªã¯GREE Advent Calendar 2013 11æ¥ç®ã®è¨äºã§ãã ä»åã¯ã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã«ãããã©ã¤ã»ã³ã¹ç®¡çã®åé¡ãåãä¸ãããã¨æãã¾ãã ã©ã¤ã»ã³ã¹ç®¡çã®åé¡ç¹ ã使ç¨ãã¦ããã©ã¤ãã©ãªã®ã©ã¤ã»ã³ã¹ç®¡çãã©ãããããã¯ã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã«ããããçºçããåé¡ã§ãããã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã«ã¯ä»¥ä¸ã®æ§ãªç¹å¾´ãããããåé¡ãè¤éã«ãªãã¾ãã ã³ã¼ããçµåãå§ç¸®ãããå ´åããã ã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã§ã¯èªã¿è¾¼ã¿ã®é度ãä¸ããããã使ç¨ãã¦ããã©ã¤ãã©ãªã®çµåãå§ç¸®ãè¡ããã¨ãããã¾ãããããããã®æ誤ã£ã¦ã©ã¤ã»ã³ã¹æãæ¨ã¦ããã¦ãã¾ããã¨ãããã¾ãã ã½ã¼ã¹ãå¤é¨ã«å ¬éããã ã¯ã©ã¤ã¢ã³ããµã¤ãJavaScriptã§ã¯ã½ã¼
ããã«ã¡ã¯ãã¤ã³ãã©ã¹ãã©ã¯ãã£æ¬é¨ã®ç«¹è¾º(@beketa)ã§ãã ãã®ã¨ã³ããªã¯GREE Advent Calendar 2013 12æ¥ç®ã®è¨äºã§ãã 1. ã°ãªã¼ã§ã®Haskellããã°ã©ãæ¡ç¨ Haskellãå°å ¥ããä¼æ¥ãå¢ãã¦ããããã§ããæè¿å½å ã®ã¡ãã£ã¢ã§ç´¹ä»ãããäºä¾ã ãã§ã Tsuru Capitalæ§: http://itpro.nikkeibp.co.jp/article/Watcher/20131003/508622/ NTTãã¼ã¿æ§: http://itpro.nikkeibp.co.jp/article/NEWS/20131126/520642/ ã®è¤æ°ãããããã£ããå®ç¨çãªããã°ã©ãã³ã°ã¨ãã¦å®çããæãããã¾ãã å¼ç¤¾ã§ã2012å¹´ã®ä¸ããããè¤æ°ã®ããã¸ã§ã¯ãã§Haskellã使ãå§ãã¦ãããæ¨å¹´ããã¯ä¸é¨ã®åç¨ãµã¼ãã¹ã§ãHaskellã§éçºãããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}