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
Aaãªã²ã¼ã ãjsã§View more presentations from Moriyoshi Koizumi. åç»ãAAã«å¤æãããã¢ã¯ä»¥ä¸ã§è¦³ãã¾ãã (åç»ãTheoraãªã®ã§Safariã¯é対å¿) http://dl.dropbox.com/u/673207/aalibtest/index.html ç´¹ä»ãããµã³ãã«ã³ã¼ããã®1: <html> <body> <pre id="screen" style="width:80ex; height:25em; line-height:100%; color:white; background-color:black"></pre> <script type="text/javascript"> function repeat(c, n) { return new Array(n+1).join(c); } var scr = doc
digraph testgraph{ {node[shape=none, fontsize=23] "Welcome to Liviz.js!" } {node[shape=none] "Interactive GraphViz on your browser" } {edge[color=transparent] "Welcome to Liviz.js!" -> "Interactive GraphViz on your browser" } A -> B -> C -> D -> E; B -> D; {node[shape=box]; 1 -> 2 -> 3; } E -> 1;2 -> C; {rank=same; 1; A;} {rank=same; 3; D;} } Test
Node.js ã§éãå¦çããã¦ãã¾ã£ãã¨ãã«ã¿ã¤ã ã¢ã¦ãããã®æ³ (ãã®è¨äºã¯ Node.js ã¢ããã³ãã«ã¬ã³ãã¼ä¸åå è¨äºã§ã) ãã£ãããµã¼ãã¼çãªä½¿ãæ¹ã¨ãæå¤ã¨ã¿ããªèå³ãªãã¦ãæ®éã®ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãªã©ããããã¨ããç¨éã«ã¡ãã£ã¨ node.js ãã¤ããããããã®ã«ãªãã¨ããã£ã¦ãã人ããããããã«ãããã¦ãã¾ããNode.js ã人æ°ãªã®ã¯ãv8 ããã¾ãããã±ã¼ã¸ã³ã°ãã¦ããã®ã node.js ãããã§ããã㦠v8 ããã¾ãããã±ã¼ã¸ã³ã°ããã®ãçµæ§ããã©ããããããã¨ããã¨ããã大ããã®ã§ããã¶ã£ã¡ãã node.js ãã ã¨ãããã§ã人ã®ãã¡8å²ã¯ I/O multiplexing ã ããã¨ãããããçç±ã§æ¯æãã¦ããããã§ã¯ãªãã£ããããã®ã§ã(åè¦)ã ãã¦ãæ®éã® web application ã®ãããªãã®ãæ¸ããã¨ããã¨ãã« Node.js ã£
æ¬å®¶ Text::Hatena 㧠HTML::Parser ãç¨ãã¦ããé¨åã¯å®è£ ã§ãã¦ãã¾ããã URL ã®èªåãªã³ã¯ã HTML ã®ã¨ã¹ã±ã¼ããªã©ã¯å®è£ ã§ãã¦ãã¾ããã Cookie ãå©ç¨ãããããªãµã¤ãã« text-hatena.js ãå©ç¨ããã®ã¯ãå§ãã§ãã¾ããã ã©ã¤ã»ã³ã¹ã¯ Text::Hatena ã¨åçã¨ãã¾ãã æè¡çãªã¢ã¬ã³ã¬ Perl 㨠JavaScript ã£ã¦æå¤ã¨ä¼¼ã¦ããããã¨ããã¨ããããåºçºãã¾ãããç¹ã«ãText::Hatena ã®ã½ã¼ã¹ã³ã¼ãã¯ãã®ã¾ã¾ JavaScript ã«ç½®ãæãããããããã«æ´ç·´ãããã³ã¼ãã§ããä¾ãã°ãHatena.pm ã®ä¸é¨ã«æ¬¡ã®ãããªã½ã¼ã¹ãããã®ã§ãã sub parse { my $self = shift; my $text = shift or return; $self->{context} = Text
https://github.com/Constellation/iv iv / lv5ã¨ããECMA262 5.1thå®å ¨æºæ ãç®æããengineãæ¸ãã¦ããã¾ãã (highly inspired from V8, JSC) ã§, ããã»ã¼ä»æ§æºæ ãã¦ããã¾ãã, ã, æ£è¦è¡¨ç¾ã®ã¿JSCREã使ã£ã¦ãã¦, ããã ãECMA262ã¨æåãç°ãªã£ã¦ãããã¨ããã, ããã¬ã¬ãã¨è¨ã£ã¦ãã¾ãã. JSCREã¨ã¯, æV8ãJSCã使ã£ã¦ãããã®ã§IrregexpãYarrã«åã£ã¦ä»£ããããåã®ãã®ã§, ãã®éDartã®VMè¦ã¦ããã¨, libjscreãcompileãã¦ãã¾ãã. ããããJSCRE! ã¡ãªã¿ã«JSCREã¯ãã¨ãã¨PCREãWebKitãããforkãã¦å¥ç©ã«æ¸ãæãã¡ãã£ããã®ã§ã. ã§ãã, ãã®åº¦ä¸å¿µçºèµ·ãã¦RegExp Runtime, AeroHand (so
Asynchronous behaviour driven development for Node. There are two reasons why we might want asynchronous testing. The first, and obvious reason is that node.js is asynchronous, and therefore our tests should be. The second reason is to make tests which target I/O run much faster, by running them concurrently. Write some vows, execute them: $ vows test/* --spec Get the report, make sure you kept yo
qrcode.64p.org ããªãã¥ã¢ã¼ã«ãã http://qrcode.64p.org/ qrcode.64p.org ã¯ãéçºãµã¼ãã¼ã® URL ãã¬ã©ã±ã¼ã§ã¿ããã¨ããªã©ã«ã¤ãã£ã¦ããã®ã ããèªå® ãµã¼ãã¼ãã¶ã£ãããããã¨ã«ãã復æ§ãé¢åã«ãªã£ãã®ã§ãã¯ã©ã¤ã¢ã³ããµã¤ãã§ãã¹ã¦ãããããã«ã¤ãããªããã¦ã¿ãã ã½ã¼ã¹ã¯ãã¡ã https://github.com/tokuhirom/qrcode 5å¹´ãããåã« JS ã§ããã QR Code ã¬ã³ãã©ã¿ãããªã®ãã¯ãã£ããã©ããã®ã¨ãã¯é度ããããã¦å®ç¨çã§ã¯ãªãã£ãããç¾å¨ã§ã¯ JS engine ãé«éã«ãªã£ã¦ããããcanvas è¦ç´ ãä¸è¬çã§ãã¾ã canvas è¦ç´ ãã¤ãããªããã©ã¦ã¶ã§ã ExplorerCanvas.js ã uuCanvas.js ãªã©ãå©ç¨ã§ããã®ã§ãããããå®ç¨çã«ãªã£ã¦ããå°è±¡ã ããã ãã
Twitter ã ã¨ã¡ãã£ã¨å³ããã®ã§ããã£ã¡ã§ã¾ã¨ãã MobileWebKit ã«å¯¾å¿ãããã¨æã£ãããã³ã¼ãããªãã¨ããã¦åãå¿ è¦ãããã¾ãã AND æ¼ç®å 㧠4byte åã(10byte â 6byte) if (a) { b(); } â a && b(); OR æ¼ç®å 㧠5byte åã(11byte â 6byte) if (!a) { b(); } â a || b(); ãããæ¼ç®å以éãèªå㧠Minify ãã JavaScriptã¯åçãªè¨èªãªã®ã§ããããæ¼ç®å以éã¯åºæ¬çã« minify ãã¦ãå§ç¸®ããã¾ããã document.createElement("div"); document.createElement("a"); document.createElement("p"); â ãã®ã¾ã¾ã ã¨ãminify ãã¦ã縮ã¾ããªã document.
rubyã«éããå系統ã®LLã¯javascriptã«æ» ã¼ãããããããªããã¨å 輩ãè¨ã£ã¦ãã®ã§ãæµç³ã«ããããªãã§ãããã¨è¨ã£ãã¨ããã以ä¸ã®åè«ããããã ãµã¼ããåãè¨èªã§æ¸ããã¡ãªããã¯å¤§ããæè¿ã®jsã¯éããªã£ããä»ã®LLããããã£ã¨éã é度ã«ã¤ãã¦ã¯ãå¹¾ã¤ãã®ãã³ããã¼ã¯ãçµã¿åããã¦è©ä¾¡ãã¦ãã Which programming language is fastest? ã«ããã¨ã確ãã«js(ã¨ããããv8)ãä»ã®ã¹ã¯ãªããè¨èªãã¡ãã£ã¦ãã *0 ãv8ã¯ãã ã®ãã£ããããã ã¨Cã«è¿«ãé度ã ãæããããcrankshaftã§ããã«1.5åã»ã©é«éåããããããããã©ã¦ã¶ã®éçºç«¶äºãç¶ãéãjsã®é度çãªåªä½ã¯ä»ã®LLã¨æ¯ã¹ã¦ã¾ãã¾ã大ãããªãã§ãããç¶æ³ã«ããã ãã¦ãé度çã«ãåªä½ã ãã¯ã©ã¤ã¢ã³ãã¨ã®è¦ªåæ§ãæ群ã¨ããã°ããã¯ãnode.jsã使ããªãçç±ã¯ç¡ããä»ã®L
node.jsã«é¢ããåºç¤ããã¥ã¼ããªã¢ã«ã®ã¾ã¨ãã ãªã¢ã«ã¿ã¤ã ãªWEBãå®ç¾ããã«ã¯å¿ é ã®ãµã¼ããµã¤ãJSãnode.jsã«ã¤ãã¦è²ã ã¨ã¾ã¨ãã¦ã¿ã¾ããã node.js node.jsã«ã¤ã㦠node.js ãªãã¨ãªãåããã ãã©ããåãããªãã¨ããæ¹ãå¤ããããããªãã®ã§ç°¡åã«è§£èª¬ã ä¸çªæåè¦ãæã¯ä½ãã®JavaScript ã©ã¤ãã©ãªãã¨æã£ãã®ã§ãããå ¨ãéã£ã¦ãV8ã¨ããChromeã«ãã®ã£ã¦ããé«éJavaScriptã¨ã³ã¸ã³ä¸ã§åããµã¼ããåãããä»çµã¿ã ãµã¼ãèªä½ãå ·ä½çã«è¨ãã¨æ¬¡ã®ãããªã³ã¼ãã§å®ç¾ãã¾ãã var http = require('http'); http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain
Testing JavaScript with node.js http://d.hatena.ne.jp/gfx/20110206/1296979666 JavaScript ã®ã©ã¤ãã©ãªãã¢ããªã±ã¼ã·ã§ã³ãªã©ã JE ã§ãã¹ããããããã®ã¯ãçãæªãã¨ãããã¾ããåµãããã®ãã®ãåµãããã®ãã®ã§ãã¹ãããã®ã¯ãæéã®ç¡é§ã«ãªããããããã§ãã æè¿ã§ã¯ v8(ã®ä¸ã©ããã¼ã¨ãã¦ã® node.js)ãSpiderMonkey ãªã©ãç¨æã«æã«ã¯ããã®ã§ããããå©ç¨ããã°ãããããCommonJS ãªã©ã¨ãããã®ãã§ã¦ãã¦ãããæè¿ã§ã¯ãµã¼ãã¼ãµã¤ãã§ã®ãã¹ããããããã«ãªãã¤ã¤ããã ããã ã¨ãããã¨ã§ãmustache.js ããã¹ãããã¹ã¯ãªããã以ä¸ã«ãããããã㯠node.js ã§ãã¹ãããå ´åã§ããJavaScript ã§ç°¡æç㪠TAP Producer ãå®è£ ãã¦ã¿ããã©
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}