Representation Learning for Scale-free Networks: ã¹ã±ã¼ã«ããªã¼ãããã¯ã¼ã¯ã«å¯¾ãã表ç¾å¦ç¿
Representation Learning for Scale-free Networks: ã¹ã±ã¼ã«ããªã¼ãããã¯ã¼ã¯ã«å¯¾ãã表ç¾å¦ç¿
κeenã§ããé°å²æ°ã§ã·ã§ã«ã使ã£ã¦ã人ãå¤ãã¨ã®ãã¨ã ã£ãã®ã§å°ãã°ããè¾¼ã¿å ¥ã£ãç¥èãã ãã¨ä¸å¿POSIXæºæ ãã©ãããæ°ã«ããªãããã£ã¦ããã¾ãã åºç¤ç¥èç·¨ ã·ã§ã«ã®ç¨®é¡ ã¾ããPOSIXã«ã·ã§ã«ãå®ç¾©ããã¦ãã¾ãã ããã«æä½éã®æ©è½ã§æºæ ãã¦ãããã®ãPOSIXã·ã§ã«ã¨å¼ã¶ãã¨ã«ãã¾ãããããã/bin/shã§ããå ·ä½çãªå®è£ ã¯bshãashãdashãããã§ããããã æä½éã®æ©è½ä»¥ä¸ã«è²ã æ¡å¼µããã¦ããã·ã§ã«ãæ¡å¼µPOSIXã·ã§ã«ã¨å¼ã¶ãã¨ã«ãã¾ããå ·ä½çãªå®è£ ã¯bashãzshãkshãªã©ã§ããããã ããã§ã¯è§¦ãã¾ãããPOSIXæºæ ã§ãªãã·ã§ã«ãåå¨ãã¦cshãtcshãªã©ã®ã·ã§ã«ãããã¾ãããã¨ç¢ºãæè¿è©±é¡ã®fishãéã£ããããªã ãã¦ã1ã¤åé¡ã«ãªãã®ã¯æ®æ®µä½¿ãã®ã³ãã³ãã©ã¤ã³ã¯ããããæ¡å¼µPOSIXã·ã§ã«ã§ããããããµã¼ãã§ä½¿ãã·ã§ã«ããããã¤ã¹ã¯ãªããã§å¼
(注ï¼2017/04/10ãããã ãããã£ã¼ãããã¯ãå ã«ç¿»è¨³ãä¿®æ£ãããã¾ããã) ã¯ããã« ç§ã¯Linuxã大好ãã§ããã³ã³ãã¥ã¼ã¿ã¨ã®ããã¨ãã楽ãããªããå¦ã¶ãã¨ãå¤ããªãã¾ããOSã¨ãã¼ãã¦ã§ã¢ã®åºç¤ã¨ãªãåºæ¬ååãå¦ã³ãã人ã«ã¨ã£ã¦ãLinuxã¯ã¨ã¦ãããåºçºç¹ã¨è¨ããã§ãããã ãåãã®ã¨ããLinuxã¨ã¯å¤§æµã®å ´åããã°ã©ã ï¼ã³ãã³ãï¼ãéãã¦ããã¨ããã¾ããLinuxã¨ä»ã®UNIXç³»ã·ã¹ãã ãæã£ã¦ããç¹å¾´ã¯ãã³ãã³ãã©ã¤ã³ã¨ããã¤ãã®ã³ã³ã»ããã§ããããã°ã©ã ã®æä¾ããå ¥åã¨åºåãçµ±åããã°ããã¼ã¿ãæä½ããã®ã«é常ã«ãã¯ãã«ãªãã©ãããã©ã¼ã ã«ãªãã¾ãã Linuxã®ã³ãã³ããããã°ã©ã ããã¤ããªï¼ä½ã¨å¼ãã§ãããã®ã§ããï¼ã®å¤§é¨åã¯ã/usr/binã/usr/sbin/ã/binããã¦/usr/local/binã«åå¨ãã¦ãã¾ãããããã®ãã£ã¬ã¯ããªãè¦ãã°ããã
Linuxåºæ¬ã³ãã³ãTipsä¸è¦§ æ¬é£è¼ã§ã¯ãLinuxã®åºæ¬çãªã³ãã³ãã«ã¤ãã¦ãåºæ¬çãªæ¸å¼ãããªãã·ã§ã³ãå ·ä½çãªå®è¡ä¾ã¾ã§ãåãããããç´¹ä»ãã¦ããã¾ããä»åã¯ãã³ãã³ãæ¬ä½ã¨é¢é£ãã¡ã¤ã«ï¼ããã¥ã¢ã«ãã¡ã¤ã«ãã½ã¼ã¹ãã¡ã¤ã«ï¼ãæ¤ç´¢ãããwhereisãã³ãã³ãã§ãã whereisã³ãã³ãã¨ã¯ï¼ ãwhereis ã³ãã³ãåãã§ãã³ãã³ãæ¬ä½ããã³ããã¥ã¢ã«ãã¡ã¤ã«ï¼æ¬é£è¼ç¬¬86ååç §ï¼ã¨ã½ã¼ã¹ãã¡ã¤ã«ã®ãã¹ã表示ãã¾ãã ä¼¼ããããªæ©è½ãæã¤ã³ãã³ãã¨ãã¦ã¯ããwhichãã³ãã³ãã¨ãtypeãã³ãã³ããããã¾ããwhichã¯ã³ãã³ãæ¬ä½ã®ãã¹ã表示ããã³ãã³ãã§ãtypeã¯ããã®ã³ãã³ãåã§bashãä½ãå®è¡ããããã表示ããã³ãã³ãã§ãã ï¼»åèï¼½PATHãç解ãã¦ãã³ãã³ãã®å¨ãããæ¢ãã¦ã¿ããï¼é£è¼ï¼âå¿ç¨åâãã¤ããããã®Linuxåå ¥é 第8åï¼ ï¼»åèï¼½type
ãã®ææ¸ã¯ãªãã§ããï¼ ãã®ææ¸ã¯*nixç³»ã®ã·ã¹ãã ã«ãããããã»ã¹ãã·ã°ãã«ãªã©ã«ã¤ãã¦èª¬æãããã¨ãç®çã«æ¸ããã¾ããããããã»ã¹ã¨ãããããã£ã¦ãªãããã¡ããã¨ç¥ããããªãã¿ãããªã²ã¨ãã¡ãæ³å®èªè ã§ãã æ¸ãã¦ããããã 㯠gist ã§ç®¡çããã¦ããã®ã§ãããããªã¥ã¼ã ã大ãããªã£ãã®ã§ github ã§ç®¡çããããã«å¤ãã¾ããã ç®æ¬¡ å°å ¥ ããã»ã¹ã®çæ ããã»ã¹ã¨ãã¡ã¤ã«å ¥åºå ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ preforkãµã¼ãã¼ãä½ã£ã¦ã¿ãã ã¾ã³ãããã»ã¹ã¨å¤å ããã»ã¹ ã·ã°ãã«ã¨kill ããã»ã¹ã°ã«ã¼ãã¨ãã©ã¢ã°ã©ã³ãããã»ã¹ epub 㨠pdf epubåãããã®ãpdfåãããã®ã release ãã£ã¬ã¯ããªã«å ¥ã£ã¦ãã¾ããthanks to mitukiii & moznionï¼ ã©ã¤ã»ã³ã¹ ãã® ä½å 㯠ã¯ãªã¨ã¤ãã£ãã»ã³ã¢ã³ãº 表示 - ç¶æ¿ 3.0 é移
ãããã¤ã³ã¿ã¼ããã Advent Calendaræçµæ¥ã¯ã硬派ã«Linuxã®ã¡ã¢ãªã«é¢ããåºç¤ç¥èã«ã¤ãã¦ã¿ã¦ã¿ããã¨æãã¾ãã æè¿ã¯ãµã¼ãã¼ãæèããããã°ã©ãã³ã°ã§ããããã«ãªããã¡ã¢ãªã®ç©ºã容éã«ã¤ãã¦æèãããã¨ãå°ãªããªãã¾ããããããä½ã¬ã¤ã¤ã¼ã«è§¦ããªããã°ãããªãã·ãã¥ã¨ã¼ã·ã§ã³ã«ãªã£ãéã«ãOSãç®ã®åã«åç¶ã¨ãã人ãå¤ãããã§ãã åºæ¬çã«Linux ã®ããã©ã¼ãã³ã¹ã«ã¤ãã¦ãã¡ã¢ãªãããããã¤ãã°ããã¨ããã¹ã¯ãããããªãã»ããè¯ã ã¨ãããã®ãããã¯è¯ãç¥ããããã¨ã ã¨æãã¾ãã ãã ããªãã¨ãªã ps ã³ãã³ãã free ã³ãã³ã ãªã©ã®çµæãè¦ãã ãã§ãªããããå°ãã¡ã¢ãªã®ãã¨ã«ã¤ãã¦æãä¸ãã¦ã¿ã¦ã¿ããã¨æãã¾ãã ã¡ã¢ãªã¨ãã£ãã·ã¥ Linux ã«ãããã¡ã¢ãªã®ç¶æ ã大ããåããã¨ã使ç¨ä¸ã®ã¡ã¢ãªãããã£ãã·ã¥ãã空ãã¡ã¢ãªããã¹ã¯ãããã® 4 ã¤ã«å
TLPI (The Linux Programming Interface) åã ã TLPI ã®è¼ªèªã®éã« @matsumotory ããã·ã°ãã«ã»ããããããã¾ã¨ããããã«ã¨æ令ãåºãã®ã§ãæé ãªæãã§ã¾ã¨ãã¾ããã ã·ã°ãã«ã¨ã¯ ããã»ã¹ééä¿¡ã®ä¸ç¨®ããããã»ã¹ã«ã·ã°ãã«ãéä¿¡ããã¨ããã®ããã»ã¹ã®æ£å¸¸å¦çã«å²ãè¾¼ãã§ãã·ã°ãã«åºæã®å¦ç(ã·ã°ãã«ãã³ãã©) ãå®è¡ããããããã»ã¹å´ã§ã¯ãã·ã°ãã«ãåä¿¡ããéã®åä½(ã·ã°ãã«ãã³ãã©) ãè¨å®ãããã¨ããã·ã°ãã«ããããã¯ãããã¨ãå¯è½ã ã³ã³ã½ã¼ã«ã§ãããã»ã¹ãçµäºãããããã«kill -9 <PID>ã¨ãCtrl+Cã¨ãããéã«ãã対象ããã»ã¹ã«ã·ã°ãã«ãéä¿¡ããã¦ããã ã¡ãªã¿ã«ãPIDã1ãã® init ã systemd ã«kill -9 1ãã¦ãä½ãèµ·ããªãã(ããããã°æãoom-killer ã« init ã殺ãããè¦
Netflixã®ã·ãã¢ããã©ã¼ãã³ã¹ã¢ã¼ããã¯ãã§ããBrendan Greggæ°ã«ãããLinuxãµã¼ãã«ãã°ã¤ã³ãã¦60ç§ã§ã¾ã調ã¹ããã¨ã®ã¾ã¨ãã ããã©ã¼ãã³ã¹åé¡ã§Linuxãµã¼ãã¼ã«ãã°ã¤ã³ããã¨ãã¦ãæåã®1åã§ä½ã調ã¹ã¾ããï¼ Netflixã«ã¯ãå¤æ°ã®EC2 Linuxãããªãã¯ã©ã¦ããããããã®ããã©ã¼ãã³ã¹ãç£è¦ããã調æ»ãããããããã®æ°ã ã®ããã©ã¼ãã³ã¹åæãã¼ã«ãããã¾ãããã®ä¸ã«ã¯ãã¯ã©ã¦ãå ¨ä½ã«ãããç£è¦ãè¡ãAtlasãããªã³ããã³ãã«ã¤ã³ã¹ã¿ã³ã¹ã®åæãè¡ãVectorãããã¾ãããããã®ãã¼ã«ã¯å¤ãã®åé¡ã解決ããæå©ãããã¦ããã¾ãããåã¤ã³ã¹ã¿ã³ã¹ã«ãã°ã¤ã³ããæ¨æºçãªLinuxããã©ã¼ãã³ã¹ãã¼ã«ãå®è¡ããå¿ è¦ãããå ´åãããã¾ãã ãã®è¨äºã§ã¯ããã使ããã¯ãã®æ¨æºçLinuxãã¼ã«ã使ãã³ãã³ãã©ã¤ã³ã«ããã¦ãæé©åãããããã©ã¼ãã³ã¹èª¿æ»ã
ç®ç OS ã³ãã³ãã«ããããã«ããã¯èª¿æ»æ¹æ³ãã¾ã¨ããã CPU ã¡ã¢ãª I/O ãããã¯ã¼ã¯ ç°å¢ OS: CentOS 5.5 Kernel: 2.6.18-194.el5 x86_64 CPU ãµã¼ãå ¨ä½ã® CPU 使ç¨ç CPU 使ç¨çã確èªããã使ç¨çã 100% ã«è¿ããªã£ã¦ãã(= idle ã 0% ã«è¿ããªã£ã¦ãã)ã¨ããã«ããã¯ã top top ã§ã¯è¤æ°ã®è«ç CPU ãããå ´åããµã¼ãå ¨ä½ã¨ã㦠1 ã¤ã«éç´ããã¦åºåãããã $ top top - 07:23:36 up 45 days, 17:41, 2 users, load average: 7.22, 9.43, 8.03 Tasks: 223 total, 1 running, 222 sleeping, 0 stopped, 0 zombie Cpu(s): 7.1%us, 8.0%sy, 0.0%
ããã©ã¼ãã³ã¹ãªã©ã®èª¿æ»ãããæã«å©ç¨ãã便å©ã³ãã³ãã¡ã¢ã ãããªããããããªãããªã©ããã¨æãã¾ããã¨ããããæ¬ãªã©ãåèã«ã¾ã¨ãããã®ãããã¯ã¢ãããã¦ãã¾ãã åè [24æé365æ¥] ãµã¼ã/ã¤ã³ãã©ãæ¯ããæè¡ â¾ã¹ã±ã¼ã©ããªãã£ããã¤ããã©ã¼ãã³ã¹ãçåéç¨ (WEB+DB PRESS plusã·ãªã¼ãº) çµµã§è¦ã¦ãããã·ã¹ãã ããã©ã¼ãã³ã¹ã®ä»çµã¿ CPU使ç¨çãã¡ã¢ãªãªã©å ¨ä½ã®æ¦è¦ææ¡ top ããã©ã«ãã§ã¯3ç§ãã¨ã«OSã§å©ç¨ãã¦ããããã»ã¹ã®æ°ãç¶æ ãã¾ãOSå ¨ä½ã®ã·ã¹ãã ãªã½ã¼ã¹ç¶æ³ãåããã¾ãã ããã©ã¼ãã³ã¹ãæªãå ´åã«OSå ¨ä½ã¨ãã¦ã©ã®ãªã½ã¼ã¹ã®å©ç¨ãå¤ãã®ã(CPUè² è·ãªã®ãã¡ã¢ãªå©ç¨çãé«ãã®ã)ãªã©ã®å¤æã«æç¨ã ã¨æããã¾ãã top - 22:36:56 up 28 min, 2 users, load average: 0.00, 0.02, 0.
UNIXåãã®ããã»ã¹ãã¥ã¼ã¢ãhtopãéçºãã¼ã ã¯2æ10æ¥ãææ°çãhtop 2.0.0ããå ¬éãããã¯ãã¹ãã©ãããã©ã¼ã 対å¿ãå®ç¾ããåã®ãã¼ã¸ã§ã³ã¨ãªããLinuxã«å ãã¦ãFreeBSDãOpenBSDãMac OS Xããµãã¼ãããã htopã¯Cã§å®è£ ãããã¤ã³ã¿ã©ã¯ãã£ããªããã»ã¹ããã¼ã¸ã£ããã³ã·ã¹ãã ã¢ãã¿ã¼ãtopã³ãã³ãããã¼ã¹ã¨ãã¦ãããé«éãªèµ·åãå ¨ã¦ã®ããã»ã¹ã¨ã³ãã³ãã©ã¤ã³ãé²è¦§ã§ãããªã¹ãæ©è½ããã¦ã¹æä½ã®ãµãã¼ããªã©ãå ãããããã»ã¹çµäºãåªå 度ã®å¤æ´ã«ããã£ã¦ããã»ã¹IDã®å ¥åãä¸è¦ã§ããç¹ãç°ãªãã¨èª¬æãã¦ããã htopã¯ããã¾ã§Linuxã®ã¿ããµãã¼ããã¦ãããããã©ãããã©ã¼ã æ½åºã¬ã¤ã¤ãå°å ¥ããã¯ãã¹ãã©ãããã©ã¼ã ãå®ç¾ãããããã»ã¹ãã¼ã¿åéã®ããã®ãã¸ãã¯ã¯/procãã¡ã¤ã«ã·ã¹ãã ããã¼ã¹ã¨ããUIã¯ç§»æ¤æ§ã®ããã©ã¤ãã©ãªNCur
ã¯ããã« peco, hubã¯åãã使ã£ã¦ã¦ghqã¯åå¨ã¯ç¥ããªããããå¥ã«ãªãã¸ããªç®¡çã¯å¿ è¦ãªãããªã¼ãã¨æã£ã¦ãã®ã§ããã管çãããªãã¸ããªæ°ãå¢ãã¦ãã¦é¢åã«ãªã£ã¦ããã®ã§è©¦ãã«å ¥ãã¦ã¿ããããªãè¯ãã£ãã®ã§ç´¹ä»ãããã¨æãã¾ã ghq, peco, hubã¨ã¯ï¼ ghq ghqã¯ä¸ã§ã軽ãæ¸ããããã«ãªãã¸ããªç®¡çãã¼ã«ã«ãªãã¾ãã ä¾ãã°git cloneã®ä»£ããã«ghq get <repository URL>ã¨ã³ãã³ããæã¤ã¨ghqã«ã¼ããã£ã¬ã¯ããªï¼ããã©ã«ãã§ã¯~/.ghqï¼ä»¥ä¸ã«ãªãã¸ããªãcloneããã ghq listã§ghqã«ã¼ããã£ã¬ã¯ããªä»¥ä¸ã®Gitãªãã¸ããªä¸è¦§ã表示ã ghq look <project>ã§æå®ãããªãã¸ããªã«ç§»åãããã¨ãã£ãããã«ä½¿ãã¾ãã peco pecoã¯æç« ã§èª¬æããã®ã¯é£ããã®ã§ãããCLIä¸ã§ä¾ãã°ps auxãªã©ã®ãã
ã¯ããã« ã¡ã¢ãªä½¿ç¨çãä¸æå¾åã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¤ãã¦èª¿æ»ããã¾ããã®ã§èª¿æ»å 容ã¨å¯¾å¿å 容ã«ã¤ãã¦ãç´¹ä»ãã¾ãã ååèª¿æ» freeã³ãã³ãã§ç¢ºèª $ free -m total used free shared buffers cached Mem: 7986 7657 329 33 99 312 -/+ buffers/cache: 7246 740 Swap: 0 0 0 ã¡ã¢ãªä½¿ç¨éã¯7246MB topã³ãã³ãã§ç¢ºèªãtopã®å¾ã«shift + m top - 12:40:32 up 36 days, 12:26, 1 user, load average: 0.00, 0.01, 0.05 Tasks: 96 total, 1 running, 95 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100
ãã¼ã¸ãã£ãã·ã¥ã«ã¤ãã¦ç¥ããªãã£ãã»è§£æ¾ãã¦ã¿ããã¨ããªãã£ãã®ã§ãã£ã¦ã¿ãæã®ã¡ã¢ã åè ãã¼ã¸ãã£ãã·ã¥ã®è©³ç´°ç¢ºèªã¨åé¤æ¹æ³ Linux ã®ãã¼ã¸ãã£ãã·ã¥ Linux OS ã§ãã£ãã·ã¥ãã¯ãªã¢ããæ¹æ³ (Kernel 2.6.16ï½) ãããããã¼ã¸ãã£ãã·ã¥ã¨ã¯ CPUã¯ã¹ãã¬ã¼ã¸ããç´æ¥èªããã¨ã¯ã§ããªã ä¸è¨ããä¸æ¦ã¡ã¢ãªã«ãã¼ã¿ãèªã¿è¾¼ãå¿ è¦ããã ã¡ã¢ãªã«èªã¿è¾¼ãã ãã¼ã¿ã¯ãã®ã¾ã¾ãã¼ã¸ãã£ãã·ã¥ã¨ãã¦åå©ç¨ãããã¨ã§æ¬¡å以éCPUããã¯é«éã«èªã¿æ¸ããã§ãã ãã£ãã·ã¥ã«ã¯ãã¼ã¸ãã£ãã·ã¥ã¨Slabãã£ãã·ã¥ããã ãã¼ã¸ãã£ãã·ã¥ã¯ä¸è¨ã®ãããªãã£ã¹ã¯ã®å 容ãèªãã ãã¡ã¢ãªã«ãã£ãã·ã¥ããã¨ãããã® Slabãã£ãã·ã¥ã¯ãã£ã¬ã¯ããªã®ã¡ã¿ãã¼ã¿æ å ±ãæ ¼ç´ããdentryããã¡ã¤ã«ã®ã¡ã¿ãã¼ã¿æ å ±ãæ ¼ç´ããinodeæ§é ä½ãªã©ããã£ãã·ã¥ãã¦ããã«ã¼ãã«å ã®ã¡ã¢ãªé
"OSC 2016 Kyoto" ã®çºè¡¨è³æã§ããå½æ¥ã¯ãã®è³æã®cgroupã®é¨å(43ãã¼ã¸)ã¾ã§è§£èª¬ãã¾ããã åèã¨ãªãæ å ±ã«ã¯PDFä¸ãããªã³ã¯ããã¦ãã¾ãããè³æä¸ã®ãªã³ã¯ã¯ Speaker Deck ä¸ã§ã¯ã¯ãªãã¯ã§ããªãã®ã§ PDF ããã¦ã³ãã¼ããã¦ã覧ãã ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}