WikiLeaksã«ãã£ã¦ãã¢ã¡ãªã«ã®å¤äº¤ææ¸ãæ´é²ããã¦ãã¾ãããã®ä¸ã§ã¯ãå¤äº¤ä¸è¡ããã¦ããï¼ã¾ãã¯ãã®å¯è½æ§ã®ããï¼ãããããªæ å ±åéææ³ãæããã«ãªã£ã¦ãã¾ãã ãã¨ãã°ããããªæãã§ãã ã»Bluetoothãããã人ä½ã«åãè¾¼ãã§ãã©ããã³ã° ããä¼è«ã§ã¯ãã°ã¢ã³ã¿ãã¢å容æã®åç£è ã®ä½ã«ããããåãè¾¼ã¿ãBluetoothã使ã£ã¦ãã©ããã³ã°ãã¦ã¯ã©ããã¨ææ¡ãããã¾ãããææ¡ããã®ã¯ãµã¦ã¸ã¢ã©ãã¢ã®ã¢ããã©å½çã§ããæè¡çã«ã©ããã¨ããã¨ãï½¢ããã¯é¦¬ãã¿ã«ã«ã¯è¡ã£ã¦ãããã¨ï½£ã ããã§ããã¤ã¾ããåç©ã§ã¯å¯è½ãªãã ããã人éã§ãã§ããããããªããã¨ãããã¨ã§ããã ã¾ããæè¡çã«ãç´°ãããã¨ãè¨ãã°ãBluetoothã ã¨éä¿¡ç¯å²ãçãã®ã§ãä¸çä¸åãåã人éããã©ããã³ã°ããã®ã«ã¯åããªãã¨ããåé¡ã¯ããã¾ããã§ããããããåé¡ãããªãã§ããããããã°ã¢ã³ã¿ãã¢å容æã¨ãã
åã¯èªå·±åæãããã¨å¥½ãã§ãããã¿ã¤ãã³ã°ã§èªå·±åæããããã¾ãã ã§ããä½ã§èªå·±åæããã®ãã¯ãã¾ãèãããã¨ããªãã£ãã®ã§ããã®æå³ãããããã¦èãã¦ã¿ã¾ããã 人çã«ã¯ç®æ¨ãå¿ è¦ã¨ããè¨ãã ããã¯ããè¨ãç®æ¨ãæã¦ã¨ããèãæ¹ã§ãããç®æ¨ããã£ãæ¹ãçãçãã¨çæ´»ã§ãã¾ãããããããè¡åã«ããç²æãæã¦ãããã¾ãã ã§ããæ¹ãã¦äººçã®ç®æ¨ã£ã¦ä½ã ããã¨èããã¨ãããã¯å¤§ããäºããå°ãããã¨ã¾ã§å¤å²ã«æ¸¡ãã¾ãã ä¾ãã°å½¼å¥³ã欲ããã¨ãããéã欲ããã¨ãå³ç©çãªãã®ãããè·æ¥ã試é¨ãæ è¡ãªã©ä¸éçãªç®æ¨ãããã¦å¶ããã©ããåãããªããããªå¤§ããªç®æ¨ãªã©ãªã©ãç®æ¨ã®è¨å®ã¯ãã¦ãåããããã¾ã å°ããªç®æ¨ã¯ã¿ã¹ã¯ã¨ãè¨ãã¾ãã大ããªç®æ¨ã¯å¤¢ã¨ãè¨ãã¾ããä¸éç®æ¨ã¯å¸æã¨ãã£ãã¨ããã§ããããã ã§ãããç®æ¨ã°ããç«ã¦ã¦ãã¦ãããããå®ç¾ã§ããããã§ã¯ããã¾ãããå®ç¾ããããã«ã¯ã©ããããã
ã¤ãã³ã, Coq, Clojureåå¤å± Hackathon ã«åå ãã¦ãããæãããã ãã ãã¦ããã®ã§ãå°ãã°ããé å»ãã¦ãçããããã«ã¯ãããã¼ã åããæ¸ãã§ããã Scala ãã¼ã 㨠Coq ãã¼ã ã®ä¸¡æ¹ãããèªããããã Scala ãã¼ã ã® SICP ãèªã¿ãªãã Lisp ã¤ã³ã¿ããªã¿ãä½ãã¨ãããã¼ãã«å¾ã髪ãå¼ãããªããããä¸æºåãã¦ãããã®ããã£ãã®ã§ Coq ãã¼ã ã¸ãCoq ãã¼ã ã¯ã Coq ã® extraction æ©è½ã§æ½åºã§ããè¨èªãå¢ãããã¨ãããã¨ã§ã yoshihiro503 ãã㯠Coq to HaXeã rf0444 ãã㯠Scalaã mzp 㯠Rubyãã¨ããã¼ã ãçµãå¿ è¦ãããã®ãã¨ãããããã®çµ±ä¸æã®ãªããèªå㯠athos0220 ãã㨠Coq to Clojure ã«æãã¤ãã¦ããã®ã ããã©ããã¡ããããããåæã«ãã¦ãã¦ã
id:gfx ã«èãããã®ã§ãShift+Z ãï¼åæ¼ãã¨ããããã®ãã¼ãæ¶ãã¦ç»é¢ãåºããªãã便å©ãããã ãè¦ãã¦ã
lingering close ããªãã§ãããã«ã¤ãã¦ã¯ãApache Performance Tuning - Apache HTTP Server Version 2.2 ãåç §ã Apache 2.2.16 㨠lighttpd 1.4.28 ã¯ãå¿ ãã¢ããªã±ã¼ã·ã§ã³ã¬ã¤ã¤ã§ã® lingering close ãè¡ã Apache ã¯2ç§ãlighttpd ã¯5ç§ nginx 0.8.53 ã¯ç´åã« request body ããã£ãå ´åã®ã¿ SO_LINGER ãå©ç¨ãã ããã¯å¤ã HTTP client ã request body ã®ãã¨ã« CRLF ã¤ãã¦ãããã¨ããã対çã ã¨æã HTTP pipelining ã®é¢ä¿ã§ RST ãé£ã¶å ´åã®å¯¾çã³ã¼ãã¯ãªããã ä¸æ¹ã§ãmsie6 㧠POST ã®å ´åãããã㯠safari ã ã¨å¸¸ã« keep-alive ã disa
http://d.hatena.ne.jp/pashango_p/20090702/1246550203 len()ããªã¹ãã®ã¡ã½ããã§ãªãã®ãåãçç±ã§ãã ãªãã¸ã§ã¯ãæåçã«èããã°ããªã¹ãã®ã¡ã½ããã§ããã¹ããªã®ã«ããããããã«ãã¤ã³é¢æ°ã«ãããã§ãã ããªãã¸ã§ã¯ãæåçã«èããã°ããªã¹ãã®ã¡ã½ããã§ããã¹ããã£ã¦æãã§ããªãã¸ã§ã¯ãä¿¡è ã¯ãããæ£ç¾©ã¿ããã«èãã¡ãããã ããã・・・ Pythonã¯åç主義ãããªãã¸ã§ã¯ãæåçã«ââãããããä¸è²«ããå°ãªãã¦æ確ãªã«ã¼ã«ãéè¦ããã len() ã .length() ã¡ã½ããã ã£ããã©ããªãããããã³ã³ãã㯠.length() ã®ä»£ããã«ã .len() ã .size() ã¨ããååã使ã£ã¦ãã¾ããããããªããããµã¤ãºãåãã¡ã½ããã¯.length()ãã¨ãã æé»ã®ã«ã¼ã«ãã§ãã¦ãã¾ãããã®ã«ã¼ã«ãé ã«å ¥ã£ã¦ããªã人ãä¸
emeitchããã®ãªã¯ã¨ã¹ããããå ãã¿ã¯ Perlããã°ã©ãã®ã¬ãã«10ã ç§å®¶çãSchemeããã°ã©ãã®ã¬ãã«10 ãããããæ¬æ°ã«ããªãããã«ã ã¬ãã«0 Schemeã¨ãLispã¨ãããã«ãã³ã ããã§ããããããã«ããè¨èªããããã¨ã¯ç¥ã£ã¦ãããã æå¼·ã¨ã主張ããä¿¡è ããããããã®ã§ãªãã¹ãé¢ãããªãããã«ãã¦ããã EmacsLisp?ããã®è¦ªæããããã©ã³ã¼ããè¦ãã ãã§ããããããã ã§ã便å©ãªãã¯ãã¯èªåã®.emacsã«ã³ãããã¦ããã ã¬ãã«1 Schemeã«é¢ããwebãµã¤ããè¦ããã大å¦ã®è¬ç¾©ã§ã®èª¬æã¨ããèãã¦ã factorialã¨ãappendã¨ãreverseã¨ããæ¸ãããã ãã¹ãããæ¨æ§é ã®ãã¼ãã®æ°ãæ°ãããã§ããã ã§ããããä½ã®å½¹ã«ç«ã¤ãããããªãããããªè¨èªã§å®ç¨ç㪠ããã°ã©ã ãæ¸ãããªãã¦ä¿¡ããããªãã ã«ãã³ã®ä½ç½®ãééãã¦åããªããã
ruby çéã§ãã使ããã¦ããèªåãã¹ããã¼ã« autotest ã® Symfony + Lime ç¨ã¹ã¿ã¤ã«ãæ¸ãã¦å ¬éãã¾ããã ããã¸ã§ã¯ãã®ãã¼ã«ã«ã«ã¼ã«ã«åããã¦ããã®ã§ããã軽ãæãå ¥ããã°ä»ã®ããã¸ã§ã¯ãã§ããã¾ã Symfony ã PHP 以å¤ã§ã使ããã¨æãã¾ãã TDD ã§æ¸ãã¦ããªãã¨ä¸å®ãé«ãã¦åæ¸ã¨æ¯åããå§ã¾ã red-green-refactoring ãå±ããªããã¨ãã£ã¡ãã«è¨ããã growl ã® red ãè¦ãªãã¨ã³ã¼ããå ã«é²ã¾ãªã ãããã話ã ã¨æãã¾ãã ã¾ããã¹ããç¡ãã¨ä½ãå§ã¾ããªãï¼æ¸ãããã¹ãã¯ããããèªåå®è¡ãã¦ä½¿ãåãããï¼ ã¨ãªãã¨ãã¯ããèªåãã¹ãã®åºçªã§ããã ã¤ã³ã¹ãã¼ã«æé autotest ã³ãã³ããã¤ã³ã¹ãã¼ã«ãã¾ããrspec + autotest + ã¤ã³ã¹ãã¼ã«è¾ºãã§ããã£ã¦ãã ããã mac ã®äººã¯ a
svnã¨git両æ¹ä½¿ãããã«ãªãã¾ãããããã¨gitã®ä¾¿å©ãã«æåããä¸æ¹ãsvnã®ãã©ã³ãæä½ã®é¢åèããéç«ã£ã¦ãã¾ãããç¹ã«ããã©ã³ãæä½ã§ã¯gitã¯ç´ æ´ãããä¾ãã°ä»¥ä¸ã®ãããªä¾ãã覧ããã ãã¨ãã®å·®ã¯ä¸ç®çç¶ãã¨æãã¾ãã ãã©ã³ãä¸è¦§ãå¾ã git branch svn list http://example.com/svn/branches ãã©ã³ããä½ã git branch mybranch svn cp http://example.com/svn/trunk http://example.com/svn/branches/mybranch -m 'create mybranch from trunk' 以ä¸ã®ããã«ãsvnã¯ãã©ã³ãããã©ã³ãã¨ãã¦æ±ã£ã¦ããªãããã¨ã¦ãé¢åãªã³ãã³ããæããªãã¦ã¯ãªãã¾ãããããã§ã¯ã¨ã¦ãsvnã®ãã©ã³ããªãã¦ä½¿ã£ã¦ãããªãã®ã§ã¨ã£ã¨
# coding: utf-8 def foo(): """ã»ã«ããã""" ä¸è¬çã«docstringã¨è¨ããã¦ãã¦æ¨æºçã«ä½¿ãããããã¥ã¡ã³ãå½¢å¼ãªãã ãã©ãä¸è¨ã®ããã«é常ã®æååã¨ãã¦æ¸ããå ´å㯠(Python 2.xã§ã¯) byte string ã«ãªããutf-8ã§ã¨ã³ã³ã¼ãããã¦ããã¨ããæ å ±ãæãã¦ãã¾ãã å½ç¶ã®ããã«ãéASCIIãªbyte stringã¯æ éã«æ±ããªãã¨ãããã«UnicodeErrorã«ãªãã from __future__ import unicode_literals ããããã u"""ã»ã«ããã""" ã¨æ¸ãã¹ãã ä¾ãã°ãTrac-ja ãè¨å®é ç®ã®docstringãbyte stringã§æ¸ãã¦ãã¦ãiniadminã¨ãããã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããã¨ãdocstringã表示ãããã¨ãã¦UnicodeDecodeErrorã«ãªããTr
æ¡å¼µå¼ç¨æ§æè¦ããï¼ ããããçµé¨ãããã¨ãããããList = listããã¨ãã§ä½ã大ãããªã¨æã£ã¦ãã¾ããã©ãPythonistaçã«ã¯ããããã®ãåãå ¥ããããªããã ããã Pythonistaã¯typedefããæ絶ãã? (Re: Python ã§ã®çµã¿è¾¼ã¿åãããèªç¶ãªååã«ãã) - kãªãã¨ãã®æ¥è¨ Pythonã¯ä¸è²«æ§ãéè¦ããè¨èªãªã®ã§ãä»ã®è¨èªã®æ £ç¿ãæã¡è¾¼ãã§ä¸è²«æ§ãå´©ããã¨ã«å¯¾ããã¢ã¬ã«ã®ã¼åå¿ãå¼·ãã åã«ãæ¸ãããã©ãPythonã®typeåãå°æåå§ã¾ãã§ãããã¨ã«ã¤ãã¦ã¯ãç¹ã«æè¡çãªå©ç¹ã¨ãããããã®ããããããããªãã¦ãåã«æåã®ä»æ§ãããã§ãã£ã¦ãããããã®ã¾ã¾ç¶ç¶ããã¦ããã£ã¦ããã ãã ãã? (éã£ã¦ããæãã¦ãã ãã) ã ãã大æåå§ã¾ãã®ã¨ã¤ãªã¢ã¹ãä½ããããããããªã«ç®ããããç«ã¦ããã¨ã¨ã¯æããªãããããªããtypedef unsign
ã(ruby|javascript)ã§str.join(array)ãpythonã§list.join(str)ãhttp://blog.livedoor.jp/dankogai/archives/51226075.html ããã§ã¯listãç¶æ¿ããListã¯ã©ã¹ããããã¦ãããã«joinã¡ã½ããã追å ãã¦ããããlistã«ç´ã«ã¡ã½ãã追å ããæ¹æ³ã¯ãªãã®ã ããã.... å¤åã§ããªãã Pythonã¯Perl,Rubyã«æ¯ã¹ã¦ãä¸ã®æ¹ã¯åããããæããããã ãã©ãä¸ã®æ¹ã¯å ãã Unicodeã®ãã¨ã¾ã§èæ ®ã«å ¥ãã¦å®è£ ããããã«ãå®è£ ãããã¶ãã¨æ³¥èããã®ã«ãªã£ã¦ããã join ããããã®ãä¸ç¨®é¡ã§ã¯ãªãã¨ããã®ãã join ã list ã®ã¡ã½ããã§ãªãçç±ã®ä¸ã¤ã ãããã str()ã¯Unicodeãé£ãã¨ä¾å¤ããåãã«ãªããããã§ãã¦"dankogai" + u"å°é£¼å¼¾"ã¯u
çµå±ã¯ http://d.hatena.ne.jp/methane/20090702/1246556675 ãªãã ãã©ãã½ã¼ã¹ãæ示ãã¦ããã ã¾ããPython FAQã«ã¯ãããªé¢¨ã«æ¸ãã¦ããã http://www.python.org/doc/faq/general/#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list The major reason is history. Functions were used for those operations that were generic for a group of types and which were intended to work even for objects t
ããç¨åº¦ã®å¹´é½¢ãè¿ããããã°ã©ããæ±ããæ©ã¿ã«ããè¥æã®ããã°ã©ãã¨æ¯ã¹ã¦ãã©ããã£ã¦ä¾¡å¤ãåºãã¦ããããã¨ããåé¡ãããã¾ããããã¯è¨ãæããã°ãåããããªçç£æ§ã§ããã°ãç¸å¯¾çã«çµ¦æã®ä½ãè¥æã®ããã°ã©ãã«ç½®ãæãããã¦ãã¾ãã®ã§ã¯ãªãããã¨ããæ©ã¿ã§ãã 35æ(2004å¹´)ã§ããã°ã©ãã¨ãã¦ãªã¼ãã³ã½ã¼ã¹ãå§ããä»å¹´ã§42æã«ãªã俺ãéãã¾ããã 35æã¾ã§ã¯ãSIerã®ä¸ã§SEããã£ã¦ãã®ã§ããããªã«ããã°ã©ã ã¯æ¸ãããã¨ããªãã§ãã ä¸è¨ã®ã¨ã³ããªã«ã¯ãããããªæ¦ç¥ãæ¸ãã¦ãã¾ãããã¶ã£ã¡ããæ¦ç¥ã¯ä¸çªéè¦ãªãã¨ã§ã¯ãªããä¸çªéè¦ãªã®ã¯ã常ã«èªåã®ä¾¡å¤ãé«ããããã«åªåãç¶ãããã¨ã§ãã åªåãææ¦ããããããèªåã®ä¾¡å¤ã¯ã©ãã©ãé³è åãã¦ä¸ãã£ã¦ããã®ã¯å½ããåãªã®ã§ãã èªåãã©ããªãã¨ã«ææ¦ãã¦ããã®ãã¡ãã£ã¨æ¸ãã¦ã¿ã¾ããã 2004å¹´1æãããã°ã©ãã¨ãã¦ä½ãæ°ããã
naoyaããã®PHPç List_RubyLikeãè¦ã¦ãã¦é¢ç½ããã¨ã«æ°ã¥ãã¾ããã $list->push('foo'); $list->push('bar','buz'); ä¸ç¬ãããªãã¦ç¾ããï¼ãã¨æãã¾ããã ã¨åæã«ãããªãã¦Perlçãªï¼ãã¨ãæãã¾ããã ãããããã¾ãã§Perlãããªãããã¨ã ç§ãªãããããã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ããã¨æãã¾ãã $list->push('foo'); $list->push(array('foo','bar')); å°ãåé·ã§ããããã£ã¡ã®æ¹ãPHPã¨ãã¦ãã£ãããã¾ãï¼ç§ã«ã¨ã£ã¦ã¯ï¼ã å®éã«ã¯push(array('foo','bar'))ãªã©ã¨ãªãã©ã«ã渡ããã¨ã¯ãã¾ããªãã¦ãpush($hoge)ã¨ãpush($this->hoge())ãªã©ã¨æ¸ããã¨ã«ãªãã§ãããã ãã®éããçªãè©°ãã¦ããã¨ããPerlã¨PHPã«ããããªã¹ãã®
Javaã ã¨ãããã«ãã¼ã¡ã½ãããstaticã§å®ç¾©ãããã©ãPythonã®å ´åã¯ã§ããã ãã¯ã©ã¹ã¡ã½ããã使ã£ãæ¹ãè¯ãã ããã ä¾ãã°ãfloat.fromhex http://docs.python.org/library/stdtypes.html#float.fromhex ã¯ã¯ã©ã¹ã¡ã½ãããªã®ã§ã >>> class Foo(float): ... pass ... >>> foo = Foo.fromhex('0x1p-1') >>> type(foo) <class '__main__.Foo'> ãã«ãã¼ã¡ã½ãããåã¯ã©ã¹ã§ãå©ç¨ã§ããã ãã¡ããããã«ãã¼ã¡ã½ãããåã¯ã©ã¹ã§ã妥å½ã§ãããã©ããã¯åã¯ã©ã¹æ¬¡ç¬¬ãªãã ãã©ã妥å½ã§ãªãå ´åã¯åã¯ã©ã¹ã§ãªã¼ãã¼ã©ã¤ããããããã ãã®è©±ãªã®ã§ãåã¯ã©ã¹ã§ã使ããããã«ã¯ã©ã¹ã¡ã½ããã«ãã¦ããã¦æã¯ç¡ãã
ãã¾ããã ãã©ã http://0xcc.net/blog/archives/000043.html ã® Python ã®é¨åãæ·»åã len(a) == 0 ã¯ã if a: ã®ããã«ãªã¹ãèªä½ã空ã®æã«å½ã«ãªãã®ã§ä½¿ããªãã a.pop(0) 㯠del a[0] ã¨ãæ¸ãããã©ã¡ãã§ãè¯ãããå¤åå±æ§åç §ãç¡ãå del ã®æ¹ãé«é a[:] = [] ãåãã del a[:] a.remove(x) â»æåã®ä¸ã¤ããåé¤ãããªã ã¯ããã¹ã¦ã®xãåé¤ããããªã a = [y for y in a if y != x] del(a[i]) ã¯ã del ãé¢æ°ã§ã¯ãªãã®ã§ del a[i] ã¨æ¸ãã Ruby ã® a.uniq ã¯ãã½ã¼ãæ¸ã¿ã«å¯¾ããæä½ãããªãããï¼ éè¤ãåé¤ããã ããªã set(a) ã§ããããã©ãé åºã®ä¿åãå¿ è¦ãªã z = []; for x in a:
ãã¿ã¼ã³ãWikiãXP ~æãè¶ ããåµé ã®åå (WEB+DB PRESS plusã·ãªã¼ãº) ä½è : æ±æ¸¡æµ©ä¸éåºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2009/07/10ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼è³¼å ¥: 75人 ã¯ãªãã¯: 1,306åãã®ååãå«ãããã° (155件) ãè¦ã確ãä»å¹´ã®5æã«æµ éããã¨ãä¼ãããã¨ãã«ãããã¿ã¼ã³ãWikiãXPãã¯ã¨ã¦ãé¢ç½ã壮大ãªç©èªãã ããã¨ãã話ã伺ããèªããã¨æãã¤ã¤è³¼å ¥ã§ãã¦ããªãã£ãã®ã§ããã9æã«æè¡è©è«ç¤¾ããã¸ãéªéããã¨ãã«éããé æ´ã§ããã®ã§ããã£ãªãã³ã¸ã¨æã£ã¦ãã¦æéãä½ã£ã¦ã¯èªãã§ãã¾ããã å°è±¡çãªããè¬æ·±ãã¿ã¤ãã«ã ãã®æ¬ã確ãåºçãããã¨ãã«ã誰ãã®ããã°ã®æ¸è©ãªã©ã§ç®ã«ãã¦ããã®ã§ãåå¨ã¯ç¥ã£ã¦ãã¾ããããã®æã®å°è±¡ã¯ããã¿ã¼ã³ãWikiãXPãã¨ããé常ã«å°è±¡çã«ã¿ã¤ãã«ã§ãè¨æ¶ã«ãæ®ãããããã©ãå 容
Lisp ã¯ãSå¼ãã ã¨ãã説æãããèãã ã§ããä»ã©ãä½ãSå¼ãªã®ãåã£ã¦ãã人ã¯å°ãªãã ããããããMå¼ãã¨åºå¥ããããã«Så¼ã¨ããè¨èãç¨ããããã®ã ããã Må¼ãå£ã«ãã人ãã»ã¨ãã©ããªãä»ã ããããSå¼ã¨ããå¿ è¦ããªãããã«æãã æ¬å¼§ããããã使ã£ã¦ãããã ãã¼ã©ã³ãè¨æ³ã使ã£ã¦ãããã¨ã¯ãS å¼ã®æ¬è³ªã§ã¯ãªãã Så¼ã¨ã¯ããã¼ã¿ã¨é¢æ°ãåãããã«æ¸ãã表ç¾å½¢å¼ã®ãã¨ã§ããã Må¼ã§ã¯ãã¼ã¿ã¨é¢æ°ã«ç°ãªã表è¨æ¹æ³ãç¨ãããã¦ããããã åãããã«è¡¨ç¾ã§ãããã¨ã¯ç»æçã ã£ãã®ã ã ããããLisp ã§ã¯ãã¼ã¿ã¨é¢æ°ãåãããã«è¡¨ç¾ã§ãããã¨ã¯å½ããåã ããã ä»ã®æ代 S å¼ãªãã¦è¨èã使ãå¿ è¦ããªãã ãã¼ã¿ã¨é¢æ°ãåãã§ãããªãããã¼ã¿ãé¢æ°ã¨ãã¦å¼ã³åºããããªãã ãã¨ãã°ã以ä¸ã®ããã«ã ã (set 'foo (lambda (x) (+ x 2))) (foo
ä¸åº¦ rgrep ã㦠*grep* ãããã¡ãåé¤ãã¦ããªãå ´åã次㫠rgrep ãããã¨ããã¨ãã« "rgrep: Buffer is read-only: #<buffer *grep*>" ã¨ãããå®è¡ã§ãã¾ããããã®å¯¾çã§ãã (defadvice rgrep (before my-rgrep activate) "*grep*ãããã¡ãããã°ããããåé¤ããã確èªãã" (when (get-buffer "*grep*") (when (y-or-n-p "ç¾å¨ã® *grep* ãåé¤ãã¾ãã") (kill-buffer (get-buffer "*grep*")))))
ã¿ããªã®IoT/ã¿ããªã®Pythonã®èè ãäºåçè¿ã160平米ã®åºä»ãä¸æ¸å»ºã¦ã«å«/æ¯å/å¨/ãããã¨æ®ããã¦ã¾ããæé1000ä¸PV/150ä¸UUã®Webãµã¼ãã¹éå¶ä¸ã å 責äºé ãã©ã¤ãã·ã¼ããªã·ã¼ Pythonã®ã¡ã¿ããã°ã©ãã³ã°ææ³ã®ä¸ã¤ãã¡ã¿ã¯ã©ã¹ãã¯ï¼åå¿è ã«ã¨ã£ã¦ã¯ããªããå¼·ãã/çµé¨å¤ãããããããããããªã¢ã¤ãã ã®æå³ç¿¼ã ã¨æããåé¢ãã©ãããã°ããã/ãªã«ãã§ããããã¨ãããã¨ããªããªãç解ãã¥ããã è±èªã®ããã°ãè¦ã¦ãããï¼ã¡ã¿ã¯ã©ã¹ã®ç解ã«å½¹ç«ã¡ãããªã¡ããã©ãããµã³ãã«ãè¦ã¤ããã®ã§ï¼ç´¹ä»ãã¦ãç¬èªã®è§£èª¬ãä»ãå ãããã¨æãã¾ãã ã¡ã¿ã¯ã©ã¹ãç°¡åã«èª¬æããã¨ï¼ãæ¬æ¥ã³ã¼ããæ¸ããªããã°å®ç¾ã§ããªããããªå¦çãé»éè¡çãªå¦çã§ãªãã¨ããã¡ãããããã®ãã¯ããã¯ã§ããã³ã¼ãéã(æã«ã¯åçã«)æ¸ãããã¨ãã§ãããï¼ãã£ããããè¦éãã®è¯ãã¯ã©ã¹è¨è¨ãå®ç¾ã§ãã¾
ããã°ãä¸è¨ã«ç§»è»¢ãã¾ããããã¶ã¤ã³å¤æ´ã«ãã移転å ã§ã¯è¨äºãä¸å±¤èªã¿ããããªã£ã¦ãã¾ãã®ã§ããããããã°ç§»åããé¡ãè´ãã¾ãã Rubyã§ã½ã¼ãã»ã¢ã«ã´ãªãºã ã表ç¾ããã! : melborne.github.com - ã¢ã«ã´ãªãºã ã¨ãã®å®è£ ã«ã¯å¾ã ã«ãã¦ä¹é¢ãããã¾ã ã¢ã«ã´ãªãºã ãç解ã§ãã¦ããã®å®è£ ãè¤é㧠ç解ã«è¦ãããã¨ãããã¨ãå°ãªãããã¾ãã åå ã®ï¼ã¤ã¯ããã°ã©ãã³ã°è¨èªã®è¨è¿°åã«ããã¨æãã¾ã Rubyã¯æ¥µãã¦è¨è¿°åãé«ãè¨èªã§ã 人éã®æå¿ãã³ã¼ãã§è¡¨ç¾ããä¸ã§ã®å¶ç´ã極ãã¦å°ãªãã®ã§ã ãããåãçä¼¼ã³ã¼ãã¨è¨ãããæ以ã§ã ã½ã¼ãã»ã¢ã«ã´ãªãºã ã¯é åã«ãããã¼ã¿æ§é ãæä½ãã¾ã Rubyã®Arrayã¯ã©ã¹ã¯å¼·åã ãã Rubyã®è¨è¿°åã証æããããé¡æã«ãªãã¾ã æ©éãæ¿å ¥ã½ã¼ããé¸æã½ã¼ããããã«ã½ã¼ã ã¯ã¤ãã¯ã½ã¼ãããã¼ã¸ã½ã¼ããRubyã§è¡¨ç¾ãã¦ã¿ã¾ãã
â [rails] Rails3ã§rails newã¨git initãã¾ã¨ãã¦è¡ãæ¹æ³ Railsã®ãã³ãã¬ã¼ãæ©è½ã使ãã 1. rails3_template.rbã¿ãããªãã¡ã¤ã«ãç¨æãã¦ãã puts "removing unneeded files..." run 'rm public/index.html' run 'rm public/favicon.ico' run 'rm public/images/rails.png' run 'rm README' run 'touch README.mkd' puts "checking everything into git..." git :init git :add => '.' git :commit => "-m 'initial commit'" puts "done." 2. $ rails new myapp -m
ãã¡ãã³ã³çå代ãã©ã´ã³ã¯ã¨ã¹ãã«ã¦ãä¸ã«ãå¥å¦ãªäºè¨ãçºè¦ããããäºè¨ã¯ãäºåã®ç¶æ ã«æ»ããã¹ã¯ã¼ããå ¥åããããµã£ãã¤ã®ãã ãããã«ã¦çºè¦ãããããªã㯠ã¯ã ãã§ãã¨ã ã»ãããã» ãªã®ããã¨å ¥åããã¨ãä¸æè°ãªãã¨ã«æå¼·ç¶æ ã§ãåéããããé常ããã¹ã¯ã¼ãã¯ããä¸å®ã®æ³åã«å¾ããªããã°æç«ããªãããã¾ãã¦ããæå¼·ã®ã¹ãã¼ã¿ã¹ãªã©æ´ã«é£ãããããã¯ãã©ã¯ã¨éçºè ãæ¢ã«ãã®äºä»¶ãäºè¨ãã¦ããã®ã§ã¯ãªããã¨è©±é¡ã«ãªã£ã¦ããã ç»å? Twitterã®æ å ±ã«ãã㨠åé¡ã®äºè¨ã¯ããã©ã´ã³ã¯ã¨ã¹ã1ï¼ä»¥ä¸ãã©ã¯ã¨1ï¼ã®å¾©æ´»ã®åªæãå ¥åããã¨ãªã¢ã«ã¦ 以ä¸ã®æåãå ¥ãããã¨ã«ãããæå¼·ç¶æ ã§å¾©æ´»ããã¨ãããæ¬å½ã ãããã â ãã¡ãã³ã³çã®ãã©ã¯ã¨ï¼ã復活ã®åªæããããªã㯠㯠... ãã®å¾©æ´»ã®åªæã¨ã¯ ãããªã㯠ã¯ã ãã§ãã¨ã ã»ãããã» ãªã®ã ããã¯äººæ°ã¢ã¤ãã«ã°ã«ã¼ãSMAPã®æã¡ã³
Description A programmer's toolbox for viewing source code ===================================== Importent notice: To delete a repo, swipe horizontally on top of the project in project list view Support multiple repository formats [only via http] ---------------------------------------------- * Git * Hg * SVN * Archive (zip, tar.gz, etc) * Raw (e.g. jquery.js) Optimized storage format for the iPho
http://d.hatena.ne.jp/a666666/20100819/1282151065 èªåãªã Perl ã§ããæ¸ããããªã use perl5i::2; my @x = qw(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
ä»äºã§ãã»ã¼é£çªãªæ°åã®é åã®ãªããããé£çªã«ãªã£ã¦ãªãæãã®é¨åã®æ°åãåãåºãå¿ è¦ããã£ã¦ã Perl ã Ruby ã§ã©ãæ¸ãã°ãããããã¨æãã¤ããªãã£ãã®ã§ Emacs Lisp ã§å帰ã§æ¸ãããä¸å¿å®åã§å½¹ã«ç«ã¡ã¾ããããã¨ãã話ãã¾ã Ruby ã¨ãã§ããã¨æ¸ããªãã®ãããµã¤ãããã¨ãã話ã§ãããã (setq ns '(1 2 3 5 6 8 9 10)) (defun f (n ns) (cond ((null ns) nil) ((= (1+ n) (car ns)) (f (car ns) (cdr ns))) (t (cons (1+ n) (f (car ns) (cdr ns)))))) (f 0 ns) (setq ns '(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
å½ããåã ã¨æã£ã¦ããï½¢èªç±ï½£ã ãã©ãå®ã¯æµãã«éãã£ã¦ã§ãå®ããªãããããªããã®ããªã®ããã¨èãããããã¾ãã ã³ãã³ãã¢å¤§å¦ææã®ãã£ã ã»ã¦ã¼æ°ããæ¸ç±ãThe Master Switch: The Rise and Fall of Information Empiresããçºè¡¨ãã¾ããããã®ä¸ã§ã¦ã¼æ°ã¯ã20ä¸ç´ã«çã¾ãããã¾ãã¾ãªæ å ±æè¡ã«ã¯ãããå ±éã®ï½¢ãµã¤ã¯ã«ï½£ãè¦ãããã¨ä¸»å¼µãã¦ãã¾ãã å½¼ã«ããã°ãé©æ°çãªæ å ±æè¡ã¯ãèªçå½åã¯èª°ããèªç±ã«ä½¿ããã®ã«ããã段éããå¸å ´ãã³ã³ããã¼ã«ãããã¨ããä¼æ¥ãç¾ãã¾ããããã¦æè¡ã¯ä¸å¤®é権åãããä¸é¨ã®ä¼æ¥ãï½¢ãã¹ã¿ã¼ã¹ã¤ããï½£ãæ¡ããããªç¶æ ã«ãªã£ã¦ãã¾ãã®ã§ããã¦ã¼æ°ã¯ããªã¼ãã³ãªãã©ãããã©ã¼ã ã¨è¨ãããã¤ã³ã¿ã¼ãããããå®éã¯ãããªãµã¤ã¯ã«ã®ä¸ã«ããã®ã§ã¯ãªããã¨åé¡æèµ·ãã¦ãã¾ãã ã¦ã¼æ°ã®ææããï½¢ãµã¤ã¯ã«ï½£ã¯ããã¨ãã°ã¢
æ¥æ¬ãã¯ããä¸çåå½ã§è©±é¡ãæä¾ãã¦ããã¦ã£ããªã¼ã¯ã¹ã ãã第3å¼¾ã¯è©±é¡ã ãã§ã¯æ¸ã¾ãªããã ãä»ã¾ã§ã¯ããã¹ã¿ã³ãã¢ãã¬ãã¹ã¿ã³ãªã©ã§ã®è£å·¥ä½ã«ã¤ãã¦ã誰ããèã åãã£ã¦ãããããªãè¨ãã°æºå ¬éæ å ±ã®æ´é²ãä¸å¿ã ã£ãã 第3å¼¾ã¯ã¢ã¡ãªã«ã®å½çãç´æãããããªãéè¦ãªåçå½ã«å¯¾ããâç§å¯è©ä¾¡âãå«ãé常ã«ã»ã³ã·ãã£ããªéè¦æ å ±ã®å ¬éã¨ãªãå¯è½æ§ãé«ãããã©ãªã¼ã»ã¯ãªã³ãã³ç±³å½åé·å®ã¯ãããã¢ã¡ãªã«æ¿åºé«å®ãç«æ¶ãã«èµ°ã£ã¦ããæ§åããã¯ãã¢ã¡ãªã«ãåçå½ãããã¯ã¼ã¯ç¶æå¼·åã«ããã«è å¿ãã¦ããããå£éè¦ããã å¤äº¤ã¯ç¸æããããã¨ãªã®ã§ç¸æã®æã®å ãèªããã¨ãå 決ã§ããã®ããã«ã¯ç¸æã®æå£ã®èæ¯ãåæãããã¨ã第ä¸æ©ã ããããªã®ã«ãæ¥æ¬ã§ã¯æ´é²æ å ±ã®å 容ã°ããã«é¢å¿ãè¡ãããã®èæ¯ãèªããããªå ±éã¯çç¡ã®ããã ãããã¦èæ¯ãèªããªããããªå ±éãç¸æ¬¡ããå°ã æ»ç¨½ã«æãããã¨ãããã åæé®®ã®ç ²æ
http://sheddingbikes.com/posts/1289384533.html 話é¡ã®çµ¶ããªãZedãã¾ãå½¼ã®å¼·åãªãã¼ã½ããªãã£ã«é¢ãã話ã«ãªã£ã¦ãã¾ããããã®åã«ããã¯æ¬å½ã®Zedãä½ã£ã¦ãããã£ã©ã§ãã£ã¦ãããã«ã¼ã¨ãã¦ã®ç価ã¯å½¼ã®ããã¸ã§ã¯ãã«ãã£ã¦è©ä¾¡ãããã¹ãã ã¨è¨ã£ã¦ããããããã®æ°ã¶æã«Pythonã®å ¥éæ¸ãæ¸ãä¸ããMongrel2ããªãªã¼ã¹ããããã«Luaã§co-routineããããã¤ã¯ããã¬ã¼ã ã¯ã¼ã¯ãæ§ç¯ãããªã©ãé¢ç½ãå®é¨ãè¡ãªã£ã¦ãããåãåºåã ã ãã¦ããã©ãã®å§ã¾ããPGã®è¨èªArcã¯ãããã°ã©ã ãæçåããã®ãç®çã¨ããè¨èªãã¨ãããã¨ã«ãªã£ã¦ããããã®æå³ãæãã«ããããã«ãArc Challengeããªããã®ãæå±ããã次ã®ã¦ã§ãã¢ããªãä½è¡ã§æ¸ãããï¼ ã¦ã¼ã¶ã«ã¤ã³ããããå°ãã ä¸éãã¼ã¸ãè¦ããªã³ã¯ã表示 ãã®ãªã³ã¯ã辿ãã¨å ã®ã¤
æ¥æ¬äºº(http://twitter.com/kohsukekawa)ããªã¼ãããç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ãã¼ã«(http://ja.wikipedia.org/wiki/Hudson)ã®éçºã³ãã¥ããã£ã¼ã¨ãªã©ã¯ã«ã®éã«æ©æ¦ãçãã¦ããã http://www.hudson-labs.org/content/whos-driving-thing ããã¯ã°ã©ã¦ã³ãï¼ Hudsonã¯ããªã¼ã½ããã¦ã¨ã¢(MIT License)ã ããKohsuke KawaguchiãããSunã«ããããéçºããããããå社ãããã¸ã§ã¯ãã®ãã¬ã¼ããã¼ã¯ãæã£ã¦ãããããã è²·åã«ããSunã®Hudsonã«ãããã権å©ããªã©ã¯ã«ã®ãã®ã«ãªã£ãã å è¨äºã«è©³ããã¿ã¤ã ã©ã¤ã³ãããããèå¿ãªã¨ãããæ¾ãã¨ï¼ éçºã¯java.netã§ãã¹ãã£ã³ã°ããã¦ãããä¿¡é ¼æ§ã®åé¡ãªã©ããã¡ã¼ãªã³ã°ãªã¹ãã¯google gro
ã¹ãã¼ãªã¼ by hylom 2010å¹´12æ03æ¥ 20æ58å ãã®å½ãæµã«åãã¨æããã£ã¦ãã¨ï¼ é¨éãã ç±³å½æ¿åºã®æ©å¯ææ¸ãå ¬éãã¦è©±é¡ã«ãªã£ã¦ããWikileaksã ãããè¦ç´éåãã«ããAmazonããã®ç· ãåºããããã£ãããã ãç¾å¨ã¯ã¨ã¼ãããã®äºæ¥è ã¨å¥ç´ãã¦ããã¨ã®ãã¨ã ããããã«EveryDNSããããµã¼ãã¹åæ¢ãåããDNSçµç±ã§ã®ã¢ã¯ã»ã¹ãã§ããªããªã£ã模æ§ãç¾å¨ã¯ãIPã¢ãã¬ã¹ãç´æ¥å ¥åããã°é²è¦§ã¯å¯è½ã¨ãªã£ã¦ããã CNNã®å ±éã«ããã°ãWikileaksåµå§è ã®ã¸ã¥ãªã¢ã³ã»ã¢ãµã³ã¸ã¥æ°ã®æ½ä¼å ãè±å½ã®è¦å¯ã«ææ¡ããã¦ãããé®æéè¿ã¨ã®æ å ±ããããWikileaksã¯ãã®ã¾ã¾å£æ» ããå¯è½æ§ãåºã¦ãããããããªãã
ä»åã®é¡æã¯ãæ¬é£è¼ã¨ãã¦ã¯ä¹ ã ã®Macã ããMacBook Airãã®æ°åã¯10æ21æ¥ã«çºè¡¨ãããã(é¢é£è¨äº)ãé端ã«å¤§ããªè©±é¡ã¨ãªã£ãã®ã¯çããããè¨æ¶ã®ã¨ããã ã ä»åã¯ãçºå£²å¾ã¾ããªãè³¼å ¥ãã11ã¤ã³ãã¢ãã«ã使ã£ã¦ã®ææ³ããä¼ãããããMacã¦ã¼ã¶ã¼ã称è³ããWindowsã¦ã¼ã¶ã¼ãæ°ã«ãªããæ°Airãã®æ¬å½ã®ã¨ãããèªã£ã¦ã¿ããã ULVçCore 2 Duoã«ã¢ãã«ãã§ã³ã¸ ã¹ããã¯ã¯ä½ããä¾¡æ ¼ãå®ã ã¾ããæ°Airã®æ¦è¦ããããããã¦ããããæ°Airã¯ã2008å¹´ã«ç»å ´ããåã¢ãã«ã®ãèããã¨ããã¢ã¤ãã³ãã£ãã£ã¼ãç¶æ¿ãã¤ã¤ããã¶ã¤ã³ã¨ä½ããå¤æ´ã13.3ã¤ã³ãã¨11.6ã¤ã³ãã®2ã¢ãã«ã©ã¤ã³ãããã«ãªã£ããåã¢ãã«ã¯ãç½ãæ人ããªã©ã®ã©ã³ã°ãã·ã£ã»ã¯ããã¼çãªãç¸ã ããããããã«èããªããå½¢ç¶ã§ãã£ãããæ°ã¢ãã«ã¯ãã³ã¸é¨ãè¥å¹²åããè§ä¸¸ã®ããã³ãåã ã ä»åæ¡ãä¸
2024å¹´ã大詰ãã®12æ13æ¥(é)ã«ããã§ããç´ ç½ã«ã©ã¼ãèã彩ãã24/25 T.O.P.(ã¶ã»ã¯ã³ãã¦ã³ãã¼ 24/25)ãããã¼ã¬ã¼ãã³ã°ããç»å ´ãã¾ããããããã¨ããªè¾ã½ã¼ã¹ã®èµ¤ã«ã5種é¡ã®ãã¼ãºã使ã£ãç½ãã½ã¼ã¹ãåãããç·ã«ããªã¼1340kcalã®è¶ 大åãã¼ãºãã¼ã¬ã¼ã§å¹´æ«å¹´å§ãç¥ãã¹ããå®éã«é£ã¹ã¦ã¿ã¾ããã å¹´æ«å¹´å§éå®ã§ç´ ç½ã«ã©ã¼ã®è¶ 大åãã¼ãºãã¼ã¬ã¼ãçºå£²ï¼ã24/25 T.O.P.ï¼ã¶ã»ã¯ã³ãã¦ã³ãã¼ 24/25ï¼ãã¯ããã¼ã»ãã300åå¼ãã¯ã¼ãã³å ¥ãããã§ããå¤§å ¥è¢ãä»ãï¼ https://www.burgerking.co.jp/#/campaignDetail/1792 ãã¼ã¬ã¼ãã³ã°ã®åºèã«å°çãã¾ããã åºé ã§ã¯å¹´æ«å¹´å§éå®ãã¼ã¬ã¼ãã¢ãã¼ã«ããã¦ãã¾ãã ã¨ããããã§ãã24/25 T.O.P.(ã¶ã»ã¯ã³ãã¦ã³ãã¼ 24/25)ãããã¤ã¯ã¢ã¦ããã¦å¸°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}