Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã¹ãã®æ·±ãããã°ã©ã ãæ¸ãã¨ãã ããã°ã©ã å ¨ä½ã§å ±æããããªãã¸ã§ã¯ããã©ããã£ã¦å¼ãåããã¨ããã®ã¯ãã¤ãæ©ãåé¡ã§ãã ã°ãã¼ãã«å¤æ° å°ããªããã°ã©ã ã®å ´åã¯éã«ã°ãã¼ãã«å¤æ°ã«å ¥ãã¦ãã¾ãã®ãæªãã¯ãªãã§ããã ããã°ã©ã ã大ãããªãã«ã¤ãããã®ããããã¯ã¤ãããªãã¾ãã ã·ã³ã°ã«ãã³ ã·ã³ã°ã«ãã³ã¯åºæ¬çã«ã¯ã°ãã¼ãã«å¤æ°ã¨åããã¨ã§ãã ãã ããã¡ã¯ããªé¢æ°ããã¾ã使ãã°ã°ãã¼ãã«å¤æ°ããã®ã¾ã¾ã¤ããããæè»ãªåãåããå¯è½ã«ãªãããããã¾ãããã ã°ãã¼ãã«å¤æ°ã«ããã·ã³ã°ã«ãã³ã«ããããã°ã©ã å ¨ä½ã§ç¶æ ãå ±æãã¾ãã
Protocol Buffersã¯å¥ã«æ°ããæè¡ã§ã¯ãªããåæã«ããã¯ãæªã ç¥ãããããæªã ã«å¯è½æ§ãç§ããå 端ã®ã½ããã¦ã§ã¢æè¡åºç¤ã§ããã æ°ãããªãã®ã¯äºå®ã§ãGoogleãProtocol Buffersããªã¼ãã³ã½ã¼ã¹åããã®ã¯2008å¹´ã®ãã¨ã ãããªã¼ãã³ã½ã¼ã¹ååã«ç¤¾å ã§ä½¿ããåºããã®ã¯æ´ã«æã«é¡ãã ããããã¶ãã ãã¶ã¤ã³çã«ãJSON対å¿ã¯å¾ä»ãã§ãå°æ¥JSONãéçã極ãããã¨ãªããå ¨ç¶æ³å®ãã¦ããªãã£ãã®ãéãã¦è¦ãã¦å¤ãããã ããããåæã«ã©ããæ å ±ã«è¡ã人ã§ãã£ã¦ããªããªããã®ç価ãå®æãå¾ã¦ããããããæå³ã§æªç¥ã®æè¡ã§ãããããããªãã°ãProtobuf (Protocol Buffersã®ç¥)ã解説ããææ¸ã¯å¹¾å¤ããã©ããããã«1ãå ããã®ããã¶ããã§ã¯ãªãã Protocol Buffersã¨ã¯ Protobufã¯ã¹ãã¼ãè¨èªã ! ä¸è¬çã«ã¯Protob
1000å°åæSSHãªãã¬ã¼ã·ã§ã³ç°å¢ãæ§ç¯ããã«ããã£ã¦ãæå ã®ãã¼ã«ã«ç°å¢ã®æ§è½éçã®åé¡ã解決ããããã«ããªãã¬ã¼ã·ã§ã³ãµã¼ããSSHã¯ã©ã¤ã¢ã³ãã¨ãããã¨ã«ããSSHå®è¡ãé«éåãããå®è¡ç°å¢ã¨ãã¦Dockerãã¬ã¸ã¹ããªã¨ãã¦Amazon ECR(EC2 Container Registry)ãç¨ãã¦ããã¼ã«ã«ç°å¢ã¨ãªãã¬ã¼ã·ã§ã³ãµã¼ãç°å¢ãçµ±ä¸ãããã¨ã«ããããªãã¬ã¼ã·ã§ã³ãµã¼ãã®æ§æ管çã®æéãåæ¸ããã ã¯ããã« ã·ã¹ãã æ§æ å®è£ ä¸ã®å·¥å¤« ãªãã¬ã¼ã·ã§ã³ãµã¼ãè¶ãã®root権éå®è¡ rawã¢ã¸ã¥ã¼ã«ã¨scriptã¢ã¸ã¥ã¼ã«ã®ã¿ã®å©ç¨ Ansibleã®å®è¡ãã°ã®Gitä¿å ã¾ã¨ãã¨ä»å¾ã®èª²é¡ ã¯ããã« 3å¹´åã« Ansible + Mackerel APIã«ãã1000å°è¦æ¨¡ã®ãµã¼ããªãã¬ã¼ã·ã§ã³ - ããããããã° ã¨ããè¨äºãæ¸ããã ãã®è¨äºã§ã¯ããã¹ãã¤ã³ãã³ããªã¨
2017å¹´11æ15æ¥ã« Truffle ãã¼ã ããªãªã¼ã¹ããã°ããã® Ethereum éçºç°å¢ Ganache ã使ã£ã¦ã¿ã¾ããã Testrpc ãæ¶ããï¼ ç¾å¨ãtestrpc ã® github ãªãã¸ããªã«ã¢ã¯ã»ã¹ããã¨ãganache-cli ã¨ãããªãã¸ããªã«ãªãã¤ã¬ã¯ãããã¾ãã README.md ã«ã¯ä¸è¨ã®ããã«æ¸ããã¦ãã¾ãã Looking for TestRPC? If you came here expecting to find the TestRPC, you're in the right place! Truffle has taken the TestRPC under its wing and made it part of the Truffle suite of tools. From now on you can expect better s
3. 2 Agenda 1. èªå·±ç´¹ä» 2. RDBMSã§å±¥æ´ãã¼ã¿ãæ±ã ï¬ ã¹ãããã·ã§ãããã¼ã¿ã¢ãã« ï¬ ãã©ã³ã¶ã¯ã·ã§ã³æéãã¼ã¿ã¢ãã« ï¬ æå¹æéãã¼ã¿ã¢ãã« ï¬ ãã¤ãã³ãã©ã«ãã¼ã¿ã¢ãã« 3. Javaãããã¤ãã³ãã©ã«ã¢ãã«ã容æã«æ±ãReladomoã®ç´¹ä» hashtag: #ccc_g3 4. 3 èªå·±ç´¹ä» 趣å³ï¼ãã©ã æ¼å¥ JavaOneã³ãã¥ããã£ãã³ã Null Pointersã§æ¼å¥çµé¨ããï¼æ¥æ¬äººåï¼ Tech Lead @ FOLIO ä¼è¤ åå¿ Eclipse Collectionsï¼å ±åããã¸ã§ã¯ããªã¼ãå ¼ã³ããã¿ã¼ Reladomoï¼ã³ã³ããªãã¥ã¼ã¿ã¼ OpenJDKï¼ã³ã³ããªãã¥ã¼ã¿ã¼ JJUG CCCãJava Day TokyoãJavaOne San Franciscoç»å£ 2017å¹´5æ17æ¥ã«æ ªå¼ä¼ç¤¾FOLIOå ¥ç¤¾ã hashtag:
ã¦ã£ã¹ãã¼ãã·ã¬ã¼ããã¤ãããããªãæãã大æ ã§ãã å ç¨RDSã®MySQL/MariaDBã®ãã°ãã¡ã¤ã«ãCloudWatch Logsã¸åºåã§ããæ©è½ããªãªã¼ã¹ããã¾ããã®ã§ã¬ãã¼ããã¾ãã Monitor Amazon RDS for MySQL and MariaDB logs with Amazon CloudWatch Now Publish Log Files from Amazon RDS for MySQL and MariaDB to Amazon CloudWatch Logs CloudWatch Logsã¸ã®ãã°ãã¡ã¤ã«åºå RDS for MySQL/MariaDBã§ã¯ä»¥ä¸ã®4種é¡ã®ãã°ãåºåãããã¨ãã§ãã¾ããã Audit Log Error Log General Log Slow Query Log åºåå ã¯ãã¼ãã«ããã¡ã¤ã«ã¨ãªãããã¼ãã«ã®å ´åã¯DB
GoogleãDockerã¤ã¡ã¼ã¸ã«å¯¾ãããã¹ãèªååãã¬ã¼ã ã¯ã¼ã¯ãContainer Structure Testsããªã¼ãã³ã½ã¼ã¹ã§å ¬é Container Structure Testã¯ãã³ã³ããå é¨ã§ã³ãã³ããå®è¡ãããã¨ã§æ£ããåºåãã¨ã©ã¼ã帰ã£ã¦ãããã©ããããã³ã³ããå é¨ã®ãã¡ã¤ã«ãæ£ããæ ¼ç´ããã¦ããããªã©ã®æ¤è¨¼ãå®è¡ã§ãããã¬ã¼ã ã¯ã¼ã¯ã§ãã å ·ä½çã«ã¯ä¸è¨ã®ãã¹ãããµãã¼ããã¦ããã¨èª¬æããã¦ãã¾ãã Command Tests ã³ã³ããã¤ã¡ã¼ã¸å é¨ã§ã³ãã³ããå®è¡ããæ£ããåºåãã¨ã©ã¼ãè¿ã£ã¦ããããæ¤è¨¼ããã File Existence Tests ã³ã³ããã¤ã¡ã¼ã¸å é¨ã«ããããã¡ã¤ã«ããã¡ã¤ã«ã·ã¹ãã å ã®é©åãªä½ç½®ã«åå¨ãã¦ãããã©ãããæ¤è¨¼ããã File Content Tests ã³ã³ããã¤ã¡ã¼ã¸å ã®ãã¡ã¤ã«ã·ã¹ãã ã«ãããã¡ã¤ã«ã®ã³ã³ãã³ãã¨ã¡ã¿ãã¼ã¿
ãã®è¨äºã¯ MySQL Casual Advent Calendar 2017 ã®23æ¥ç®ã®è¨äºã§ãã ã¿ãªããORãããã¼ã¯ä½¿ã£ã¦ãã¾ããï¼ åã¯ä»äºã¨ã趣å³ã§ActiveRecordã¨ããORãããã¼ã使ã£ã¦ãããã§ããã©ãããã¤ä¾ãã° Team.preload(players: :high_score).to_a ã¿ãããªãã¨ãããã¨ãã SELECT `scores`.* FROM `scores` FROM `scores`.`id` IN (a, b, c, ...æ°ååç¶ã...) ã¿ãããªã¯ã¨ãªãçæããããã§ããã©ãMySQL 5.7ã«ä¸ããã¨ãã« range_optimizer_max_mem_size ã®å¶éã§å®è¡è¨ç»ããã¼ãã«ã¹ãã£ã³ã«è½ã¡ã¦ãããç®ã«ãã£ããã¨ãããã¾ãããMySQLå´ã§ range_optimizer_max_mem_size = 0 ãããã¨ã§
æ¬è¨äºã§ã¯ã ãã¼ã ã«ããæç¶çã«å¤æ´å¯è½ãªWebã¢ããªã±ã¼ã·ã§ã³ã®éçºãç®æ¨ã«ããã¬ã¼ã ã¯ã¼ã¯å°å ¥æã«èæ ®ãã¹ã22ã®è¦³ç¹ãç´¹ä»ããã ãã¬ã¼ã ã¯ã¼ã¯ã«ãã£ã¦ç¹å¾´ã¯ç°ãªãããæ¬çªå°å ¥ã«ããã£ã¦ãèæ ®ãã¹ããã¤ã³ãã¯ãã¾ãå¤ãããªãã®ã§ã極åãã¬ã¼ã ã¯ã¼ã¯1ã«ä¾åããããªãããé æ ®ãããã¾ãã話ãã·ã³ãã«ã«ãããããREST APIãæä¾ããã¢ããªã±ã¼ã·ã§ã³ãé¡æã¨ããã åæ ã½ããã¦ã§ã¢ã®ã¨ã³ãããã¼ ã½ããã¦ã§ã¢ãã¨ã³ãããã¼å¢å¤§ã®æ³åãé¿ããããªããã¨ããä½æãã¦ããéçºè ã¯å¤ãã ãã2ãæ®éã«ã¢ããªã±ã¼ã·ã§ã³éçºãç¶ããã¨ãéçºã¹ãã¼ãã¯éåããå質ã¯ä½ä¸ãã¦ãã°ãå¢ããéçºè ããã¯æè¡çè² åµã¸ã®æ¨åã®å£°ãèãããããã«ãªããã¨ã³ãããã¼å¢å¤§ã¨ãããã©ã¼ã¹ã¯æ¥µãã¦å¼·åã§ãææãæã£ã¦ç«ã¡åãããªããã°ã容æã«ãã¼ã¯ãµã¤ãã«å ã¡ã¦ãã¾ãã é¢å¿äºã®åé¢ å¤§è¦æ¨¡Webã¢ããªã±ã¼ã·ã§ã³
TL;DR; Amazon Auroraã¯In-Memory DBã§ããªãDisk-Oriented DBã§ããªããIn-KVS DBã¨ã§ãå¼ã¶ã¹ãæ°å°å¹³ã«ç«ã£ã¦ããã ãã®æ¬æ°ãããããã¹ã¿ã¼ã®ã¡ã¤ã³ã¡ã¢ãªã¯ãã£ãã·ã¥ã§ãããªããWrite-Backã§ããªãWrite-Throughã§ããªãã¨ããé©å¤©åå°ã ã¤ãã§ã«å¾æ¥ã®ãã§ãã¯ãã¤ã³ãå¦çãä¸è¦ã«ãªã£ãã®ã§ã¹ã«ã¼ããããåä¸ããã 詳細ãæ°ã«ãªã人ã¯ãã®è¨äºããã§ãï¼ Amazon Aurora Amazon Auroraã¯AWSã®ä¸ã§å©ç¨å¯è½ãªããã¼ã¸ã(ï¼éç¨ãAWSãé¢åè¦ã¦ããã)ãªãã¼ã¿ãã¼ã¹ãµã¼ãã¹ã ã¦ã¼ã¶ã¼ããã¯ãã ã®MySQLããããã¯PostgreSQLã¨ãã¦æ±ãäºãã§ããã®ã§ãããã«ä¾åããæ¢åã®ã¢ããªã±ã¼ã·ã§ã³è³ç£ããã®ã¾ã¾å©ç¨ããäºãã§ãã¦ãè½ã¡ããåèµ·åãããã»ãã¥ãªãã£ãããããã¦ã³ã¿ã¤ã ãªãã§(!?)é©
ãããã¤ã³ã¿ã¼ãããã®ã¢ããã³ãã«ã¬ã³ãã¼9æ¥ç®ã¨ãã¦ããµã¼ãå±ããããéç¨ã«é¢ããã³ãã³ãã®ä½¿ãæ¹ãç´¹ä»ãã¾ãã ãµã¼ãã®è² è·ãé«ã¾ã£ã¦ããã¨ãã«ãvmstatãtopãªã©ã®ã³ãã³ãã§èª¿æ»ããäºãåºæ¥ã¾ãããI/Oè² è·ãwa(iowait)ã«ãã£ã¦å¤æãã人ãå¤ãã¨æãã¾ãã ãã ãçµè«ããè¨ãã¨ãiowaitã¯æ£ç¢ºã«I/Oã®è² è·ã表ãã¦ããããã§ã¯ããã¾ããã ãããããå®éã«æ¼ç¿ãããªããè¦ã¦ããããã¨æãã¾ãã iowaitã¨idle iowaitã¨ã¯ããã¾ã§ããCPUã空ãã¦ããã®ã«I/Oãããã«ããã¯ã«ãªã£ã¦ããããã»ã¹ã示ãã¦ããã ãã§ãCPUã®å©ç¨çãé«ãã¨ãã«ã¯I/Oãããã«ããã¯ã«ãªã£ã¦ãã¦ãiowaitãä¸ããã¾ããã åæ§ã«åéããããã¡ãªã®ããid(idle)ã¯CPUã®ç©ºãã示ãã¦ããã¨ãããã®ã§ãããidleã¯å¿ ãããCPUã®ç©ºãæéã示ãã¦ãããã®ã§ã¯ããã¾ã
ããªã³ã ã¢ããã³ãã«ã¬ã³ãã¼9æ¥ç®åæ¥ã¯@onkããã®ãããªã³ã ã® Gemfile è¨è¿°ã¹ã¿ã¤ã«ãã§ãã èªå·±ç´¹ä» å¥è¯éªã§ãããããªã¢ã¤ã³ã³ æ ªå¼ä¼ç¤¾ããªã³ã ã«æ°åã§å ¥ã£ã¦3å¹´ç®ãã¹ããã²ã¼ã ãµã¼ãã¼ã®Railsã¨ããæ°è¦ãµã¼ãã¹ã®TypeScriptã¨ããElixirã¨ããå°ãPythonã¨ãããªããããããããªãçµã¿åããã§ããã©ãã並è¡ãã¦ããããæ¸ãã¦ã¾ãã ãªãå¼ç¤¾æè¿JavaScriptéçºç¥è¦ããªãã£ãã®ã§ããããããã¿ããªãã趣å³ã§ãã£ã¦ãèªå好ã¿ã®TypeScriptéçºä½å¶ãã¹ãã¨å ¥ãããã¦ã»ãã»ããã¦ãã¾ããæèè ç®æãã¦ãããæè¿github.com/Narazakaã®ä¸ã®æ¹ã«ä¸ãã£ã¦ããswaggeräºã ã¨ãã®TypeScriptã®ããã¸ã§ã¯ãã¯ãä»äºã§ç°å¢æ´åãã¦ããã®ã®åã端ã ã£ãããã¾ãã 趣å³ã§ã¯ä¼ºãã¨ãããã¹ã¯ããããã¹ã³ããã®Web移æ¤çãä½ã£ã¦ãã
TL;DR Visual Studio Codeã§ã¯ã¨ãã£ã¿ããã®ã³ãã³ãå®è¡ãTasksã¨ããä»çµã¿ã§ã§ãã¦ã¨ã¦ã便å©ã èæ¯ æè¿ã¨ãã£ã¿ãVisual Studio Codeã«å¤ãããã¨ãã£ã¿ã®ãã ããã¯ãããªã«ãªãã¦ãVim â Emacs â Atom ã¨ãã£ãé çªã§2å¹´ã«ä¸åº¦ãããä¹ãæãã¦ãããã ãããã©ã®ã¨ãã£ã¿ã«ãVimãã¼ãã¼ã¤ã³ãã¨ã¯ã¹ãã³ã·ã§ã³ãããã®ã§ãªãã¨ããªãã Visual Studio Codeã¯Atomã¨åãElectronãã¼ã¹ã ãã©ããªããAtomãããµã¯ãµã¯åãã®ã§æ°ã«å ¥ã£ã¦ãããMicrosoftã®ãªã½ã¼ã¹ãã¯ã¼ã«æè¬ãããããªãã ãã¹ãã®è©±ã«ç§»ãã¨ããã¹ããæ¸ãã®ã¯ãã¡ããã½ããã¦ã§ã¢å質ã®æ ä¿ããªã°ã¬ãã·ã§ã³ã®é²æ¢ãç®çã ããã©ããTDDçãªæèã§ã¯éçºã®ãªãºã ãä½ãã®ãç®çã®ä¸ã¤ã ããªãºã ãããã¹ãå®è¡ãã¤ã¤éçºããã«ã¯ãã¨ãã£ã¿ã§éãã¦
2017-06-22ã®ã¢ãããã¼ãã§CodeBuildã®ãã«ãçµæãCloudWatchEventsã§ææã§ããããã«ãªãã¾ããã ãã®ã¾ã¾SNSã§éç¥ãã¦ãããã®ã§ãããLambdaããIncoming Webhookã使ã£ã¦Slackã«éç¥ãã¦ã¿ããã¨æãã¾ãã äºåæºå 以ä¸ã®ãã¨ã¯ãã§ã«æ¸ãã§ããåæã§è©±ãé²ãã¾ãã CodeBuildã®ããã¸ã§ã¯ãä½æ Slackã®Incoming Webhookã®è¨å®(URLçºè¡) å®è£ ããã£ã¨æ¸ã¾ãããã®ã§Serverlessãã¬ã¼ã ã¯ã¼ã¯ã使ãã¾ãã serverless.ymlè¨å® ã¾ãããã¤ãè¦ã¦ããããã service: notify-build-result provider: name: aws runtime: nodejs6.10 timeout: 180 stage: ${opt:stage, self:custom.d
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}