node.js
ä¼ç¤¾ã§id:gfxãããWebSocketã使ã£ã¦å¤¢ãåºããã¨ã¯ã¹ããªã¼ã ãªãã¬ã¼ã³ããã¦ãããã®ã§ãæµ·å¤ã®ç©ºæ°ãèªã¾ãã«ä½ã£ã¦ã¿ã¾ãããhttps://github.com/zentooo/SkyWalk端çã«è¨ãã¨ãSocket.IOãéãã¦ãªã¢ã³ã³ã¨ãªãiPhone/Android(?) ã®ãã©ã¦ã¶ã§ãã£ãâ¦
Nodeã®å ¬å¼docã«ã¯ã ãããã®æ¨æºã¢ã¸ã¥ã¼ã«ã®ããã¥ã¡ã³ããããã£ã¦ããã®ã ãã©ããªããreadlineã¨ããååã®ã¢ã¸ã¥ã¼ã«ã ãã¯undocumentedã-> http://nodejs.org/docs/v0.4.4/api/readline.htmlä¸èº«ã¨ãã¦ã¯ãreadlineã®ãªãç°å¢ï¼ï¼ï¼ã§ç°¡æãªGNU Readâ¦
ãã¯ã© ãã®ã¾ãä¼ç¤¾ã§ã¡ãã£ã¨ç¹æ®ãªJavaScript replãä½ã£ãã®ã ãã©ãããã¡ãã£ã¨æ±ç¨çãªãã®ãä½ã£ã¦ã¿ããã£ãã®ã§Nodeã§æ¸ããã£ã¦ããã話ãNodeã§æ¸ããã¨èªä½ã«ãã¾ãæ·±ãæå³ã¯ãªããã§ãããSocket.IO使ãã°cross-browser/cross-originã§ã®pushâ¦
ã¿ã¤ãã«æ¸ãã¦ããæ°ã¥ãããã©ãå¥ã«ãã£ããæ©è½ã¨ããªãã£ãã http://d.hatena.ne.jp/zentoo/20100821/1282407303 以åã«æ¸ããâã®ã¨ã³ããªã§ã¯ãShindigã®extrasã«å ¥ã£ã¦ãwave featureã調ã¹ã¦ã¿ã¦ãããã¼ããShared Stateã¯ã³ã³ããå´ã§ä½ã¨ããã¦â¦
ææã®æãã£ã³ãã«ã§ãv8botãªããã®ãè¦ã¤ããã®ã§ãTwitterã§ãåãããã«ãã¦ã¿ããåãããã«ãã¦ã¿ãã¨ãããããµã³ãããã¯ã¹å¨ã以å¤ã¯ã¤ãããæ¸ãã¦ããããæ©è½ã¯ä¸ã¤ãã移æ¤ãã¦ããªããå ã®ã¤ãã¯åèç¨åº¦ãhttp://twitter.com/v8botReplyã§Jaâ¦
node.jsã®ã¤ã³ã¹ãã¼ã«ã¯ã.configureããmakeã¾ã§å ¨é¨ãtools/wafãªãã¨ãã«ä¾åãã¦ãã¦ãtools/wafãªãã¨ãã®ä¸ã®pythonã¹ã¯ãªããã¯å ¨é¨python2ç³»ï¼åã確èªããã®ã¯2.7ã®ã¿ï¼ãããªãã¨åããªããconfigureã¨ããããã£ã¦ä½ã¨ããã¾ããã®ããããã©ãpâ¦
long pollingã£ã¦çµå± HTTPã§ã¤ãªãã«è¡ã£ã¦ãã¬ã¹ãã³ã¹ã帰ã£ã¦ãããä½ããã¦å度ã¤ãªã(Client Side) HTTPãªã¯ã¨ã¹ãããã¼ããã¨ãã¦ãã¤ãã³ãã«å¿ãã¦ã¬ã¹ãã³ã¹ã好ããªæã«è¿ã(Server Side) ã®ï¼ã¤ã ãããã¨æã£ã¦ãåå¼·ãå ¼ãã¦ãã¨ããããä¸è¨â¦
ããhttp://github.com/weepy/bounceã npm install bounce ã㦠bounce -r -w './httpserver.js' 'node httpserver.js' ãããã«ã¬ã³ããã£ã¬ã¯ããªã«ãããhttpserver.jsãç·¨éãã¦ããå ´åã®è©±ãshotgunã¨ããããããã¯ãåããã»ã¹ã®respawnæ©è½ä»ãã®iâ¦
node.jsã®sysããã±ã¼ã¸ã¯utilããã±ã¼ã¸ã«ç§»è¡äºå®ãããã 11:22 JimBastard: a message is outputed on 0.3 when you require('sys') 11:22 % ./node 11:22 > process.version 11:22 'v0.3.1-pre' 11:22 > require('sys') 11:22 The 'sys' module is now â¦