You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
sumim.hatenablog.com ã®è¿½è©¦ã§ãã è¤æ°ã®Rubyå®è£ ã§éãã®éããæ¯ã¹ã¦ã¿ã¾ãã ã¹ã¯ãªãã require 'benchmark' def tak(x, y, z) if x > y then tak(tak(x-1, y, z), tak(y-1, z, x), tak(z-1, x, y)) else y end end Benchmark.bm do |x| x.report do tak(14, 7, 0) end end Ruby 3.1.2preview2 ledsun@MSI:~/taraiâºruby -v tarai.rb ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] user system total real 15.766919 0.000000 15.766919 (
Pull request below for non-"git am" users... I tried my best to add many comments throughout the code. I realize this is a lot of new code; and not a typical or common usage of kqueue or epoll. The kqueue code ended up being very complicated to support corner cases (see comments in iom_kqueue); so perhaps the epoll implementation should be easiest-to-understand. I suggest understanding data struct
Aki Ariga @chezou #kwskrb ã§ãã¼ãã§ã¯ãRubyãèªã¿é²ãã¦ããã©ãã¢ãã©ã¯ã¿ãã£ã¼ã«ãã®åæã§çµããåã«æ¹è¨çãã§ã¦ãæ°¸é ã«ã·ã¥ã¿ã¤ã³ãºã²ã¼ãã«å°éããªãããããªããã¨ãã話ããã¦ãã 2017-05-17 20:10:06
kawasakirb @kawasakirb .@xmisao ããã«ããLTã極貧Webãµã¼ãã¹éç¨-IDCFã¯ã©ã¦ã/Google Cloud Functionããã¯ãã¾ãã¾ããã¼ #kwskrb 2017-01-25 20:28:40
TL;DRã¯ã¦ãªããã¯ãã¼ã¯ã¨ã³ããªã¼æ å ±åå¾APIã¯ãUser-Agentãåå¨ããªããªã¯ã¨ã¹ãã«å¯¾ãã¦503ãè¿ãããã«ããªããRubyã¨ããæååã«åæ¹ä¸è´ããUser-Agentã®ãªã¯ã¨ã¹ãã«å¯¾ãã¦ã503ãè¿ãã¯ã¦ãªããã¯ãã¼ã¯ã¨ã³ããªã¼æ å ±åå¾APIã使ç¨ããæã¯ãRubyããå§ã¾ããªãUser-Agentãæå®ãã¦ãªã¯ã¨ã¹ãããå¿ è¦ãããæ¦è¦ã¯ã¦ãªããã¯ãã¼ã¯ã¨ã³ããªã¼æ å ±åå¾APIã使ç¨ããã¨ãããURLã«ã¤ãã¦ãã¯ã¦ãªããã¯ãã¼ã¯ã®ã¨ã³ããªã¼æ å ±(件æ°ãã³ã¡ã³ãç)ãåå¾ãããã¨ãã§ãã¾ãã 大å¤é åçãªAPIã§ããããã®APIã使ç¨ãããã¨ããã¨ãããã¯ã¦ãªã®ããã¥ã¡ã³ãã«ã¯æ¸ããã¦ããªãå¥å¦ãªæåã«æ°ã¥ããã®ã§ãæ¸ãçãã¦ãããã¨ã«ãã¾ãã å¥å¦ãªæåã確èªããã®ã¯2016å¹´9æ24æ¥ã§ãã Web APIã¯çã¢ããªã®ã§ãææ¥ã«ã¯éãæåã«ãªã£ã¦ããããç¥ãã¾ããã
kawasaki.rbã¨ã¯ Kawasaki.rbã¯å·å´å¨è¾ºã®Rubyæè¡è ãã¡ãéã¾ããRubyã«é¢ããä½ããããå°åRubyistã³ãã¥ããã£ã§ãã æ¯æ第4æ°´ææ¥ã«å·å´é§ è¿è¾ºã§æ´»åãã¦ãã¾ãã Slack Facebook Group Twitter ã§éå¬æ¡å ããã¦ãã¾ãã®ã§ãããã°ç»é²ãã¦ãã ããã æè¿ã®æ´»åã®æ§åã¯mediumã«ããã¾ãã御覧ãã ããã å ¬å¼ãµã¤ãããã¡ãã«ç«ã¦ã¾ããã åå è¨äºãªã©Pull Requestãå¾ ã¡ãã¦ãã¾ãã å°ãåã¾ã§ã®éå¬ã®æ¨¡æ§ã¯blogè¨äºã«ã¾ã¨ãã¦ããã¾ãã®ã§ããåç §ãã ããã ã©ãããæãã æè¡çã§ã³ã¢ãªé¢ç½ãã話ãããWebæ¥çã§ã¯å½ããåãããããªããã©ã¨ã³ãã©ã§ã¯ããããè¦å´ããã¦æ°ããæè¡ã«åãçµãã§ãã¾ãçãå¹ åºãã話ã§ãããã¨æãã¾ãã çµæ§æ¥åã§Ruby使ã£ã¦ãã¦ããä¼ç¤¾ããããã³ãã¥ããã£ã«éå ãã風åãå°ãªãä¼ç¤¾ã£
ãã 8/20 ã«å·å´Rubyä¼è°01ãéå¬ãã¾ããã regional.rubykaigi.org å·å´Rubyä¼è°ã¯ãkawasaki.rbã®ä¸»å¬ããå°åRubyä¼è°ã§ãã ã¡ããã¨ããã¾ã¨ãã¯ãã³ã¾ã«åºãã¨æãã®ã§ãããã§ã¯éå¬ã®çµç·¯ãªãããç°¡åã«æ¸ããã¨æãã¾ãã ãªããçºè¡¨å 容ãæ°ã«ãªãæ¹ã¯ã¿ã¤ã ãã¼ãã«ã«ããã¹ã©ã¤ããåç»ã¸ã®ãªã³ã¯ãè¦ãã¨è¯ãã¨æãã¾ãã togetter ãã£ãã㯠Ruby Kaigi 2015 æ¥æ¬é ãäºå®ä¸ç¡éã«é£²ããä¼ã«åå ããã¨ãããå³ããã«ã次ã®regionalã¯ãããªãã®ãã¨è¨ãããåºèª¿è¬æ¼è ã決ã¾ãã°ããããã¨çãã ç¿æ¥ãmiyagawaããã¨é£²ãã§ããããã«ããã¨è©±ãã¦ãã2å以ä¸ç¶ãregionalã¯ãã£ã±ãç¹å®ã®å°åã³ãã¥ããã£ããã£ã¦ãããã¨è¨ããã ããã«ç¿æã帰ãç´åã®mameããã«ä¼ã£ã¦ãå·å´ã®regionalããã¨ããããåº
7/22(æ°´)ã«ç¥å¥å·Rubyä¼è°ã¨åããã¥ã¼ã¶å·å´ã®NTT-ATãããã¬ã¼ã³ã«ã¼ã ã«ã¦Kawasaki.rb #026 ãã»ã¼2å¨å¹´è¨å¿µLT大ä¼ããéå¬ãã¾ããã togetterã®ã¾ã¨ãã¯ãã¡ã LTå¤§ä¼ ã¨ããã§ä¿ºã®rubyåã¯ãã®1å¹´ã§ã©ã®ãããåä¸ããã®ï¼ from @etmnkãã CodeIQã®èª²é¡ã¸ã®è§£ãæ¹ã説æãã¤ã¤ãèªåã®Rubyåãã©ããããåä¸ããã®ãããã¬ã¼ã³ããã¾ããã LT from @kenzan100ãã NYã®recurse centerã§åãçµãã âretreatâãè¯ãã£ãã¨ãã話ãä¸å¿ã«ãæ¥æ¬èªã§Lispãæ¸ãã Japalispã®ç´¹ä»ãã主å¬ããã¦ããç¬å¦éå ´ã®ç´¹ä»ããã¦ããã ãã¾ããã Docker åºæ¬ã®ãããã2 / Compose Swarm Machine ããããã話 from @nk_ngzmãã
Aki Ariga @chezou #kwskrb / âã³ãã³ããã¤ãã©ã¤ã³ã®çµäºã³ã¼ã - æ¡å¼µ POSIX ã·ã§ã«ã¹ã¯ãªãã Advent Calendar 2013 - ãã¡åºã Blogâ htn.to/H7GC5Y 2015-06-24 20:47:08
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãRubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0064 å· ããã¯ãã³ãã¼ Rubyist Magazine 0064 å· Rubyist Magazine 0063 å· Rubyist Magazine 0062 å· Kaigi on Rails ç¹éå· RubyKaigi Takeout 2020 ç¹éå· Rubyist Magazine 0061 å· Rubyist Magazine 0060 å· RubyKaigi 2019 ç´åç¹éå· Rubyist
4. React is .... ïµA javascript library for building user interfaces (facebook says...) ïµã³ã³ãã¼ãã³ãæåã®ãã¥ã¼ã»ã©ã¤ãã© ãªï¼MVCã®Vï¼ ïµFluxã¢ã¼ããã¯ãã£ã«ããããã¦ãã
2014/11/26éå¬ãããkawasaki.rbã®LT大ä¼ã®ã¾ã¨ãã§ãã ãã¤ãããRubyæåãé«ãã§ããã
å æ¥ãReact ããã³ãã¬ã¼ãã¨ãã¦ä½¿ããRubyã©ã¤ãã©ãªã® ReactRuby ããªãªã¼ã¹ããã ãã®ããã°ã¯èªä½ã®ããã°ã¨ã³ã¸ã³ã§åãã¦ãã¦ãæ°ãåããã³ã«ä½ããªããã¦ãããä½ã使ãããæè¡ãã©ã¤ãã©ãªããã£ã¦è©¦ãã¦ã¿ããã¨ããã¨ããããã°ã¨ã³ã¸ã³ã¨ããã®ã¯çµæ§è¯ãé¡æã ã¨æã£ã¦ãã¦ãå®éä»ã¾ã§ãNode.jsã使ã£ããAngularJSã使ã£ãããã¦ããã ä»åã¯Facebook製ã®ã³ã³ãã¼ãã³ããã¬ã¼ã ã¯ã¼ã¯ã§ããReactã使ã£ã¦ãããã³ãã¨ã³ããä½æãããã¨æãç«ã£ããReactãé¸ãã çç±ã¨ãã¦ãAngularã ã¨ãµã¼ãã¼ãµã¤ãã§ãã¥ã¼ãçæã§ããªãã®ã§ä¸æºã«æã£ã¦ãããã¨ãæããããã ä»ã¾ã§ãã³ã³ãã³ããã¼ã¸ã«é¢ãã¦ã¯HAMLã使ã£ã¦ãµã¼ããµã¤ãã§çæãã¦ãã¦ãAngularã®ãã³ãã¬ã¼ããã£ãã·ã¥ã使ã£ã¦èªã¿è¾¼ãã§ããã®ã ããããã ã¨ããã³ããµã¤ãã§ãã¥ã¼çæãã¦ã
大æ±æ¸Rubyä¼è°04ã«åå ãã¦ãããä¸æ¥ãã£ã·ãæ¿ãã¤ãã³ããå ªè½ãã¦ããã®ã§ã¬ãã¼ããããã é å»ããããéä¸ããã®ã¬ãã¼ãã¨ãªãã Nobody Knows Nobu ã¶ãã¯ããã®çºè¡¨ã¯çµµèå± ä»ç«ã¦ã§ã³ã¢ã»ã³ããã¿ã¼ã®ä¸ç°ããã®è²¢ç®ã«ã¤ãã¦ã®ç´¹ä»ãæã¨ç¬ãã®ããçºè¡¨ã§ã»ããããããããããæãããRubyã³ãã¥ããã£ã®ããã¨ããã ã¨æãã ç§ã¯å¦ä½ã«ãã¦ç°å½ã§ã¨ã³ã¸ãã¢ã¨ãã¦çãæãã¦ããã ã¬ãªããã®çºè¡¨ã¯æµ·å¤ã§åãã¨ã³ã¸ãã¢ã¨ãã¦ã®çºè¡¨ããªã¼ã¹ãã©ãªã¢åºèº«ã®ã¬ãªããã8å¹´éæ¥æ¬ã§åãã¦ããçµé¨ããå¾ãç¥è¦ãå ±æãã¦ããããããããã¾ã¨ããã¨æµ·å¤ã§åãã«ã¯è¨èªã¨ã¸ã§ãã¹ãã«ã大åã¨ããã話ã ã£ãã è¨èªã¯ã¨ã«ããæéãããã¦ç·´ç¿ããããç¡ãã¨ã®ãã¨ãã¾ããåã«è¨èã ãã§ã¯ãªããè¨èªã®èæ¯ã«ããæåãå¦ãã§ãããã¨ã大äºã ã¨ä¸»å¼µããã¦ããã ã¸ã§ãã¹ãã«ã«ã¤ãã¦ã¯ã³ãã¥ããã£ããå¾ã
ãããªãã¸ã§ã¯ãOã®ã¡ã½ããAãå¼ã¶ã¨å é¨å¤æ°Xã®å¤ãå¤ããã¨ããã ã¡ã½ããAã®ç®çã¯Xã®å¤ãæ´æ°ãããã¨ã ããè¿ãå¤ããXã®å¤ãç¥ããã¨ã¯åºæ¥ãªãã ãªãã¸ã§ã¯ãOã®ä»ã®ã¡ã½ããããXã®å¤ãç´æ¥ç¥ããã¨ã¯åºæ¥ãªãã 以ä¸ã®ãããªç¶æ³ã®ã¨ããã¡ã½ããAã®ãã¹ãã£ã¦ã©ãããã°ãããã ããã¨æã£ããã ãã©ãã·ã³ãã«ã«ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«ã¢ã¯ã»ã¹ãããã¨ã«ãããã¡ã½ããAã®æ£ããæåã¯å é¨å¤æ°ãå¤æ´ãããã¨ãªã®ã§ããã®ãã¹ãã¯ãå¤æ°ã®å¤æ´ãæ¤ç¥ãããã¨ã ã¨æã£ãããã ã ã¨ããããã§ã³ã¼ãã¯ä»¥ä¸ã 1require 'minitest/autostart' 2O = Struct.new(:x) 3class TestO < Minitest::Test 4 def test_a 5 o = O.new 6 o.a #x => true 7 assert o.instance_variable_
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}