2014-01-01ãã1ã¶æéã®è¨äºä¸è¦§
ä»ã¾ã§ã³ãã³ãã©ã¤ã³ã§ã¯ä½¿ã£ã¦ããã®ã§ããï¼å¨å²ã«Rubyãåºããããã«Eclipseåãã¾ããï¼ã¾ãEclipseèªä½ã¯æ®éã«ã¤ã³ã¹ãã¼ã«ï¼ 次ã«ãã®è¾ºããããï¼æ¬å®¶ http://www.eclipse.org/dltk/ é©å½ã«ã°ã°ã£ããåºããã¼ã¸ kkaneko.com ã¹ã¯ãªããè¨èªããµãâ¦
JRubyãCRubyã«æ¯ã¹ã¦é ããã件ã«ã¤ã㦠- ãªããæ°å¦è ã«ã¯ã¯ã¤ã³å¥½ããå¤ãHadoop Streamingãéããªãæã¯JRubyã®æ¹ãéãã£ãã®ã§ï¼ã²ãã£ã¨ãããå¦çéãå¤ãæã¯JRubyãCRubyã«ï¼Hadoop Streamingã§ãï¼åã¤ããããªããã¨æã£ã¦ï¼å°ããããã°ã®éâ¦
ããã¯ï¼ä¸èº«ã¯åãªãå¡©å³ããªï¼ï¼ï¼ï¼ åææãè¦ãã¨ï¼ã¡ãã£ã¨åããããã§ãï¼åææã¯ï¼ããããããï¼éºä¼åçµæãã§ãªãï¼ãï¼ãé£å¡©ï¼ç³å£ã®å¡©60ï¼ ä½¿ç¨ï¼ãï¼ãããã¶ã¨ãã¹ãã¦ãã¼ãï¼ãããã¹ããªã³ãçã§ï¼ã¨ãã«ã®ã¼ã¯22ã°ã©ã å½ãã123kcalï¼â¦
ã·ã³ã°ã«ããã»ã¹ã»ãã¼ã«ã«å®è¡ 課é¡ã¯ï¼ãã°ã®ãã¼ã¹ã§ãï¼ä¸ã¶æåã®Apache httpdã®ãã°ããã¼ã¹ãã¦ï¼å¿ è¦ãªæ å ±ã®ã¿ãå¿ è¦ãªãã©ã¼ãããã§åºåããRubyã®ããã°ã©ã ãï¼JRubyã¨CRubyã§å®è¡ãã¾ãï¼ [hadoop@hadoop_client]$ time cat access_log | rubâ¦
ç¾å³ããããªé¦ãã¨ï¼ãã©ãã¯ãããã¼ã®è¾ããåãã§ãï¼ è¾ãã¦æããªã£ã¦ãããããã§ãï¼ ãé ã®ãããã«ã¯è¯ãã§ããï¼åææåã¯ï¼ããããããï¼éºä¼åçµæãã§ãªãï¼ãï¼ãç³é¡ï¼ä¹³ç³ï¼ç ç³ï¼ã¶ã©ãç³ï¼ãï¼ããã¼ãºãã¦ãã¼ï¼ã¨ã¡ã³ã¿ã¼ã«ãã¼ãºï¼â¦
ãã«ãªã¨ã®ã¯ãªã¹ãã¹ã®ãã³ãã¬ããã«è¼ã£ã¦ããç¾ããåçãï¼ã¢ãã«ã®ååããããã¥ã¼ãµã®ååãã¹ã¿ã¸ãªã®ååãè¼ã£ã¦ããªãã¦ï¼é·ãéãã¾ã§ããï¼ æ±äº¬é½æ¸è°·ãã«ãªã¨ã®WONDER OF CHRISTMASã®éèªåçããã¹ã¿ã¼ãç¾ãããã件ã«ã¤ã㦠- ãªããæ°å¦â¦
ããã¯åãé¦ãã§ããã¼ï¼ ã¯ã¤ã³ã¯é¦ãã ãã§é ããã¨è¨ãã¾ããï¼ããã¯é¦ãã ãã§ãããã«ãªãããã§ãï¼ å³ã¯ã¡ãã£ã¨èãã§ããï¼ããã ããããªãã¦ï¼ã¡ããã¨ããã¯ã¤ã³ã®ããããä¸ç·ã«é£ã¹ãã¨ãããã¨ãªãã§ãããï¼åææåã¯ï¼ããããããï¼éºâ¦
æåã«ããã«ããã¢ã³ã»ã¢ã³ãã«ã«ãæ³ã¨ããè¨èãè¦ãã®ã¯ï¼æ åæ å ±ã¡ãã£ã¢å¦ä¼ã ã£ãã¨æãã¾ãï¼ 2005å¹´ã®è«æã£ã½ãã§ãï¼ CiNii è«æ - ããã«ããã¢ã³ã¢ã³ãã«ã«ãæ³ã«ãã Bayes çé¡ç»åèªèMCMCã®ææ°ååãç¥ãããã¦ãããã§èª¿ã¹ã¦ãããï¼Laiâ¦
ããã¯ç¾å³ããã§ããï¼ ãã³ããã¨ããã ãã§ç¾å³ããã®ã§ããï¼é¤æ²¹ã®å³ã¨ã«ãã«ãã®é¦ããä½ã¨ãããã¾ããï¼ã«ãã«ãã¯é森ç£ã ããã§ããï¼æé£ã¹ãã«ãã«ãã«ã¬ã¼ãç¾å³ããã£ãã®ãè¦ãã¦ãã¾ãï¼ ã«ãã«ãã«ã¬ã¼ - ãªããæ°å¦è ã«ã¯ã¯ã¤ã³å¥½ããå¤ãâ¦
é«æ ¡ã大å¦ã®æç§æ¸ã®æåã«è¼ã£ã¦ãããããªããã§ããã©ãï¼ ãã£ããRubyã®ç°å¢ãåºæ¥ã¦ï¼ã¢ã³ãã«ã«ãæ³å ¥éãå§ã¾ã£ã¦ï¼å ·ä½ä¾ããã£ãæ¹ãããããï¼ã¨ãããã¨ã§ï¼ããã°ã©ã ã¯ãããããã§ãï¼ j = 1; (1..1000).each{|i| s1 = rand() - 0.5; s2 = râ¦
æå¼·éçºç°å¢ã®emacsã§ããï¼æä½éã®è¨å®ã¨ãã¦ã¯ï¼ä»¥ä¸ã~/.emacs.d/init.elã«æ¸ãã¾ãï¼ ;;(autoload 'ruby-mode "ruby-mode" "Major mode for ruby files" t) (require 'ruby-mode) (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) (add-to-lisâ¦
åå¹´ã¶ãã«è²·ã£ãæãã§ãï¼ Calbee ãããã©ã¤ã ããããå¡©å³ - ãªããæ°å¦è ã«ã¯ã¯ã¤ã³å¥½ããå¤ããã£ããããæãã§ãï¼ãã©ãã¯ãããã¼ã®å³ãï¼ãã¤ãæçã®å¼·ãã®ã³ã·ã§ã¦å³ãæãããã¾ãï¼ãããåãã§ããã¨å³ãåºã¦ããæãã§ãï¼åææåã¯ï¼ãâ¦
çå§ã®é¦ãããªãã¨ãè¨ããªãç¾å³ããã§ãï¼ é¤æ²¹ã¨ã¸ã£ã¬ã¤ã¢ã®å³ãç¾å³ããã®ã§ããï¼ããã¾ãæçã§ã¯ç¡ãçµã¿åããã§ãããï¼å¼·ãã¦è¨ãã°ï¼ããããå³ã®ã¸ã£ã¬ã¤ã¢ã®åé¢¨ç ®ä»ãã¿ãããªæãã§ãï¼åææåã¯ï¼ããããããï¼éºä¼åçµæãã§ãªãï¼ãï¼â¦
ç¥ãåãã«ã¬ã¯ãã£ã¼ããããã«ä½ã£ã¦ããè³æã§ãï¼ ãä»»æã®ï¼ã§ããã°æ§è³ªã®è¯ãï¼ç¢ºçå¯åº¦åå¸ï¼ã¯ãã³ãã«ä»»æã®é¢æ°ã¨ãã¾ãï¼ ã¯ç¢ºçå¯åº¦é¢æ°ãªã®ã§ï¼å ¨ç©åãä¸ã«ãªãã¨ãããã¤ãã®æ¡ä»¶ãããã¾ãï¼ ããã¦ï¼ãããããå¤ãåã£ãæã«å¹³åãã©ããâ¦
é座ãæ°å®¿ã«ç¶ãã¦ï¼æ¸è°·ã«è¡ã£ã¦æ¥ã¾ããï¼ãããªã³ - ã¬ã¹ãã©ã³äºç´ã¨å®´ä¼ã»ã°ã«ã¡æ å ± æ¤ç´¢ãµã¤ããã¡ãã¯ãªãªã¸ãã«ã®ã«ã¯ãã«ãã¢ãªã¹ã®èè¸ä¼ãã ããã§ãï¼ æ°´è²ã®ã¢ãªã¹ã®ã¯ã³ãã¼ã¹ããããã£ãã¨ãï¼ ãï¼åä½ã«ã¢ãªã¹ã®ã¯ã³ãã¼ã¹ãç´¹ä»ããã·â¦
hiveserverãç«ã¦ã¦ï¼jdbcã§ãªã¢ã¼ããããã¼ã¿ãåå¾ãã¦ãã¼ã«ã«ã®hiveã«è½ã¨ãï¼ã¨ããã·ã¹ãã ãçµãã ãï¼çµæ§ãããã¾ããï¼Javaãä½ãã§jdbcçµç±ã§ãã¼ã¿ãåå¾ããããã°ã©ã ãä½ãæéãç¡ãã£ãã®ã§ï¼ã³ãã³ãã©ã¤ã³ã·ã§ã«ã®beelineã§å¼ã£å¼µã£ã¦ãâ¦
å ´æã«ããã¨æãã¾ããï¼çµè«ããããã°ï¼è¦³å ã»å·¥æ¥å°å¸¯ãã¦ãã¦ããã¦ããã«ãé¢ãããï¼ã»ã¨ãã©ä½¿ãã¾ããã§ããï¼ç¡ãããã¯ãã·ï¼ã¨ããæãã§ãï¼ åä¿¡ã«é常ã«ã¯ã»ããã£ã¦ï¼é常ã®é«ãã ã¨ï¼ç©ºæ¸¯ããã®ã·ã£ãã«ãã¹ã®é«ééè·¯ã®ä¸ã§ãã ãã¶é å¼µã£â¦
ããã¯ããªãç¾å³ããã§ãï¼ ãã¼ã¹ãããã³ã®é³¥ã®ç®ã®ã³ã·ã§ã¦ã®é¦ããå³ããã¾ãï¼å³ãæ¿ãããªãã¦æ¢ã¾ããªãæãã§ãï¼åææåã¯ï¼ããããããï¼éºä¼åçµæãã§ãªãï¼ãï¼ãããã³ã¨ãã¹ãã¦ãã¼ï¼ä¹³ã»å°éº¦ã»å¤§è±ã»è±èãå«ãï¼ãï¼ãç²æ«ãããããï¼â¦