ãã®ãã¼ã¸ã§ã¯ããã¥ã¡ã³ãæåãã¼ã¿ãã¼ã¹ã®MongoDBã«é¢ããã¡ã¢ãæ¸ãã¦ãã¾ããã¾ããããã«è¨è¼ãããµã³ãã«ã³ã¼ãã¯Pythonã§æ¸ããã¦ãã(ä¸é¨ã¯C++)ãMongoDBãã©ã¤ãã®PyMongo(ãã¼ã¸ã§ã³2.0æªæºã ã¨ãµãã¼ãããã¦ããªãæ©è½ãå¤ãã®ã§2.0以ä¸ãæ¨å¥¨)ãå©ç¨ãã¦ãã¾ãã C++ãã©ã¤ãã«ã¤ãã¦ã¯ããã°ã§ãç´¹ä»ãã¦ãã¾ã(MongoDB C++ã¯ã©ã¤ã¢ã³ã)ã ç°å¢ CentOS 5.8 (x86_64) MongoDB 2.0.7 C++ Driver v2.0-latest PyMongo 2.2 æ¦è¦ ã¹ãã¼ãã¬ã¹ ããã¥ã¡ã³ãæåãã¼ã¿ãã¼ã¹ã¯RDBMSã¨éã£ã¦ã¹ãã¼ããå®ç¾©ããå¿ è¦ããªãããã¼ã¿ã¯''BSON''(Binary jSON)ã¨å¼ã°ãããã©ã¼ãããã§ä¿åããããããã¥ã¡ã³ãã®éã¾ãã¯''ã³ã¬ã¯ã·ã§ã³''ã¨å¼ã°ããããããã¯RDBã«ç½®ãæãã
å¹³ç´ ã¯æ ªå¼ä¼ç¤¾ã©ã¤ããã¢ã®ãµã¼ãã¹ã ãå©ç¨ããã ããããã¨ããããã¾ãã æè¨åãã¥ã¼ã¹ãµã¤ããBLOGOSãã¯ã 2022å¹´5æ31æ¥ããã¡ã¾ãã¦ã ãµã¼ãã¹ã®æä¾ãçµäºãããã¾ããã ä¸é¨ã®ãªãªã¸ãã«è¨äºã«ã¤ãã¾ãã¦ã¯ã livedoorãã¥ã¼ã¹å ã® ãBLOGOSã®è¨äºä¸è¦§ãããã覧ããã ãã¾ãã é·ãããå©ç¨ããã ãããããã¨ããããã¾ããã ãµã¼ãã¹çµäºã«é¢ãããåãåããã¯ã ä¸è¨ã¾ã§ãé¡ããããã¾ãã ãåãåãã
æè¿ãçµå©å¼ã«åºãã ãã§æ¶ãåºã¦ãã¾ããã¨ãããã¾ãã伴侶ã®å¤§åããèªèãããããã¨æãã¾ãã çµå©ãã¦ããã家åºãªã©é¡§ã¿ãããã£ã¨èªåã®å¥½ããªä»äºã«æã¡è¾¼ãã§æ¥ã¾ããããæ¦é£ã大ç ããããã¨ã§èªåèªèº«ãã³ã£ããããã»ã©å¤ãã£ã¦ãã¾ãã¾ãããä¼è°ä¸ã«ç é¢ããé»è©±ãå ¥ãã¨ãå¨å²ã«ãæ§ããªãã§åºã¦ãã¾ã£ãããã¢ã¿ãã®ä¸ãåå以ä¸å®¶æã®ãã¨ã§å ãããã¦ãã¾ã£ã¦ããããé·ä¸å ´ã«ãªãããã¨ãããã¨ã§ãã¨ã¦ãå¤ã¾ããªãã¨æã社é·ãè¾ãã¾ããã çç ã¨è¨ããããä¸ç·ã«æ¦ã£ãæãã§ããæåã¯æ £ããªãæçãªã©ããã¦ãã¾ãããã«ã¬ã¼ã®ã¿ã¼ã¡ãªãã¯ãå ç«åããããã¨èãã°ãã²ãããåãå¹²ãå¤§æ ¹ã«ã大éã«ã«ã¬ã¼ç²ãããã¦ãã¾ããæ¦é£ã«ãé ¼ããåå¼ãã¦ãããã¨è¨ããã¾ãããè¯ãã¢ã¤ãã£ã¢ã ã¨æã£ãã®ã§ãããæ £ããªããã¨ãé å¼µããããã¨ã«ãã2人ã§ä¸ç·ã«æéãéãããã¨ã«ãã¾ããã ç§ãã¡ã¯åä¾ã®ããªããã£ãäºäººã®å®¶
ã¾ã¤ãã @mtzw1004 RTãã©ãã·ã¥ããã¯åé¿ã®ãããã®ã¦ã®è¨äºã¯æ¬æãè¦ãªããããã¦ãã¦è©³ããã¯ããããªããã ãã©ãæ§ç¯ç½ªè ã¯åä¾ã«ãã®æãã®æã使ã£ã¦åä¾ã«æ¥è§¦ãã¦ããããåä¾ã«å£°ãããã ãã§ãéå ±ããï¼ãã¨ããããã ã¨ãããã°ããã®äºãè¨ããã¤ã¯ããã£ã¦ãã¼ãªã£ã¦æãã æè»æ¡ 8/15(é)西2ã46 @withinher ã女ãè¦ãã ããââãããè¨ãã ãã§ããã¡ããï½ãã¨ãã人ã«ãå®è¡ãã人ãç´åã¾ã§ããã è¦ã¦ããã ããããã è¨ã£ã¦ããã ããã®ãæ®éã®äººãã§ãããè²´æ¹ãã絶対å®è¡ããªããã¨è¨ããã¨ãç§ã«ã¯ããã確ãããè¡ãããã¾ããã失礼ã§ãããè¦æã¬ãã«ãä¸ãããã¦ããã ãã¾ããã¨è¨ãããâ¦â¦
2013-06-20 / scala JavaScript ãä½ãããã®ã¯ 1995å¹´ã®ãã¨ã ããããJavaScript: The Good Partsã(2008å¹´)ãjQuery (2006å¹´)ãV8 (2008å¹´) ãªã©ãç»å ´ãããããããªãåã«ä½ããããã¨ã«ãªããjQuery 㨠V8 ãå ç®çãªè²¢ç®ã§ããã®ã«å¯¾ãã¦ãDouglas Crockford æ°ã®ãThe Good Partsããé¢ç½ãã®ã¯ãè¨èªããæ©è½ãå¼ãç®ããæ¬ã§ãããã¨ã ã¨æãã ããæè¿ããã Scala ããªã¢ã«ã¯ã¼ã«ããªå¶ç´ã§ãã Java çãªè¦ªãã¿ããããäºææ§ãç¡è¦ãã¦ã¯ã³ãã¼ã©ã³ãçãªè¨å®ã§ãµãã»ãããä½ã£ããã©ããªãã ãããã¨èãã¦ãããScala ã Java ã®ä»£æ¿ã¨ãã¦ä½¿ãäºã許ããããªããé¢æ°åããã°ã©ãã³ã°è¨èªã®ä»£æ¿ã¨ãã¦ä½¿ã£ã¦ããããããªããã¨æãããã®æèå®é¨ã®ããä¸ã¤ã®è©¦ã¿ã¯ãS
MongoDBã¤ã³ã»ã¢ã¯ã·ã§ã³ ä½è : Kyle Banker,Skyæ ªå¼ä¼ç¤¾çå·ç«å¸åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2012/12/14ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 5人 ã¯ãªãã¯: 55åãã®ååãå«ãããã° (4件) ãè¦ã MongoDBéè¨æ©è½ CentOSã§Nginxã®ãã°ãFluentdã使ã£ã¦Mongodbã«ãªã¢ã«ã¿ã¤ã ã§æ ¼ç´ãã - Yuta.Kikuchiã®æ¥è¨ æ給3000åã®CEOã¨æ¶æããã¦ãã@yutakikucã§ããä»æ¥ã¯ç°¡åã«Mongodbã®ãã°éè¨æ©è½ãç´¹ä»ãã¾ããæ©è½ãè±å¯éãã¦æ³£ãã¦ãããã§ããã°è§£æãã人ã¯æ¯é使ã£ã¦ã¿ã¦ä¸ãããFluentdã§Mongodbã«Nginxã®Logãæµãè¾¼ãè¨å®ã¯ä¸ã®ã¨ã³ããªã¼ãåç §ãã¦ä¸ããã次åã¯AggregationFramework/MapReduceå¨ãã«ã¤ãã¦è§¦ãããã¨æãã¾ãã æ³£ãã話 : é
åå¹´ã«ä¸åããã°ãæ¥ãæ¥ã¾ãããä¾ã«ãã£ã¦LLVMã®ãªãªã¼ã¹ãã¼ãã®è¨³ã§ãã ç´è¨³ãã»ã¨ãã©ãªã®ã§æ°ã«ãªã人ã¯åæãèªã¿ã¾ãããã 大ããªå¤æ´ç¹ã¨ãã¦ã¯Loop Vectorizerã®æ¹è¯ãAMD GPUã®ãµãã¼ããªã©ãããè¨ããã¦ããããã§ãã å人çã«è¨³ãã¦ãã¦æ°ã«ãªã£ãã®ã¯LDCã§ãå ¨åã§è¤ãã¦ããæãããã¾ããã ãã®ãªãªã¼ã¹ãã¼ããèªãã§LLVMãæ°ã«ãªã£ã人ã¯ãã²ãã¤ãããã§ããããLLVMãèªã¿ã¾ãããï¼ ã¤ã³ãããã¯ã·ã§ã³(Instroduction) ãã®ããã¥ã¡ã³ãã¯LLVMã³ã³ãã¤ã©ã»ã¤ã³ãã©ã¹ãã©ã¯ãã£ã®ãªãªã¼ã¹3.3ã«é¢ãããªãªã¼ã¹ãã¼ãã§ããååã®ãªãªã¼ã¹ããã®å¤§ããªæ¹åç¹, ãµãããã¸ã§ã¯ãã®æ¹åç¹, ã³ã¼ãã®å©ç¨è ãªã©ãå«ãLLVMã®ç¶æ³ãè¨ãã¦ãã¾ããLLVMãªãªã¼ã¹ã®å ¨ã¦ã¯LLVMãªãªã¼ã¹ãµã¤ã ãããã¦ã³ãã¼ãã§ãã¾ãã LLVMã«ã¤ãã¦ã®ææ°æ å ±ãªã©
2013-06-02 Response to "7 Patterns to Refactor Fat ActiveRecord Models" rails This is the English version. The Japanese version with the same content is at the bottom of this article. Original article: 7 Patterns to Refactor Fat ActiveRecord Models - Code Climate Blog The video of presentation recorded in RubyKaigi 2013, 2nd day The problem -- Where they should be? "7 Patterns to Refactor Fat Acti
ã¤ãã¢ã«ITã¹ã¯ã¼ã«ã¨ããã¨ããã§ãï¼æéã»ã©è©±ããã¦ãã¾ããã ããã°ã©ãã¨ãã¦ãã£ã¦ããããã«å¤§äºãªãã¨ã¨ãããã¼ãã è³æãä½ããã«ãã¨ãããæ§æ³ããç·´ããã«ãã£ã¦ãã¾ã£ãã®ã§ãããã§æ´çã¨ã¾ã¨ãã¨è£è¶³ããå®éã«ãããããã¹ã£ãã¨ããã®ã§ã¯ãªãã¦ãã ããããããªãã¨ãããã¹ããã¨ãã¦ãã¨ããå 容ãããªãçã£ã¦æ¸ãã¦ã¾ãã å½ç¶ã§ãããããã°ã©ãã®ä»äºã¯ããã°ã©ã ãæ¸ããã¨ã§ã*1ã ããã°ã©ãã¨ãã¦ãã£ã¦ããããã«ã¯ãã©ãã§åãããã°ã©ã ãæ¸ããããªã«ãããããã°ã©ã ãæ¸ããã¨ãããã¨ãæèãããã¨ã大äºã§ãã ã¨ãããã¨ã§ãã¾ãã¯ããã°ã©ã ãåãã¨ãããã©ãå¤ãã£ããã¨ãã話ã 1970年代ããã¯ãããã¤ã¹ãåããããã®ããã°ã©ã ãå¤ãã£ãã®ã§ã¯ãªããã¨ã ãã¨ãããã«ã¯æ¸ãã¦ãªããã©ãæ¥åã¢ããªã¯ã»ã¼ã¡ã¤ã³ãã¬ã¼ã ã§åãã¦ãã¨æãã¾ãã ãããã1980年代ããããããã½ã³ã³ãåº
ä»æ¥ã¯ç·åé¨ãåããç½°ã²ã¼ã ã®ä¸ã¤ãå¤é¨å½¹å¡ã«ããæ¥åç£æ»ãæãã¦ã¿ã¾ããã ãªããã®å¤é¨å½¹å¡ã¯âã®åã§ãä¼ç¤¾ã®çµè²»ã§é°»éãé£ã£ã¦ãããªããµã³ã§ãã çµè²»ã§å°ããé°»éã¯ç¾å³ããï¼ æã社ã§ã®æ £ä¾ã§ã¯ãå¤é¨å½¹å¡ï¼ç£æ»å½¹ï¼ã¯åèªè·ã§ãããè¯ãã«è¨ããã㨠æ¥åã«å£åºãããããã¨ã¯ããã¾ããã§ããã ãããä¸è¨ã®å¤é¨å½¹å¡ã¯ä½æ ãããæ°ãåºãã¦ç·åé¨ã®ä¸ã£ç«¯ã æ¥åç£æ»ã¨ç§°ããããã¶ã大ä¼ãéå¬ãã¦ãã£ã訳ã§ãã ç·åé¨ã§ã¯å®éãããä¸å¿ã¨ãªãè²ã ã¨æ¹é©æ¡ãä¸ã«æåºãã¦ãã¾ãããã ä½ãã¨æ³¨æãã¤ãããçµå±ã¯ãèµå ¥ãã«ãªã£ã¦ãã¾ããã ãããªä¸ããã®å¤é¨å½¹å¡ã¯ãæ¹é©ããï¼ãã¨åããã«èª¬æããã®ã§ãã ãããæ¹é©æ¡ãä¸ã«éããªãã®ã¯ãå®éããã®ã説æä¸è¶³ãè½åä¸è¶³ã ï¼ã㨠æ¹å¤ãã¾ãã£ã¦ããã¾ããã å¿è«ãå®éããã®ææ¡å 容ã説æãä¸å³ãå¯è½æ§ãããã¾ãã ä¸å±¤é¨ã®é ãåºãå¯è½æ§ãããã®ã«ãå®éãã
ã¾ã¨ã sidekiqã2ã¤ã®Railsã¢ããªã±ã¼ã·ã§ã³ã§ä½¿ã£ã¦ã¿ã¦ããã¹ãã®æ¸ãæ¹ã¨æ®ãæ¹ã«ã¤ãã¦æãã¨ããããã£ãã®ã§æ¸ãã¦ã¿ã¾ãã ç¹å¥ãªäºæ ããªããã°sidekiq/testingã使ãã¹ã(sidekiq/testing/inlineã¯ä½¿ããªã) éåæå¦çãã®ãã®ã®ã¦ããããã¹ãã¯MyWorker.new.performã§æ¸ãã°ãã éåæå¦çãããã¯ããå´ã®ã¦ããããã¹ãã¯MyWorker.jobs.sizeãæ¤è¨¼ããã ãã«ãã ã¨ã³ããã¼ã¨ã³ããã¹ãã§ã¯ãå ¨ã¦ã®éåæã¸ã§ããå®è¡ãããã¨ãããããªstepãã¡ã½ãããä½ã£ã¦ãããå¼ã¶ sidekiq/testingã¨sidekiq/testing/inlineã«ã¤ã㦠sidekiqã®wikiã«ã¯ããã¹ãã®ããã®ä»çµã¿ã¨ãã¦sidekiq/testingã¨sidekiq/testing/inlineã®2ã¤ãããã**ãã©ã¡ã
éè¦ãªãç¥ããï¼ ãã®è¨äºã§å ¬éããæ å ±ã¯ï¼Androidã®MVCãã¬ã¼ã ã¯ã¼ã¯ãAndroid-MVCãã®æ©è½ã®ä¸é¨ã¨ãã¦åãè¾¼ã¾ãã¾ããã ããæ£ç¢ºãªè¨è¨æ å ±ãï¼åä½å¯è½ãªå ¨ã½ã¼ã¹ã³ã¼ããé²è¦§ãããå ´åï¼ãAndroid-MVCãã®å ¬å¼ãã¼ã¸ããæè¡æ å ±ãåç §ãã¦ãã ããã Androidã®MVCãã¬ã¼ã ã¯ã¼ã¯ - ãAndroid-MVCã http://code.google.com/p/android-mvc-... ãã«ãã¹ã¬ããã®å¦çãï¼ã·ã³ã°ã«ã¹ã¬ããã§ãããã®ããã«ã³ã¼ãã£ã³ã°ãããå ´åãããã ï¼çªç®ã®éåæã¿ã¹ã¯ã®å¦ççµæãï¼ï¼çªç®ã®éåæã¿ã¹ã¯ãå©ç¨ããå ´åãªã©ã ã¤ã¾ãï¼ä¸¦ååãããã¿ã¹ã¯ãï¼åæ±ãä¸ã¯ãé次åããããã®ã ã ã¾ãã¯æã£åãæ©ãï¼ããããäºãUMLã§è¡¨ç¾ãããã ãéåæã¿ã¹ã¯ã®é£éããå®è£ ããéï¼ ãã°ãã°ä¸è¨ã®ãããªãã³ã¼ã«ããã¯ã®å ¥ãåããç
ä»å¹´ã®2æãããã iOS ç¨ã® HTTP éä¿¡ã©ã¤ãã©ãªã®éçºããã¦ãã¦ãã¾ãã ã·ã³ãã«ã§ç°¡åã« HTTP éä¿¡ãåºæ¥ãã©ã¤ãã©ãªãå ¬éãã¾ãã éåæ㧠HTTP éä¿¡ãããã ãã®ç°¡åãªã©ã¤ãã©ãªãªãã§ãããã¦ããããã¹ã(Unit Test)ãããæã«å°ãã³ããå¿ è¦ã ã£ãã®ã§ãã®ç´¹ä»ã§ããããã§ç´¹ä»ããæ¹æ³ã¯éåæ(Async)å¦çã®ãã¹ãå ¨è¬ã§ä½¿ããæã ã¨æãã¾ãã iOS ã§ã¦ããããã¹ããå®æ½ããã¨ã㯠iOS ã«æ¨æºã§ä»å±ãã¦ãã SenTestingKit ã¨ãããã¬ã¼ã ã¯ã¼ã¯ã使ãã¾ãã ã¦ããããã¹ãã®æ¸ãæ¹ SenTestingKit ã®ä½¿ãæ¹ã¯ Java ã® JUnit ã¨ã»ã¨ãã©åãã§ç°¡åã§ããSenTestingKit ã§ã¯ SenTestCase ã¨ããã¦ããããã¹ãã®ããã®åºåºã¯ã©ã¹ãæä¾ããã¦ãã¾ããã¾ã SenTestCase ã¯ã©ã¹ãç¶æ¿ãããã¹ãç¨
éåæã¡ã½ããã®ãã¹ãã£ã¦ãçããã©ããã£ã¦ããã§ãããï¼ ã¡ãã£ã¨ã°ã°ã£ã¦ã¿ããã©ãObject.wait ã¨ã CountDownLatch ã¨ã Future ã§å¾ ã¦ãã¨ãããã¾ãè¯ãçããè¦ã¤ãããªãã£ãã®ã§ãèªåã§ã¦ã¼ãã£ãªãã£ã¯ã©ã¹ä½ã£ã¦ã¿ãã ã¾ã CountDownLatch ã§å¾ ã£ã¦ãã ããªãã§ããã©ãã 2013.1.10 ä¿®æ£:ã¡ã½ããã«å ¨é¨ synchronized ã¤ãããåãããããæ¥ããã⦠/** * success ã¾ã㯠error ãå¼ã°ããã¾ã§ get() ã§å¾ ã£ã¦ã Future ã¿ãããªã¯ã©ã¹ * * @author @amay077 */ public class FutureResult<T> { private final int TIMEOUT = 10; private final TimeUnit TIMEOUT_UNIT = Tim
æ¢ã«ãã¡ãããç´¹ä»è¨äºãæ¸ãã¦ãéããããã¤ãããã§ããããLLVMããåæ¥èªã§è²©å£²ããã¾ãã ã話ãé ããæã¯é©ããã¨åæã«ãã®ä½è£(主ã«è¡¨ç´)ãå 容ã§å¤§ä¸å¤«ãªãã ãããã¨ä¸å®ã«ããªãã¾ããã çµæã¨ãã¦ã¯ãªãªã¸ãã«ã®(å人èªããã)é¨åããã®ã¾ã¾ã«ãããè¯ãå 容ã«ãªã£ãã¨æãã¾ãã é»åæ¸ç±ã¨åæ¥èªçã®éãã«ã¤ãã¦ã¯ãã¡ããã®è¨äºããµã¼ã¯ã«å ¬å¼ãã¼ã¸ã§ãã¾ã¨ãã¦ããã®ã§ããã§ã¯å²æãã¾ãã ã¡ãªã¿ã«ä¸ã®ç»åã¯ã¸ã¥ã³ã¯å æ¸åºæ± è¢æ¬åºããã§å®£ä¼ã«ä½¿ã£ã¦é ãåºé POPã«ãªãã¾ãã ç¢ä¸å çã®ææ¸ãã®çµµ(ã¬ã¢ããã)ãè¦ãããã®ã¯ã¸ã¥ã³ã¯å ã ãï¼ï¼ æ¬ãæ¸ãã¨è¨ããã¨ã«ã¤ã㦠å³ãå·¦ãããããªãç¶æ ã§ã³ãã±ã«åºããã¨ããããããã¾ã§æ¥ãããã§ããã ããå¨ãã®äººãã次ã®2ã¤ã®ãã¿ã¼ã³ã§è¨ããããã¨ãããã¾ãã æ¬ãæ¸ãã»ã©ã®ãã¿(æè¡å?)ããªã ãã¤ãã¯æ¬ãæ¸ããã ä¼¼ããããªé¢ãããã®ã§ã
Linuxcon Japanã¨ããLinux Foundationãéå¬ãã¦ããã«ã³ãã¡ã¬ã³ã¹ã«åå ãããæ¥æ¬ã§éå¬ãããå½éä¼è°ã§åå è ãããããæµ·å¤ããã®æ¥ã¦ããã http://events.linuxfoundation.org/events/linuxcon-japan ãã®æã®æµ·å¤ã®ã«ã³ãã¡ã¬ã³ã¹ã«ã¯ãããªãã®ãä½æ³ãããã¨æãã æè¡çãªã«ã³ãã¡ã¬ã³ã¹ã«åå ãã第ä¸ã®ç®çã¯ä½ãã¨èããããå°ãªããªã人ãææ°æè¡ååã®æ å ±å ¥æã ã¨çãããã¾ãããããã¨ããããããã¨ã¯ãªãã®ãããããªãããã©ãèå©å¿ãªããè足ãè¿°ã¹ãã ææ°æè¡ååã®å ¥æã¨ããã®ã第ä¸ç¾©ã«ããã®ã§ããã°ãä»ã«é©ããæ¹æ³ã¯ãããã§ããããããããã¤ã³ã¿ã¼ãããã«ã¯ãã®æã®æ å ±ããã¾ãã¨è»¢ãã£ã¦ããããªã¼ãã³ã½ã¼ã¹ç³»ã®ã«ã³ãã¡ã¬ã³ã¹ã§ã¯ãå¾ã«è³æãç¡åã§å ¬éããããã¨ã¯å°ãªããªãããå¦ä¼ã¨éã£ã¦ãããã§ä¸çåã®çºè¡¨
ç«å³¶è¡ã£ã¦ãããã©éè¦ããï¼ 2013å¹´06æ20æ¥21:00 ã«ãã´ãªã»ã®ã¼ã®ã»çãããåç ã³ã¡ã³ãæ°:ã³ã¡ã³ã( 19 ) Tweet 1: 以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã 2013/06/20 18:46:38 ID:IINpwUHi0 ãããã 2: 以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã 2013/06/20 18:47:52 ID:iYmYEFBsO ã¢ããã¦ãï½ï½ï½ 5: å¿æ³å¸ãLv=37,xxxPTã(1+0ï¼15) ã´ãã¯ãº âdD9oLU2iXg 2013/06/20 18:49:48 ID:Ef8jCT3hP æ¼å ´ï¼ 11: 以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã 2013/06/20 18:52:20 ID:IINpwUHi0 >>5 ä¸å¿æ¼æ¸¯ã ãã©å¯ãã¦ã 6: 以ä¸ãåç¡ãã«ãããã¾ãã¦VIPããéããã¾ã 2013/06/2
å ´æï¼è¬ç¾©å®¤ï¼ï¼ç·åç 究7å·é¤¨ï¼ï¼éè¬æ: åæ ææé:æ°´1 æå¡: 西ç°è±æææï¼ä¸æ¾¤ç¯¤å¿åææï¼å¤§æ¬ç¾©æ£å©æ æ¦è¦ ä¼è©±çãªã³ãã¥ãã±ã¼ã·ã§ã³ã¯ï¼èªç¶ã¾ãã¯äººå·¥çãªç¥ç主ä½ãç¸äºä½ç¨ãã¦éåç¥ãçºæ®ããããã®å¼·åãªã³ãã¥ãã±ã¼ã·ã§ã³æ段ã§ããï¼æ¬è¬ç¾©ã§ã¯ï¼è¨èªã»éè¨èªçãªã³ãã¥ãã±ã¼ã·ã§ã³ã¡ã«ããºã ãè¨ç®è«çãªè¦ç¹ããåæãï¼ãã®ç¥è¦ã«åºã¥ãã¦äººã ã¨ä¼è©±çã«ç¸äºä½ç¨ããä¼è©±ã·ã¹ãã ããã¶ã¤ã³ããããã«å¿ è¦ãªé ç®ã«ã¤ãã¦è¬è¿°ããï¼ ç®æ¬¡ 人工ç¥è½ã¨ä¼è©±ç¥è½ (4/9)ã西ç°ã(slides) ä¼è©±ã·ã¹ãã ç 究éçºã®æ´å² (4/16)ã西ç°ã(slides) ä¼è©±ã·ã¹ãã ã¢ã¼ããã¯ãã£ã¨æ§ææ³Â (4/23)ã西ç°ã(slides) ä¼è©±ç°å¢ (4/30)ãå¤§æ¬ (slides_1 slides_2 slides_3) ä¼è©±ã®è¨æ¸¬ï¼åæï¼ã¢ããªã³ã° (5/7) å¤§æ¬ (slides) æç³»
ä¾å¤å®å ¨ãªã³ãã¼ä»£å ¥æ¼ç®åãå®ç¾©ãããã¨ããã¨ãï¼ C++11 ã§ã¯ Copy ã㦠Swap ããæ¹æ³ Copy ã㦠Move ä»£å ¥ããæ¹æ³ ã®äºéããåå¨ããã®ã§ï¼ããããã®ã¡ãªããã¨ãã¡ãªãããæ¯ã¹ã¦ã¿ãï¼ Copy ã㦠Swap æ¨æ¥ã®è¨äºã§èª¬æããæ¹æ³ï¼ struct Hoge { std::vector<int> x, y; Hoge() = default; Hoge(std::vector<int> x_, std::vector<int> y_) : x(std::move(x_)), y(std::move(y_)) {} Hoge(Hoge const&) = default; Hoge(Hoge &&) = default; Hoge& operator=(Hoge rhs /*pass by val*/) noexcept { this->swap(rhs);
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}