ãã¹ãã«ä¼æã«ã¯ãã¢ãããæéãã¨ããã®ã¯ä½æ ã
ãã®åãã«å¯¾ãã¦ãèªåãªãã®çããè¨èªåã§ããã®ã§ã¾ã¨ãã¾ãã
ç®æ¬¡
çå
ãã£ããã¯ãä¸è¨ã®æ¹ã ã®ããåããTwitterã§è¦ãããããã§ãã
ããããã§ãã人ã¨ãã¢ããããã以ä¸ã«çæéã§æ°ããæè¡ã身ã«ã¤ããæ¹æ³ãç¥ããªãã
— Jxck (@Jxck_) 2017å¹´2æ3æ¥
ãã¢ãããæéã ãããªã https://t.co/SdbZZ2EypI
— Takuto Wada (@t_wada) 2017å¹´2æ3æ¥
ãµãã¨èª¿ã¹ãã¨ãæéãªã®ã¯åæãã¨ããæè¦ã大åã§ãããèªåãããã«ã¯åæããã®ã§ãããããªããã¢ãããæéãªã®ãï¼ãã¨ããçåãæã£ãã®ã§ãã
ãã¢ãããæéã ã¨æããã ãã©ããªãæéãªã®ããããããªããããªãããããããªããã¨ãããã«èãããããã ãã§ããªãããã ãã
— at_grandpa (@at_grandpa) 2017å¹´2æ3æ¥
ããã®äººã®ç¥èã¬ãã«ã«å¿ãã¦ããããããæãã¦ãããããã¨ãããã¨ããªããããæ¤ç´¢ãæ¸ç±ã ã¨ãããããããããªãå ´åããã¢ããã»ã©é度åºãªãã®ããã
ãããã®ããã¢ãããæéãã§ããè¦å ãåããã°ããã¼ã å ã®ã¬ãã¥ã¼æ¹æ³ããèªåã®åå¼·æ¹æ³ã«ãå¿ç¨ã§ããã®ã§ã¯ãªããã¨èãã¾ããã
ãã®ãã¤ã¼ãã«ã¯ @t_wada ããããè¿ä¿¡ãããã ãã¦ãã¾ãã
@at_grandpa ãçµæãã§ã¯ãªããéç¨ãããªã¢ã«ã¿ã¤ã ã«è¦ãããããªã®ããªãã¨èãã¦ãã¾ããæ¸ç±ãã³ã¼ãã¬ãã¥ã¼ã§çµæã¨ãã¦ã®ã³ã¼ãã¯è¦ãã¾ãããããã®åã«ã¯è¨è¨å¤æãæåããè¡ããã¦ãã¦ããããããªãè¡ãããã¤å¤æããã©ããªãã³ããé çªã§ã³ã¼ããæ¸ããã¯è¦ãã¾ããã
— Takuto Wada (@t_wada) 2017å¹´2æ3æ¥
@at_grandpa æ¸ãããã³ã¼ãã ãã§ãªããæ¸ããªãã£ãã³ã¼ããããªããããæ®ããªãã£ããã«ãå¦ã³ããããã§ãããããããã¯ãã¢ããã®ã»ãã·ã§ã³ã§ã¯å ¨ã¦è¦ãã¾ãããã³ãããæã«ã¯ã³ã¡ã³ãã«æ®ãã°è¯ãæ¹ã§ããã³ããé çªã¯æ¢ã«å¤±ããã¦ãã¾ãã
— Takuto Wada (@t_wada) 2017å¹´2æ3æ¥
ãªãã»ã©ã確ãã«éç¨ãå¦ã¹ãã®ã¯ãã¢ãããªãã§ã¯ããããã¾ããããããã¾ã ããæ¬å½ã«ããã¯æéãªã®ãï¼ããéç¨ãå¦ã¶ãã¨ãã§ããã°ããã¢ãã以å¤ã®æ¹æ³ã§ãé度ã¯åºããã®ã§ã¯ãªããï¼ãã¨ããçåã¯æãã¾ããã§ããã
å®è·µããæ©ä¼
ããã¦å æ¥ã @t_wada ããã¨ãã¢ãããããã¦ããã ãæ©ä¼ãããã¾ãããä¸è¿°ã®çåãæã£ã¦ããèªåã«ã¨ã£ã¦ã¯ã¾ãã¨ãªããã£ã³ã¹ã§ãçåã«å¯¾ããçããå°ãåºãããããããªãã¨æãã¾ããã
ãã¢ããã§ã¯ãä»æ¥åã§è¡ã£ã¦ãããã¨ãé¡æã«ãã¾ããããã¨ã®ãã¨ã ã£ãã®ã§ããæ°å¹´åã«èªåãæ¸ãããããã®ãã¸ãã¯å¤æ´ããé¡æã¨ãã¾ãããå®éã«ä»äºã§ä½¿ã£ã¦ããã³ã¼ãã®æ¹ä¿®ã§ãããã¢ããä¸ãç¹ã«æèããã®ã¯ããããã¨ãã¦ãããã¨ãç©æ¥µçã«è©±ããã§ããããã«ããè°è«ãçã¾ãããããã§è¯ãããã§ããããããããã»ããè¯ãã§ãããããªã©ã®ã¢ããã¤ã¹ãé ãã¾ãããã¢ããã¤ã¹ã«çåãæã£ãå ´åã¯ããããã¯ã©ã®ãããªæå³ã§ããï¼ããããã«èªåã¯ããæãã®ã§ããããªã©ãããä¸æ©æ·±ãè°è«ããã¾ãããçµæãç´å¾ãã¦éçºãé²ãããã¨ãã§ããã³ãããæã«ã¯ããªãã¨ããæ¿å¯ãªï¼ã³ãããã …ãã¨ææ ¨æ·±ããªã£ããã¨ãè¦ãã¦ãã¾ãã
é ããã¢ããã¤ã¹ã®ä¸é¨ãç´¹ä»ãã¾ãã
- ååä»ããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ããªãåå³ãã
- ååã¨å½¹å²ãç°ãªããªãã
- ã
average
ã¨ããã¡ã½ããåã ã¨ä¸è¦å°æ°ãæå¾ ããããto_i
ãè¿ãã¦ããã®ã¯æå³ã¨åãã¦ããªããããªã©
- ã
- ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«è¿·ã£ããã使ç¨è
å´ããã®è¦ç¹ã§èãã¦ã¿ã
- ããã®ã¡ã½ããã使ãé¨åã«ãã©ã¼ã«ã¹ããã©ãããå¼æ°ã ã£ãããããããããããªã©
- ååã¨å½¹å²ãç°ãªããªãã
- æ½è±¡çãªã³ã¡ã³ãã¯æ¸ãããå
·ä½çãªã³ã¡ã³ããæ¸ã
hoge = 1.0 # ãã¹ãç¨
ã¨ããã³ã¡ã³ãã§ã¯ãä½ã®ããã«ãã®å¤ãè¨å®ãã¦ããããããããªã- ããªããããããããã³ã¡ã³ãã«æ¸ã
- æ
£ç¿ã«å¾ã
- ãrubyã§ã¯
Exception
ã§ã¯ãªãXxxError
ãä¸è¬çããªã©
- ãrubyã§ã¯
- ã³ãããã¡ãã»ã¼ã¸ã¯ä¸å¯§ã«æ¸ã
- ãä½ãããããã¨ããªããããããããç°¡æ½ã«
14:00ã17:00ãããã¾ã§ç´ï¼æéãã¢ãããè¡ãã¾ããããä½ææéã¯ãã£ã¨ããéã§ãããéä¸ãã¦ããããã§ãæºåãã¦ããæ°´ã¯ä¸å飲ãã§ãã¾ããã§ããï¼çµãã£ãå¾ã«ããã¨æ°ä»ãã¾ããï¼ã
ããã¦ããã¢ãããçµãããã¨ã«èªåã®çåãå度èãã¦ã¿ãã¨ãããããçããè¦ãã¦ãã¾ããã
èªåãªãã®çã
ãã¹ãã«ä¼æã«ã¯ãã¢ãããæéãªã®ã¯ä½æ ãï¼ãã¨ããåãã«å¯¾ããèªåã®çãã¯ã
ããã»ãã³ã¼ããæ¸ãç¬éã®æèãã«ã¢ããã¤ã¹ãè²°ãããã ããã»ä»ã®æ¹æ³ã§ä»£æ¿ã§ããªããã
ã§ãã@t_wadaããã®è¿ä¿¡ã¨åããããªå 容ãªã®ã§ãããå人çã«ã¯ãã®è¨èªåããã£ãããã¾ãããä¸ã¤ãã¤è¦ã¦ããã¾ãã
ãã³ã¼ããæ¸ãç¬éã®æèãã«ã¢ããã¤ã¹ãè²°ãã
ããã¯ãæé·ãã¹ãã«ã¢ããã«å¤§ããå½±é¿ãä¸ããã¨æãã¾ããã¨ã³ã¸ãã¢ã¯çµå±ãã³ã¼ããæ¸ãã¦æè¡åãçºæ®ããããã§ãæ¸ãéã®æèããã®ã¾ã¾æè¡åã«ãªãã¾ãããã³ã¼ããæ¸ãã¦ããæã«ããã«èããããããã大åã§ããããããå ¨ã¦ã§ããããããã¨åå¼·ããã¦ç¥èã身ã«ä»ããã¨ãã¦ããã³ã¼ããæ¸ãéã«ãã®ç¥èãåæ ã§ããªããã°ãç¥èãç¡ããåç¶ã§ãã
ããããªããªãé£ãããã§ããããåå¼·ã¨å®è·µãããé¢ãã¦ãã¾ããã¡ã§ããåå¼·ãã¦ãã³ã¼ãã«ã¯åæ ãããªããåå¼ãå¿ è¦ã§æéããããããªãã¸ã§ã¯ãæåã¯ããããåå¼·ãããã©ãæ¸ãã¦ããã³ã¼ãã¯ãããããªããããï¼è³ãçã
ã§ãããããã³ã¼ããæ¸ãéã«ãããã¯ããããæ¹ãè¯ãã§ãããã¨ã¢ããã¤ã¹ããããã©ãã§ãããããããªãã»ã©ãã¨ç´å¾ã§ããã°ããã®ç¬éãããã®äººã®æ¸ãã³ã¼ããå¤ããããã§ããããããã³ã¼ããæ¸ãç¬éã®æèã¸ã®ã¢ããã¤ã¹ãã§ããã³ã¼ããæ¸ãéã«ã©ãèããããããã¼ãã¿ã¤ããããã®ç¬éã«å¾ãããã®ã§ãããå®è·µã«è¿ãå½¢ã§å¦ã¶ãã¨ãã§ãã¾ãã大ããªã³ã¹ããããã¦åå¼ããå¿ è¦ããªããå®éã«æãåããã¦æ£ãããã¨ãå³åº§ã«å®è·µã§ããã®ã§ãå¾ã«ä¸äººã§ã³ã¼ããæ¸ãéã«ãåç¾æ§ãé«ããªãã¾ããã¤ã¾ãããã®äººã®æè¡åãåä¸ããããã®ã§ãã
ãã³ã¼ããæ¸ãç¬éã®æèãã«ã¢ããã¤ã¹ãè²°ãããã¨ãããããã¢ãããæéã§ããçç±ã®ä¸ã¤ã ã¨æãã¾ãã
ä»ã®æ¹æ³ã§ä»£æ¿ã§ããªã
ãã®ãããªã¢ããã¤ã¹ãä»ã®æ¹æ³ã§ãå®è·µã§ããã°è¯ãããã§ããããããããããèãã¦ã¿ãã¨ãä»ã®æ¹æ³ã ã¨è¨å¤§ãªã³ã¹ãããããããã§ããä¾ãæãã¾ãã
- ã³ã¼ãã¬ãã¥ã¼ä¼
- ã³ã¼ãã®ï¼è¡ï¼è¡ã«å¯¾ãã¦ãå½æããªãããæ¸ããã¨æã£ããããè¨ã£ã¦ããã
- æ å ±éãå¤ããã¦è¨ãå´ãè¾ã
- åæã«åãæãè¾ã
- ã³ã¼ãã®ï¼è¡ï¼è¡ã«å¯¾ãã¦ãå½æããªãããæ¸ããã¨æã£ããããè¨ã£ã¦ããã
- Pull Request
- ããã®é¨åã¯ããªãããæ¸ããã¨æã£ããããç´°ããã³ã¡ã³ãã«è¨è¼ãã¦ããã
- æ å ±éãå¤ããã¦æ¸ãå´ãè¾ã
- åæã«åãæãè¾ã
- ããã®é¨åã¯ããªãããæ¸ããã¨æã£ããããç´°ããã³ã¡ã³ãã«è¨è¼ãã¦ããã
ãã®ããã«ããã³ã¼ããæ¸ãç¬éã®æèããå¾ããä¼ããã«ã¯è¨å¤§ãªã³ã¹ãããããã¾ããåãæã®ã³ã¹ããè¨å¤§ã§ãã
ãããããã³ã¼ãã¬ãã¥ã¼ä¼ãPRã¯åã ç®çãéããã®ãªã®ã§ãããã«ããããã¨æ±ããããã¨æªãçãã¦ãã¾ãããã§ããä¾ãã°ãã³ã¼ãã¬ãã¥ã¼ä¼ã¯ãã³ã¼ãå質åä¸ããç®çã§ãããã¹ãã«ã¢ããã主ã¨ããç®çã§ã¯ããã¾ãããæ ã«ãã³ã¼ãï¼æèã®çµæï¼ã«å¯¾ãã¦ã®ã¢ããã¤ã¹ã¯ããããã®ã§ããããã®äººã®æèãã®ãã®ã¸ã®ã¢ããã¤ã¹ã¯æ¯è¼çé£ããã®ã§ã¯ãªããã¨æãã¾ããï¼ãã¡ãããæèã¸ã®ã¢ããã¤ã¹ãç®çã¨ããã¬ãã¥ã¼ä¼ãéå¬ã§ãã¾ããããã®å ´åã¯åå è ã®ç®çãåããã¦ãããã¨ã大åã§ãï¼
ãã®ããã«ãä»ã§ã¯ä»£æ¿ã§ããªãç¹ããã¢ãããæéã§ããçç±ã§ã¯ãªãã§ããããã
ãã¢ããã®æ¬ ç¹
ããã¾ã§ãæ¯ãè¿ãã¨ããã¢ããæå¼·ãã¨ããæãããã¾ããããã¡ããæ¬ ç¹ãããã¾ããããã¯ãæ®çºæ§ãé«ããã¨ããç¹ã§ããå®éã«ãã¢ãããçµãã¦æãããã¨ã®ä¸ã«ã
- ãã¢ããã§å¦ãã ãã¨ãå ±æãã¥ãã
- ãã¢ããã§å¦ãã ãã¨ãè¨é²ãã¥ãã
ã¨ãããã®ãããã¾ããããã®å ´ãã®å ´ã§è°è«ãè¨é²ãããã¨ã¯é£ããã§ããã¡ã¢ãåããªã©ã®æ¹æ³ãããã¾ãããå®éã«ãã¢ãããè¡ã£ã¦ã¿ãã¨ããããªä½è£ã¯ãªããã¨ããããã¾ãããã¾ããå½æã®ã³ããããã°ãä¿®æ£ããã³ã¼ããè¦ã¦ããå½æã®è°è«ã¯ãªããªããããã¾ãããçµæããæ®ã£ã¦ããªãã®ã§ãããã®ãããªãæ®çºæ§ãã¨ãã£ãæ¬ ç¹ã¯ããã¢ããç¹æã®ãã®ã§ããããã¯ãããããä¸é·ä¸çããããã ãªã¨æãã¾ããã
ã¨ããããå®è·µçã«æãåããããã¨ã¯èº«ä½ã§è¦ãããããå®éã«ã³ã¼ããæ¸ãéã¯èªç¶ã¨æãåºãããã§ãã
ã¾ã¨ã
ä»åã¯@t_wadaããã¨ãã¢ãããè¡ãï¼ãä»ãåãé ãã@t_wadaãããæ¬å½ã«ãããã¨ããããã¾ããï¼ï¼ãèªåã®çåã§ãããã¹ãã«ä¼æã«ã¯ãã¢ãããæéãªã®ã¯ä½æ ããã¨ãããã¨ãèãã¦ã¿ã¾ãããçç±ã¯ä»¥ä¸ã ã¨èãã¾ãã
- ãã³ã¼ããæ¸ãç¬éã®æèãã«ã¢ããã¤ã¹ãè²°ãããã
- ä»ã®æ¹æ³ã§ä»£æ¿ã§ããªããã
ãä»ã®æ¹æ³ã«å¿ç¨ã§ããã°ãããªããã¨ããèªåã®èãã¯è¦äºã«æã¡ç ´ããã¾ãããè¨ãæããã°ããã»ã©ä½ãé©å½çãªãã®ãåºã¦ããªãéãããã¢ããã®æç¨æ§ã¯çãç¶ããã®ã ã¨æãã¾ãã
ããã¢ããã¯æ¬å½ã«å¦ã³ããããã¨ããã®ã¯å¨ç¥ã®äºå®ã§ãããä»åã¯ãããã¯ãªããªã®ãï¼ãã¨ãããã¨ã«ãã©ã¼ã«ã¹ãã¾ããããã®çµæããã¢ããã®ç¹å¾´ããããããããããã¯ããã¢ããã¯æéã ãªããã¨æ¹ãã¦å®æã§ãã¾ããã
ã¾ããå ç¨ã¯æ¸ãã¾ããã§ããããããä¸ã¤æ¬ ç¹ãæããã¨ããã°ããã¢ããã¯ä½åãå¿ è¦ãã¨ããç¹ã§ããæç¨æ§ã¯ç解ã§ããã®ã§ããã£ã¨æ°è»½ã«çã¨ãã§ã§ããªãããªã¼ãã¨ããã®ããæè¿ã¯æ¶ã ã¨å¦æ³ãã¦ãã¾ããã¨ã³ã¸ãã¢ãªãããã®åé¡ãæè¡åã§ãªãã¨ããããã§ããã