Ruby/EventMachine Ruby/EventMachineã¯ã·ã³ã°ã«ã¹ã¬ããã§é«éã«åä½ãããããã¯ã¼ã¯ããã°ã©ãã³ã°ã®ããã®ã©ã¤ãã©ãªã§IPã¬ã¤ã¤ãæ±ãã³ã¢é¨åã¯C++ã§å®è£ ããã¦ããã(Pure Rubyçãç¨æããã¦ããã) ã¤ãã³ãããªãã³ãªã¢ã¼ããã¯ãã£ã§å®è£ ããã¦ãããã¦ã¼ã¶ã¯IP層ãå ¨ãã»ã¨ãã©æèãããã¨ãªããããã³ã«ã®å®è£ ã«éä¸ã§ããããã«è¨è¨ããã¦ãããã¦ã¼ã¶ãæ¸ãã½ã¼ã¹ã³ã¼ãã§ã¯æ±ºã¾ã£ãã¯ã©ã¹ãç¶æ¿ã決ã¾ã£ãã¡ã½ããããªã¼ãã¼ã©ã¤ãããã ãã§ããã ç¾å¨ã®å®è£ ã¯ãUnixç³»ã®ã·ã¹ãã ã使ç¨ãã¦ããå ´åã¯slect(2)ã·ã¹ãã ã³ã¼ã«ã§å®è£ ããã¦ãããå°æ¥ã®ãã¼ã¸ã§ã³ã§ã¯epoll(4)ã«ç½®æãããã¨ã®ãã¨ã æåæ°ãè¿ããµã¼ã require 'rubygems' require 'eventmachine' module CharacterCount <
vimã®numberã¢ã¼ãã¯ãã¡ã¤ã«ãã§ãã¯ãªããããã¨ãã«çµæ§ä¾¿å©ããã©ããã¨ãã°ä»äºã§é·å¤§ãªããã¹ããã¿ã¼ã³ãªããããã§ãã¯ããã¨ããªããã« : : 1384 cmp_memdata32(32'h40800500 , 32'h78787878 ); 1385 cmp_memdata32(32'h40800504 , 32'h78787878 ); 1386 cmp_memdata32(32'h40800508 , 32'h78787878 ); 1387 cmp_memdata32(32'h4080050C , 32'h78787878 ); 1388 cmp_memdata32(32'h40800510 , 32'h78787878 ); 1389 cmp_memdata32(32'h40800514 , 32'h78787878 ); 1390 cmp_memdata32(32'h
ECãµã¤ããé¡æã«ã½ããã¦ã§ã¢éçºã®å ¨å·¥ç¨ãå¦ã¶æ°ã·ãªã¼ãºãã¤ãããå ¨é¨ä½ã£ã¦ã¿ããããã¹ã¿ã¼ããã·ãªã¼ãºç¬¬15åã¯ãããã¾ã§ä½æãã¦ããè¦æ±ä»æ§æ¸ã«å¯¾ãããã¹ãã®ç¬¬1段éã¨ãªããã»ã«ããã§ãã¯ãã«ã¤ãã¦èª¬æããã
秩åºã«ã¯ç¥æ§ããããï¼ç§å¦ã¨SETIã¨ãç¥æ§ãããã¶ã¤ã³ã 2008å¹´12æ19æ¥ ãµã¤ã¨ã³ã¹ã»ãã¯ããã¸ã¼ãã¶ã¤ã³ ã³ã¡ã³ãï¼ ãã©ãã¯ãã㯠(0) Brandon Keim ãã¹ã¦ã®åçï¼Brandon Keim æè¿ãã«ãªãã©ã«ãã¢å·ã«åããé£è¡æ©ã®çªããããããå·ã®ç æ¼ ã«åºãã人工ã®æ§é ç©ãè¦ãæ©ä¼ããã£ãã®ã ãããã®ã¨ãçåãçããããããã®æ§é ç©ã¯äººå·¥ã ãã¨èªåã¯æã£ã¦ããããç§ã¯æ¬å½ã«ãç§å¦çã«æ£ããèãæ¹ãã§äºæ ãç解ãã¦ããã®ã ãããï¼ ããã¨ãèªåã®èãæ¹ã¯ã[æ´ç¶ã¨ãããã¿ã¼ã³ãåå¨ããã®ã¯ãããããç¥æ§ããè¨è¨è ã«ãã£ã¦ä½ãããããã ãã¨ãã]ãã¤ã³ããªã¸ã§ã³ãã»ãã¶ã¤ã³ãã®æ義ã¨åããªã®ã ãããï¼ ä»ã®ç¶æ³ä¸ã§ãªããç§ã¯ããã¾ã§ããã¡ã©ããã«ã¤ã³ããªã¸ã§ã³ãã»ãã¶ã¤ã³èª¬ã«å¯¾ãã¦çæãæãããã¦ãããç§å¦ã©ã¤ã¿ã¼ã«ã¨ã£ã¦ãããããå°æã¯åå¨æ義ã«ããããã»ã©é大ã
ããã¦ãã®syslogã®ããã©ã«ãã®è¨å®ã ã¨ã åããã°ãçµæ§ãªéãè¤æ°ã®ãã¡ã¤ã«ã«è¨é²ããã¦(IOè² è·çããã£ã¹ã¯ãµã¤ãºçã«)ç¡é§ã ãªã æ¥ä»ã®ãã©ã¼ããããæ©æ¢°å¦çãã¥ãããªã ãã¼ãã¼ããããã©ããªã ã¨æã£ã¦ãã®ã§ãä»ã¤ãã£ã¦ãç°å¢ã§ã¯æ £ç¿ãæ°ã«ããã« syslog-ng (v2.0.9) ã®è¨å®ããã¦ã¿ãã®ã§ãã®ã¡ã¢ã§ãã ä¸è¦ãªãã°ã¯è¨é²ããªã options { ... mark_freq(0); stats_freq(0); ... } æ¥ä»ã®å½¢å¼ãå¤ãã options { ... ts_format(iso); ... }ããã§ããããªã® Dec 19 16:44:20 HOST ...ããããããªã® 2008-12-19T14:07:52+09:00 HOST ...ã«å¤ããã¾ãã facilityãã¨ã«ããã facilityãã¨ã®filterãä½ãã destic
ãã¼ã¹ãé·å¹´å¼¾ãã¦ãã¦ãå¤ãªé¨åã§æ £ãã¦ãã¾ã£ããã¨ããããããã¯ãå¨å²ã®ãã¬ã¤ã¤ã¼å士ãåã¿åã£ã¦ããªãé¨åã調æ´ãã¦é³æ¥½ã¨ãã¦ãµã¦ã³ãããã¾ãæãç«ããããã¨ãä¾ãã°ã®ã¿ã¼ãå°ãæ©ãæ©ãã«å¼¾ã人ï¼é³æ¥½ç¨èªã§ã¯ãããã³ãããããã¯ããã·ãã人ï¼ã§ãã©ã ãå°ãé ãé ãã«å©ã人ï¼é³æ¥½ç¨èªã§ã¯ãã¿ã¡ãããããã¯ãã¢ã¿ãã人ï¼ã®å ´åããã¼ã¹ã¯ãã®éãåã£ã¦ã®ã¿ã¼ããã¯å°ãé ãããã©ã ããã¯å°ãæ©ãã«ãªãããã«å¼¾ãã¨ãµã¦ã³ãã¨ãã¦ã¾ã¨ã¾ãã ããããã¼ã·ã¹ãã«ã¨ã£ã¦å¤§äºãªä»äºãªãã ã¨æã£ã¦ä»ã¾ã§ãã£ã¦ããã®ã ããæè¿å®ã¯ããã¯ããã¾ãè¯ããã¨ãããªãããããªããã¨æãå§ãã¦ãããèªåã®æ¼å¥ã®é²é³ãããããè´ãè¿ãã¦ã¿ãã¨ã確ãã«ã¾ã¨ã¾ã£ã¦ã¯ãããã ãã©ãæããã«ä¸æµã®ãã¥ã¼ã¸ã·ã£ã³ã¨ã¯æ¼å¥å 容ãéãã説å¾åããªãã¨ããããã½ãªãããªæãã足ããªããä½ãéããã ããï¼ ããã¯ããããèªå·±ä¸»å¼µãªã®ã ã
é¢è¥¿Rubyä¼è°01ï¼ é¢è¥¿-KOF2008è¬æ¼è³æãRedmineã§ãã±ããé§åéçºãå®è·µããï½ãã±ããã«åå²ãã¦çµ±æ²»ããããå ¬éãã¾ãã CC Attribution ã©ã¤ã»ã³ã¹ã¨ãã¾ãã ãå ãã¿ã ãã±ããé§åéçº â¦ ITpro Challenge ã®ã©ã¤ããã³ã°ãã¼ã¯ (4) - ã¾ã¡ã ãã¤ã¢ãªã¼(2007-09-07) ãã±ããé§åéçºã¯ãã¾ã¡ã ãããæåã«æå±ãããã ãããããã±ããé§åéçºã®æ¦å¿µã¯ã¾ã ææ§ã§ãä¸é¨ã§ãã注ç®ããã¦ããªãã åã¯ãRedmineã¨ããããã¸ã§ã¯ã管çæ©è½ãæã¤BTSãããã¸ã§ã¯ã管çãITåãã¦ããã¦ãããã¸ã§ã¯ãéå¶ã大ããå¤ãã£ããã¨ãçµé¨ããã ãã®ä½é¨ããã±ããé§åéçº(Ticket Driven Development)ã¨ããæ¦å¿µã¸æè¯ã§ããªãããèããå 容ãä¸è¨ã®è³æã§ãã ã³ã¡ã³ããããã°å¬ããã§ãã ãåèã Rubyist
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
常德å¸ç¯ä¿æºæ¢°è®¾å¤æè²ä¸å¿äº§åä¸ä» ç éå½å 20å¤ä¸ªçãå¸ãèªæ²»åºï¼å¹¶ä¸è¿éä¸æ¬§ãä¸ä¸ãéæ´²ãåäºãä¸åäºã西äºã澳洲ãåç¾æ´²ãåç¾æ´²çå å个å½å®¶åå°åºink1">å ¶äº§ååææ¯å¹¿æ³æååºç¨äºäºçç½å å ¨å·ãä¸çç½å å ¨å·ãä¸çç½çç¼å å¤è¡¥æ¶ãçåå线å·æ¶ãçµæ± é¢å£³å å·æ¶ã200Lé¢æ¡¶å å¤å·æ¶ãè½®èèé¢/è侧/端é¢ãå å£å·æ¶ãæºè½¦è½¦æ¶/车å¢å·æ¶ãéåæ/建æå·æ¶ã建çå·æ¶ãå®¶å ·å·æ¶çè¡ä¸åé¢åãç¸é å¥ç产åæ诺信ï¼
ãèªæ¸ææ³ãè«ççæèã¨ã¯ä½ã ââââ è«ççæèã¨ã¯ä½ã (岩波æ°æ¸ æ°èµ¤ç 2036)ä½è :渡é é å岩波æ¸åºAmazon Kindleçãããã¾ããè«ççæèã¨ã¯ä½ã (岩波æ°æ¸)ä½è :渡é é å岩波æ¸åºAmazon è«ççæèæ³ã¯ä¸çå ±éã§ã¯ãªããæèããç®çãã¾ãæ確ã«ãã¦ãã®ç®çã«åã£ãæèæ³ãé¸ã¶æè¡ãè¦ããâ¦
æ¬æ¥ã®ã«ã¼ãã«èªæ¸ä¼ã¯tarosukeãããä½ã£ã¦ããOS talosã®ç´¹ä»ã§ãããhttp://talos-kernel.sourceforge.net/ ãã®è©±ã¯çã§è³ªçå¿çãããªãã楽ããæéãéããã®ã ããæ¬æ¥ã®ãµãã©ã¤ãºã¯ã«ã¼ãã«èªæ¸ä¼ã«ä¸å¦çãåå ãããã¨ãOSC 2008 Tokyo/Fallã«ä¸å¦çãåå ãã¦ãããã®ã¯å¤§å¤å¬ããã£ãããããã§ãåææ¥ã¨ããä¼ã¿ã®æ¥ã ã£ããå¹³æ¥ã®åå¾7æããã®ã«ã¼ãã«èªæ¸ä¼ã¨ããä¸å¦çã«ã¨ã£ã¦ã¯ãã¡ãã£ã¨åå ãã«ããæéã«ããããæ¥ã¦ãããã¨ããã®ãå¬ããã å£ãããªãããã大人ã¯ãã ããã©ã¼ãªã®ã¨ããå£èª¿ã§è¨ãããã¾ãããã¯ããã¦ãããèªåã®å¨ããå¹´ä¸ã®ç·åä¸å¦çã¨50æ³ã®ãããããããã®ä¸å¦çãè²°ã£ãJames Goslingã®ãµã¤ã³ãè¦ã¦ãããã¼ã¼ããã¼ã¼ã¨çãä¸ã£ã¦ãã姿ã¯ãªããªããªããå¦æ ¡ã«ã¯ãã½ã³ã³ã«è©³ããåéãããªãã®ã§ããã¼ã
æè¿Rubyã§ã¯ãã¼ã©ãæ¸ããã ãªããªãæ°åãã®å ¥ã£ãåããã¿ããä¸æ©ã§3Gãã¤ããã®ãã¼ã¿ããã¦ã³ãã¼ããã¦ããã ã¾ããããã«æ¯ä¾ãã¦å¦çãé ããªãçºãThreadã使ããã¨ã«ããã Rubyã§ã®Threadã¯ã°ãªã¼ã³ã¹ã¬ãããã¤ã¾ã1ã¤ã®ã«ã¼ãã«ã¹ã¬ããã«å¯¾ãã¦è¤æ°ã®ã¦ã¼ã¶ã¼ã¹ã¬ãããåä½ãã¦ããçºã並è¡çã«ã¯åä½ã§ãããã並åã«ã¯åããªããã¤ã¾ãéããªããªãã ãããã¯ãã¼ã©ã®ããã«ããã«ããã¯ããããã¯ã¼ã¯ã¨ãã£ã¹ã¯IOã®å ´åãå¾ ã¡æéã«ä»ã®å¦çãã§ããã®ã§ããããæç¨ã§ãã åé¡ã¨ãã¦Rubyã®Threadã¯ã¨ã«ããé ããã³ã¹ããé«ãããã¹ã¤ããã³ã°é ããã æ¬æ¥ã¯ (1..10000).map { |e| Thread.start { e**2 } }.map{ |th| th.value } ã¿ããã«Threadã使ãæ¨ã¦ã«ãããã楽ã ãã ã§ããªã½ã¼ã¹ããã£ãããªãéã
yharaãããå¿æ´ãããã¨ããæ°æã¡ã¨Kanasan.JSã ãã§ãªãé¢è¥¿ã®åå¼·ä¼ãå¿æ´ãããã¨ããæ°æã¡ã¨nanto_viããã¯ãã£ã¨åã«åºã¦æ¬²ããã¨ããæ°æã¡ã ããã¦ããããèªãã§ãã¦å°ãã§ãããããªããã¨æã£ãé¢æ±åã®äººéãå°æ¹ã®äººã¯ãã¤ã§ãããæã£ã¦ããã¨ãããã¨ãããã£ã¦ã»ããã ã¤ãã³ããåå¼·ä¼ããã£ã¨ä¸ç¶ãé²ç»ããã¦ã»ããããåå è ã¯ãã£ã¨åå å ±åãããã¦ã»ããã ã¤ã³ã¿ã¼ãããã«ãã£ã¦ç¢ºãã«è·é¢ã¯ç¸®ã¾ã£ããã©ãç¥ããªãã£ãããåå ãã¦ããªãã£ãã¤ãã³ãããç¥ã£ã¦ãã¦ãè·é¢ã«ãã£ã¦åå ãããã¦ãã§ããªãã¤ãã³ãã«å¤ãã£ãã ãã®äººãå°ãªãããããã¨ãããã¨ã ã»ãã¨ããé¡ããã¾ããããã¸ã§ã
An implementation of Distributed Ruby using the EventMachine library. Development Status: 3 - Alpha Environment: No Input/Output (Daemon) Intended Audience: Developers License: GNU General Public License (GPL) version 2, Ruby License Natural Language: English Operating System: OS Independent Programming Language: Ruby Topic: Object Brokering, Clustering/Distributed NetworksRegistered:Â 2008-10-21
ãèªæ¸ææ³ãè«ççæèã¨ã¯ä½ã ââââ è«ççæèã¨ã¯ä½ã (岩波æ°æ¸ æ°èµ¤ç 2036)ä½è :渡é é å岩波æ¸åºAmazon Kindleçãããã¾ããè«ççæèã¨ã¯ä½ã (岩波æ°æ¸)ä½è :渡é é å岩波æ¸åºAmazon è«ççæèæ³ã¯ä¸çå ±éã§ã¯ãªããæèããç®çãã¾ãæ確ã«ãã¦ãã®ç®çã«åã£ãæèæ³ãé¸ã¶æè¡ãè¦ããâ¦
å稿ãè½ã¨ãããï¼ããããããã«ã¢ã¡ãªã«ã«è¡ããªãã¨ãããªãã¨ã®åã«gkbrãã¦ããid:hakobe932ã§ãï¼ 932ã¯èæ´¥ã®932ã§ãï¼ããã«ã¡ã¯ï¼ ãã¡ã¤ã«ã®ä¸èº«ããã¹ã¦èªã¿è¾¼ãå¦çã¨ããã®ã¯ï¼é常ã«ããããå¦çã§ãï¼TIMTOWTDIãä¿¡æ¡ã®Perlã§ã¯ï¼ãã¡ã¤ã«ã®ä¸èº«ããã¹ã¦èªã¿è¾¼ãæ¹æ³ãããããããã¾ãï¼ããã§ã¯ï¼ã©ããªæ¹æ³ãããã®ãè¦ã¦ã¿ã¾ãããï¼ è¡åä½ã§èªã¿è¾¼ã ãã£ã¨ãã·ã³ãã«ãªã®ã¯è¡å ¥åæ¼ç®å(<>)ã使ã£ã¦è¡æ¯ã«ãã¼ã¿ãèªã¿è¾¼ã¿ï¼ãããé£çµããæ¹æ³ã§ãï¼ open my $fh, '<', './inputfile' or die "failed to open: $!"; my $content = ''; while (my $line = <$fh>) { $content .= $line; } print $content; ããå°ã工夫ãã¦å¾ç½®whil
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}