æ¿åºã®æ°ããªæé·æ¦ç¥ã®ä¸ã§å°å¦æ ¡ã®ãããã°ã©ãã³ã°æè²ããå¿ ä¿®åã2020年度ã«éå§ãããã¨ãçºè¡¨ããå¤ãã®è°è«ãçãã§ãããæ¬ç¹éã§ã¯ããã¾ãã¾ãªæèè ã«ãã®è¦ç¹ãèãã¦ãããä»åã¯ãããã°ã©ãã³ã°ã®èãæ¹ã身ã«ä»ããããçµµæ¬ãã«ãã£ã®ã¼ããããã«é¢ããã¯ã¼ã¯ã·ã§ããã¤ãã³ãã®æ¨¡æ§ããä¼ããããï¼2016å¹´8æ10æ¥ï¼
第4åã第5åã§ã¯ãç°¡åãªRSSãªã¼ãã¼ãSimpleRSSReaderããé¡æã«ãAndroidã¢ããªã®åºæ¬çãªéçºææ³ã解説ãã¦ãããAndroidã«ãããRSSãã¼ãµã®æåãå¦ã³ãã¢ããªã«å®è£ ããã¨ããã¾ã§ããã ä»åã¯ãRSSãªã¼ãã¼ã¨ãã¦ã®ä½è£ãæ´ããããã«ãè¨äºã®è¦ç´æã表示ãã詳細ç»é¢ãã¤ãã¦ã¿ããç¾å¨ãã¢ããªãæã¤ã¢ã¯ãã£ããã£ã¯è¨äºãä¸è¦§è¡¨ç¤ºãããRSSListActivityãä¸ã¤ãããªãããä»åã¯ããä¸ã¤ã詳細ç»é¢ï¼å³1ï¼ã表示ããããã®ã¢ã¯ãã£ããã£ãItemDetailActivityãã追å ããã ååå®è£ ãããã¼ã¹ã®æ©è½ãæ ããparseXmlãã¡ã½ããã§ã¯ãtitleè¦ç´ ã¨descriptionè¦ç´ ããåå¾ãã¦ããªãããã詳細ç»é¢ã§è¡¨ç¤ºããããã¼ã¿ãè¨äºã®ã¿ã¤ãã«ã¨æ¬æã ãã§ããã ä»åæ°ãã«ã¢ã¯ãã£ããã£ã追å ãããã¨ã§ãè¤æ°ã®ã¢ã¯ãã£ããã£éã§ã®ç»é¢é·ç§»
Androidã§ã®éçºãç¹ã«ç»åå¨ãã触ã£ã¦ããã¨æ©ã¾ããããã®ã«ã£ãããOutOfMemoryErrorãã«ããã¢ããªã®å¼·å¶çµäºã ãã®OutOfMemoryErrorã¯Androidã¢ããªå ã§ã¯tryï½catchãªã©ã§ãã³ããªã³ã°ãããã¨ãã§ããªãããã§ããããããèµ·ãããªãããã«ãä½ããããªãããã§ãã ãã®OutOfMemoryErrorã¯Androidã¢ããªå ã®tryï½catchã§æã¾ããããªããã¨ãããããããããèµ·ãããªãããã«ãä½ãã®ãï¼å½ç¶ã§ããï¼å¥½ã¾ããã§ãããã ï¼2010/12/20ä¿®æ£ï¼ Androidã§BitmapFactoryã使ã£ã¦ãµã¤ãºã®å¤§ããªç»åãèªã¿è¾¼ããµã³ãã« â hoge256ããã° OutOfMemoryErrorãç¥ã â hdk_embeddedã®æ¥è¨ ãããã®è¨äºã大å¤åèã«ãªãã¾ããã ãã£ããã¾ã¨ãã¦ããã¾ãã¨ã¢ããã¼ãã¯å¤§ããåãã¦3
PostgreSQL Advent Calendar 2012ï¼å ¨é¨ä¿ºï¼ã®Day 1ã§ãã åæ¥ã¯ãã¾ãPostgreSQLã使ãå§ããéã®åºæ¬çãªãä½æ³ã§ããåæè¨å®ã«ã¤ãã¦ç°¡åã«ã¾ã¨ãã¦ã¿ã¾ãã PostgreSQLã¯ããã©ã¡ã¼ã¿ã®è¨å®ãå¤æ´ããã«ããã©ã«ãã®è¨å®ã®ã¾ã¾ä½¿ãå§ãã¦ãããã¡ããåããã¨ã¯åãã®ã§ãããå¾ããããããã¨åé¡ãåºã¦ãããã¨ãããã¾ãããç¹ã«æ§è½é¢é£ã®ãã©ã¡ã¼ã¿ã®ããã©ã«ãå¤ã¯ãã¾ãã«å°ããããã¥ã¼ãã³ã°äºã 以åã®åé¡ã ã£ãããã¾ãã ã¨ããããã§ãç§ãæ®æ®µPostgreSQLãã¤ã³ã¹ãã¼ã«ãã¦ä½¿ãå§ããæãéçºæ©ã§ãã£ã¦ãããã¤ããã©ã¡ã¼ã¿ãåæè¨å®ããããã«ãã¦ãã¾ãã 使ãå§ããåã«è¨å®ããå ¥ãã®ã¯ç¢ºãã«é¢åãªã®ã§ãããæåã«è¨å®ãå¿ è¦ãªãã©ã¡ã¼ã¿ã¯å°æ°ï¼ä»åç´¹ä»ããã®ã¯5ã¤ï¼ã§ãã®ã§ãã¾ãã¯æåã«å¿ è¦æä½éã®è¨å®ããã¦ãã使ãå§ãã¾ããããã¨ããã®ãæ¬ã¨
åºå ¸ï¼æ¥çµã³ã³ãã¥ã¼ã¿ 2012å¹´12æ20æ¥å· pp.70-77 ï¼è¨äºã¯å·çæã®æ å ±ã«åºã¥ãã¦ãããç¾å¨ã§ã¯ç°ãªãå ´åãããã¾ãï¼ 2012å¹´ãDRAMã§ããã©ãã·ã¥ã¡ã¢ãªã¼ã§ããªãâ第3ã®ã¡ã¢ãªã¼âã®éç£åºè·ãå§ã¾ã£ããDRAM並ã¿ã«é«éã§ãããªããããã©ãã·ã¥åæ§ã«é»æºããªãã«ãã¦ããã¼ã¿ãæ¶ããªããæ°ä¸ä»£ä¸æ®çºæ§ã¡ã¢ãªã¼ãã ãæ°ã¡ã¢ãªã¼ã«ãã£ã¦ã³ã³ãã¥ã¼ã¿ã®ã¢ã¼ããã¯ãã£ã¼ã¯æ¿å¤ããå ¥åºåï¼I/Oï¼ã®å¤§å¹ ãªé«éåãå®ç¾ããã¨å ±ã«ãæ¶è²»é»åã¯æ¿æ¸ããã ã³ã³ãã¥ã¼ã¿ã«ã¯ãé«éã ãé»æºããªãã«ããã¨ãã¼ã¿ãæ¶ããã主è¨æ¶è£ ç½®ï¼ã¡ã¤ã³ã¡ã¢ãªã¼ï¼ãã¨ãä½éã ããã¼ã¿ãæ¶ããªããå¤é¨è¨æ¶è£ ç½®ï¼ã¹ãã¬ã¼ã¸ï¼ãã¨ãã2種é¡ã®è¨æ¶è£ ç½®ãããã ãããªã³ã³ãã¥ã¼ã¿ã¢ã¼ããã¯ãã£ã¼ã®å¸¸èãä¸å¤ããå¯è½æ§ãåºã¦ãããDRAM並ã¿ã«é«éã§ãããªããä¸æ®çºæ§ãåãããæ°ä¸ä»£ä¸æ®çºæ§ã¡ã¢ãªã¼ãã®éç£åºè·ãå§
12cã§ã¯ãããæé©ãªå®è¡è¨ç»ãé¸ã°ãããããªã ããã¾ã§ã®ãªãªã¼ã¹ã§ããã¼ã¸ã§ã³ã¢ãããã度ã«æ§ã ãªæ°æ©è½ã追å ããã¦ãããªããã£ãã¤ã¶ã§ãããOracle Database 12cï¼ä»¥ä¸ã12cï¼ã§ã¯ããæé©ãªå®è¡è¨ç»ãé¸æãããããã«ãé©å¿ååãã®æé©åãããSQLè¨ç»ç®¡çï¼SQL Plan Managementï¼ããããã«ã¯ãã¼ãã®ãªã³ã©ã¤ã³çµ±è¨åéããªã©ã®æ°æ©è½ã追å ããã¦ãã¾ããä»åã¯12cã«ãã¼ã¸ã§ã³ã¢ããããéã®å¤§ããªå¤æ´ç¹ã¨ãªãããé©å¿ååãã®æé©åãã«ã¤ãã¦ç´¹ä»ãã¾ãã ãé©å¿ååãã®æé©åãã¨ã¯ãããåªããå®è¡è¨ç»ã«ãªãããã®è¿½å æ å ±ãæ¤åºããæ©è½ã®ç·ç§°ã§ããå½¹å²ã«å¿ãã¦ä»¥ä¸ã®ããã«ç´°ããåé¡ããã¦ãã¾ãããããããããè¨ãã°ãä»ã¾ã§æé©ãªå®è¡è¨ç»ãé¸ã°ããªãã£ãSQLã§ãã12cã«ããã¨ããè¯ãå®è¡è¨ç»ãé¸ã°ãããããªããã¨ããæ©è½ã§ãã çµ±è¨æ å ±ã¨ç¾å®ã®ã®ã£ããã
AlertDialog ã®åºæ¬çãªä½¿ãæ¹ã¯ä»¥ä¸ã®è¨äºããã©ããã [AndroidTips][Java]åºæ¬çãªAlertDialogã®è¡¨ç¤º | Androidã¢ããªéçºæ å ±ã¾ã¨ãããã° AlertDialog ã¯ä¾¿å©ã§ããããã£ã¨ã«ã¹ã¿ãã¤ãºãããã¤ã¢ãã°ã表示ããããã¨ãããã¨æãã¾ãã Activity ãåãã¦ãããã®ãªããã¤ã¢ãã°é¢¨ã®ãã¼ãã使ãã®ãç°¡åã§ããã¨æãã¾ãã [AndroidTips][XML]ãã¤ã¢ãã°é¢¨ã®ãã¼ãã使ã | Androidã¢ããªéçºæ å ±ã¾ã¨ãããã° Acticity ãåãããã¨ãã§ããªããã«ã¹ã¿ãã¤ãºããã¬ã¤ã¢ã¦ãã®ãã¤ã¢ãã°ã表示ããããå ´åã¯ä»¥ä¸ã®ããã«å®è£ ãã¾ãã ã³ã³ã§ã¯ç¹ã«ãListView ãæã£ãã¬ã¤ã¢ã¦ãããã¤ã¢ãã°ã«è¡¨ç¤ºãããæ¹æ³ã説æãã¦ããã¾ãã ç¶ããèªãããã©ããã ã¾ã㯠AlertDialog ãå¼ã³åºãã¾ãã sh
ãã£ã¨ãâåãã¦ã®Pythonâã®IVé¨ãèªã¿çµããã¾ããã âåãã¦ã®Pythonâã®èªæ¸ã¯ãããé 調ã«é²ãã§ãã¾ãã ããããããé 調ã«â¦ã ããã«ã¯è§¦ããªãããã«ãã¦ãä»æ¥ã®Pythonã®ã¾ã¨ãã«è¡ãã¾ãããã åãã¦ã®Python IVé¨ âåãã¦ã®Pythonâã®IVé¨ã¯ãâé¢æ°âã«ã¤ãã¦ã¾ã¨ãã¦ããã¾ãã âããé¢æ°ãªãã¦ä½è£ã ããâã¨ãã人ããèªã¿é£ã°ããã«èªãã§ãã ããã Pythonã«ãããé¢æ°ãä»ã®è¨èªã¨ã¡ãã£ã¨å¤ãã£ã¦ãã¾ãã PHPã®é¢æ°å®£è¨functionã«ããã宣è¨ãPythonã§ã¯defã§ãã ãã®å®£è¨ã使ã£ã¦ãPythonã§ã¯ãããªãã¨ãåºæ¥ã¡ããã¾ãã def create_memory(x, y): def memory(): return x, y return memory mem = create_memory(2, 3) print me
åç¨RDBMSã®ããã¡ã¯ãã»ã¹ã¿ã³ãã¼ãã§ãããOracle Databaseãããªã¼ãã³ã½ã¼ã¹RDBMSã®ä¸¡éã§ãããPostgreSQLãããMySQLãã«ã¯ãããããã®RDBMSã®åæ§ãæ´»ãããé©ç¨é åãããã¾ããæ¬ç¨¿ã§ã¯ãRDBMSã®ãæ§è½è¦ä»¶ãã«æ·±ãé¢ä¿ãããã¢ã¯ã»ã¹ã»ãã¹ããé¡æã«ããOracle DatabaseãããPostgreSQLãããMySQLãã®ç¹é·ãæ´çããé©æé©æã§æ´»ç¨ãããã³ããæ¢ãã¾ãã ã¢ã·ã¹ãã§ã¯1987å¹´ã«åãæ±ããéå§ãããOracle Databaseãã«å ãã2009å¹´10æãããPostgreSQLï¼ãã¹ãã°ã¬ã¹ãã¥ã¼ã¨ã«ï¼ãã2011å¹´10æã«ã¯PostgreSQLããã¼ã¹ã¨ãOracle Databaseã¨ã®äºææ§æ©è½ãæãããPostgres Plusï¼ãã¹ãã°ã¬ã¹ãã©ã¹ï¼ããWebãµã¼ãã¹ã®ã·ã¹ãã ã«ã¦æ¡ç¨ããã¦ããRDBMSã¨ãã¦ã¯
å ¨ã¦ã®æè¡æ å ± VA Linuxã®"æè¡å"ã®ä¸é¨ããç´¹ä»ãã¾ãã ç¬èªã®ç 究ãéçºãæè¡ã«ã³ãã¡ã¬ã³ã¹ã§çºè¡¨ããæè¡è³æãªã©ãå ¬éãã¦ãã¾ãã OSS ãã¼ã¯ã¼ãã§çµãè¾¼ã 深層å¦ç¿ ãããã¯ã¼ã¯ ãããã³ã« Linux ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã³ã³ããé¢é£ æ§æ管ç ã¹ãã¬ã¼ã¸ ä»®æ³å ã¯ã©ã¦ã è² è·åæ£ ããã°ã©ãã³ã°è¨èª ãã©ãããã©ã¼ã ãã¬ã¼ã ã¯ã¼ã¯ 深層å¦ç¿ãã¹ã¦ Isaac Gym(22000件) ãããã¯ã¼ã¯ãã¹ã¦ SmartNIC(11000件) RDMA(22000件) Ryu(10100件) OpenFlow(21100件) ãã®ä»(20020件) ãããã³ã«ãã¹ã¦ NFS(51301件) OpenLDAP(77000件) SNMP(11000件) OAuth(11000件) ãã®ä»(00000件) Linuxãã¹ã¦ DPDK(11000件) eBPF(22000
ããã©ã¼ãã³ã¹ãã¹ãããã¦ãã¦ãã¡ã¢ãªå®¹éã«ããã©ããããæ§è½å·®ãåºããæ¯ã¹ã¦ã¿ãããªãã¾ããã ãµã¼ãæ¬ä½ããã¡ã¢ãªã¢ã¸ã¥ã¼ã«ãããã£ã¨åãå¤ããªãã¦ãã次ã®ããã«ãããã¨ã§ãLinuxãèªèããã¡ã¢ãªå®¹éãæ¸ãããã¨ãã§ãã¾ããã /etc/grub.conf ã® kernel è¡ã®æ«å°¾ã« mem=16384M ã追å ã ããã§64GBâ16GBã«ãªãã¾ããã
Linux ã®ãªã¼ãã¼ã³ãããã®ã¯ãªã ==================================== ï¼ãããæ¸ããã®ã¯ Linux 2.6.38 ã®ã¨ãï¼ Linux ã«ã¼ãã«ã¯å®ã¡ã¢ãªä»¥ä¸ã«ã¡ã¢ãªãããã»ã¹ã«å²ãå½ã¦ããã¨ãã§ãã ãã®ä»çµã¿ããªã¼ãã¼ã³ããã (over-commit) ã¨å¼ã¶ ãªã¼ãã¼ã³ãããã§ã¯ï¼ã¨ããããã¡ã¢ãªã `malloc` ããã¦ä»®ã®ã¢ãã¬ã¹ãè¿ãã¦ããï¼ å®éã«ä½¿ããã段ã«ãªã£ã¦ã¯ããã¦å®ã¡ã¢ãªã確ä¿ããï¼ å®é¨ --------- ãã `malloc` ãç¶ããã ãã®ããã°ã©ã ãä½ã£ã¦å®é¨ãã¦ã¿ãï¼ ãã®ããã°ã©ã ãã¡ã¢ãª 1 GB + ã¹ã¯ãã 1 GB ã®ãã¹ãã§å®è¡ãã¦ã¿ãã¨ï¼ $ free -t total used free shared buffers cached Mem: 1022404 82992 939412 0 4
malloc()ã§åç´ã«Linuxã®ä»®æ³ã¡ã¢ãªç©ºéã®ã¡ã¢ãªç¢ºä¿ããç¶ããããã°ã©ã ã®ãµã³ãã«ã§ãã åºåå¤ã¯ãç¹°ãè¿ãå¦çãè¡ããããã³ã«mallocã§ç¢ºä¿ããã¡ã¢ãªã¨åå¤(1GB)ãå ç®ãã¦ããã¨ããç°¡æãªè¨ç®å¦çã®çµæã§ãã å®è¡ç°å¢ OS CentOS 6.4 x86_64(64bitç)
ä»ã¾ã§å ¨ã使ãæ¹ç¥ããªãã£ããã©ä¾¿å©ãããªã®ã§åå¼·ãã¦ã¿ãã ãã£ã±ãDTraceã¨ä¼¼ãæãã«æãããã©ãDTrace on FreeBSDããåºæ¥ããã¨ãå¤ãã¿ãããDTrace on Solarisã¯ç¥ããã ã³ã¼ã«ã°ã©ã Call graph tracing ããã³ãã£ã¦ããã°åãæ¢ããã§ãã ã©ããåãã¨ããããè¦ãªããã ãããå¼æ°ã§å¼ã£å¼µã£ã¦ããå¿ è¦ãªããããã£ã¦äºã§æã£ã¦ããã³ã¼ããæ¸ãæãã¦ãprobeã®ãã¤ã³ããã¹ã¯ãªããå ã«æ¸ãã¦ã¿ãï¼ function trace(entry_p) { if(tid() in trace) printf("%s%s%s\n",thread_indent(entry_p), (entry_p>0?"->":"<-"), probefunc()) } global trace probe kernel.function("netif_rec
ãã¡ã¤ã«ãµã¼ããé«éåããB-Treeã¢ã«ã´ãªãºã ext2ãext3ããã¼ã¹ã¨ãããããã¯ã¢ã«ã´ãªãºã ã¯ããããã¯æ°ã対å¿ãããã£ã¹ã¯ã®ã¸ãªã¡ããªæ°ã«å¶éããããã¨ããã¡ã¤ã«ãµã¼ãã«Oï¼nï¼ãããï¼æ³¨ï¼ãã¨ããã¡ã¤ã«ãµã¤ãºã«é¢ä¿ããããã©ã¼ãã³ã¹ä½ä¸ãªã©ãããã¤ãã®åé¡ããã£ãã 注ï¼ãOï¼nï¼ãã¨ã¯ãå®è¡æéãå ¥åã®å¤§ãããnãã«æ¯ä¾ããã¢ã«ã´ãªãºã ã§ãããOï¼nï¼ã¯ãnã®ãªã¼ãã¼ãã¾ãã¯ããªã¼ãã¼nãã¨èªããå¾è¿°ãããOï¼log nï¼ãã¯ãã¢ã«ã´ãªãºã ã®è¨ç®éã«é¢ããè°è«ã®å ´ålogã®åºã¯å¸¸ã«2ã§ãOï¼log nï¼ã®æ¹ãOï¼nï¼ãããå¹çãè¯ããä¾ãã°nï¼8ã®å ´åãOï¼log nï¼ã¯å ¥å8ã«å¯¾ãã¦3åã®å®è¡ã§æ¸ãããOï¼nï¼ã¯8åã®å®è¡ã¨ãªãã ReiserFSãJFSãXFSã¨ãã£ããã¡ã¤ã«ã·ã¹ãã ã§ã¯ããããããããã¯ã¢ã«ã´ãªãºã ã®éçã«å¯¾ãã¦ãæ©ã段éãããã¼ã¿ãã¼ã¹ã®æè¡ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}