Java nio ã® API ãè¦ã¦ããã·ãªã¼ãºï¼ç®æ¬¡ï¼ããååããçµæ§æéã空ãã¦ãã¾ãã¾ããããjava.nio.file ããã±ã¼ã¸ã®ã¯ã©ã¹ãè¦ã¦ããã¾ããããä»åã¯ãã¡ã¤ã«ããã£ã¬ã¯ããªã®æä½ã§ããããã¡ã¤ã«ãã³ãã¼ã¨ã移åã¨ããã¾ããã以éã®è¨äºã§ã¯ããã¡ã¤ã«ãã¨æ¸ãã¦ãã¡ã¤ã«ã¨ãã£ã¬ã¯ããªã®ä¸¡æ¹ãæãã¦ããå ´åãããã¾ãããæèã§åãããã¨æãã¾ããã ãã¡ã¤ã«ã®åå¨ã¨åé¤ LinkOption å®æ° ãã¡ã¤ã«ã®ã³ãã¼ã¨ç§»å CopyOption ã·ã³ããªãã¯ã»ãªã³ã¯ãèªã¿è¾¼ã ãã¡ã¤ã«ã®åå¨ã¨åé¤ã¾ãã¯ãã¡ã¤ã«ã®åå¨ã確èªããã¡ã½ããã¨ããã¡ã¤ã«ãåé¤ããã¡ã½ããã ã¡ã½ãã è¿ãå¤ èª¬æ exists(Path, LinkOption...) notExists(Path, LinkOption...) boolean ãã¡ã¤ã«ããã£ã¬ã¯ããªãåå¨ãããã©ããã確èªãã d
ãã®ãã¼ã¸ã®æçµæ´æ°æ¥ï¼2019å¹´7æ4æ¥ JavaScriptã主ã«Webãã¼ã¸ãä½ãã®ã«ä½¿ãããã»ããç¾å¨ã§ã¯ãã¾ãã¾ãªã¨ããã§æ´»èºãã¦ããããã°ã©ãã³ã°è¨èªã§ãã ãã®ãã¼ã¸ã¯JavaScriptã®ä¸ç´è¬åº§ã§ããææ°éã§ã¯ãªãããããã¾ããããèªã¿é²ããã°å¤§æµã®ãã®ãèªåã§ä½ããããã«ãªããã¨ã§ãããã è¨ã訳ã¨JavaScriptã®æ´å² / åãåãã æè¿ã®æ´æ°2017/10/05 å ¨ãã¼ã¸ãæç´ããã¾ãããåå ç« ç¬¬å åã追å ã2017/11/9 åå ç« ç¬¬äºåä¸åã»åå ç« ç¬¬äºåäºåã追å ã2017/12/2 åä¸ç« 第ä¸åã»åä¸ç« 第ååã追å ã2017/12/3 åä¸ç« 第äºåã»åä¸ç« 第å åã»åä¸ç« 第ä¸åã追å ãæ¦è¦ã³ã³ãã³ãã¯ç¬¬ä¸ç¯ã¨ç¬¬äºç¯ã«åããã¦ãã¾ãã JavaScriptã¯æããWebãã¼ã¸ã«åããä¸ãããã®ã¨ãã¦ç¨ãããã¦ãã¾ãããã第ä¸ç¯ã§ã¯ãã®ãããªãæããããJav
å «ç« ç¬¬ä¸åãRangeã¨ã¯ãã®ãã¼ã¸ã®æçµæ´æ°æ¥ï¼2017å¹´8æ26æ¥ å «ç« ã§ã¯ãRangeã¨ãããã®ã解説ãã¾ããä»åã¯ãããããRangeã¨ã¯ã©ããããã®ãã解説ãã¾ãã Rangeã¨ã¯ãææ¸ä¸ã«ããããç¯å²ãã表ããã®ã§ããä¾ãã°ã ãã<strong>ãã</strong>ããã¨ããã½ã¼ã¹ããããã°ã ããããããã®ããã«è¡¨ç¤ºããã¾ãããã®ã¨ããä¾ãã° ãããããããã âããâ ããããããããã¾ã§ ã®ãããªæãã§ããç¯å²ã表ãã¾ãã è¦ããã«ãããããããããã¾ã§ããªã®ã§ãæ¡å¤åç´ãªããã«è¦ãã¾ããããããDOMã¨ãã観ç¹ãããããè¦ã¦ããã¨ãä¸ã®æ¨æ§é 㯠ã¨ãªã£ã¦ãã¦ããã®ç¯å²ã¯ï¼æ¨æ§é ä¸ã§ï¼é¢ããè¤æ°ã®ãã¼ãã«ã¾ããã£ã¦ãã¾ãããããªãã¨ãä¸çç¸ã§ã¯ãããªãã®ãæ³åãã¤ãã¨æãã¾ãããã®ãããªãã®ãæ±ãã®ããRangeãªã®ã§ãã ç¯å²ã®è¡¨ãæ¹Rangeã¯ãéå§ç¹ãã¨ãçµäºç¹
第12ä¸ä»£ã¤ã³ãã«Â® Core⢠i3-1215Uããã»ããµã¼ï¼10 MBãã£ãã·ã¥ãæ大4.4 GHzï¼ ç¬¬12ä¸ä»£ã¤ã³ãã«Â® Core⢠i5-1235Uããã»ããµã¼ï¼12 MBãã£ãã·ã¥ãæ大4.4 GHzï¼ ç¬¬12ä¸ä»£ã¤ã³ãã«Â® Core⢠i5-1240Pããã»ããµã¼ï¼12 MBãã£ãã·ã¥ãæ大4.4 GHzï¼ ç¬¬12ä¸ä»£ã¤ã³ãã«Â® Core⢠i7-1255Uããã»ããµã¼ï¼12 MBãã£ãã·ã¥ãæ大4.7 GHzï¼ ç¬¬12ä¸ä»£ã¤ã³ãã«Â® Core⢠i7-1260Pããã»ããµã¼ï¼18 MBãã£ãã·ã¥ãæ大4.7 GHzï¼
Javaã§ã©ã³ãã ã§ä¸æãªæååãçæããã...ã£ã¦æãã©ããªãã®ã使ã£ã¦ã¾ããï¼ï¼ ããããå ´é¢ã«ãªã£ãã®ã§è¦ã¦ã¿ããã®ãã¡ãã£ã¨ããã¡ã æ¡æ°ãé·ãã¦ãããããä¸æã« ç³» UUIDJDK1.5 ã§å°å ¥ããããjava.util.UUID ã§ãUUID.randomUUID().toString(); ãããã åå¾ãããæåå(16é²)㯠ffbac078-8cf0-483f-817d-184a5e812613 ã®ãããªæãã ãããMath.absã§10é²æ°ã«ãã㨠2080304300 ã®ãããªæã ããç§ããã¾ãJDK1.5ã§å°å ¥ããã System.nanoTime() ã使ãã åå¾ãããå¤ã¯ 1236777382401532000 ã¦æãã è¤æ°Threadã®å ´åã«ã¯ãThreadIdããã©ã¹ããªãã¨éè¤ãã¡ããäºãããã ããã...ããã§ãªãã¦ãæ¬å½ã«éè¤ããªãã£ã¦ä¿è¨¼
WEBã¢ããªã±ã¼ã·ã§ã³ æ§ç¯ ããã¦ããã¨ããã¼ã¿æ´æ°ããã¯ããªã®ã« ãã©ã¦ã¶ ã«åæ ãããªãï¼ï¼ ã£ã¦ã¨ãããããã¨æãã¾ãã ããã§ã¯ããæ°ããæ å ±ãåå¾ã§ããªããåé¡ã«å¯¾ãã HTTPéä¿¡ ãã£ãã·ã¥ ã® ç¡å¹å æ¹æ³ãå¹¾éããè¼ãã¾ãã ç¶æ³ã«å¿ãã¦ã©ãããã¾ãã¯ãããã¤ããé¸æã㦠ãã£ãã·ã¥ ã ç¡å¹å ãã¦ãã ããã éçã³ã³ãã³ã HTML ã® METAã¿ã° ã«æ¸ã HTTP ãµã¼ãã¼ ã®è¨å®ãå¤ããï¼IISï¼ ãªã¯ã¨ã¹ã ã« ç¡æå³ãªæååãä»å ãã åçã³ã³ãã³ã ãµã¼ãã¼å¦çã«æ¸ãï¼C# & ASP.NET MVCï¼ ãªã¯ã¨ã¹ã ã« ç¡æå³ãªæååãä»å ãã å人çãªç°å¢ã趣å³ããã®ä»ã®é½åã«ãããWindows ãããªå¯¾çã«ãªã£ã¦ãã¾ãããäºæ¿ãã ãããã HTML ã® METAã¿ã° ã«æ¸ã 次ã«ç¤ºã METAã¿ã° ã head ã»ã¯ã·ã§ã³ã«è¨è¼ãã¾ãã ãµã³ãã«ã³
é¡ã«è¦ããï¼æè¿ãéæ°´å£ããæ°ã«ãªãã¨ãã話 ãéæ°´å£ããæ°ã«ãªãä»æ¥ãã®é æè¿è¡ä¸ã§æ°ã«ãªãåå¨ãããããã®ãéæ°´å£ãã§ããå°ä¸ã®ããã¢ã7é以ä¸ãããã«ãªã©ãä¸å®ã®æ¡ä»¶ãæºããã建ç¯ç©ã«ã¯è¨ç½®ã義åä»ãããã¦ãããã®ã§ãç«äºãçºçããããã¢ã«ãã ã¡ã«æ°´ãéãããã«ä½¿ããããã®ã§ãããã³ãè»â¦
Javaã®javax.imageio.ImageIOã使ãã¨ãç»åæä½ãç°¡åã«åºæ¥ã¾ãã ãã¨ãã°ãgifãã¡ã¤ã«ãjpegãã¡ã¤ã«ã«å¤æããã«ã¯ä»¥ä¸ã®ã³ã¼ãã§è¡ãã¾ãã BufferedImage image = ImageIO.read(new File("input.gif")); ImageIO.write(image, "jpeg", new File("output.jpg")); ç°¡åã§ãããç´ æ´ãããã ã«ã©ã¼ã®JPEGç»åããã°ã¬ã¼ã¹ã±ã¼ã«ã«å¤æããã«ã¯ä»¥ä¸ã§ã BufferedImage image = ImageIO.read(new File("input.jpg")); BufferedImage newImage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE
æè¿ãæ®æ®µä»¥ä¸ã«Chromeã®éçºè ãã¼ã«ã使ããã¨ã«æéããããæ©ä¼ãããã¾ããããã®éç¨ã§ãèªåãä»ã¾ã§æ°ã¥ãã¦ããªãã£ãæ©è½ãããã¤ãè¦ã¤ãã¾ããï¼å°ãªãã¨ãä»ã¾ã§ãã®æ©è½ãæ¢ãå¿ è¦ã«è¿«ããã¦ããªãã£ããã¨ãè¨ããã®ã§ãããä¾ãã°ãã©ãã¯ããã¯ã¹åãéåæã®ã¹ã¿ãã¯ãã¬ã¼ã¹ãªã©ï¼ããã®ãããéçºè ãã¼ã«ã§ã¨ã¦ãæ°ã«å ¥ã£ã¦ããããã¤ãã®æ©è½ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãããªã£ãã®ã§ãã å°ããªè«ç¼é¡ã®ã®ã¢ã¤ã³ã³ã¯ãç¹å®ã®è¦ç´ ãCSSããããã£ã«å¯¾ãã¦ããã©ã®CSSãã¡ã¤ã«ã«æ¸ããã¦ããã©ã®ã»ã¬ã¯ã¿/ã¯ã©ã¹ãæçµçãªã¹ã¿ã¤ã«ã決ãã¦ããããã示ãã¦ããã¾ããä¾ãã°ãã©ããDOMè¦ç´ ã«å¯¾ãã¦ãè¦ç´ ãæ¤è¨¼ããé¸ã³ãå³å´ã®ãComputedãã¨ããã¿ããé¸ã³ã¾ãã確èªãããCSSããããã£ãè¦ã¤ãã¦ãã®è«ç¼é¡ã¢ã¤ã³ã³ãã¯ãªãã¯ãããã¨ã§ããããã¾å³å´ã«æ£ããCSSãã¡ã¤ã«å ã®ã¯ã©ã¹/ã»ã¬ã¯ã¿ã表示ãã¦ã
2. èªå·±ç´¹ä» ⢠æ°åä¸é æç¾ç´ ⢠æå±TISæ ªå¼ä¼ç¤¾ ⢠çµæ´å ¥ç¤¾1å¹´ç® â¢ PostgreSQLæ´ï¼ å ¥ç¤¾æ´ â¢ æ¥åã§åå¼·ãã以å¤ã«ããååã®JPUGã®ããã¿åç§ä¼ã«ã åå ããã(http://thinkit.co.jp/story/2014/07/01/5074)ã PGEConsã«ãåå ãããã¨ã³ãã¥ããã£æ´»åãªã©ãéãã¦æ¥ã PostgreSQLã®åå¼·ããã¦ãã¾ãã 2 3. PostgreSQLã¯ã¨ãªå®è¡ã®åºç¤ç¥è ï½Explainãèªã¿è§£ããï½ ã¢ã¸ã§ã³ã ã»PostgreSQLã®ã¯ã¨ãªå®è¡ã®æ¦è¦ ã»Explainå®è¡çµæ(åãåãããã©ã³)ã®èªã¿æ¹ ã»Explainæ¼ç®åã®ç¨®é¡ ã»åãåãããã©ã³ãå¤æ´ããã ã»å®éã®ãããã¯ä¾ 3 ç®æ¨ ã¯ã¨ãªãã¥ã¼ãã³ã°ã§ä½¿ç¨ããExlpainã³ãã³ããåºåããå®è¡ è¨ç»ãèªããããã«ãªãã¾ãããã PostgreSQLãã¯ã¨ãª
ãã¹ãåã«ã¼ãçµå/ãã¼ã¸çµå/ããã·ã¥çµåã¯ãããããã¤ã³ããã¯ã¹ãã©ã®ããã«ä½¿ãã®ãããæ´çããã ãã¹ã¿ã®ï½ï½ã³ã¼ãã¨ãã©ã³ã¶ã¯ã·ã§ã³ã®ååã®åãççµåã«ããSQLã«ã¤ãã¦ã ã¤ã³ããã¯ã¹ãçå´(ãã¹ã¿å´ã®ã¿) ã¤ã³ããã¯ã¹ãä¸¡å´ ã¤ã³ããã¯ã¹ãªã ã®3æ¡ä»¶ã§ãåçµåæ¹å¼ã®å®è¡é度ãè¨æ¸¬ãã¦ã¿ãã ãã¹ãå 容 PostgreSQL8.3.5ã§ä»¥ä¸ã®SQLãå®è¡ããã explain analyze select * from tellers t -- 1000件ã®ãã¹ã¿ inner join history h on h.tid=t.tid -- 1000ä¸ä»¶ã®ãã©ã³ã¶ã¯ã·ã§ã³çµåæ¹å¼ã¯ä»¥ä¸ã®æé ã§å¶å¾¡ããã ãµã¤ãã«å®è¡ããã¨ããã©ã³ãã¯ããã·ã¥çµåãé¸æããã set enable_hashjoin to off ãå®è¡ããã¨ããã©ã³ãã¯ãã¼ã¸çµåãé¸æããã ããã« set e
topã³ãã³ãã¨ããã°ãããLinuxã®ããã©ã¼ãã³ã¹ç¶æ ãã¢ãã¿ãªã³ã°ããããã«å©ç¨ããã¦ããã³ãã³ãã ã ä»åã¯ããããªtopã³ãã³ãã§è¦ãã¦ãããã使ãæ¹14åãç´¹ä»ããã ãªããæ¤è¨¼ã§ä½¿ç¨ããtopã³ãã³ãã¯CentOS 7 ã§å©ç¨ãã¦ãããprocps-ng version 3.3.9ãã®ãã®ã¨ãªã£ã¦ããã 1.åºæ¬çãªä½¿ãæ¹ åºæ¬çã«ã¯ããªãã·ã§ã³ç¡ãã§ä»¥ä¸ã®ããã«ã³ãã³ããå®è¡ããã top top - 07:21:06 up 4 days, 17 min, 4 users, load average: 0.00, 0.00, 0.00 Tasks: 186 total, 1 running, 185 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0
$ sudo apt-get install ntp ntpdate Reading package lists... Done Building dependency tree Reading state information... Done Use 'apt-get autoremove' to remove them. Suggested packages: ntp-doc The following packages will be upgraded: ntp 1 upgraded, 0 newly installed, 0 to remove and 93 not upgraded. Need to get 613 kB of archives. After this operation, 0 B of additional disk space will be used. G
ãããã°ã©ãã³ã°ãå¦ã¼ãã¨ç¬éæ大風éçã«æèã¯é«ããªããã®ã®ãä¸äººã§ããã¨æ°ãã¤ãããä¸æ¥ã½ã·ã£ã²ãã¦å¤æ¹é ã«ãã¾ãä»æ¥ãåå¼·ã§ããªãã£ããã¨èªå·±å«æªããã¢ããã¼ã·ã§ã³ãç¶ããªãæã®å¯¾çãã¯ãããå¦ã³æ¹ãå¦ã¹ãç°å¢ã®ä½ãæ¹ãã¾ã¨ãã¦ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}