next49 @next49 @yukihiro_matz ç§ã¯å¤§å¦ã§å©æããã¦ããã®ã§ãããä»å¹´ã®åè«çã¯é å±å½åãããã°ã©ã ãä¸å¾æã§ãå«ãã§ããã¨å ¨å¡è¨ã£ã¦ãã¾ãããã§ãããRubyã¨Railsã使ã£ã¦Webã¢ããªã±ã¼ã·ã§ã³ãä½ããã¼ãã§éçºããããã¨ãããæè¦ãå¤ãã£ã¦ãã¾ããã 2012-03-23 01:09:04 next49 @next49 @yukihiro_matz å ¨å¡ããçµæ§ãããã°ã©ãã³ã°ã£ã¦é¢ç½ãããRubyãªãããã°ã©ã å«ãããªããã¨ããããã«ãªã£ãã®ã§ããããã§ãå½¼ãã«ã©ããã¦ããã°ã©ã ãå«ãã ã£ãã®ãèããã¨ãããå ¥å¦å½åã«ãªãã£ãCè¨èªãé£ããã¦ãããããå«ã«ãªã£ãã¨ã®ãã¨ã§ããã 2012-03-23 01:10:51
2010å¹´09æ21æ¥18:00 ã«ãã´ãªæ¸è©/ç»è©/åè©Lightweight Languages è¨èªè¨è¨è ãã¡ãèããã㨠- æ¸è© - Masterminds of Programming ãªã©ã¤ãªã¼ç¤¾ã®æ å½ç·¨éè èµ¤æ± æ§ããç®æ¬å¾¡ç¤¼ã è¨èªè¨è¨è ãã¡ãèããã㨠Mastermind of Programming Federico Biancuzzi / Shane Warden ä¼è¤ç浩 / é æ«å義 / ä½è¤åä¸ / é´æ¨å¹¸æ / æä¸é ç« è¨³ [åè:Masterminds of Programming] ã½ããã¦ã§ã¢ã«é¢ãã人æç³»æ¸ç±ã¨ãã¦ã¯ãééããªãæéè¦ã®ä¸åãä»å¾ãããªãã§ã½ããã¦ã§ã¢ã«ä»ãã¦èªããã¨ã¯æ ã¾ããã§ãããã ãã®ãããªéè¦ãªä¸åã«æ»èªè ã¨ãã¦ãæä¼ãã§ãããã¨ã¯ãå æ ã¨ããããããããªãã æ¬æ¸ãè¨èªè¨è¨è ãã¡ãèãããã¨ããåè"Masterminds
ãã¤ã¦ã¯ãå®ã«å¤ãã®ããã°ã©ãã³ã°éèªããã£ããã®ã ãæãè¿ãã°æããããéèªã«è¼ã£ã¦ãããã¤ããªã³ã¼ãããå¿ æ»ã«æã¡è¾¼ãã æ¥ãè¦ãã¦ããã ãããï¼ãã«ã»ãããã¼ãã®é³ã§ãã©ã®ãã¤ã³ã³ã®ãã¼ã¿ãããã¦ãéã³ããããã¨ã¯ããã ãããããã¤ã¦ã¯ãNHKã§ãããè¨é²ãã¼ããæ¾éãã¦ãå家åºã§é²é³ããããã¨ã§ããã¤ã³ã³åãã®ãã¼ã¿ãããã¼ããã£ã¹ããã¦ããã®ã§ããã æãã°ãæ代ã¯å¤ãã£ããæã ã®ã³ã³ãã¥ã¼ã¿ã¼æè¡ã¯é²åããå®ã«ä¾¿å©ã«ãªã£ãã誰ãè½ãããªã¢ã«ã¿ã¤ã 3Dã¬ã³ããªã³ã°ãäºæ³ããã ãããã誰ãè½ããHDåç»ã®ããªã¢ã«ã¿ã¤ã ãã³ã¼ããäºæ³ããã ããããã¯ããä»æ¥ã®Webã®èéã¯å¦ä½ã ã³ã³ãã¥ã¼ã¿ã¼ã¯é²åãã便å©ã«ãªã£ããããããã³ã³ãã¥ã¼ã¿ã¼ãããã°ã©ã ããã®ã¯ãä¾ç¶ã¨ãã¦ãæã人éã§ãããããã°ã©ãã§ãããããã°ã©ããæè¡ãç¿å¾ãã¹ãã½ã¼ã¹ã¨ãªãã®ãã®ã¯ä½ãããããããã§èª°ããæ¸ãã¦ã
insertion sortã¯ãæ¿å ¥ã½ã¼ããã¨è¨³ãããã(Wikipediaâ http://ja.wikipedia.org/wiki/%E6%8C%BF%E5%85%A5%E3%82%BD%E3%83%BC%E3%83%88 ) â ãæ¥æ¬èªç Wikipediaã®æ¥æ¬èªã®ãã¼ã¸ã®ã³ã¼ããå¼ç¨ããã¨æ¬¡ã®ããã«ãªã£ã¦ããã for (i = 1; i < n; i++) { tmp = data[i]; for (j = i; j > 0 && data[j-1] > tmp; j--) { data[j] = data[j-1]; } data[j] = tmp; }ä¸ã®ã³ã¼ãã§ã¯ãå å´ã®ã«ã¼ãã§insertã®å¿ è¦ããªãã£ãå ´åã§ãæå¾ã«data[j] = tmpã§tmpå¤æ°ãwrite backãã¦ãããããããinsertã®å¿ è¦ã®ãªãã£ãå ´åã§ãj=iã1åå®è¡ãããããããã®æå³ã«
追è¨:ãkzk's blogãã®ãWriting TokyoCabinet wrapper for Go languageãã§ç´¹ä»å¾¡ç¤¼ããã®è¨äºã¯ cgo ã使ã£ã TokyoCabinet ã®ã©ããã¼ã®æ¸ãæ¹ã解説ãã¦ããã®ã§ãä¸è¨ã®ã³ã¼ãã¨çµã¿åããã¦æ¬å½ã« tc ã backend ã«ãªã£ã¦ãã KVS ãæ¸ãã¦ã¿ãã®ãããããã ãæ©é Go è¨èªã試ãã¦ã¿ãï¼ãã¨ãã ãGo ã§ç¡é§ã«ãã£ã³ãã«ã使ã£ã¦ã¯ã¤ãã¯ã½ã¼ãã®ãããªãã®ãæ¸ãã¦ã¿ããã¨ãã ãã¡ãã¯ã¨ããã¨ã試ãã« memcache ãã¤ããªãããã³ã«ã§éä¿¡ãã KVS ãã©ããæ¸ããã ãµã¼ãã®ã¤ãã³ãã«ã¼ã㧠go ããã°å ¨é¨æ¸ãã®ã楽ã¡ãã§ããã 追è¨: HandleConn() ã®ä¸ã§ãbackend_ch ã backend ã¨ã®éä¿¡ã¨å信両æ¹ã«ä½¿ã£ã¦ããã®ã ãã©ãããã«ããããã«ãã¾ã£ãã誤ãã ã¨ãããã¨ãå
ã¯ããã« Google ããæ°ããã°ã©ãã³ã°è¨èª The Go Programming Language ãçºè¡¨ããã¾ãããï¼ ã¨ããããã§ããã£ãã試ãã¦ã¿ããã¨æãã¾ãã ç°å¢ã¯ Mac OS X 10.6 ã¤ã³ã¹ãã¼ã« ãã£ããã¤ã³ã¹ãã¼ã« Getting Started - The Go Programming Language ãè¦ãªãã ç°å¢ã®æºå ãã£ã¬ã¯ããªãä½ã amacbook% cd ~ amacbook% mkdir go amacbook% mkdir binç°å¢å¤æ°ã®è¨å®ãããã~/.zshrc ã«ä»¥ä¸ã追å # Go ç¨ export GOROOT=$HOME/go export GOOS=darwin export GOARCH=amd64 export GOBIN=$HOME/bin export PATH=$GOBIN:$PATH Mercurial ã
_ [è¨èª] The Go Programming Language ããç¥ã£ã¦ãã人ã¯ç¥ã£ã¦ããGoogleããã®ã·ã¹ãã ããã°ã©ãã³ã°æ°è¨èªGoã ãã£ããç¥ãã«ã¯ä¹ãé ããæããããã©ãå°ãã ãã³ã¡ã³ããã¤ãã¦ãããã ç®æ¬¡ è¨èªä»æ§ è¨èªå®è£ æè¡çã§ãªã話 ã¾ã¨ã è¨èªä»æ§ ç·åçã«è¦ã¦ãé常ã«ãã©ã³ã¹ãèãã¦ããããã«æããã JavaãC++ã®ãããªè¤éããæãã¦ãã·ã³ãã«ã«å¾¹ããä¸æ¹ã è¨èªå¥½ããåºæ¿ãããããªæ°ããã¢ã¤ãã£ã¢ããããããã«é ç½®ãã¦ããã ç¹å¾´ã§ãããã³ã³ãã¤ã«ãé«éãã¨ããã®ãã ãã®ã·ã³ãã«ãªè¨èªä»æ§ãå¯ä¸ãã¦ããã¨æãããã å人çã«ã注ç®ããã®ã¯ãªãã¸ã§ã¯ãæåæ©è½ã¨ã並åæ©è½ã interfaceã«ãããç¶æ¿ã®ãªããªãã¸ã§ã¯ãæå(duck typing)ã¯ãããªãç§å¥½ã¿ã§ããã æããããããè¨èªã欲ããã£ããinterfaceã®ã¿åççµåã許ã
ä»å¹´ã®æåç¥ã§æ¸ããè¨äºã§ãã - Cè¨èªã¨ããã°ããããªã¤ã¡ã¼ã¸ãéå»ã®éºç£ã¨ãã£ãæããããããããã¾ããã Cè¨èªã®ãã¬ãã£ããªå´é¢ã¨ããã¨ããã¯ããã¤ã³ã¿ãã¡ã¢ãªç®¡çãªã©ãé£ãããã¨ãããã¨ãæãã¤ãããããã¾ããã ããããCè¨èªã®ãã¤ã³ã¿ã¯è¡¨è¨ã«é¨ãããããã ãã§ãä»çµã¿èªä½ã¯å ¨ãé£ããããã¾ããã ææ³ããã©ããã®PerlãC++ã¨æ¯ã¹ããå±ã§ããªãåç´ãã§ãã å®ã®ã¨ãããä»æ§ãç ©éã§é£ããã®ã¯ãCããªããã»ããµãªã®ã§ããã¾ãã æ®æ®µãããã¾ãè¤éãªä½¿ããããããªãããæ°ã¥ããªãããããã¾ããããCããªããã»ããµã®ç½®æå¦çã¯ã欺çã¨è£åãã«æºã¡ãä¸çãªã®ã§ãã ãããé²åããã¨ãã³ãã¬ã¼ããªã©ã¨ãã£ããã£ã¨é¢ç½ããã®ã«ãªãã®ã§ãããä»åã¯Cããªããã»ããµã§è¨ç®ããã¡ãã£ããããã¨ããã¾ã§è©¦ãã«ãã£ã¦ã¿ã¾ãããã (ãªããGCCã«ããå®é¨çã«èª¿ã¹ãè¨äºãªã®ã§ãä»ã®Cã³ã³ãã¤ã©
ããããã¦: ãã¼ã«ã®ãããªãã® ãã¼ã«ã®ãããªãã®ã¨ã¯ãPerlã«é¡ä¼¼ããããã°ã©ãã³ã°è¨èªç¾¤ãæãä¿ç§°ã§ãããPOKEMONãã¹ã¿ã¼ãç®æãè·æ¥ã§ãããã ç¨æ³[ç·¨é] ææ¡æ¸ãä»æ§æ¸ãPOKEMONã«ããã¦ãã©ã®è¨èªã使ãã®ãé©åãå¤æã§ããªãã¨ãã«ããwebãµã¼ãã¹ã¯ãã¼ã«ã®ãããªãã®ã使ã£ã¦éçºãããã®ãããªå½¢ã§ä½¿ç¨ããã ã¾ãå¤å ¸è¨èªããç¥ããªã人ããè¦ããã¨ã®ãªãã¹ã¯ãªããè¨èªã«ã¤ãã¦èª¬æãæ±ããããã¨ãã«ãããã¯ãã¼ã«ã®ãããªãã®ã§æ¸ããã¦ãã¾ããã®ããã«ä½¿ãã ãã¹ã³ããªã©ããç¯äººã¯ãã¼ã«ã®ãããªãã®ã使ã£ã¦ãã¹ãã³ã³ãã¥ã¼ã¿ã¸ã®ä¾µå ¥ããããªã£ããã®ããã«ä½¿ããã¨ãããã ç¹å¾´[ç·¨é] ãã¼ã«ã®ãããªãã®ã¯ã以ä¸ã®ãããªç¹å¾´ãæã¤ãä¾å¤ããããã®ã®ããããã«åè´ãã¦ããã»ã©ãã¼ã«ã®ãããªãã®ã¨è¦ãªãããã çãããã°ã©ã ãæ¸ãç®çã§éçºããããããã®è¨èªããããã使ãçç±
<< 2009/10/ 1 2 3 1. [è¨èª] the 0.8 true language 4 1. ãã³ãã³å°ä¸é 5 6 7 8 9 10 11 12 13 14 15 16 1. æ¥æ¬çµæ¸æ°èå¤åãæãã²ã¨ã 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >> _ [è¨èª] the 0.8 true language ãããããã¨ã«ä½¿ããå®ç§ãªè¨èª(the one true language)ãåå¨ããªããã¨ã¯æããã§ããã ãã¨ãã°ãRubyãã©ããªã«ãã°ãããè¨èªã§ããRubyèªèº«ã¯Rubyã§ã¯è¨è¿°ããã¦ããªãã ã¾ããOSãªã©Rubyã§è¨è¿°ããã«ã¯åããªãåéã¯ãããã§ãããã ããããRubyãåããªãããã°ã©ãã¼ãããããã ãããã®ç¹ã«ã¯ä»åã¯è§¦ããªãã ãããã100%ãèãããããå®ç§ãªè¨èªã¯åå¨ããªãããã ãã ä»®ã«80
ã¹ãã¼ãªã¼ by reo 2009å¹´09æ02æ¥ 11æ00å ããã§ã¨ããããã¾ããããã§ã¨ããããã¾ã é¨éãã å½éçãªããã°ã©ãã³ã°ã³ã³ãã¹ãã§ãã ICFP '09 Programming Contest ã®çµæãçºè¡¨ãããæ ããã 1st prize ã«ã¯ shinh (Hamaji Shinichiro æ°) ãé¸ã°ãã (shinh æ°ã®ããã°è¨äºã証æ åç) ã ä»åã®èª²é¡ã¯ ICFP '09 Programming Contest ã®ãã¼ã¸ã«æ²è¼ããã¦ããã (Program Specification (v1.9) [PDF])ãè¡æã®æ縦ã«é¢ãã課é¡ã¨ã®ãã¨ã
strchr.com ã¯ï¼è¥¿ã·ããªã¢å¨ä½ã®ããã°ã©ãã¼ Peter Kankowski æ°ã綴ãããã°ã©ãã³ã° TIPS é Wiki ã ã主㫠C 㨠x86 ã¢ã»ã³ããªã¨ Win32 ã«ãããæé©åã®è©±é¡ã«ã¤ãã¦è§¦ãã¦ãããæ¯è¼çä¸è¬æ§ã®é«ã話é¡ããæ§æããã¦ããããï¼ããã°ã©ãã¼ã§ããã°å¤§æµã®äººã«ã¨ã£ã¦åèã«ãªãé¨åãããã®ã§ã¯ãªããã¨æãã ä¾ãã°å種ã®ããã·ã¥é¢æ°ã«ã¤ãã¦æ§è½ã®æ¯è¼ãè¡ã£ã¦ãããã¼ã¸ãªã©ãããï¼ ãã®ãã¼ã¸ã®çµè«ã¨ãã¦å§ãããã¦ããã®ã¯ MurmurHash 2.0 ã¨ããã¢ã«ã´ãªãºã ãåã¯ãã®ã¢ã«ã´ãªãºã ããã®ãã¼ã¸ã§åãã¦ç¥ã£ãã
17:05 09/08/31 FLTV FLTV ã§ã ãã¬ããªã«ã«ããã°ã©ãã³ã°ãï¼å¯é¡ï¼ çã»èªç¶è¨èªããã°ã©ãã³ã°ï¼ã¨é¡ãã¦çºè¡¨ãã¦ãã¾ããï¼ çºè¡¨ã¹ã©ã¤ãã æªæ¥ã®è¨èªâ¦ã¨è¨ããã¦ããã¤ããã¦ãããããªè¨èªæ©è½å¦æ³ããã©ãã©ã¨èªãã°ããã®ããªã¼ ã¨æã£ã¦éä¸ã¾ã§çºè¡¨ãã¿ãçµãã§ãã®ã§ããã ãã£ã±ãä¸æ¬ã¹ã¸ãéã£ã¦ãæ¹ãé¢ç½ãã ããã¨ãããã¨ã§ãä¸ã¤è»¸ãéãã¾ããã ãã¼ãã¯ãæ¥æ¬èªãè±èªãããã°ã©ãã³ã°è¨èªã¨è¦ãªãã¦ã¿ãã¨ã å®ã¯ã¤ããã¯ã¨ã¦ããã¯ãã«ã§åãã®ã§æªæ¥ã®è¨èªã¯æ¯éãã¯ãã¹ããã ã¹ã©ã¤ãã§ã¯ç§ã®æãå ·ä½ä¾ãï¼ã¤ã»ã©æãã¦ããã§ããã ã¾ãããã¯ããã¾ã§ä¾ã§ãã¦ãä¼ãããã£ãã®ã¯ ãã¡ãã£ã¨ã¿ãªããèªç¶è¨èªããããã°ã©ãã³ã°çãªãæ©è½ããæ¢ãã¨ããèãæ¹ããã¦ã¿ãã¨é¢ç½ãããã§ããï¼ã ã¨ãã軸ãã®ãã®ã®æ¹ã§ãããã£ã¨ãã®ï¼ã¤ã®ä»ã«ãè²ã ããã¯ãã ãã¿å ã¯ã ä»å¹´ã®
ãã¼ã¸ã§ã³ç®¡çãã¼ã«Gitã®åºç¤ç·´ç¿ã§ãã Windows XPã®ã³ãã³ãããã³ããã§Gitã®åºæ¬çãªã³ãã³ããåããã¦ããã¾ãã Gitãå¦ã³å§ãããã£ããã«ã©ããã ï¼çè ãã¾ã Gitã使ãããªãã¦ããããã§ã¯ããã¾ããã 誤ãã®ãå ±åãæ¹åææ¡ãªã©ã¯å¤§æè¿ã§ãããã£ã¼ãããã¯ãããããããé¡ããã¾ãï¼ ç®æ¬¡ ã¯ããã« ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« ãã¡ã¤ã«ãGitã®ç®¡çä¸ã«ç½®ãã¾ããã æ°ãããã¡ã¤ã«ã追å ãã¾ã æ°ãããã£ã¬ã¯ããªã追å ãã¾ã ç·¨éããã³ãããã¾ã§ã®æµãã¯ãããªé¢¨ã«é²ã¿ã¾ã ãã©ã³ãã使ã£ã¦ã¿ã¾ããã ããã¾ã§ã®ä½æ¥ãã°ãè¦ã¾ããã ãã®ææ¸ã«æ¸ããªãã£ãã㨠é¢é£ãªã³ã¯ æ´æ°å±¥æ´ ãã²ãææ³ããéããã ãã ã¯ããã« Windows XPã®ã³ãã³ãããã³ããã§ã ãã¼ã¸ã§ã³ç®¡çãã¼ã«Gitã®åºæ¬çãªã³ãã³ããåããã¦ã¿ã¾ãããã ãã®ææ¸ã®éãã«å®è¡ããã¨ã åºæ¬ç
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}