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
ãã³ã¬ã¼ã¿ã¯Python2.4ã§è¿½å ãããæ§æã§ãé¢æ°ãã¡ã½ããã®ã©ããã³ã°ãè¡ãªãã¾ãã @deco1 def foo() pass @deco2(args) def bar() pass ãã®ããã°ã©ã ã¯ä»¥ä¸ã®ããã°ã©ã ã¨ç価ã§ãã def foo() pass foo = deco1(foo) def bar() pass bar = deco2(args)(bar) ãã®æ§æã¯éçã¡ã½ãããã¯ã©ã¹ã¡ã½ããã®å®ç¾©ãåãããããæ¸ãããã¨ããåæ©ãã追å ããã¾ããã éçã¡ã½ãããã¯ã©ã¹ã¡ã½ããã®å®ç¾©ã¯ããã³ã¬ã¼ã¿å°å ¥ä»¥åã§ã¯ä»¥ä¸ã®ããã«æ¸ããã¦ãã¾ããã class C(object): def foo(cls, x): pass foo = classmethod(foo) def bar(y): pass bar = staticmethod(bar) ãã³ã¬ã¼ã¿æ§æã使ç¨ããã¨
æ©ããã®ã§ããå¹´ã®ç¬ã å¹´æ«å¹´å§ã®ãä¼ã¿ã9é£ä¼ã¨ãªãæ¹ãå¤ãããã£ãããã®ã§ã¯ãªãã§ããããã å¿å¹´ä¼ã«ã¯ãªã¹ãã¹â¦ããã©ã¼ãå·»ãã¦è¡ã¸åºã¦æ¥ããããªãããã¦ãã¦ãéããè¡ã£ããæ¥ããããããªããã®å£ç¯ããã£ã¦ãã¾ãããã ã¿ãªããã¯ãµã³ã¿ããã«ã©ããªãã¬ã¼ã³ãã欲ããã¨ãé¡ããã¾ãããï¼ 32æã»å¥³çãã®æ¸è°·å¤åOLã®ç§ã大ããªé´ä¸ãç¨æãã¦ãé¡ããããã¬ã¼ã³ããããã¯ã»ã»ã» ã¤ãã¤ãã¤ã³ãã©ã¨ã³ã¸ãã¢ã§ãï¼ é¡æãããããæã家ã®ã¯ãªã¹ãã¹ããªã¼ã«twinkleâantipopã飾ã£ã¦ã¿ã¾ããã å¼ç¤¾ã¯ã¤ã³ã¿ã¼ããããµã¼ãã¹ãããããå±éãã¦ãã¾ãã 大ããæ¬ã£ã¦ãã¹ãã£ã³ã°äºæ¥ãECäºæ¥ãã¡ãã£ã¢äºæ¥ã®ï¼ã¤ãäºæ¥é¨å¶ã§éå¶ãã¦ãã¾ãã å°ããªãµã¼ãã¹ã¯3åãããã®ãã¼ã ã§ãããªãããï¼ãã«ã©ã¼ãã¼ã·ã§ãããªã©ã®å¤§ããªãµã¼ãã¹ã¯å¤§æ帯ã¨ãªãããµã¼ãã¹ã®ä¸ã§ãWEBéçºãã«ã¹ã¿ãã¼ãµã¼
[twitter:@kumagi] ããã® ã¨ããã¤ã¶ããã®èª¬æãæ¸ããã¨ããã 140åãããã©ããã¦ãåã¾ããªãã£ãã®ã§ã¨ã³ããªã«ãã¦ã¿ããã ã¡ãªã¿ã«ãªãã§ãã®ãããªå®è£ ã«ãªã£ã¦ããã®ããã¨ããã®ã¯ãããã¾ããã ééã£ã¦ããçªã£è¾¼ãã§ãã ãã¹ãããé¢æ° ã¾ããé¢æ°ã®ä¸ã§é¢æ°ãå®ç¾©ããå ´åã >>> def outer(val): ... def inner(arg): ... return val + arg ... return inner ... >>> inner = outer(10) >>> inner(20) 30 outer ã®ä¸ã§å®ç¾©ãã inner ã¯ãå®ç¾©æç¹ã§ã® outer ã®ç°å¢ãæã£ã¦ãã¾ãã ç§ã®ã¯ãã¼ã¸ã£ã«å¯¾ããç解ãæ£ãããã°ããã¯ã¯ãã¼ã¸ã£ã§ãã ãã®ããã«ãå¤å´ã®ç°å¢ã®å¤æ°ãåç §ããã¨ãããã¨ã¯åé¡ãªãè¡ãã¾ãã ãã¹ãããé¢æ°ã§å¤å´ã®å¤æ°ãæ¸
ãã®ã¹ã©ã¤ãã¯äº¬å¤§ãã¤ã³ã³ã¯ã©ãï¼KMCï¼ã®ä¾ä¼ã§æ°å ¥çåãã«çºè¡¨ããããã®ã§ããæ°å ¥çåãã«æè¡çãªå 容ãåã¿ç ãã¦èª¬æããããäºå®ãåºã«èè²ãå ãã¦ãã¾ãããã®ããããã®ã¹ã©ã¤ãã«è¨è¼ããã¦ããå 容ã¯â¨äºå®ã¨ã¯å¤§ããç°ãªãã¾ãã ãã®ã¹ã©ã¤ãã®å 容ã¯ãã£ã¯ã·ã§ã³ã§ãããå®å¨ã®äººç©ã»å£ä½ã¨ã¯ä¸åé¢ä¿ããã¾ããã
https://blog.twitter.com/2013/cocoaspdy-spdy-for-ios-os-x1 comment | 0 pointsChromeã¨Firefoxã§å©ç¨ã§ããSPDYãããã³ã«ã¯ãHTTP/2.0ã®ãã¼ã¹ã«ãªãã¾ãããä»åTwitterããããiOSã¢ããªã«æä¾ã§ããCocoaSPDYããªã¼ãã³ã½ã¼ã¹ã§æä¾ãã¦ãã¾ãããã¡ãã¨ãã¡ãã®ã°ã©ãã«ããããã«ãæ¦ã30%ã¹ãã¼ãã¢ããã§ããããã§ãã HTTPãã¹ãã¼ãã¢ããããããã«ãSPDYãæ¹åãã¦ãããã¤ã³ãã¯ã TCPã³ãã¯ã·ã§ã³ãä»ãã¦ä¸åº¦ã«ä¸ã¤ã®ãªã¯ã¨ã¹ããéãã®ã§ã¯ãªãã¦ãSPDYã¯ä¸ã¤ã®TCPã»ãã·ã§ã³ã§è¤æ°ã®ãªã¯ã¨ã¹ããéä¿¡ããã¬ã¹ãã³ã¹ãä»»æã®é çªã§æ±ããã¨ãã§ããã SPDYã¯ãªã¯ã¨ã¹ããããã¼ããã³ã¬ã¹ãã³ã¹ãããã¼ãå§ç¸®ã§ããããããã¼å士ã¯ãéè¤ããããã¹ããã¼ã¿ããããããªãä¼¼ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}