並åããã°ã©ãã³ã°ã®æ¦å¿µãçå±ãå種åé¡ã«ã¤ãã¦ã 並ã«ã³( http://atnd.org/events/2092 )ã«ã¦çºè¡¨Read less
並åããã°ã©ãã³ã°ã®æ¦å¿µãçå±ãå種åé¡ã«ã¤ãã¦ã 並ã«ã³( http://atnd.org/events/2092 )ã«ã¦çºè¡¨Read less
ãã®è¨äºã¯ãã¤ã³ãã«Â® ã½ããã¦ã§ã¢ã»ãããã¯ã¼ã¯ã«æ²è¼ããã¦ãããHow to sound like a Parallel Programming Expert Part 1: Introducing concurrency and parallelismã(http://software.intel.com/en-us/articles/how-to-sound-like-a-parallel-programming-expert-part-1-introducing-concurrency-and-parallelism/) ã®æ¥æ¬èªåè訳ã§ãã 並åããã°ã©ãã³ã°ã®ã¨ãã¹ãã¼ãã®ããã«ãªãã«ã¯ ãã¼ã1 ãã¼ã2 ãã¼ã3 ãã¼ã4 並åã³ã³ãã¥ã¼ãã£ã³ã°ã®æ代ããã£ã¦ãã¾ãããç¾ã«ããããæ¸ãã¦ããã®ã¯ãã¥ã¢ã«ã³ã¢ã®ã©ãããããã§ããå æ¥ãæ¯åãè²·ã£ãã²ã¼ã æ©ã«ã¯ 9 ã³ã¢ããã
This domain may be for sale!
ãCheat-Sheets.orgãã¯ãã¼ãã·ã¼ãã®ã³ã¬ã¯ã·ã§ã³ãµã¤ããã¨ã«ããè¨å¤§ãªæ°ã®ãã¼ãã·ã¼ãããªã³ã¯ããã¦ãã¾ãã ããã°ã©ãã³ã°è¨èªã«ã¨ã©ã¾ãããOSããéçºç°å¢ããµã¼ãã¼ã½ããã¦ã§ã¢ã«é¢ããèã®å·»ããããããªã³ã¯ããã¦ããã®ã§ããã¯ãã¼ã¯ãã¦ããã¨ããããã§ãã ä¸ä¾ã¨ãã¦Ruby on Railsã®PDFå½¢å¼ã®ãã¼ãã·ã¼ãã§ãããªã³ã¯ã ããããªããCheat-Sheets.orgãããã¡ã¤ã«ãç´æ¥ãã¦ã³ãã¼ããããã¨ãã§ããæ§åã ã¿ãã¬ãããã¹ããã«ä¿åãã¦ããã¨ä»äºãæãããã§ããã
alias -s txt='cat' alias -s html='google-chrome' alias -s rb='ruby' alias -s py='python' alias -s hs='runhaskell' alias -s php='php -f' alias -s {gz,tar,zip,rar,7z}='unarchive' # preztoã®archiveã¢ã¸ã¥ã¼ã«ã®ã³ãã³ã(https://github.com/sorin-ionescu/prezto/tree/master/modules) alias -s {gif,jpg,jpeg,png,bmp}='display' function runcpp () { g++ -O2 $1 shift ./a.out $@ } alias -s {c,cpp}='runcpp' function runjava
2007å¹´09æ16æ¥04:30 ã«ãã´ãªArt LiveCodingã«å¦ã¶ããã°ã©ãã³ã°ã®ä¸åå Mozilla24ã®LiveCodingã®è§£èª¬ããã£ã¦ãã¾ãããåå ãããæ¹ããç²ããã¾ã§ãããã»ãã¨æ¥½ããã£ãã è¨èªãC++ããJavaããJavaScriptããActionScriptããPerlããã¨ã¾ã¡ã¾ã¡ã§ãEditorãemacsããvimããç§ä¸¸ããã¨ã¾ã¡ã¾ã¡ã§ããããããã§ãå ¨LiveCoderã®å ±éé ãã¯ã£ããè¦ããã®ã§ããããæ¸ãçãã¦ããã¾ãããããã®å ±éé ã«ã¯ç§ãå«ã¾ãã¾ãã ã³ãããæãããª(don't be afraid to be a copycat) åå è ã®ä¸äººã¨ãã¦ã100%ãã«ã¹ã¯ã©ããã§æ¸ãã¦ãã人ã¯ãã¾ããã§ãããããã¦ãã¯é¢æ°åä½ã§ã³ãã¼ãããããé©å®æ¸ãæããã¨ããããæ¹ããã¦ãã¾ãããå¦æ ¡ã®ãã¹ãã§ã¯ååãããã¨ããã§ããã大人ã®ä¸çã§ã¯ã
ä»åã¯é¸æã¢ã«ã´ãªãºã ã®ç´¹ä»ã§ãã ããã¯ãé åããkçªç®ã«å°ããæ°ãç·å½¢æé㧠æ¢ãã ãã¯ã¤ãã¯ã»ã¬ã¯ã(Quick Select)ã¨ãã ã¯ã¤ãã¯ã½ã¼ãã®æ´¾çã¢ã«ã´ãªãºã ã§ãã åé¡ ã½ã¼ãããã¦ããªãa1ããanã¾ã§ã®æ°åãnåããã ãã®ä¸ããkçªç®ã«å°ããæ°åãæ¢ãã ä¾ï¼ ãµã¤ãºã9ã®é åã[2, 5, 3, 7, 1, 8, 6, 0, 4]ã«ããã¦ã 3çªç®ã«å°ããæ°ã¯2ã§ãã 解1ï¼ã½ã¼ãããã ã½ã¼ããã¦kçªç®ã®æ°åãåãæ¹æ³ã§ãã ã½ã¼ãã«Î¸(nlogn)ã¨è¦ã¤ããã®ã«Î¸(n)ãªã®ã§ãT(n) â θ(nlogn) 解2ï¼é¸æã½ã¼ãç解 ãªã¹ãããä¸çªå°ããæ°åãè¦ã¤ããåãåºãã¾ãã ãããkåç¹°ãè¿ãã¾ãã ãªã¹ãããæå°å¤ãè¦ã¤ããã®ã«O(n)ãªã®ã§ T(n) â O(kn)ã§ãã 解3ï¼ãã¼ãã½ã¼ãã®å©ç¨ ãã¼ãã½ã¼ãã®æ§æã«O(n)ãåãåºãã«O(logn)
åºæ¬ã¨ããããç°¡åã«èããããã®ã¯ã - ã½ã¼ãããã®ã¡ãçãä¸ã®è¦ç´ ãé¸æãã ã¨ããæ¹æ³ã ããå ¨ã¦ã®è¦ç´ ãã½ã¼ãããªãã¨çããå¾ãããªãã¨ããã®ã¯å°ãè¨ç®éã大ããããã ãããã調ã¹ã¦ã¿ãã¨ãã¯ã¤ãã¯ã½ã¼ãã®ã¢ã«ã´ãªãºã ã®çºå±åã§ãã¯ã¤ãã¯ã»ã¬ã¯ããªãã¢ã«ã´ãªãºã ããããããã http://d.hatena.ne.jp/agw/20090505/1241602074 http://d.hatena.ne.jp/agw/20090513/1242290109 è¦ããã«ãä¸å¤®å¤ãæ±ã¾ããããã¾ã§ã¯ã¤ãã¯ã½ã¼ããè¨ç®ããçç¥ã§ããè¨ç®ã¯ããªãã¨ãããã¨ã®ããã§ããã ãã®ã¨ãã«ãã¯ã¤ãã¯ã½ã¼ããè¨ç®ããã«ããããæåã«é¸æãããã¼ãã£ã·ã§ã³ã®å¤ãã§ããã ãä¸å¤®å¤ã«è¿ãå¤ãé¸æããã®ããã¢ã«ã´ãªãºã ãé«éåããã³ãã§ããã¨ãããã¨ãæ¸ãã¦ããã http://d.hatena.ne.jp/
Cè¨èªã®ã¢ã«ã´ãªãºã ã®åèæ¸ãèªãã§ä»åå¼·ãã¦ããã§ããã ä¸å¤®å¤ãæ±ããã¢ã«ã´ãªãºã ã«ã¤ãã¦é ãæ©ã¾ãã¦ãã¾ãã ä¸åã®æ°åãæ¯è¼ãã¦ä¸å¤®å¤ãæ±ããifæãªãã§ãã ã³ã¼ã: #include <stdio.h> int med3(int a, int b, int c) { if (a >= b) if (b >= c) return b; else if (a <= c) return a; else return c; else if (a > c) return a; else if (b > c) return c; else return b; } int main(void) { int a, b, c; printf("ä¸ã¤ã®æ´æ°ã®ä¸å¤®å¤ãæ±ãã¾ã /n"); printf("aã®å¤:"); scanf("%d", &a); printf("bã®å¤:"); scanf("
æè¡è©è«ç¤¾ããè¿ã åè¡ãããã詳解Apache Sparkãããæµè´ããã ãã¾ããï¼ãããã¨ããããã¾ãï¼ è©³è§£ Apache Spark ä½è : ä¸ç°å«å¤§,師岡ä¸æ,ä»äºé太,ç³å·æ,ç°ä¸è£ä¸,å°å®®ç¯¤å²,å åµé·éåºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2016/04/29ã¡ãã£ã¢: 大åæ¬ãã®ååãå«ãããã° (5件) ãè¦ã Amazonã®çºéã¯4æ29æ¥ããã®ããã§ããï¼é½å ã®ã¸ã¥ã³ã¯å ãç´ä¼åå±ï¼æ¸æ³ããã¯ã¿ã¯ã¼ãªã©ã®å¤§åæ¸åºã§ã¯æ¢ã«å è¡è²©å£²ããã¦ããããã§ãï¼æ¯éæã«åã£ã¦ã¿ã¦ãã ããï¼ ç·è© æ¬æ¸ã¯ï¼å¤§è¦æ¨¡ä¸¦ååæ£åºç¤ã®Apache Sparkã«ã¤ãã¦ï¼è±å¯ãªå®è·µä¾ã交ããªããåºæ¬çãªã³ã³ã»ããã使ç¨æ¹æ³ã解説ãããæ¸ç±ã§ãï¼ãã®åéã®ç¬¬ä¸ç·ã§å®éã«æ¥åã§ä½¿ç¨ãã¦ããæ¹ã ãï¼ããããããå·çããã¦ãã¾ãï¼Sparkã使ãå¿ è¦ããã£ããã©ããªãã®ãç¥ã£ã¦ã¿ããã¨æã£ãããã¦ããã¨
ããã¯ï¼R Advent Calendar 2013ã®8æ¥ç®ã®è¨äºã§ãï¼ 2013å¹´ãæ¯ãè¿ã£ã¦ã¿ãã¨ï¼Tokyo.Rã®"ã·ãªã¼ãºåå¦ç"ããã£ãã®2åã§é絶ãããã¦ãã¾ã£ããã¨ã¯å¤§ãã«åçãã¹ãç¹ã®ä¸ã¤ã§ã(^^; ã·ãªã¼ãºåå¦çãé絶ãããããã¨ã¯ï¼2013å¹´ã«ãããçæ¨ã®æ¥µã¿ã®ä¸ã¤ï¼2014å¹´ã«å¾©æ´»ãããããªï¼â sfchaos (@sfchaos) 2013, 11æ 30 ãããªããã§ï¼æ®ãå°ãªããªã£ã2013å¹´ï¼ã·ãªã¼ãºåå¦çã®ç¶ããæ¸ãã¦ã¿ããã¨æãã¾ãï¼ ä»åã®ãã¼ãã¯ãé£ç¶å¤ãã¼ã¿ã®é¢æ£åãã§ãï¼ãã¼ã¿åæãè¡ã£ã¦ããã¨ï¼é£ç¶å¤ã®ãã¼ã¿ãé¢æ£åãã¦ï¼ããã¤ãã®ã°ã«ã¼ãã«åãããå ´é¢ããã°ãã°çºçãã¾ãï¼ä¾ãã°ï¼å¥åº·è¨ºæã®é ç®ã«å¯¾ãã¦ãé«ã»ä¸ã»ä½ãã®3段éã«åãããå ´åãªã©ã§ãï¼ é«æ¬¡å ã®ãã¼ã¿ã«å¯¾ããé¢æ£åã®ææ³ãããã¤ãææ¡ããã¦ãã¾ããï¼ããã§ã¯1次å ã®ãã¼ã¿ã®é¢æ£å
Pythonåå¼·ãå§ãã¦ä¸ã¶æããããã£ããã§ä¸åº¦å¾©ç¿ãå ¼ãã¦ã¾ã¨ãã¦ã¿ããã¨æãã¾ããåãä»ã¾ã§PHPã¨ãPerlã¨ãJavaScriptã使ã£ã¦ãã¦ãPythonã¯ããããã®ãã¼ã¨ããããã¯ä¾¿å©ã ãªã¼ã¨æã£ãã¨ãããéçºãã¦ãã¦ã¯ã¾ã£ãã¨ãããªã©ããã¯ã¢ãããã¦ã¿ã¾ããã åãã¦ã®Pythonãèªãã§åå¿è åãåå¼·ä¼ã«åå ããç¨åº¦ã®ç¥èã§ããã¨ããããåãã¦ã®Pythonãããªãããã®ã§ããèªãã ãã§å¤§ä½åºç¤ã¯ç¿å¾ã§ããæ°ããã¾ããåºæ¬çãªææ³ã®èª¬æã ãã§ãªãã大äºãªãã¨ã¯ä½åãç¹°ãè¿ãæ¸ãã¦ãã£ãããPythonã®ææ³ãªã©ã«ã触ãã¦ããã®ã§ãªãããããå®è£ ã«ãªã£ã¦ãããã¨ãããã¨ãç解ã§ãã¾ãããããªã¹ã¹ã¡ã å°ããã®ã¨ã³ããªã¼ã§ã¯Pythonã®ãã¼ã¸ã§ã³ã¯2.5ããã¼ã¹ã«ãã¦ã¾ãï¼ä¸»ã«GoogleAppEngineã§ä½¿ã£ã¦ãã®ã§ï¼ãééããªã©ãã£ããããã³ããå¾ ã¡ãã¦ã¾ãã ææ³ã
Advent Calendarã£ã¦ä½ï¼ 12æ1æ¥ããã¯ãªã¹ãã¹ã¾ã§ã®éãæ¥ãããã«ã¬ã³ãã¼ã®ããã«ããããããªããéããããã«ãæ¯æ¥äº¤ä»£ã§æè¡ã¨ã³ããªãæ¸ãã¦ããä¼ç»ã§ãï¼ ã©ããªå 容ãæ¸ãã°ããã®ï¼ C++ã«é¢é£ããå 容ãªããªãã§ããã¾ãã¾ããï¼ ææ°ã®C++ã®è©±ãC++ã®æ´å²ãC++ã§æ¸ãããã©ã¤ãã©ãªãã¢ããªã±ã¼ã·ã§ã³ã®è©±ãªã©èªç±ã«æ¸ãã¾ãããï¼ ã©ãã«æ¸ãã°ããã®ï¼ Qiitaã«è¨äºãä½æãã¦ãããã§ãããgistãèªåã®ããã°ãªã©ã©ãã§ãåé¡ããã¾ããã
ãã®è¨äºã«ã¯ç¬èªç 究ãå«ã¾ãã¦ããããããããã¾ãã åé¡ç®æãæ¤è¨¼ãåºå ¸ã追å ãã¦ãè¨äºã®æ¹åã«ãååãã ãããè°è«ã¯ãã¼ããåç §ãã¦ãã ãããï¼2020å¹´10æï¼ ãã®è¨äºã§ç¤ºããã¦ããåºå ¸ã«ã¤ãã¦ã該å½ããè¨è¿°ãå ·ä½çã«ãã®æç®ã®ä½ãã¼ã¸ãããã¯ã©ã®ç« ç¯ã«ããã®ããç¹å®ãæ±ãããã¦ãã¾ãã ãåç¥ã®æ¹ã¯å çããé¡ããã¾ããï¼2014å¹´4æï¼ ãªãã¡ã¯ã¿ãªã³ã° (refactoring) ã¨ã¯ãã³ã³ãã¥ã¼ã¿ããã°ã©ãã³ã°ã«ããã¦ãããã°ã©ã ã®å¤é¨ããè¦ãåä½ãå¤ããã«ã½ã¼ã¹ã³ã¼ãã®å é¨æ§é ãæ´çãããã¨ã§ãããã¾ããããã¤ãã®ãªãã¡ã¯ã¿ãªã³ã°ææ³ã®ç·ç§°ã¨ãã¦ã使ãããããã ããååã«ç¢ºç«ãããæè¡ã¨ã¯ããããã¾ãããªãã¡ã¯ã¿ãªã³ã°ãã¨ããè¨èã«å³å¯ãªå®ç¾©ãããããã§ã¯ãªãã ãªãã¡ã¯ã¿ãªã³ã°ãç»å ´ãã以åã¯ãä¸åº¦æ£å¸¸ãªåä½ãããããã°ã©ã ã¯äºåº¦ã¨æã触ããã¹ãã§ã¯ãªãã¨è¨ããã¦ããããª
ããã°ã©ãã³ã°ã®é£ããã¨å¥¥ã®æ·±ãã«è¾æãã¦ããã©ããåã§ãã ä»åã¯ããã°ã©ãã³ã°ãè¦ãããã¦Xcodeãã¤ã³ã¹ãã¼ã«ãã¤ã¤ãéãã¦ãæå³ä¸æã§ãã£ã¨éãã¦ãã¾ãæ¹åãã«ãèªåãã©ããã£ã¦ã¡ãã£ã¨ã ãæ¸ããããã«ãªã£ãããæ¸ãã¦ããã¾ãã åæã¹ãã« ãããåå¿è ã ã¨ããã©ããããã ãã¯ãããããã«ãªã£ã¨ãã¨ããå¿ è¦ã¹ãã«ãåæã ã¨ã¯è¨ã£ã¦ããããã°ä¸»ã®ä¸»è¦³ã ãã©ã ãã©ã¤ã³ãã¿ãã ãã¼ãã¼ããè¦ãªãã§ãã¼ãæã¦ãããããããªãã¨è©±ã«ãªããªãã PCã«å¯¾ããæ £ãããããããå¿ è¦ã Excelã®é¢æ°ãããç¨åº¦ä½¿ãã Excelã®ã»ã«ã®ä¸ã«IFæãROUNDUPæã¨ããæ¸ãè¾¼ãäºãåºæ¥ã¦ãæ£ãã使ç¨ã§ããç解åãå¿ è¦ã ããã°ã©ãã³ã°ã¯åºæ¬æååãæ¸ãè¾¼ããã¨ã«çµå§ãããã¨ã«ãªãã ãªã®ã§Excelã§IFæãªã©ãã©ã使ããç解åºæ¥ãç¨åº¦ã®ä¸å°ãç¡ãã¨ç¸å½ãã¤ãã Googleå çã§èª¿ã¹ãå
ã»ããã¢ããããMacPortsãå®éã«ä½¿ç¨ãã¦ã¿ããã¤ãã§ã«ãXcodeã§ã®ä½¿ç¨æ¹æ³ãã¡ã¢ãã¨ãã ã¨ãããããBoostã©ã¤ãã©ãªãä¾ã«ããã ã¿ã¼ããã«ãã sudo port install boost ã¨ãã¤ã¨ã¤ã³ã¹ãã¼ã«ãå§ã¾ãã®ã§ããã°ããå¾ ã¤ãbuildã«æéããããã ããã§ãã©ã¤ãã©ãªã®ã¤ã³ã¹ãã¼ã«ã¯çµäºã ã§ãXcodeã§ã¤ã³ã¹ãã¼ã«ããã©ã¤ãã©ãªã使ç¨ããã«ã¯ãã¤ã³ã¹ãã¼ã«å ã§ãã/opt/loaclã¾ã§ã®ãã¹ãè¨å®ãã¦ããã°ããã boostã®ãããã¼ã¯/opt/local/include/ã«æ ¼ç´ããã¦ããã®ã§ãXcodeã®ããã¸ã§ã¯ã>ããã¸ã§ã¯ãè¨å®ã®ç·¨é>ãããæ¤ç´¢ãã¹ã«/opt/loacl/include/ã¨è¿½å ããã ããã§ãXcodeã®ããã¸ã§ã¯ãä¸ã§boostã使ç¨å¯è½ã«ãªãã ã¤ãã§ã«ãXcodeã®ã°ãã¼ãã«ãã¹ã®è¨å®æ¹æ³ã調ã¹ã¦ã¿ãã ~/.Ma
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}