2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
https://docs.ruby-lang.org/en/trunk/NEWS.html ãå ã« Ruby 2.5 ã®å¤æ´å 容ã調ã¹ã¦ã¿ã¾ããã é·ããªã£ãã®ã§3ã¤ã«ããã¦ã¾ãã å ¨è¬ çµã¿è¾¼ã¿ã©ã¤ãã©ãª æ¨æºæ·»ä»ã©ã¤ãã©ãª - ãã®ãã¼ã¸ å人çã«ã¯ coverage ã®åå²ã«ãã¬ãã¸åå¾ã« SimpleCov ã¨ããâ¦
https://docs.ruby-lang.org/en/trunk/NEWS.html ãå ã« Ruby 2.5 ã®å¤æ´å 容ã調ã¹ã¦ã¿ã¾ããã é·ããªã£ãã®ã§3ã¤ã«ããã¦ã¾ãã å ¨è¬ çµã¿è¾¼ã¿ã©ã¤ãã©ãª - ãã®ãã¼ã¸ æ¨æºæ·»ä»ã©ã¤ãã©ãª ãããã便å©ã«ãªã£ã¦ãã¾ãããå人çã«ã¯ Hash#slice, Kernel#â¦
Rubyã¯æ¯å¹´ã¯ãªã¹ãã¹ã«ãã¼ã¸ã§ã³ã¢ããããã¾ãã ä»å¹´ã12/25ã«Ruby 2.5ããªãªã¼ã¹ããã¾ããã https://www.ruby-lang.org/ja/news/2017/12/25/ruby-2-5-0-released/ https://docs.ruby-lang.org/en/trunk/NEWS.html ãå ã«å¤æ´å 容ã調ã¹ã¦ã¿ã¾ããã â¦
12/13 NSEGã®ããªãã¸ã§ã¯ãæåè¨è¨å®è·µã¬ã¤ããèªæ¸ä¼ã®ç¬¬8åã«åå ãã¾ããããè¡ã£ã¦ã¿ããåå è 3人ã ã£ãã®ã§å»¶æã«ãªãã¾ããã ãã3人ã¨ãååæ¬ å¸ã ã£ãã®ã§ãè£è¬(?)ã¨ãã¦ç¬¬7ç« ãèªã¿ã¾ããã 第6ç« ã®ã¯ã©ã¹ã«ç¶ãã¦ç¬¬7ç« ã¯ã¢ã¸ã¥ã¼ã«ã®è©±ã§ããâ¦
æè¿çºè¡¨ç¨ã¹ã©ã¤ããä½ãã®ã«ã¯ reveal-ck ã使ã£ã¦Markdownã§æ¸ãã¦ã¾ãã ãã®åã® Club MySQLã§ã·ã¼ã±ã³ã¹å³ãæãããã¦ãããã¹ããã¼ã¹ã§ç°¡åã«æ¸ãããã¼ã«ãç¡ãããªã¼ã¨æ¢ããã mermaid ã¨ããã®ãè¦ã¤ãã¾ããã HTMLä¸ã«æ¬¡ã®ããã«æ¸ãã°ã·ã¼ã±â¦
ã¿ã¤ãã«ã§åºè½ã¡æãããã¾ããâ¦ã naruby ã§æéããã¾ã£ãæã®ããã«ç¨æãã¦ãã£ãã®ã§ãããæéãä½ããªãã£ãã®ã§çºè¡¨ããªãã£ãå°ãã¿ã§ããããã§å ¬éãã¦ä¾é¤ãã¾ãã Rubyã¯ã»ã¼ãã¹ã¦ããªãã¸ã§ã¯ãã§ãã ã¯ã©ã¹ããªãã¸ã§ã¯ãã§ãããªãã¸ã§ã¯â¦
ãã®è¨äºã¯ Ruby 2.5.0 preview1 æç¹ã®ãã®ã§ããRuby 2.5 ãªãªã¼ã¹çã«ã¤ãã¦ã¯ http://tmtms.hatenablog.com/entry/2017/12/30/ruby25 ãè¦ã¦ãã ããã Rubyã¯æ¯å¹´ã¯ãªã¹ãã¹ã«ãã¼ã¸ã§ã³ã¢ããããã¾ãã ä»å¹´ãåé¡ãªããã°12/25ã«Ruby 2.5ãåºãã¨æâ¦
12/2 ãªãã®Rubyã®ä¼ç¬¬1åãéå¬ãã¾ããã naruby.connpass.com ãã£ã³ã»ã«ããªããé£ã³å ¥ãåå ããããåå è ï¼çºè¡¨è ãããã¦19åã§ããã çºè¡¨è 7人ã®ãã¡æ®æ®µããRubyã使ã£ã¦ããã°ã©ã ãæ¸ãã¦ããã®ã¯ç§å«ãã¦ç´2人ã§ãããé·éã®Ruby層ã®åããæâ¦
11/28 ã« Haskell 㧠MySQL ã® Xãããã³ã«ãå®è£ ããã¨ãã話ãè´ãã Club MySQL ã¨ããã¤ãã³ãããã£ãã®ã§åå ãã¦ãã¾ããã clubmysql.connpass.com MySQLã®ãããã³ã«ã®è©±ã¨ãããã¨ã§ãå¹³æ¥ã®å¤ã¨ã¯è¨ãæ±äº¬ã§åå è 9人(çºè¡¨è å«ã)ã¨ããããã¢ãâ¦
Rubyã®ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ãmanã®ããã«ç«¯æ«ä¸ã§èªãã³ãã³ãã¨ãã¦riãããã¾ãããæ®å¿µãªããããã§èªããã®ã¯è±èªã®ããã¥ã¢ã«ã ãã§ãã Rubyã«ã¯æ¥æ¬èªã§ããããããã¥ã¢ã«(é称ãããã¾ã)ãããã¾ããããã¡ãã¡ãã©ã¦ã¶ã§èªãã®ãé¢åã ãããâ¦
Emacs 使ããªã®ã§ããã¹ã¯ãããã®ãã¼ãã¤ã³ãã Emacs ã«ãã¦ãã¦ãFirefox ã®ããã¹ãå ¥åæ¬ã§ã Emacs ã½ãå ¥åãã¦ããã®ã§ãããFirefox 57 ã§ãªãã Ctrl-N ã§æ°è¦ã¦ã£ã³ãã¦ãéãããã«ãªã£ã¦ãã¾ãã¾ãããCtrl-B, Ctrl-F, Ctrl-P ã¯ã¡ããã¨ã«ã¼â¦
11/15 NSEGã®ããªãã¸ã§ã¯ãæåè¨è¨å®è·µã¬ã¤ããèªæ¸ä¼ã®ç¬¬6åã«åå ãã¾ãããåå è 3åã§ãããå¯ããã nseg.connpass.com ä»åã¯ç¬¬6ç« ãèªã¿ã¾ããã 第6ç« ã¯ç¶æ¿ã®è©±ã§ããã æ®æ®µããã¾ãæèããã«ãªãã¨ãªãå®è£ ãã¦ããã®ã§ãããææåãããã¨ãªâ¦
å¤ãRubyã®ã³ã¼ãã®ã³ã¡ã³ããç¬èªã®RDocå½¢å¼ããYARDå½¢å¼ã«å¤æãã¦ãããã«ãã®å¾ã«ããã°ã©ã ãå¤æ´ãããã§ããããã®å¾ã«å·®åãè¦ãã¨å¤§éã®ã³ã¡ã³ãã®å·®åã表示ããã¦ãå®éã®ã³ã¼ãã®å·®åãä½ãããããªããªã£ããããã®ã§ãã³ã¡ã³ããç¡è¦ãã¦å·®åâ¦
Ruby ã® bundler ã 1.13 ãã 1.15 ã«ã¢ãããã¼ããããä»ã¾ã§åããããã°ã©ã ãåããªããªãã¾ããã ãããªæã: % bundle _1.13.7_ exec ruby -r./hoge.rb -e Hoge.new % % bundle _1.15.4_ exec ruby -r./hoge.rb -e Hoge.new hoge.rb:3:in `initialiâ¦
11/1 NSEGã®ããªãã¸ã§ã¯ãæåè¨è¨å®è·µã¬ã¤ããèªæ¸ä¼ã®ç¬¬5åã«åå ãã¾ãããåå è 7åã§ããã nseg.connpass.com ä»åã¯ç¬¬5ç« ãèªã¿ã¾ããã ãªãã¸ã§ã¯ãã®å(ã¯ã©ã¹)ã調ã¹ã¦å¦çãå¤ããã¨ããã³ã¼ãã®ä¾ã¨ãã¦caseæã使ããã¦ã¾ãã: case preparerâ¦
Twitterè¦ã¦ãããããªãã¨è¨ã£ã¦ã人ããã¾ããã Unix ã§å®è¡ä¸ã®å®è¡ãã¡ã¤ã«ã®ãã¹ã確å®ã«å¾ãæ¹æ³ã¯ãªããã¨ããã®ã¯ FAQ ã ã¨æããã©ãå®éã«ãããããã¨ã¯èªåèªèº«ãå¥ããã»ã¹ã§æ°ãã«ç«ã¡ä¸ãããã¨ãããã¨ãªã®ã§ãã¡ã¢ãªã«ãã¼ãæ¸ã®èªåèªèº«â¦
Ubuntu 17.10 ãåºãã®ã§ãXubuntu ã 17.10 ã«ãã¦ã¿ãã ããã¾ã代ããæ ãããªãã£ãã®ã§ãGNOME ãã¼ã¹ã«ãªã£ãã¨ãã Ubuntu ã使ã£ã¦ã¿ãã % sudo apt install ubuntu-desktop ãããããããã¢ããªã®ã¡ãã¥ã¼ãã¼ãã¢ããªã®ã¦ã£ã³ãã¦å ã§ã¯ãªããâ¦
Rubyã¯æ¬å¼§ãã¤ããªãã¦ãã¡ã½ãããå¼ã³åºãã¾ããã¡ã½ããåã¯æ®éã¯è±å°æåã§å§ã¾ãã¾ãããã¼ã«ã«å¤æ°ãè±å°æåã§å§ã¾ãã¾ãã ãããªRubyããã°ã©ã ãå®è¡ããã¨(ifã®æ¡ä»¶é¨ã§ä»£å ¥ãã¦ããã®ã¯typoã§ã¯ããã¾ãã)ã def hoge 123 end p hoge x = 456â¦
æè¿1ãã©ã¤ãã®QNAP(TS-121)ã使ã£ã¦ããã ãã©ããã£ã±ãããã¯ã¢ããããªãã¨æãã®ã§ãUSBã®å¤ä»ããã£ã¹ã¯ãã¤ãã¦ããã¯ã¢ãããããã¨ã«ã QNAPã®ãã©ã¼æ©è½ã¯ãªããããããããªãããã¾ãã¡ä¿¡ç¨ã§ããªãã®ã§ãrsync ãä»è¾¼ãã§ã¿ãã ssh 㧠QNAP â¦
ææ¸ããè¨äºãä¹ ã ã«è¦ã¦ã¿ããä½æ¸ãã¦ããããã£ã±ãããããªãã£ãã®ã§ãææ°æ å ±ã§æ¸ãç´ãã¦ã¿ã¾ãã tmtms.hatenablog.com 以ä¸ã¯ MySQL 5.6, 5.7 ã«ã¤ãã¦æ¸ããã¦ãã¾ãã MySQL ã® max_connectoins, table_open_cache, open_files_limit ãã©ã¡ã¼â¦
10/4 NSEGã®ããªãã¸ã§ã¯ãæåè¨è¨å®è·µã¬ã¤ããèªæ¸ä¼ã®ç¬¬3åã«åå ãã¾ãããåå è 11åã§ãããçæ³ã§ããã nseg.connpass.com ä»åã¯ç¬¬3ç« ãèªã¿ã¾ããã ã³ã¼ãä¾ãåé ããã¦ãããè¯ãè¨è¨ã¨ãã¦æãããã¦ãã³ã¼ãããã¾ãã¡ãã³ã¨ããªãã¨ããããâ¦
å½¹ã«ç«ããªãã©ã¤ãã©ãªãä½ãã·ãªã¼ãºã§ãã æè¿ä¾å¤ãçºçãããªãæè¨èªãæµè¡ã£ã¦ããããã¨èãã¦ä½ã£ã¦ã¿ã¾ããã ã¤ã³ã¹ãã¼ã« % gem install tmtms-noexception ãªã㨠noexception ã¨ããååã¯æ¢ã«åããã¦ãï¼ ä½¿ãæ¹ ãããªé¢¨ãªä¾å¤ãçºçããâ¦
Rubyã§ä½ã®å½¹ã«ç«ã¤ãããããªãã¦èªåã§ã使ããªã誰å¾ãªã©ã¤ãã©ãªãä½ãã®ã趣å³ãªã®ã§ãããRubyKaigiã«åå ãã¦é«ã¾ã£ãã®ã§ä¸ã¤ä½ã£ã¦ã¿ã¾ããã ã¨ãããå®éã«ã¯RubyKaigiåã«ä½ã£ã¦ãã£ããã©ååãæãã¤ããªãã¦æ¾ç½®ãã¦ããã®ã§ãããRubyKaigiâ¦
RubyKaigi2017ã«åå ããã®ã§ã¡ã¢ã 0æ¥ç® 10æã«å®¶ãåºã¦6æéæãã¦åºå³¶ã¸ã åºå³¶ã¯å°é¢¨ã®ç´æã³ã¼ã¹ã§ã©ããªããã¨æãã¾ãããæ°å¹¹ç·ã¯ã¡ããã¨å®æã«åºå³¶ã«å°çãã¾ããã åºå³¶ããå ãåé»ãããããä¹ã£ã¦ããåè»ã¯åºå³¶æ¢ã¾ãã§ããã®å¾ã¯çµæ§é ããâ¦
9/16 NSEG #92 ã«åå ãã¾ãããåå è 9人ã§ããã ã¢ãããããkotlin Null Safetyãã¨ããçºè¡¨ããã¾ããã Kotlinã§ã¬ãã½ãçºçãããæ¹æ³ããããã®ç´¹ä»ã§ãã(?)ã http://rayflood.org/diary-temp/nseg92.html ãã以å¤ã¯ãã¿ãç¡ãã£ãã®ã§ãã横æµâ¦
9/6 NSEGã®ããªãã¸ã§ã¯ãæåè¨è¨å®è·µã¬ã¤ããèªæ¸ä¼ã®ç¬¬1åã«åå ãã¾ãããåå è 8åã§ããã nseg.connpass.com 第1ç« ã¯å°å ¥é¨ã£ã¦æãã§å ·ä½çãªãã¨ã¯ãã¾ãæ¸ããã¦ããªãã£ãã®ã§ãããèãçããªããããªãã話ãæºè¼ã§ããã è¨è¨ããªãã¨ã管çãâ¦
ããåå¹´ããããã¬ã¼ã³ã®ã¹ã©ã¤ãã¯reveal-ckã¨ããã®ã使ã£ã¦ã¾ãã github.com reveal-ck ã¯ããã©ã¦ã¶ä¸ã®ãã¬ã¼ã³ãã¼ã« reveal.js ãç°¡åã«ä½¿ããããã«ãããã®ã§ãã Linuxã§ãFirefoxãè²ä»ãçµµæåã使ããããã«ãªã£ãã®ããã£ããã«ãMarkdownã§â¦
8/26ã«éå¬ãããã¨ã¡ãRubyä¼è°07ã«åå ãã¦ããã®ã§éæçã æ¼é£¯ã®åæãã®ããªã¥ã¼ã ããããã ãå¼å½ãå°çãããé ¼ãã ã®ã«ãã®å¤§ããΣï¼ã»â¡ã»ï¼ï¼ã¢ã¡ãªã«é£¯ãæãåºãããï¼#toRuby pic.twitter.com/Z1yx77cxMhâ ã¡ãã¾ã©@MSæ¬ç¤¾ãã¼ã ã«ãªã£ã (@câ¦
RightCSVã§ä¹ ã ã«Gemãä½ã£ãã®ã§ãæè¿ã®Gemã®ä½ãæ¹ãã¡ã¢ã£ã¨ãã¾ãã GitHubä¸ã«ãªãã¸ããªãä½ã£ã¦ git clone å¥ã«æåã«ãããªãã¦ãããã§ããã©ãã©ãã GitHub ã§å ¬éããã®ãªãæåã«ãã£ã¨ããæ¹ã楽ã§ããREADMEãLICENSEãã¡ã¤ã«ãä½ã£ã¦ããã¾â¦
Rubyã®CSVã©ã¤ãã©ãªã¯ä½æ ã空ãã£ã¼ã«ãã«ã¤ãã¦nilãè¿ãã¾ã(ã"ãã§æ¬ããã¦ããã¨ç©ºæååãè¿ãã¾ã)ã require 'csv' CSV.parse('a,,"","1,2"') do |row| p row end #=> ["a", nil, "", "1,2"] ãªã®ã§ãããèæ ®ãã¦ããªã㨠NoMethodError(ããããâ¦