2020-01-01ãã1å¹´éã®è¨äºä¸è¦§
ããªãããããªè©±é¡ã§ãããOMA LwM2Mã®ãµã¼ãã»ã¯ã©ã¤ã¢ã³ãã®Javaå®è£ ã§ããEclipse Leshanã«ããããéã£ã¦åããã¾ããã®ã§ãã®ãå ±åã§ããgithub.comLeshanã®ã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã«ã¯äºæãã¬ä¾å¤ãçºçããéã«ã¯ã©ã¤ã¢ã³ãã¢ããªã±ã¼ã·ã§ã³ãã¹ã¿â¦
ããã«ã¡ã¯ãid:moznionã¨ç³ãã¾ããHachioji.pmã¨ããITæè¡ã³ãã¥ããã£ã«æå±ãã¦ãã¾ããæ¬è¨äºã¯Perl Advent Calendar 2020ã®è¨äºã¨ãã¦è¨è¿°ããã¦ãã¾ããåæ¥ã®è¨äºã¯@mihyaeru21ããã®GitHub Actions 㧠Perl ãåããã¨ãã®ãã³ãã¬ã¼ãã§ããã Haâ¦
An English article is here: https://dev.to/moznion/released-radius-rs-2e1oã¿ã¤ãã«ã®éããAAA (Authentication, Authorization and Accounting) ã®ããã®ããã¡ã¯ãã»ã¹ã¿ã³ãã¼ããªãããã³ã«ã§ããã¨ããã®RADIUSã®ãµã¼ãã¼ã»ã¯ã©ã¤ã¢ã³ãå®è£ ãRustâ¦
ããæè¿ã§ã¯ä½ããã®ã¤ã³ã¿ã¼ããããµã¼ãã¹ãæ§ç¯ã»éç¨ããã«ããã£ã¦ããããã¯ã¼ã¯è¶ãã®ãªãã©ã¤ãèãããã¨ã¯é¿ããããªããªãã¤ã¤ããã¾ãã micro services ã®ãããªã¢ã¼ããã¯ãã£ãæ¡ç¨ãã¦ããå ´åã¯ãµã¼ãã¹éã®ã¡ãã»ã¼ã¸ã®ããåãã¯ã¾ã失â¦
pprof ã£ã¦ go ã®ãã¤ã§ããï¼ node ã®ãããã¡ã¤ã«ãåããããç¡ãããï¼ã¨åãæã£ã¦ãããã§ãã以ä¸ã®ã©ã¤ãã©ãªã使ããã¨ã§åãããã¨ããããã¾ããï¼github.com使ãæ¹ã«ã¤ãã¦ã¯ Using the Profiler ã«æ¸ãã¦ããã¨ããã§ï¼ã¢ããªã±ã¼ã·ã§ã³å´ã« coâ¦
github.comä»æ¥ (2020-09-24) ã®æç¹ã§ã¯ããã¼ã«ã«ç°å¢ãã§åããæ¹æ³ã«ã¤ãã¦ã¯è¨è¼ãããä¸æ¹ã§ï¼ä½ããã®ãªã¢ã¼ãã®ç°å¢ã«ãæ¬çªãã£ã½ãåããæ¹æ³ã«ã¤ãã¦ã®è¨è¼ãç¡ãã®ã§ï¼ããã AWS ä¸ã«æ§ç¯ããããã®ã¡ã¢ãè¨ãã¾ãï¼ ç«¶æç¨ application ã®ããâ¦
ãã¤ã¦ Kyoto.ãªãã #4 ã§çºè¡¨ãã話é¡ã§ãããã©ã:moznion.hatenadiary.comããã¯ãããã£ã¦ã¾ããï¼ï¼ï¼ï¼æ£ç¢ºã«è¨ãã¨éç¨ãã¦ããçµç¹å ã§ã¯ãªã¿ã¤ã¢ã¡ã³ãã®æ®µéã«å ¥ã£ã¦ãã¾ãï¼ ä»ã¯CodeBuildãåä½ã§ä½¿ã£ã¦ãã¾ãï¼ ãã¤ã¦ã® AWS CodeBuild 㯠ãâ¦
表é¡ã®ã¨ããã§ãï¼ GitHubã®ãªãã£ã·ã£ã«ããã¥ã¡ã³ããèªãã¨mavenã§ä½¿ãæ¹æ³ãgradleã§ä½¿ãæ¹æ³ã¯ç´¹ä»ããã¦ããã®ã§ããsbtã§ä½¿ãæ¹æ³ã調ã¹ã¦ãã·ã¥ãã¨åºã¦ããªãã£ãã®ã§ã¡ã¢ã¨ãã¦è¨ãæ¬¡ç¬¬ï¼ åºæ¬çã«ã¯ä»¥ä¸ã®ããã«mavenãgradleã¨åæ§ã«build.sbtâ¦
PHPã®ã¨ãã¸ãªãã¼ã¸ã§ã³ (ä¾ãã°ä»ã®æç¹ã 㨠8.0.0alpha3) ã使ãããå ´åï¼å¤ãã®å ´åã¯ã½ã¼ã¹ã³ã¼ããããã«ãããå¿ è¦ãããã¾ãï¼ãã®ä»ã«ãã©ã³ã¿ã¤ã ã®ãªãã·ã§ã³ããããããã ã¨ãï¼ãããã£ãæ§ã ãªçç±ããPHPãã½ã¼ã¹ã³ã¼ããããã«ãããªããâ¦
æ¬è³ªã®è©±ããã¾ãã pic.twitter.com/8fCYIbH6Avâ moznion (@moznion) 2020å¹´6æ24æ¥ perlï¼ãã¯ãå¿ã®ãµããã¨ã¨ããæããããâ¦â¦ï¼æµç³ã«å ¨çæã¨æ¯è¼ãã¦æã®ã¹ãã¼ãã¯è½ã¡ãã㩠大ããªåé¡ã¯ä»ã®äººã«ã¨ã£ã¦ãµããã¨ã§ã¯ãªãã¨ãããã¨ã§ã ã¨ããã¦ã¦â¦
netty ã使ããããªéåæ Java ã®ã¢ããªã±ã¼ã·ã§ã³ (ä¾ãã° Play2 Web ã¢ããª) ã® flame graph profile ãåãã¨ãã話é¡ã§ãï¼è²ã ãªæ¹æ³ãèãããã¾ããï¼jvm-profiling-tools/async-profiler ãå©ç¨ããã®ãæãæã£åãæ©ãããªæããããã®ã§ï¼ãã®æ¹â¦
English article is here: Released go-json-ice: a code generator of JSON marshaler for tinygo - moznion's tech blog tinygo ã§ã¯ encoding/json ã import ããã¨ã³ã³ãã¤ã«ã§ããªããªãã¨ããåé¡ããã *1ï¼ãªãããã® struct ã JSON ã« marshal ãâ¦
td-agent-gem ãå©ç¨ãã¦ããæã« google-protobuf requires Ruby version = 2.5. ã¨ããã¨ã©ã¼ãã§ã¦å°ãã¨ããäºãããã¾ããï¼support.treasuredata.comtd-agent ã® ChangeLog ãè¦ãæãï¼ãã®è¨äºãæ¸ãã¦ããæç¹ã§ã® td-agent ã®ææ°ãã¼ã¸ã§ã³ v3.7.â¦
Perl ã®è©±ã§ãï¼metacpan.orgEmail::MIME::ContentType 1.023 (ãªãæ¬ãã¼ã¸ã§ã³ã¯ TRIAL Release ã¨ãªã£ã¦ãã¾ã) 以éãã build_content_type 㨠build_content_disposition ã¨ããé¢æ°ã追å ããã¦ãã¾ãï¼ããããååã®éã Content-Type 㨠Content-Dâ¦
maedama.hatenablog.com trapezoid.hatenablog.comä¸è¨ã®ããã°ã«ã¯ä»ãã6å¹´ã»ã©åã®å½æã®æ å ±ãè¨ããã¦ãã¾ããï¼Redis 4.0 RC3 以éã® Slave (replica) ã® Expire ã¯ä¿¡ç¨ãã¦è¯ããªã£ã¦ããããã§ãï¼ Redis ã®å ¬å¼ããã¥ã¡ã³ã (Replication â Redis) â¦
github.comSpotless ã sbt ããå©ç¨ããããã®ãã©ã°ã¤ã³ã§ããã¨ããã® sbt-spotless ããªãªã¼ã¹ãã¾ããï¼Spotless ã¯æ欲çã«éçºããã¦ãã Java (JDK è¨èª) ã®ããã¸ã§ã¯ãåãã®ã³ã¼ããã©ã¼ããã¿ã¼ã§ï¼å®ã«æ§ã ãªãã©ã¼ãããã«å¯¾å¿ãã¦ãã¾ã *1ï¼â¦
github.com表é¡ã®éããªãªã¼ã¹ãããã¾ããï¼ ããã¯ãªã« Zabbix internal checks ã¨å¼ã°ãã Zabbix ããã»ã¹ã®ç¶æ ã表ç¾ããã¡ããªã¯ã¹ãå®æçã«åéãï¼Prometheus ã®ã¡ããªã¯ã¹ãã©ã¼ããã (i.e. OpenMetrics) 㧠export ãã Prometheus exporter ã§â¦
Javaã®è©±é¡ã§ãï¼jackson-databind ã使ã£ã¦ JSON ã®ãã·ãªã¢ã©ã¤ãºãè¡ã£ã¦ãã¦ï¼æ°å¤ã int ã«ãããã³ã°ãã¦ããå ´åï¼ãã®å¤ã int (32bit) ã®åãããå¤ãè¶ ããæã®æåãããã¼ã¸ã§ã³ã«ãã£ã¦ç°ãªã£ã¦ããã¾ãï¼ ä»¥ä¸ã«æããæå㯠2.9.3 ãã 2.9.4â¦
åºæ¬çã« Wireshark ã使ããã¨ã§å¾ããããã±ãããã£ããã£ãã¡ã¤ã«ã¯ pcapng ã¨å¼ã°ãããã©ã¼ãããã«ãªã£ã¦ããï¼ãã㯠pcap ãã©ã¼ãããã¨ã¯ç°ãªãã¾ãï¼ä¾ãã°è¤æ°ã®ãã±ãããã£ããã£ãã¡ã¤ã«ãæç³»åã«å¾ã£ã¦ãã¼ã¸ã§ããã³ãã³ãã©ã¤ã³ãã¼ã«ã§â¦
AWS CodeBuild 㧠AWS CDK ãå®è¡ããæã« IAM Role ã« S3 ã®æ¨©éãä¸ããªãã¨ããã
AWS CodeBuild ãã AWS CDK ãå¼ã³åºãï¼ããæãã§ç¶ç¶çã«æ§æãæ´æ°ãç¶ãããã¤ãã©ã¤ã³ã®ãããªãã®ãä½ã£ã¦ããã¨ä½ãã¨ä¾¿å©ã§ãï¼ ãã¦ãã®æï¼AWS CodeBuild ãå®è¡ãã IAM Role ã®æ¨©éããã®ã¾ã¾ AWS CDK ã®å®è¡ã«å½±é¿ããã®ã§ï¼ãã® IAM ã«ã¯ Clâ¦
kazuho ããã®ãããã·ã§ã«ã¹ã¯ãªããã§ããããã¨ããã話ã§ãï¼kazuhooku.hatenadiary.orgãããªæã: nc -l 0 & NC_PID=$! lsof -n -P -p $NC_PID | grep TCP | awk '{print $9}' | awk -F ':' '{print $2}' kill $NC_PID nc 㧠ephemeral port ã listenâ¦
macOS ä¸ã§ pythonz ã使ã£ã¦ç´ æ´ã« python ããã«ããã¦ã¤ã³ã¹ãã¼ã«ãã㨠SSL/TLS å¨ãã§ãã£ããã¦åºæ¬çã«ä½¿ããªããã®ãã¤ã³ã¹ãã¼ã«ããã (ãããã pip ã¨ããåããªãã®ã§)ï¼ brew 㧠openssl ãå ¥ãã¦ããå ´åã¯ä»¥ä¸ã®ããã« pythonz install ãâ¦
Raspberry Pi ã Read-Only Root-FS ã«ãã¦ããã¨æ¥ã«ãã·ã³ããã¦ã³ããæã§ããã¡ã¤ã«ã·ã¹ãã ãç ´æãã«ãããªãã¾ãï¼ ãã¡ããæ¸ãè¾¼ã¿å 容ã¯æ°¸ç¶åãããªããªãã¾ãã (æ¸ãè¾¼ã¿å 容㯠tmpfs ã«ã¹ãã¢ãããã®ã§ rebootã§æ®çºãã)ï¼å¾ã¦ãã¦é»ãããªâ¦
è¦æ¨ ã©ãããã° Zabbix API ã使ã£ã¦ææã®æ©è½ãå®ç¾ã§ãããã調æ»ããéã«ã¯ Zabbix ãå®éã«å¼ãã§ãã SQL ã¯ã¨ãªã tcpdump ã§æãåºãã¨æã£åãæ©ãï¼ å 容 è²ã ãã£ã¦Zabbixã使ã£ã¦ããããã§ããï¼ãã®æã®ãã®ã使ã£ã¦ããã¨APIãä»ã㦠Activeâ¦