ã¤ããã㪠JavaScript ã§æ¸ããªãã»ä½¿ããªããã®: var, function, then, jQuery, ãã®ä»JavaScript â»2021/11/10: è¨äºãå ¨ä½çã«ç·¨éãä¸é¨å 容追å ãã¾ããã â» IE çã§ã¯ Babel ãããªãã£ã«çã使ç¨ããåæã§ãã 0. ã¾ã¨ã var ãæ¸ããªã let ããªãã¹ãæ¸ããªã ãªãã¹ã const ã使ã é¢æ°ã®å¼æ°ã¯ const ã®ããã«æ±ã function ããªãã¹ãæ¸ããªã ã¢ãã¼é¢æ°ã¾ãã¯ã¯ã©ã¹ããªãã¸ã§ã¯ãã®ã¡ã½ããå®ç¾©ã使ã é¢æ°å®£è¨ã§ãªãé¢æ°å¼ã使ç¨ãã çè«ä¸ã©ããã¦ã function ãå¿ è¦ãªå ´åããã ã¸ã§ãã¬ã¼ã¿é¢æ° function* 㯠IE 以å¤ã§ã¯åºæ¬çã«ä½¿ç¨ã§ãã then() ãæ¸ããªã await ã使ã çæ³çã«ã¯ jQuery ã使ããªã ç´ç²ãª WEB API ã使ç¨ã㦠DO
â»è£è¶³ ãµã¼ãã¼å ¨ä½ã®ã¡ã¢ãªä½¿ç¨éã¯åè¿°ã®/proc/meminfoãfreeã³ãã³ãããã§ãåºããã®ã§ãã ããã ã¨psã³ãã³ãã®çµæã¨å°ãããã¦ãã¾ãã®ã§psã³ãã³ãã«çµ±ä¸ãã¦ãã¾ãã è¨ç® ããã¾ã§ã§åãã£ãäºãæ´çãã¾ãã ãµã¼ãã¼ã®æè¼ã¡ã¢ãª = ç´2GBãã»ã»ã»â ç¾æç¹ã®ç·ä½¿ç¨ã¡ã¢ãª = ç´920MBãã»ã»ã»â¡ ãã¡ãApacheåããã»ã¹ã®ä½¿ç¨ã¡ã¢ãª = ç´800MBãã»ã»ã»â¢ Apacheåããã»ã¹ä»¥å¤ã®ä½¿ç¨ã¡ã¢ãª = ç´120MBãã»ã»ã»â£(â¡ââ¢) Apacheåããã»ã¹ï¼ã¤ãããã使ãã¡ã¢ãª = ç´40MBãã»ã»ã»â¤ ãããããã£ããè¨ç®ãã¦ããã¾ãã Apacheåããã»ã¹ä»¥å¤ç¨ã«æ®ãã¡ã¢ãª = 500MBãã»ã»ã»â¥(â£ãå ã«è¶ ãã£ããï¼ä½è£ãæã£ã¦) Apacheåããã»ã¹ã§ä½¿ãã¡ã¢ãª = 1500MBç¨åº¦ãã»ã»ã»â¦(â ââ¥) çæã§ããApacheããã»ã¹æ°
ã¡ã¢ãªã®ç¶æ 確èªã³ãã³ã freefree ã³ãã³ãã¯ã¡ã¢ãªã®å©ç¨ç¶æ ã確èªãããã¨ãã§ãã¾ãã ä¾ãã°ä»¥ä¸ã®ããã«è¡¨ç¤ºããã¾ãã(æ°å¤ã®åä½ã¯ KiB= 1024 Bytes) [root@localhost ~]# free total used free shared buff/cache available Mem: 3868920 197528 3402296 8680 269096 3444844 Swap: 839676 0 839676ããã (total, used, free, shared, buff/cache, available) ã®ããããã®é¢ä¿ã¯ä¸å³ã®éãã§ãã ãã®ã³ãã³ãã§ãã¡ã¢ãªã®ç©ºãç¶æ³ã確èªãããã®ã§ããã°ãfree ãè¦ãããã available ãè¦ã¾ãããã ã¨ããã®ããLinux ã®ç¹æ§ã¨ãã¦ã空ãã¡ã¢ãªãç¡é§ã«ããªããã¨ããè¨è¨ææ³ã®å
åãã¾ãããæ¥ç¥ãããªãã¾ãä»äººã®è¿·æãªã©ãã¾ããã«ãèªåã®é½åãææã ãã§è¡åãããã¨ãâ½ãåé¡ãã¯åãã¾ãããã¨ããããããããã¾ãé¢ã®ç®ãåããã¨ããç¡æ¥åé¡ãã¡ãããããã¨ãããã åºå ¸ ãæé¸ãããããåç¨çªããã¡ãããå山移æã»ããããã¶ãã å¥ä¾ åé¡ç¡æ¥ãªé¢ã ç¨ä¾ ããã«ç§ãåé¡ç¡æ¥ã§ããä»æ´ããã®ããã«æ³£ãã¤ãããã«ã¯ãããªãã£ãã<æªä¸éã»ç«å® ã®äºº> é¡èª 寡å»é®®æ¥ æ´»ç¨å½¢ ãâãã
ãå¨ã®å¤ªå ¬æãæããã«å°ããããã¨ããé¢ç¸ãã¦å»ã£ã妻ã復ç¸ãæ±ãã¦æ¥ãããçã®æ°´ããã¼ãããã®æ°´ããã¨ã«ãã©ãããæ±ãã«å¿ãããã¨è¨ã£ã¦å¾©ç¸ãæ絶ããã¨ãããæ¾éºè¨ãä¸ã®æ äºãããåæ¼¢ã®æ±è²·è£ã®è©±ã¨ãã¦åæ§ã®æ äºãè¦ãããã ï¼ ä¸åº¦å¥ãã夫婦ã®ä»²ã¯ãã¨ã©ããã«ãªããªããã¨ã®ãã¨ãã ï¼ ä¸åº¦ãããã¨ã¯ããã¯ãåãè¿ããã¤ããªããã¨ã®ãã¨ãã
OSï¼Ubuntu 18.04 Tensorflowã§ãã£ã¼ãã©ã¼ãã³ã°ãè¡ã£ã¦ããæãå¦ç¿ãå§ã¾ã£ã¦æ°æéæ¾ç½®ããé ã«ã¢ãã¿ã¼ã確èªãã¦ã¿ãã¨CPU使ç¨çã100%ã«ãªããã³ãã³ãå ¥åãåãä»ããªãç¶æ ã«ãªã£ã¦ããã nmonã§ã¯CPU使ç¨çã天äºã«å¼µãä»ãã¦ãããtopã§ã¯kswapdãç°å¸¸ã«é«ãè² è·ãããã¦ãããã¨ã示ãã¦ããã ã³ãã³ãå ¥åãåãä»ãã¦ããªãã£ãã®ã§å¼·å¶çã«åèµ·åã kswapdã¯ä»®æ³ã¡ã¢ãªå¨ãã調æ´ããã·ã¹ãã ããã»ã¹ããããé »ç¹ã«ã¹ã¯ãããèµ·ããã¨CPUãç¬å ãã¦ãã¾ãããã The process you referred to, kswapd0, manages virtual memory and may be having issues due to moving processes to SWAP too frequently, causing cpu
ç§ã¯é·å¹´ã«æ¸¡ã£ã¦ãRuby on Railsã¢ããªã§ãã¾ãã¾ãªã»ãã¥ãªãã£åé¡ãçºè¦ã»ä¿®æ£ããæ©ä¼ãä½åº¦ãããã¾ããããã®çµé¨ãå ã«ãçããã®Railsã¢ããªãããã«ã»ãã¥ã¢ã«ããæ¹æ³ããç´¹ä»ãããã¾ããããã§ãç´¹ä»ããã»ãã¥ãªãã£åé¡ãçãã¾ã®ã¢ããªã§çºçãã¦ããªããã°å¹¸ãã§ãã ð 1. ãã»ãã·ã§ã³ã«æéãè¨å®ãã¦ããªããåé¡ ð ã»ãã¥ãªãã£åé¡ã®è§£èª¬ ãRailsã»ãã¥ãªãã£ã¬ã¤ããã«ã¯ä»¥ä¸ã®ããã«è¨è¼ããã¦ãã¾ãã ã»ãã·ã§ã³ãç¡æéã«ããã¨ãæ»æãããæ©ä¼ãå¢ããã¦ãã¾ãã¾ã (ã¯ãã¹ãµã¤ããªã¯ã¨ã¹ããã©ã¼ã¸ã§ãª (CSRF)ãã»ãã·ã§ã³ãã¤ã¸ã£ãã¯ãã»ãã·ã§ã³åºå®ãªã©)ã ã¦ã¼ã¶ã¼ã¨ã¯ã¹ããªã¨ã³ã¹ãèæ ®ããã°ï¼ã¦ã¼ã¶ã¼ã¯ãã£ã¨ãµã¤ã³ã¤ã³ããã¾ã¾ã«ãªãã®ã§ãã¢ããªãéããã³ã«ãµã¤ã³ã¤ã³ããªãã¦ãæ¸ãï¼ãç¡æéã»ãã·ã§ã³ã®æ¹ãæ£ããã¢ããã¼ãã¨æããããã§ãããç¡æéã»ãã·
DockerãKubernetesãªã©ã®ã³ã³ããæè¡ã¯å¤ãã®ã·ã¹ãã ã§ç¨ãããã¦ãã¾ãããåå¿è ãæ¦è¦ãç解ããã®ã¯é£ãããã®ããããªã³ã³ããæè¡ã®æ¦è¦ã«ã¤ãã¦ãã¯ã©ã¦ãã¹ãã¬ã¼ã¸ãµã¼ãã¹ãéå¶ããBackblazeãåãããããã¾ã¨ãã¦ãã¾ãã What Are Containers? https://www.backblaze.com/blog/what-are-containers/ ã»ç®æ¬¡ âã³ã³ããã¨ã¯ä½ãï¼ âã³ã³ããã¨ä»®æ³ãã·ã³ã®éãã¯ï¼ âã³ã³ããã®ã¡ãªããã¯ï¼ âã³ã³ããã®ç¨éã¯ï¼ âDockerã¨ã¯ä½ãï¼ âKubernetesã¨ã¯ä½ãï¼ âã³ã³ããã¨ã¯ä½ãï¼ ç©æµã®ä¸çã«ããããã³ã³ãããã¯ãå½¢ç¶ããµã¤ãºãè¦æ ¼åããç°ãªãã¡ã¼ã«ã¼ã製é ããè¹è¶ã»é»è»ã»ãã©ãã¯ãªã©ã®ç§»åæ段ããä¸çä¸ã®æ¸¯ãªã©ã®ãç°ãªãç°å¢ãã§ãåãããã«ç©ãéãã ãä¿ç®¡ãããã§ããããã«ãããã®ã§ãã
æååãªãã»ããã¯ãstringåã®å¤æ°ãé åï¼[]ï¼ã¨åãè¨è¿°ã§æååå ã®ä¸æåããã¤ãããã®ã§ãã PHPã®æååãªãã»ããã®ä½¿ãæ¹ããåå§çãªC(C++)ãå¤æ°ã®åã«å³ããJavaãæè¿ã¡ã¸ã£ã¼ææ ¼ãã¦ããPythonã®ãµã³ãã«ã³ã¼ãã使ã£ã¦æ¯è¼ãã¦ããã¾ãã æååãªãã»ããã¨ã¯ä½ãï¼ ãªãã»ããï¼offsetï¼ã¯ãä½ç½®ãã§ããæååãªãã»ããã¯ãããä¸æåã®ä½ç½®ã®ãã¨ã stringåå¤æ°ã§é åã¨åãæ¸ãæ¹ï¼$variable[]ï¼ã§åç §ã»å¤æ´ãã§ãã¾ãã PHPã§ã¯æååãªãã»ããã使ãã¾ãããããã°ã©ã è¨èªã«ãã£ã¦ã¯ã¨ã©ã¼ã«ãªãã¾ãã ãã®ãããªè¨èªã§ã¯ãPHPã®ããã«æååãªãã»ããã¨é åãåãæ¸ãæ¹ããããããªææ§ãªãã¨ã¯è¨±ãã¾ãããJavaã代表çã§ãã ã¾ããæååãªãã»ãããé åã¨åãæ¸ãæ¹ã§ä½¿ããã¨ã¯ãã¾ãããã¾ãããæååã®ãªãã»ããã¯1byteãã¤ã®ä½ç½®ãªã®ã§
1.æ¨é ¢æ¶²ã»ç«¹é ¢æ¶²ã¨ã¯ä½ã§ããï¼ æ¨æã竹çã®æ¤ç©åæãçåãã¦æ¨çã竹çã製é ããéã«çºçããç ã®æåãå·å´ãã¦å¾ãããç»èã®ãã水溶液ã§ããæ¤ç©åæãæ¨æã®å ´åãæ¨é ¢æ¶²ã¨è¨ãã竹ã®å ´åãç«¹é ¢æ¶²ã¨ããã¾ããæåã¯ãæ°´åãç´90ï¼ ã§ãæ®ãã®ç´10ï¼ ãææ©ååç©ã§ããææ©ååç©ç´10ï¼ ã®ãã¡5ï¼ ãé ¢é ¸ï¼é£é ¢ã®æåï¼ã§ãæ®ãã®ï¼ï¼ ã«ãã§ãã¼ã«é¡ãã¢ã«ã³ã¼ã«é¡çã®ç´200種é¡ã®æåãå«ã¾ãã¾ãã 2.æ¨é ¢æ¶²ã»ç«¹é ¢æ¶²ã«ã¯ã©ããªå¹æããããã©ã®ããã«ãã¦ä½¿ç¨ããã®ã§ããï¼ æ¨é ¢æ¶²ã»ç«¹é ¢æ¶²ã®ç¨éã¯åºãã主ã«è¾²ç£ç©ãçç£ããããåå£æ¹è¯è³æãæ¤ç©æ´»æ§å¤çã¨ãã¦å©ç¨ããã¦ãããææ©è¾²ç£ç©ã®æ¥æ¬è¾²æè¦æ ¼ã«ããããè¥æåã³åå£æ¹è¯è³æãã¨ãã¦èªãããã¦ãã¾ããåãå è¥ã®çºé µä¿é²å¤ãã´ãå¦çç¨æ¶èå¤ãéè¯ç«çã®å¿é¿å¤ãé£åä¿åã®ããã®ç»è£½ç¨ã家çã»é¤æ®éã®é£¼æã¸ã®æ·»å ããã®ä»å粧åçããããããªåéã§å©ç¨ããã¦
ãè¶çå«ã¡ããããããã®ä¸å ãä¸åã«è³ãã¾ã§é«å®ã«å°±ããã®ã§ãè²ã¦ãã®å°¾ã§é£¾ã£ãé«å®ç¨ã®å ã足ããªããªããç¬ã®å°¾ã§é£¾ã£ãéã«åããã®å ãç¶ãã ãããã¨ãããããã¨ãããææ¸ãè¶çå«ä¼ã®æ äºããã ï¼ ãããããã®ã®ãã¨ã«ãã¤ã¾ããªããã®ãç¶ããã¨ã®ãã¨ãã ï¼ ä»äººã®ä»äºãåãç¶ãã§ãããã¨ãã¸ããã ã£ã¦ããèªã
Laravel ã§ã¯ããã©ã«ã㧠Blade ã¨ãããã³ãã¬ã¼ãã¨ã³ã¸ã³ãçµã¿è¾¼ã¾ãã¦ãã¾ãã Laravel ã§ãµã¤ããæ§ç¯ããå ´åããã»ã©ã®çç±ããªãéãã¯ãã® Blade ã使ã£ã¦ãã¥ã¼ãä½æãããã¨ã«ãªãã¨æãã¾ãã ããã§ã¯ Blade ã®ä½¿ãæ¹ã¯å¤§ããåãã¦åã¤ã®ã»ã¯ã·ã§ã³ã«åãã¦èª¬æè´ãã¾ãã ã¬ã¤ã¢ã¦ãå®ç¾© å¶å¾¡æ§æ ãã¼ã¿è¡¨ç¤º ãã®ä» Bladeã§ã¯ ãã£ã¬ã¯ãã£ã ã使ã£ã¦ãã¥ã¼ãä½æãã¦ããã¾ãã ä»å㯠Blade ã®ãã£ã¬ã¯ãã£ãã®ä½¿ãæ¹ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ãã ã ãã£ã¬ã¯ãã£ãã¨ã¯ ã Blade ã§ä½¿ããã@ ããå§ã¾ãç¯å²å ã§ãç¹å®ã®å¦çãããè¨è¿°æ¹æ³ã§ãã ããã®ãããã§ã³ã¼ããã¹ãããªãã¾ãã
Eclipseã¨gitã使ã£ã¦éçºãè¡ã£ã¦ããã¨ããã¡ã¤ã«ãå°ãä¿®æ£ãã¦åä½ç¢ºèªãè¡ã£ã¦ã¿ãããããã¨ãããã¾ãã åä½ç¢ºèªãçµãã£ã¦ããã¡ã¤ã«ãå ã«æ»ããã¨ããã¨ãã«ç°¡åã«å ã«æ»ãæ¹æ³ãã¡ã¢ã§ãã ï¼ã¤ãæ°ãã¡ã¤ã«ãå ã«æ»ã ä¿®æ£ãããã¡ã¤ã«ãå°ãªãå ´åã¯ãã²ã¨ã¤ã²ã¨ã¤å ã«æ»ãã®ãå®å ¨ã§ãã ãã®å ´åãEclipseã§å¯¾è±¡ã®ãã¡ã¤ã«ãå³ã¯ãªãã¯ãã¦ããç½®æãâãHEADæ¹è¨ãã«ããã¨æå¾ã®ã³ãããããç¶æ (ãããã¯PULLããç¶æ )ã«æ»ãã¾ãã ããã²ã¨ã¤ããç½®æãâãGit ã¤ã³ããã¯ã¹ãã¨ããã®ãããã¾ããããã¡ãã¯ãã¼ã«ã«ã®ã¤ã³ããã¯ã¹ã®ç¶æ ã«æ»ãæä½ã«ãªãã¾ãã ããã¸ã§ã¯ããã¾ã¨ãã¦å ã«æ»ã ä¿®æ£ãããã¡ã¤ã«ãå¤ãå ´åã¯ãããã¸ã§ã¯ããã¾ã¨ãã¦å ã«æ»ããæ¹ãè¯ãå ´åãããã¾ãã ãã®å ´åã¯ãããã¼ã ãâããªã»ãããã«ããã¨ãå ã«æ»ãã¾ãã ãã®æ»ãã¨ãã®ãªãã·ã§ã³ã«ã¯ã ã½ãã
éåã¨ã¯ãç²åã¨æ³¢ã®æ§è³ªããããæã£ããã¨ã¦ãå°ããªç©è³ªãã¨ãã«ã®ã¼ã®åä½ã®ãã¨ã§ããç©è³ªãå½¢ä½ã£ã¦ããååãã®ãã®ããååãå½¢ä½ã£ã¦ããããã«å°ããªé»åã»ä¸æ§åã»é½åã¨ãã£ããã®ã代表é¸æã§ããå ãç²åã¨ãã¦ã¿ãã¨ãã®å åããã¥ã¼ããªããã¯ã©ã¼ã¯ããã¥ãªã³ãªã©ã¨ãã£ãç´ ç²åãéåã«å«ã¾ãã¾ãã éåã®ä¸çã¯ãååãååã¨ãã£ããããµã¤ãºï¼1ã¡ã¼ãã«ã®10ååã®1ï¼ãããã¯ãããããå°ããªä¸çã§ãããã®ãããªæ¥µãã¦å°ããªä¸çã§ã¯ãç§ãã¡ã®èº«ã®åãã«ããç©çæ³åï¼ãã¥ã¼ãã³åå¦ãé»ç£æ°å¦ï¼ã¯éç¨ããããéååå¦ãã¨ããã¨ã¦ãä¸æè°ãªæ³åã«å¾ã£ã¦ãã¾ãã ã¾ãè¿å¹´ã¯ããããªä¸æè°ãªéåç¹æã®æ§è³ªããã³ã³ãã¥ã¼ã¿ãã»ã³ãµã¼ãéä¿¡æè¡çã«æ´»ç¨ãããéåæè¡ããæ¥éã«çºå±ãã¦ãã¾ãã å³ï¼èº«ã®åãã®ç©è³ªã¯ã¨ã¦ãå°ããéåãéã¾ã£ã¦å½¢ä½ããã¦ããï¼ç»åæä¾ï¼é«ã¨ãã«ã®ã¼å éå¨ç 究æ©æ§ï¼ ï¼ï¼æ¬¡ã®ãã¼ã¸
{{ $html }} ã¯ãã ã®æååã¨ãã¦ã{!! $html !!} 㯠HTML ã¨ãã¦è¡¨ç¤ºãããã ã©ãããããã¿ãªã®ã {{ }} 㨠{!! !!} ã®ããã¿ã調ã¹ã¦ã¿ãã ã³ã³ãã¤ã«æ¸ã¿ã® view ãè¦ãã¨ã{{ }} 㨠{!! !!} ã¯ãããã以ä¸ã®ããã«ããããå¤æããã¦ããã {{ $html }} ==> <?php echo e($html); ?> {!! $html !!} ==> <?php echo $html; ?> {{ $html }} 㯠$html ãã¨ã¹ã±ã¼ãããé¢æ° e() ãéãã¦å¤æ°ã®å¤ã表示ãã¦ãããã¨ããããã ã¡ãªã¿ã«ã{{ }} 㯠regular echoã{!! !!} 㯠raw echo ã¨å¼ã°ããã Q. ã¨ã¹ã±ã¼ãã£ã¦æ°å¤æååç §ã«å¤ãããã¨ã§ã¯ï¼ ãã¨ã¹ã±ã¼ããããã¨ã¯ãè¨å·ãæååç §ã«å¤æããããã¨ã ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}