2008-04-01ãã1ã¶æéã®è¨äºä¸è¦§
æçµæ¥ã«ã³ã¤ã³ã66ã»ã³ãã»ã©ä½ã£ã¦ãããã©ããã³ã¤ã³ã¯ä¸¡æ¿ã§ããªãã®ã§ã¢ã¤ã¹ã©ãï¼$2.65ãè²·ã£ã¦ã³ã¤ã³ãæ¸ããä½æ¦ã«åºãã¨ãããåºå¡ãã¹ããã¼ãããªãã£ãã®ã§èªåã§ã¹ããã¼ã奪ã£ã¦ãããè¶ ã§ããã£ããããããã¨ãã¼ã«ã©ããä¸è¦ã·ã§ã¼ãã©ãã«â¦
iPod touchã«ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãã¤ãã¦ãã¾ã(ææ°çã«ã¯)ã ãããä¸èº«ã¯Google Mapsãªãã§ããããç¾å¨ä½ç½®ã表示ãããæ©è½ãã¤ãã¦ã¾ãã ã§ãæ®å¿µãªããæ¥æ¬ã§ã¯ã¡ã£ã¨ãæ©è½ãã¾ããï¼ãã¡ããæ±äº¬ã¨ããªãåãã¯ããªãã§ãããæ¸è°·é§ ã§è©¦ãã¦â¦
4/22ã25(PSD)ã«ãµã³ãã©ã³ã·ã¹ã³ã§éå¬ããã¦ããWeb2.0EXPOã«åå ãã¦ãã¾ããã è²ã éæãæ¸ãã¦ã¿ããã¨æãã¾ãããã3å¹´ãetech2006ãetech2007ãWeb2.0EXPO2008ã¨O'Reilly主å¬ã®ã«ã³ãã¡ã¬ã³ã¹ã«è¡ããã¦ãããã¾ããã ãã£ã ã®ãã¼ãã¼ãããã種â¦
Web2.0expoä¼å ´ã®æ¨¡æ§ãæ®ã£ãåçãå³Flickrã«ã¢ãããããããã¦ãã¾ãã Photosã¨ãè¸ãã¨Flickrã«é£ã³ã¾ãããªã¯ã«ã¼ãã®è¹è¦ããã«æãã¦ããã£ãã®ã§ããhttp://flickr.com/photos/x180/2439298669/in/pool-web2expo08 ç¥ããªããã¡ã«æ¿åããã¦ã¾ããâ¦
æãå ¨ã¦ã®å¨è¾ºæ©å¨ã¯Eye-Fã«å¦ã¶ã¹ãã¨ããè¨äºãã¿ã¦ãã¡ãã¼ã»ããï¼ã¨ãæã£ã¦ããã£ãããµã³ãã©ã³ã·ã¹ã³ã«æ¥ã¦ãããè²·ããªãã ãããã¨æã£ã¦æ¤ç´¢ãããRITZ Cameraã¨ããã®ãããã«ããæ©ãã¦ï¼åãããã®æã«ãã£ãã®ã§ãã·ã£ã¨è²·ã£ã¦ãã¾ããã åâ¦
ã¯ã©ã¹ã¿ã·ã¢ã³*1ã«ããã¾ããã æ°åäºå¹´ç®ã¨æ¥å¹´æ°åã®å ¥ç¤¾ç¢ºå®ã®åã¨ä¿ºã®ãã¼ãã£ã¨ãããããï¼ ã©ãã¿ã¦ã俺ã®ããããããï¼ æ¬å½ã«ãããã¨ããããã¾ããã *1:ãµã³ãã©ã³ã·ã¹ã³ã§æåãªãããã æçå±ãã«ããè¶ ãã¾ã
ç¡äºãµã³ãã©ã³ã·ã¹ã³ã«ä¸é¸ãã¾ãããåã¯çãã¦ã¾ããTigerTigerTigerã
ã¨ãããã¨ã«ã¤ãã¦èªã£ã¦ãã®ããã¾ãè¦ããã¨ããªãæ°ãããã®ã§ã試ãã«èª¬æãã¦ã¿ã¾ãã ãã ãåã¯çå¦é¨æ°å¦ç§åã¨ã¯ããã大å¦é¢ã«é²ãã§ããªãåæ¥å¾ãã®ã¾ã¾å°±è·ãã¦ãã¾ã£ãããããã¢ã¦ãçµãªã®ã§ãæ°å¦ãæ£ããç解ãã¦ãããã¨ããã¨ããã§ããªâ¦
é«æ ¡3å¹´çã¾ã§ã®ç¯å²ã§ããããæ°å¦ããã¡ãã¨åãã£ã¦ãã¨ãSICPã®1ã3ç« ãããã楽ããèªãã¾ãããããã»ãã¨ã«ããã®ããã ãã«12å¹´éç®æ°ãæ°å¦ãåå¼·ããã®ã ã¨ãã¦ããããã°ã©ãã«ã¨ã£ã¦ã¯æãããªãã¨æãã¾ãã ãã®ãå©çã¯ç¯å²ã¯éå®çã ãã©ãâ¦
ã«åºããã¦ãã¾ãã ã¢ã¡ãªã«ã¯ï¼ã¨ãã«ã«ãªãã©ã«ãã¢ã¯ï¼ã²ãããã¿ãã³å¸ããªãããæ¬å½ã¯ãã©ã¤ãªãã§ãããã¹ãã¼ãã¨ãããããèãï¼ããã§ä¸¡æããã§ãã«ãã¦æ¡ãã¸ã§ã¹ãã£ã¼*1ï¼ã¨è¨ãã»ããé©åãªãã®èå¡ã¯å¤§å¥½ããªã®ã§èé£ã£ã¦ãã¾ãã *1:米人â¦
ã©ããã¨æãã³ã¼ãã ãã©ãå¹çã¯åº¦å¤è¦ããã°ããªã¼ããã¯ã·ã³ã°ã¨GENERICSãé§ä½¿ãã¦ã§ããªããã¨ã¯ãªãããã§ãã abstract class Combiner<T> { public abstract T apply(T lhs, T rhs); } public class Hoge { public static <T> T accumulate(Combiner<T> comb</t></t></t>â¦
ã³ã¡ã³ãæ¬ã§æãã¦ãããã¾ããããC++ãèªåã§æ¸ãå¿ è¦ã¯ãªãã£ãããã§ãããããã¯å¤æ è¨èªãhttp://codepad.org/IhxArZGN #include<vector> #include<list> #include<string> #include<iostream> #include<numeric> //accumulate #include<functional> //multipliesãªã© using namespace std; int main(){ //i</functional></numeric></iostream></string></list></vector>â¦
PHPã®create_functionã®ä»æ§ããªãã好ããããªããããå¤é ãã£ããé¢åãããã£ãããªãã«ã¡ããã©ããã£ãããéä¸ã§ããããã§ããã PHPã貶ãããã¨ãã¦ããå±éºãªã¨ã³ããªã ãªããæãããã®ã§PHPçãæ¸ãã¨ããã§ãããï¼http://codepad.org/BXWMhVâ¦
JavaScript function accumulate(func, initial, ls){ var ret = initial; for( var i=0, len=ls.length; i
æ¬æ¥ã楽ãã楽ããSICPèªæ¸ä¼ã«è¡ã£ã¦ãã¾ããã é«éæç¶ãã使ã£ãsumâproductâaccumulateâfiltered-accumulateã®æµãã¯ä½ãã«ç¾å³ããã¦ããããã¤ã¾ã¿ã«æ¥æ¬é ä¸åãããã¯ç©ºãããããã§ããã®ãDon't Repeat Yourselfãä½ç¾ãã話ã®æµãã¯å®è½çã«ç¾â¦
æè¿ECããã®ååæ¤ç´¢ãä½ãç´ããããã¦ãããããã¾ãç¾ç¶ã®ãã®ããã¾ãã«ã¢ã¬ãªã®ããããã¢ã¬ãªã ãã«ãä»ä½ã£ã¦ãã®ããªãªã¼ã¹ããããããªãã¾ã¨ãã«ãªã£ããããã®ã ãã©ãããã¯ã©ãã§ãããã¨ããããä»è¨ããããã¨ã¯ããã§ã¯ãªãã ããä½ãããâ¦
å¤åããã¯ããããã½ã¼ã·ã£ã«ã¢ããªã±ã¼ã·ã§ã³ã«é¢ãã¦æ£ãããããããä¸æ¥µãããã½ã¼ã·ã£ã«ã¢ããªã±ã¼ã·ã§ã³ã¯åç´ã«è¨ã£ã¦ã¹ã±ã¼ã«ããªãããã®ä¸æ¥µã¯ãã£ãºã ãè¶ ãããã¼ãºãå容ã§ããªãã åãã¯ã¦ãã®è¨è¨ã§ä¸çªèå¼±ã ã¨æãã®ã¯ãã®ç¹ã ã Buzzurlâ¦
èªãã ã®å ã é±ãªã®ã§ããè¦ãã¦ãªããã©ããããããããªè©±ã ã£ãæ°ãããã ã²ã¤ã ããªãã§ãããªç©(NetDocs)ãéçºããï¼ããã§ã¯ãOfficeã売ããªããªã£ã¦Microsoftãæ½°ãããæ ¸ã®å¬ãæ¥ããã ä¸å³¶è¡ ãã¹ã¿ã³ãã¢ãã³ãã·ã³ã«ä½ãè ã¯èªåéã®äºããâ¦
ã»ã¸ã¦ã£ãã¯ã®ã¢ã«ã´ãªãºã Cãè²·ã£ãã®ã ãã©ãããã·ã¥ãã¼ãã«ã«é¢ããç« ãèªãã ãHornerã®æ¹æ³ã¨å°ä½æ¼ç®ãçµã¿åãããã¨ã常èã®ããã«æ¸ãã¦ãã£ãã ãã£ã±çéãã¡ããã¨åå¼·ããªãã¨ãã¡ï½¯ããã
Cè¨èªã¯ã½ã¼ã¹è²¼ã£ã¦ã試ãã®ããã©ãããªãã¨ãæã£ããã ãã©ãããèããã¨CodePad ã«è²¼ãã°è¨äºãè¦ã人ãããå®è¡ã§ããã¨ãæã£ãã®ã§æ©éãã£ã¦ã¿ããhttp://codepad.org/Bybm7P8I以ä¸æã£ããã¨ã ããã·ã¥ãã¼ãã«ã«å ¥ããvalueãã©ãããåã«ããâ¦
ä»æ¥ã¯å¼ã£è¶ãå ã®å è¦ã«è¡ãã¯ãã ã£ããã©ããªããå æ¹ã®æéãã§ææ¥ã«ãªã¹ã±ã«ãªã£ãã ãã¨ãªããé¨å±ã®æé¤ã§ããã¦ãã°ããã£ããã ãã©ãã¤ãã¤ã id:amachangã®ãé§æ - C è¨èªã®åå¼·ããè¦ã¦ãããããã°åã¯ç©å¿ã¤ããããããSTLã®std::mapã¨ãâ¦