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
Rubyãæ¸ãã¦ããã¨ããµã¼ããæ¸ããããªããã¨ãããã¾ããçãããããã ã¨æãã¾ãã ã¨ãããã¨ã§ä»æ¥ã¯Rubyã§ã¹ãã¨ãµã¼ããæ¸ãããã®gemãserverengineã®ç°¡åãªä½¿ãæ¹ã¡ã¢ã github.com Rubyã§ãµã¼ããæ¸ããããªã£ãæ ããããçã«ãRubyã§ãã ãµã¼ããæ¸ãã®ã¯é常ã«ç°¡åã§ãããå ·ä½çã«ã¯ Kernel#loop ãªã©ãåãã¦ãã®ä¸ã§ãªã¯ã¨ã¹ããå¾ ã£ãããä½ãããå¦çãè¡ãã°çµãããç¹å¥ãªgemã¯å¿ è¦ãªãããTCPãæ±ãã¯ã©ã¹ãªã©ãçµã¿è¾¼ã¿ã§ç¨æããã¦ããã 以ä¸ã®ãããª9è¡ã®ã¹ã¯ãªãããèµ·åããã°ããµã¼ããæ¸ããã¨è¨ãããã¨ãã㧠TCPServer#accept_nonblockã§ãªãã¨ãacceptã§ãããã¯ãã¦ãã¾ã£ã¦çµäºå¦çãé ãããããã®ã§ãã³ããããã³ã°ã®æ¹ã®APIã好ãã§ä½¿ãã®ãããã ããã require 'socket' server
This document discusses Rhebok, a high performance Rack handler written in Ruby. Rhebok uses a prefork architecture for concurrency and achieves 1.5-2x better performance than Unicorn. It implements efficient network I/O using techniques like IO timeouts, TCP_NODELAY, and writev(). Rhebok also uses the ultra-fast PicoHTTPParser for HTTP request parsing. The document provides an overview of Rhebok,
unicornã®wokerã®busyæ°ã¨idleæ°ã®æ¯çãããããªãã¦ããã£ããworkerãæ¯æ¸ãã¦å¤§å¤ãªãã¨ã«ãªã£ãã®ã§ãworkerã®ç¶æ³ãè¿ãã¨ã³ããã¤ã³ãã追å ããrackããã«ã¦ã§ã¢ãæ¸ãã¦ãã¾ãã github.com ã¶ã£ã¡ããkazeburoããã®Plack-Middleware-ServerStatus-Liteã®rubyçã§ãã github.com ãã®ä¸ã§ä½¿ã£ã¦ããkazuhoãã製ã®Parallel-Scoreboardã移æ¤ãã¾ããã(ã¾ã READMEããªãããã) github.com å ã¯ä¸è¨ã§ãã github.com Kazuho@Cybozu Labs: Parallel::Scoreboard ã§ã¯ã¼ã«ã¼ããã»ã¹ãã¢ãã¿ãªã³ã°ããæ¹æ³ 使ãæ¹ config.ruã«ä¸è¨ã®ç¨ã«æ¸ãã # In config.ru use Rack::ServerSta
rubocop ã®ãã¤ãæ¹ TL;DR rubocop --auto-gen-config ã㦠Offense count ã®å¤ãé ã«æ¯æ¥æ°åãã¤è¨å®ã確èªããã åã®ä½¿ã£ã¦ãã .rubocop.yml ãã§ãã¾ãã ããã onkcop ãâ¦(ã´ã¯ãª / âåã®ä½¿ã£ã¦ãã .rubocop.ymlâ https://t.co/KVryle9SJq â ãã®ã£ã¤ (SEO Naotoshi) (@sonots) October 26, 2015 rubocop ã¨ã¯ ã³ã¼ãã£ã³ã°è¦ç´ã«æºæ ãã¦ãããããã§ãã¯ãã gem ã§ãã https://github.com/bbatsov/rubocop ãããªã³ã¼ãã«å¯¾ãã¦ããã㨠def badName if something test end end 以ä¸ã®ãããªè¦åããã¦ããã¾ãã Offenses: test.rb:1:5: C:
Annotation.md Idobata Gemfile ãã¬ã¼ã³ã tl;dr Idotabaã®Gemfileã¯"å ¨ãã¬"ã«ãªãã¾ããããç¬ç´ãã ãããâ Gemfile ãã¬ã¼ã³ãã«ã¤ãã¦ã®ãè©«ã³ rebuild.fmã®ep36ã§ãç¥ããããã¦ããã ãã¾ãããIdobataã®ææ°çGemfileãã¬ã¼ã³ãããå±ããããã¾ãã éæ¥ã¯Idobataä¼è°01ã¸ã®å¤æ°ã®ãåå ãããã¨ããããã¾ãããããããã¾ã§çæ³ãªãã¼ãã¢ããã¨ãªãã¾ããã (å½æ¥ä¼å ´ãæä¾ããã ããEngine Yardãã¾ã®ããã°ã«ã¦ãIdobataä¼è°01å½æ¥ã®æ§åãã¾ã¨ãããã¦ãã¾ãããããã¨ããããã¾ã!) ãã¦ãèå¿ã®Gemfileã§ãããEngine Yard Cloudã®stable-v4ã¹ã¿ãã¯ã§Ruby 2.1.2ãå©ç¨å¯è½ã«ãªãã®ãå¾ ã¡ã¤ã¤ã2.1.2対å¿ããã¦ããããGemfileããå±ãããã®ã
RubyKaigi 2014 talk. Points for *practical* use of metaprogramming in Ruby.
â [ruby] æè¿ã® rubocop ã®ä½¿ãæ¹ rubocop ã¯ã¨ã¦ã便å©ã ãã© eval ã¨ãå¥ã«ç¥ã£ã¦ã¦ä½¿ã£ã¦ãããif foo = bar ãããã¨ãã¾ã§è¨ãããã¨ç¥ã£ããã¨ãã¨ãªã£ã¦ãã¾ãã®ã§ ~/.rubocop.yaml ã«ä¸ã®ãããªå 容ãæ¸ãã¦åããã¦ãã. Lint/Eval: Enabled: false Lint/AssignmentInCondition: Enabled: false ãã¨ããä»ããç´ããªã©ãªã©ãã¿ãããªãã¤ã¯ Lint/UselessAssignment ããããªã®ã§æè¿ã¯ $ rubocop --only Lint/UselessAssignment ã ãã§ååãªæãã«ãªã£ã¦ãããããã§ãããªãã´ãã³ã¼ããæ¤åºã§ããã®ã§ rubocop ç´ æ´ãããã
â質åï¼â Ruby製ãµã¼ããã¼ãã£ã©ã¤ãã©ãªãè¦ã¯gemã§ãä½ã人æ°ãªã®ãã£ã¦ãã¨ãæã£åãæ©ãç¥ããããã§ããã©ã âåçï¼â RubyGems.orgã®statsãã¼ã¸ãè¦ã¦ãã ããã â質åï¼â ãã£ï¼ããã ãï¼ãã®è¾ºã¯ä¸å¹´ä¸ä½ã§åºå®ã§ãããããã¡ãã£ã¨ä¿ºã®ç¥ããªããã©ã¨ãã£ã«å¯ãã ãã®ã«åºä¼ããããã ãã©ã俺ãRailsç¨ãªããã âåçï¼â ã«ãã´ãªã¼å¥ãªãThe Ruby Toolboxãããã¾ãã The Ruby Toolbox - Terminal Coloring â質åï¼â ãããã俺ã®è³ªåã¡ããã¨èãã¦ãã®ï¼ã«ãã´ãªã¼å¥ãªãã¦è¨ã£ã¦ãªãããããã«ãããã®ã«ãã´ãªã¼ã£ã¦ãªãã俺çã«ä¿¡ç¨ãªããã ãããåããã¼ãå¤ãã£ã¦ããã..ã俺ã®gemåºã¦ããªãã£ã¦ããã..ã âåçï¼â GitHubã®Trendingã§ããæè¿ã®äººæ°ãªãã¸ããªãåããã¾ãã Trending
24 Dec 2013 Ruby 2.1 is shipping with rb_profile_frames(), a new C-api for fetching ruby backtraces. The api performs no allocations and adds minimal cpu overhead making it ideal for profiling, even in production environments. I've implemented a sampling callstack profiler for 2.1 called stackprof with this API, using techniques popularized by gperftools and @brendangregg. It works remarkably well
ActiveAdmin - A Ruby on Rails framework for creating elegant backends for website administration. ActiveScaffold - ActiveScaffold provides quick and powerful user interfaces for CRUD (create, read, update, delete) operations for Rails applications. It's excellent for generating admin interfaces, managing Data-Heavy Applications, creating Widgets or for quick prototyping. ActiveScaffold is completl
æè¿ãfluent-plugin-droongaã¨ããåæ£ãã¼ã¿ã¹ããªã¼ã ã¨ã³ã¸ã³ãæ¸ãã¦ãã¾ãããã®ä¸ã§ãRubyã§DSLãå®ç¾ããã¨ãã«å·¥å¤«ãã¦ãããã¨ã«æ°ã¥ãã¾ãããããã¯ãå¤ãè¨å®ããã¨ãã¯ä»£å ¥ããåé¢ã«ããã¨ãããã¨ã§ããä»£å ¥ããåé¢ã«ããããã«ãã°ã«ã¼ãåç¨ã®ãªãã¸ã§ã¯ããä½ã£ã¦ãã¾ããã ããã ãã ã¨ã©ããããã¨ãããããªãã®ã§ãå ·ä½ä¾ã示ããªãã説æãã¾ãã Rubyã¨DSL Rubyã使ã£ã¦ããã¨Rubyã§å®ç¾ãããDSLã«è§¦ãããã¨ãå¤ãããã¾ããRubyã®Makeå®è£ ã§ããRakeã®è¨å®ãã¡ã¤ã«ãããã§ãããã©ã¤ãã©ãªã¼ç®¡çãã¼ã«ã®Bundlerã®è¨å®ãã¡ã¤ã«ãããã§ãã Rakeã®å ´å:
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}