2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãªãã¹ï¼ãªã©å«æ空ï¼æè¿æµè¡ãã®HTML5ã追ãããã¦ã¢ããç®æãã®ããããã©ãDOM Level 0ãå å®ãªç·æ§ã£ã¦ã¤ã¡ã¼ã¸ã§ç´ æµã ããªï¼ ã¨ããã§ãiframeã«nameãæå®ãã¦DOM Treeã«è¿½å ããä¸ã§ãåãnameã第äºå¼æ°ã«æå®ãã¦window.openããã¨ãã©ã¦ã¶ã¯æ°â¦
åä½ãã¹ããåä½ãã¹ããããããããã«ï¼ï¼ï¼ãstubã¨ãmockã使ã£ã¦ãã¹ãã®å¯¾è±¡ãªãããã¢ã¸ã¥ã¼ã«ãèã«ããããã¨ãããã¨ãããããã åã¯ãPerlã§ã¯Test::Mock::GuardãJSã§ã¯Sinon.JSã®sinon.stubãªã©ã使ãã mock対象ã®é¢æ°ãæ¬æ¥ãªãã¸ã§ã¯ããâ¦
Event.prototype.stopImmedidatePropagationããªã => ãªãå ´åã¯ä½¿ããªããã¨ã§åé¿ Hoge.prototype.delete = function() {}; ã¿ãããªè¨è¿°ã§ã¨ã©ã¼ => deleteããã¼ã¯ã¼ãã ããå¼ã£ããã£ã¦ããã®ã ãããããã¯æ¬å½ã¯ä¿ºã®æ¸ãæ¹ãæªãã®ãããããªãã Hâ¦
é·å¤§ãªTODOãªã¹ãã«æå³ã¯ãªããTODOãªã¹ãã¯ãããªããã¨ã決ããããã«ããã®ã ãã¨ãããããªãã¨ã以åã«æ¸ãããã©ãamazonã®wish listã«ã¤ãã¦ãåããããªãã¨ãè¨ããããªæ°ããã¦ããã ããã¨ãããã種é¡ã®æè¡æ¸ãæã£ãé·å¤§ãªwish listã¯ããªãâ¦
åãæ°å¹´åã¾ã§ã¯æ å ±ç³»ã®å¦çã ã£ããæ å ±ç³»ã«éãããå¦çã¨ãããã®ã¯ ãéããªã ããããæéã¯ãã ãã®ã¨ç¸å ´ã決ã¾ã£ã¦ããã以ä¸ã®ã¬ã¤ãã¯ãä¸ã®æ¡ä»¶ã«åºã¥ãã¦æ å ±ç³»å¦çã«ã¨ã£ã¦ãã¹ããªèªæ¸è¡ï¼ã¨ããããã¯æ¸ç±è³¼è²·è¡ï¼ãææ¡ãããã®ã§ãããâ¦
Content Security Policyã®å©ç¨ ('unsafe-inline'ãªã) ãåæã®å ´åã <script src="http://kyokashiteiru.org.in/external.js"></script> // external.js var s = "ããã«åççæããã"; ã¿ãããªå½¢å¼ããããã¯DOMåãè¾¼ã¿ã§ãªãã¨ãããªãï¼ç¥ãããã©ï¼ ããã©ããããWebã»ãã¥ãªãã£ä½è : Michal Zalewski,ä¸é宣,æ°â¦
ã®ã§ãä¾ãã°å®¶ã¨ä¼ç¤¾ã§å¥ã ã®user.name, user.emailãªã©ã使ãããå ´åã¯.gitconfigã«ã¯ãããã®æ å ±ãæ¸ããã«ã .gitconfig [include] path = .gitconfig.local .gitconfig.local for home [user] name = your_handle_name email = [email protected] .giâ¦
ã³ã¼ããªã¼ãã£ã³ã°ãã¨ããã®ã¯ä»äººã®ã³ã¼ããèªããã¨ã ããä¸è¬çã«ã¯ãããã¨ã¨ããã¦ããããªãã¨ããã°ãä»äººã®ã³ã¼ããèªããã¨ã«ãã£ã¦èªåã®ããã¨ã¯ç°ãªãèãæ¹ãå¦ã¶ãã¨ãåºæ¥ãããã§ããã ããç´ç²ãªåå¼·ç®çã®ã³ã¼ããªã¼ãã£ã³ã°ã¨ããã®ã¯â¦
ã¯ã¦ãªè¨æ³ãããå¿ããã®ã§ã ç¡æ°ã«ããwikiã¢ããã®è¨æ³ãä¸ã è¦ããã«ã¯äººçã¯çãããã ãªãå¤ãã®wikiã¢ãã製åã®éçºè ãæ°ããªãªã¬ãªã¬è¨æ³ãä½ããããã®ãè¬ã§ããããåã®å¥½ã¿ï¼ç¥ããç¥ãããMarkdownã ã£ã¦å¥ã«ãã¹ãã¨ã¯æããªãããwikiè¨â¦
æµ·å¤ã®blogçã®å 容ãç´¹ä»ãã¦ä½äºããè¿°ã¹ãæ°ã«ãªãã®ã¯å¥½ãã§ã¯ãªãã®ã ããç¾ç¶ãããã以ä¸ã®ãããªæãã§ããã®ã§ã¯ãªããã¨æã£ã¦ãããhttp://www.thomasboyt.com/2013/09/01/maintainable-grunt.htmlã¾ããã£ã¨ä»ã«ããæ¹æ³ã¯ãããããããªãããâ¦
ããã¯äººããããã®ã³ã¼ãã®æ¸ãæ¹ã«ä¾åããã®ã§å¿ ãããçæªã¨ããããã§ã¯ãªããããããããã風ã«æ¸ãã¦ãã¾ãã人ãããã ããããããã®è©±ãä½ãè¨ããããã¨ããã¨ãèªåã®å ´åãããç¨åº¦ã¯é ã®ä¸ã§ã¾ã¨ãã¤ã¤ã¨ããããæãåããã¦æ¸ãã¦ã¿ãâæ°ã«â¦
ããèªä½ã©ããã§è¦ããããªæ°ãããããã³ãã ãã©ãã°ã°ã£ã¦æ¢åºãã©ãã確ãããã®ããé¢åãããã®ã§æ¸ãã¦ãã¾ãã ã主èªããªããã¨ããããã³ãã¯ããè³ã«ããããã»ã¨ãã©ã®å ´å足ããªãã®ã¯ä¸»èªä»¥å¤ã®ä½ãã§ãã£ããããããã¯åã«ãæã®è¦ç¹ãåãâ¦
ã©ãããå¤ãã®äººã®é ã®ä¸ã§ãã¢ãã¡ãè¦ãªã人ããã¢ãã¡ãè¦ã人ãã¨ããåºå¥ã¯æ¿æ·¡ã®ããã°ã©ãã¼ã·ã§ã³ã§ã¯ãªã0 or 1ã®2å¤è¡¨ç¾ã¨ãªã£ã¦ããããã ããªã®ã§ãåã®ããã«ãèªåã®ç¹ã«æ°ã«å ¥ã£ãç¹å®ã®ã¢ãã¡ã«ã¤ãã¦ã¯ãã©ãã¼ãã¦ããããä»ã«ã¯ä¸åèå³â¦
é·ãï¼ã¿ã¤ãã«é·ãï¼æ¨æ¥ãé ã飲ãã§ããæã«æãã¦ããã£ãã®ã§ã¡ã¢ãhttp://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-06端çã«å 容ãæ¸ãã¨ããã®åã®éã OAuth2ã®å種ããã¼ã«ãããclientèªè¨¼ã«JWT Bearerã使ããããã« OAuth2ã®authorizatâ¦
ç¾æç¹ã§ã®åã«ã¨ã£ã¦ã®ãã¿ã¼ãã©ã¯ãã£ã¹ã§ãããå ¨ã¦ã®å ´åã«éç¨ãããã¹ããã©ã¯ãã£ã¹ã§ã¯ããã¾ãããéçºè¦æ¨¡ãéãã°å½ç¶å¥ã®ãã¿ã¼ãã©ã¯ãã£ã¹ãããã§ãããã module管ç 100åãè¶ ãã.jsããããããªã²ã¼ã or ã¬ãããªããã¢ããªã±ã¼ã·ã§ã³â¦
ãã¨ããè±èªã®æè¡æ¸ãè²·ãä¸ã§ã¯é«ãã³ã¹ããèªã£ã¦ããoreilly.comã ããæè¿ï¼åãããããããªããâ¦ï¼ã以ä¸ã®æ©è½ã追å ããã¦ãã便å©ã«ãªã£ãã Dropboxã¢ã«ã¦ã³ãã¨é£æºãã¦ãäºãé¸æãããã©ã¼ãããã§ã¯ã³ã¯ãªãã¯ã§Dropboxã«éã (Send to Dropâ¦
iPhoneã®å ´åãMobile Safariã®ãããããéãããã¿ã³ãæ¼ããæã«ç»åãå¿ è¦ã«ãªããããã®æç¹ã§fetchãããã(â»iOS 6.1.2ã§ã®è©±ãå¤ãã®ã¯ç¥ãã)ãã¼ã ç»é¢ã«ã·ã§ã¼ãã«ããã追å ãã¦ä»¥éã¯ãapple-mobile-web-app-capableã®å¤ã«é¢ãããã·ã§ã¼ãã«ãâ¦
http://code.google.com/p/chromium/issues/detail?id=136610âã®issueã«ãæãã£ã¦ããéããiOS Safariã§ã¯UIWebViewã使ã£ã¦ããé¢ä¿ã§JSã«ãããwindowéã®é£æºãè¦ããAPIãã¶ã£å£ãã¦ãããä¾ãã°ã以ä¸ã®ããã«ã window.openã§è¿ã£ã¦ããã®ãWindow oâ¦
ã¾ã誰ãèå³ã¯ãªãã ãããããªãã¨ãªãæ¸ã綴ããã¾ãããã 大å¦4å¹´ã§ç 究室ã«å ¥ã£ãããã¯ãWindowsãã触ã£ããã¨ããªãã£ããç 究室ã®ã¯ã¼ã¯ã¹ãã¼ã·ã§ã³ã¯Solarisã§ãã£ããå½æã®åã«ã¨ã£ã¦ãSolarisã¨ã¯ã使ãã«ããã ãã®ä½ããã ã£ãã就活ã§ç®ãâ¦
ã¨ãã½ã¯ã©ãã¹ãè¨ã£ãã¨ãè¨ããªãã¨ãã
ååã®è¨äº: More Transactional Redis (1) - Redis is not a transactional storage - æã¨åæ°ã¨ç¼¶ãã¼ã«Lua Scriptingã§atomicãªå¦çãå®ç¾ã§ããããï¼ã£ã¦ã¨ãã§ååã®è¨äºã¯çµãã£ã¦ãã¾ãããä»åã¯ãLua Scriptingã試ãéã«è¸ãã¨ããã§ãããstepâ¦
ãªãã¹ï¼ãªã©å«æ空ï¼ã¿ããªå æ°ã«ãã¦ã£ãï¼çªç¶ã ãã©ããªã©ãRedisã«ä¿åãã¦ããã¼ã¿ã«ä»¥ä¸ã®ãããªæä½ããã¦ã¿ãããªã£ã¡ã¾ã£ããã ï¼ããæ¬ä¼¼ã³ã¼ããªï¼ 1: score = ZSCORE {key} {member} 2: if ( ! score ) { 3: score = defaultScore 4: } 5: ZADDâ¦
ããã©ã«ãã®è¨å® (zset-max-ziplist-entries, zset-max-ziplist-value) ã§ã¯ 該å½ããSorted Setã®ã¨ã³ããªæ°ã128åä»¥ä¸ è©²å½ããSorted Setã«å«ã¾ããmember (not score) ã®ãã¼ã¿é·ãå ¨ã¦64byteä»¥ä¸ ã¨ãã2ã¤ã®æ¡ä»¶ãæç«ãã¦ããå ´åãSorted Setã®è¡¨â¦
ä¸é¨ï¼ï¼ï¼ã«éè¦ããã£ããããªã®ã§ãåæ²ãå®ã¯ã¾ã å ¨é¨èªãã§ããããç©ç層ããã©ã³ã¹ãã¼ã層ã®è©±ãè±ãã¦ã¢ããªã±ã¼ã·ã§ã³å±¤ã¨ãããHTTPã«æ¥ãæãåã主ã«èå³ãæ¹ãããã®ã¯TCPå¨ãã®è©±ãªã®ã§ããã®è¾ºã ãã¾ã¨ãããèªãã æ¬ã®è¦ç´ï¼ã¨ããã®ã¯ããâ¦
訳ãããªããGoogleå¢å°ãï¼ããããããããã ã£ãã訳ãããã¨ã«ä½ã®æå³ããªãã®ã ãã©ãhttp://www.wordstream.com/articles/retired-google-projectsããããã£ã¦ãGoogleã¯ãã¤ãµã¼ãã¹ãçµäºãããåããããããä¿¡ç¨ã§ããªãããã¤ãã®ãµã¼ãã¹ã使â¦
http://shop.oreilly.com/product/0636920028048.doä¾ã«ãã£ã¦oreilly.comãsaleããã£ã¦ããã®ã§ãã¤ãã¤è²·ã£ã¦ãã¾ãã¾ããã説æã ãè¦ãã¨ãHTTP 2.0ã¨ãWebSocketã¨ãWebRTCã¨ãè¶ ãã¦ãã£ããï¼ã¢ãã¢ãã£ããå 輩ï¼ãã£ã¦æããªã®ã§ãããä»ã®ã¨ããTâ¦
ã¡ããã¨èªåã§åä½æ¤è¨¼ãã¦ããblogãæ¸ãããæ¸ããã¨æã£ã¦ããã®ã§ãããããã©ããããªã£ãã®ã§ãããã«æ¸ãã¦ãã¾ãã¾ãããããã¾ãããããåã¯ããããã¦ã¯ããã¾ããã ã¡ãªã¿ã«ãä¼ç¤¾ã®ååãæ¤è¨¼ãã¦ããã¦ããã¾ãã®ã§ã使ç¨èªä½ã«åé¡ã¯ãªãã¯â¦
iOS iOSã«ã¤ãã¦ã¯ãä½ã¨ãªãWWDCã®ã¹ã©ã¤ããçºãã¦ãããããiOSã¨Macåãã®æ°æ©è½ã¨ãã¦ãJavaScriptCore.frameworkã£ã¦ããã®ãä½ã£ã¦Objective-Cã¬ã¤ã¤ããJavaScriptãå®è¡ãããããã®éããã£ããã§ããæ©è½ãæä¾ããããã¨ããå 容ã®ããã£ããWWDâ¦
æè¿ãããããRailsã®å¤ãã®ãã¼ã¸ã§ã³ã§æ¸ãããããã¬ã¬ã·ã¼ãªæãã®ã¢ããªã±ã¼ã·ã§ã³ã触ã£ã¦ãã¦æã£ããã¨ãã¡ãªã¿ã«ããã®è©±é¡ã¯å¤ãã®äººã«ã¨ã£ã¦å¤§åä»æ´æã®ããå 容ãªã®ã§ãéã«ãããèªãã§ãä»æ´ã ãªãããããªã®ã¨ã£ãã«çµè«åºã¦ãã§ãããã¨æâ¦
å§ãã¾ãããã¨ããã®ã¯å³å¯ã«ã¯ã¦ã½ããªããªãã大å¦ã®æã«1.8.7ã ã1.8.5ã ãã触ã£ã¦ããã®ã§ãç 究ã®ããã®ã·ãã¥ã¬ã¼ã¿ãJavaã§æ¸ãã®ããã«ããªã£ã¦ãRubyã§ã®å®è£ ã«éããããã®å¤ããã®å¤ã¯ã©ãã§ãããã®ã ããããããã°ã©ãã³ã°è¨èªãããã¾ããâ¦