2019-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« ç®æ¬¡ ã¿ã¤ã-1 ã¿ã¤ãã使ãã(harib09a) ååã¯ãç¡éã«ã¼ãã§å ¨åãè³ãã¦ã«ã¦ã³ããç¶ãã¦ãã¾ããããããã¯ç¡éã«ã¼ããç¹°ãè¿ããããã³ã«èµ·åãã¦ããã®ã§ã¿ã¤ãã¨ãªããã¯ããããã¾ããã ããã©ãããâ¦ï¼ã¯ããã¯æ°ã«åããã¦èª¿æ´ããã¦â¦
ã¯ããã« ããã¯Nim Advent Calendar 2019 25æ¥ç®ã®è¨äºã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ termuxã¨ã¯ Android termuxã¨ã¯ ã¤ã³ã¹ãã¼ã«æ¹æ³ Nimè¨èªã¨ã¨ãã£ã¿ã®ã¤ã³ã¹ãã¼ã« HelloWorld çµããã« termuxã¨ã¯ Android ä¸ã®ä¸ã§æµè¡ã£ã¦ãã¹ããï¼ãã®ä¸ã®Androidã£â¦
åãã« å¹´å ã®ãã¹ãçãçµãã£ãã®ã§æ°è»½ã«ãããï¼ ç®æ¬¡ åãã« ç®æ¬¡ ã¤ãã«ã¦ã£ã³ã㦠ãã£ã¨ãã¦ã¹(harib08a) ç»é¢å¤ãµãã¼ã(harib08b) shtctlã®æå®çç¥(harib08c) ã¦ã£ã³ãã¦ãåºãã¦ã¿ãã(harib08d) å°ãéãã§ã¿ã(harib08e) é«éã«ã¦ã³ã¿ã ã(harâ¦
åãã« ãã¼ããã¾ã¤ããã¤ãã¼ã¹ã«ç¶ãã¦ããã¾ã ç®æ¬¡ åãã« ç®æ¬¡ éãåããå¦ç ã¡ã¢ãªç®¡çã®ç¶ã(harib07a) éãåããå¦ç(harib07b) éãåããå¦çã®é«éå(1)(harib07c) éãåããå¦çã®é«éå(2)(harib07d) çµããã« Cè¨èª sizeof() && éãåãâ¦
åãã« ãã®è¨äºã¯èªä½OS Advent Calendar 2019 - Adventarã®16æ¥ç®ã®è¨äºã§ãã ã©ããªè¨äºããããã®ï¼ èªä½OSã®ã¢ããã³ãã«ã¬ã³ãã¼ã©ããããã¢ããã³ãã«ã¬ã³ãã¼èªä½åãã¦ã¨ãªãã¾ããã¤ããªãæç« ã§ãããããããé¡ããã¾ãã ä»åã®è¨äºã¯ãèªåâ¦
ã¯ããã« ã¡ã¢ãªã®å®¹éãã§ãã¯ã¨ã¡ã¢ãªç®¡çã®ã¯ãããããããã§ãã ã¡ããã©OSã®è¬ç¾©ã§ã¡ã¢ãªãç¿ã£ã¦ããã®ã§ã楽ãã¿ã§ã Cè¨èªã®ã³ã¡ã³ããèªã¿ã«ããã£ãã®ã§æ¹è¡ãã¾ããã ããã ã¯ããã« ããã æ¬æ ã½ã¼ã¹ã®æ´ç(harib06a) ã¡ã¢ãªå®¹éãã§ãã¯(â¦
åãã« ãã¯ããã¦èªã8086ãã®ç°å¢ãä½ããããªã¨æãä½æãã¾ããã ç®æ¬¡ åãã« ç®æ¬¡ VMwareã®ãã¼ãã¦ã§ã¢è¨å® ã²ã¹ãOSã®ã¤ã³ã¹ãã¼ã«ã®ä»æ¹ ã²ã¹ãOSã®é¸æ ãã£ã¹ã¯å®¹éã®æå® ã¡ã¢ãªã®è¨å® ISOãã¡ã¤ã«ã®ã»ãã çµäº ã¤ã³ã¹ãã¼ã« ãã¼ããã£ã¹ã¯ãâ¦
åãã« æè¿åºç¤ãå°ãã¤ããã®ããã½ã¼ã¹ã³ã¼ããã大ä½ã®å¦çå 容ãåããããã«ãªã£ã¦ãããã§ããï¼èªä½OSæ¬æ§æ§ã§ãããªã®ã§ãããããã¯è¨äºã®è¨è¿°ã®å¤§é¨åãã³ã¡ã³ãã¨ãã¦ãã½ã¼ã¹ã³ã¼ãã«ä¹ãããã¨ã§ãã¹ãã¼ããä¸ãã¦ããã¾ãã ç®æ¬¡ åãã« ç®â¦
åãã« ã¤ãã«1é±éï¼ãã¦ã¹ã«åãã¦é å¼µã£ã¦ãããã¼ ä»åããåçµããã³ã¼ãã®ã³ã¡ã³ããå¢ããã¦ãããããªã¨ãèãã¦ãã¾ãã ç®æ¬¡ åãã« ç®æ¬¡ æ¬æ ãã¼ã³ã¼ããåå¾ããã(harib04a) å²ãè¾¼ã¿å¦çã¯ææ©ã(harib04b) FIFOãããã¡ãä½ã(harib04c) FIâ¦
åãã« ã¾ã ã¾ã 6æ¥ç®ã§ã...ã§ãæè¿å®å ¨ã«ã¯ã¾ã£ãã®ããã²ãããèªä½OSããã¦ããã®ã§ã©ãã©ãé²ãããã§ãã ç®æ¬¡ åãã« ç®æ¬¡ æ¬æ ã½ã¼ã¹ãã¡ã¤ã«ã®åå²(hairb03a) Makefileã®æ´ç(harib03b) ãããã¼æ´å(harib03c) ããæ®ãã説æ PICã®åæå(haribâ¦
åãã« ä»åã¯ãæåã¨ãã¦ã¹ãæåãããã¿ããã§ãï¼ ç®æ¬¡ åãã« ç®æ¬¡ æ¬æ èµ·åæ å ±ã®åãåã(harib02a) æ§é ä½ã使ã£ã¦ã¿ã(harib02b) ç¢å°è¡¨è¨ã使ã£ã¦ã¿ã(harib02c) ã¨ã«ããæåãåºããã(harib02d) ãã©ã³ããå¢ãããã(harib02e) æååãæ¸ãâ¦
åãã« ä»æ¥ã¯ãç»é¢è¡¨ç¤ºããã¿ããã§ãããã£ã¨ã ã¼ï¼ ç®æ¬¡ åãã« ç®æ¬¡ æ¬æ Cè¨èªããã¡ã¢ãªã«æ¸ãè¾¼ã¿ãã ãã¾ãã¾æ¨¡æ§ ãã¤ã³ã¿ã¸ã®ææ¦ ããã«è©³ãããã¤ã³ã¿ã ãã£ã¹ã ãã¤ã³ã¿ å¤æ°ã®æ³¨æ ãã¤ã³ã¿ã®å¿ç¨ï¼ï¼ï¼ ãã¤ã³ã¿ã®å¿ç¨ï¼ï¼ï¼ è²çªå·è¨å® â¦
åãã« å¼ãç¶ã30æ¥OSèªä½ãé²ãã¦ããã¾ãã ããã åãã« ããã ããã»ãã¨ã®IPLãä½ãã(harib00a) ã¬ã¸ã¹ã¿ã®ç¶æ ãããã¡ã¢ãã¬ã¹ EFLAG.CF 次ã®ã»ã¯ã¿ãèªããã åç §è³æ ã¨ã©ã¼ã«ãªã£ããããç´ãã 18ã»ã¯ã¿ã¾ã§èªãã§ã¿ã OSæ¬ä½ãæ¸ãå§ãã¦â¦
ããã ããã ISOãã¡ã¤ã«ã®ã¤ã³ã¹ãã¼ã« Viratualbox VMware X230 æååã対ç ãã©ã³ããå ¥ãã å®æ©ã§ãã£ãã¨ããã¾ã§ ã¤ã³ã¹ãã¼ã« èµ·å ã¤ã³ã¹ãã¼ã«ãã¼ã« è¨èªã®é¸æ ãã±ã¼ã«ã®é¸æ ãã¼ãã¼ãã®è¨å® ãã¼ãã£ã·ã§ã³ ã¦ã¼ã¶ã¼è¨å® ã¤ã³ã¹ãã¼ã«å¾â¦
åãã« ä»åã¯ãWindowsï¼ï¼ã®æ¹ã§éçºãã¦ããããã§ããï¼Linuxã§ãã£ã¦æ«æãããªãã¦è¨ããªãâ¦ï¼ å¾ã¯ãèªä½OSã®ããã°ã調ã¹ã¦ã¿ãã¨ããªããããã«Macã®è¨äºãå¤ãã®ã§Win ã§ãã£ãã®ããã£ã¦ãããããããªããã¨æãã¾ãã¦â¦ï¼ããã°ã§ããï¼ããæ¸ãâ¦
ç°å¢ OSï¼Ubuntu19.04 LTS æé 1,ããã±ã¼ã¸ã®æ´æ° sudo apt update 2,åæã½ããã¦ã§ã¢ã®ã¤ã³ã¹ãã¼ã« sudo apt install -y \> apt-transport-https \> ca-certificates \> curl \> software-properties-common 3,å ¬ééµã®ã¤ã³ã¹ãã¼ã« curl -faSL http://â¦
ã¯ããã« sudo apt-get update ãè¡ã£ãéã« E: ãã㯠/var/lib/apt/lists/lock ãåå¾ã§ãã¾ããã§ãã - open (11: ãªã½ã¼ã¹ãä¸æçã«å©ç¨ã§ãã¾ãã)E: ãã£ã¬ã¯ã㪠/var/lib/apt/lists/ ãããã¯ã§ãã¾ãã ã¨ããã¨ã©ã¼ãåºã¦ããã®ã§å¯¾å¦ãè¡ã£ããâ¦
åãã« è³¼å ¥ãããã¼ãPCãLinuxã®ç·´ç¿ç¨ã¨ãã¦Linuxç°å¢ãä½æãã¦ãéä¸ãªã®ã§ãã¡ã¢ã¡ã¢ï½ ç°å¢ ãã¼ãï¼thinkpadx230 CPUï¼Core i5-3320M ããã»ããµ 2.6GHï½ SSDï¼Crucial MX500(250GB) ã¡ã¢ãªï¼ï¼ï¼§ï¼¢ï¼ï¼¤ï¼¤ï¼²ï¼ LiveUSBããã¼ãPCã«æ¿å ¥ãèµ·åãã èµ·â¦
ã¯ããã« ä½ããJuliaãæµè¡ã£ã¦ããï¼ã£ã½ãã®ã§æµè¡ãã«ä¹ã£ã¦ã¿ãã ç°å¢ OSï¼Ubuntu19.04 åè ã»JuliaãUbuntu16.04ã«ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãï½Jupyter notebook - Qiita ï¼ï¼å ¬å¼HPãããã¦ã³ãã¼ããã ã»ææ°ã®ãã®ãã¤ã³ã¹ãã¼ã«ããå ´å å ¬å¼ãµã¤ãâ¦
ç°å¢ OSï¼Ubuntu 19.04 åå Firefoxã®è¨èªè¨å®ãè±èªã«ãªã£ã¦ããã®ãåé¡ã ã£ãããã ã ç´ãæ¹ ã¾ããå³ä¸ã®ä¸æ¬ã®æ¨ªç·ããè¨å®ã¸ç§»åããã ä¸ã«ã¹ã©ã¤ãããã¦ããã¨è¨èªã¨ããæ¬ãããã ããã®ãè¨èªè¨å®ãæ¼ãã ãã®ã¾ã¾ã ã¨ãè±èªã®ã¾ã¾ã«ãªã¡ããâ¦
ç°å¢ OSï¼Ubuntu19.04 ããæ¹ ãã®ããã«æ¥æ¬èªè¡¨è¨ã®ã¾ã¾ã ã¨CUIã§æä½ãã¥ããã®ã§ãè±èªè¡¨è¨ã«ãããã ã³ãã³ãã©ã¤ã³ä¸ãã次ã®ã³ãã³ããå®è¡ããã ããã¨æ¬¡ã®ãããªè¦åãåºã¦ããã®ã§ããã®ã¾ã¾é²ãã ããã¦ãlsã³ãã³ãã§ç¢ºèªããã¨ã次ã®ããã«â¦
ã¯ããã« Ubuntu19.04ã§ã®æ¨æºã¹ã¯ãªã¼ã³ã·ã§ãããã·ã§ã¼ãã«ããã§ä½¿ã£ãã¨ãã«ãhomeãã£ã¬ã¯ããªã«ä¿åããã¡ããï¼ã£ã¦äººåãã®ã¡ã¢ã¡ã¢ã§ãã OS Ubuntu19.04 ããæ¹ ã¾ããCUIã§ãããã人åãã®ããæ¹ã 以ä¸ã®ãããªã³ãã³ããæã¡ã¾ããï¼no000ã®â¦
åãã« ä»åã¯ä¸å¤ã§è³¼å ¥ããThinkPadx230ãSSDã¨ã¡ã¢ãªãæè£ ããäºå®ã ã£ããä¼å µï¼å¾è¿°ï¼ãããã®ã§SSDã®ã¿æè£ ããã 使ç¨ãããã® ãã¼ãPCï¼ThinkPadx230 SSDï¼Crucialã®MX500 ã»ãã³ã¨ãã§å£²ã£ã¦ãããã©ã¤ãã¼ ããããªã¼ãå¤ã ãã®ããã«ããããªâ¦
ç°å¢ Ubuntu19.04 Atom åèè³æ https://qiita.com/suecharo/items/dbc525dd5f39bdb8403c åææ¡ä»¶ juliaã®ãã¹ãéãã¦ããå¿ è¦ããã æ¥æ¬èªåãã ã¿ã¼ããã«ãã atom ã¨æã¡èµ·åãã Ctrlï¼Shift+P ã§ã³ãã³ããã¬ããã®èµ·å Application:Show Preferrâ¦
ç°å¢ OSï¼Ubuntu19.04 åèè³æ flight-manual.atom.io ããæ¹ ã¿ã¼ããã«ã§æ¬¡ã®ã³ãã³ããã㤠$wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - $sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditoâ¦
ã¯ããã« Juliaè¨èªãå ¥ããã¯ããããJupyternotebookãå ¥ãã¦ãªããã¨ãå¿ãã¦ãã®ã§Anacondaãã¨å ¥ãã åèè³æ https://www.virment.com/setup-anaconda-python-jupyter-ubuntu/ ï¼ï¼Anacondaãå ¬å¼ããã¤ã³ã¹ãã¼ã«ãã Anacondaã®å ¬å¼ã§ãã Anacondaâ¦