Go1.10å°å ¥äºå®ã®ãã£ãã·ã¥ãã«ãã«ã¤ã㦠in golang.tokyo #11
ã¯ããã« å ¨å½ã®MySQLerã®çæ§ããã«ã¡ã¯ã ã¾ã RCçã§ããMySQL8ã§ã¤ãã«ã¦ã£ã³ãã¦é¢æ°ã使ããããã«ãªãã¾ãããã ã¨ãããã¨ã§ä»ã¾ã§MySQL使ãã«ã¨ã£ã¦ãã¾ã馴æã¿ã®ãªãã£ãã¦ã£ã³ãã¦é¢æ°ãç°¡åã«è§£èª¬ãã¦ã¿ã¾ãã ã¦ã£ã³ãã¦é¢æ°ã¨ã¯ ãã¡ããã¡ãä¹±æ´ã«ããã¨ãéç´ã®ãªãGROUP BYã§ãã ã¨ãããã®ã¯ãããã«ä¹±æ´ãããã®ã§é ã追ã£ã¦èª¬æãã¾ãã ãã®åã«èª¬æã«ä½¿ããã¼ãã«ãä½ã£ã¦ããã¾ãããã ãã£ãããªã®ã§MySQLã®éçºè ããã°ã§ã¦ã£ã³ãã¦é¢æ°ãç´¹ä»ããè¨äº âMySQL 8.0.2: Introducing Window Functionsâ ãããåããã¾ãã CREATE TABLE sales( employee VARCHAR(50), `date` DATE, sale INT ); INSERT INTO sales VALUES ('odin',
ãã®è¨äºã¯ã²ã¨ãã§CPUã¨ã¨ãã¥ã¬ã¼ã¿ã¨ã³ã³ãã¤ã©ãä½ã Advent Calendar 2017ã®17æ¥ç®ã®è¨äºã§ãã ã¡ããã©1é±éåã« åç´ãªCPUãFPGAã§ä½ã£ãã ããã¦æ¨æ¥ã¯ x86ã®ã¨ãã¥ã¬ã¼ã¿ãå®æãããã ãã®2ã¤ãçµã¿åããã¦ãFPGAä¸ã§åãx86ã®CPUãä½ããã ããããæ¬ä¸¸ã«åãè¾¼ããï¼ï¼ï¼ x86ãHDLã§è¨è¿°ããæ¥æ¬èªæ¸ç±ã解説è¨äºã¯ããã¾ã®ã¨ããåå¨ããªãã¨æãã å é£ãåã£ãã ä»æ§ å ¨å½ä»¤ãå®è£ ããã®ã¯å¤§å¤ãªã®ã§ã以ä¸ã®è¡¨ã®èµ¤ãå½ä»¤ã«ãã¼ããã ãããã®å½ä»¤ããããã°ãå帰å¼åºãã§ãã£ããããæ°ãè¨ç®ã§ããã åºæ¬æ¦ç¥ è² æ ã軽æ¸ããããã åä½CPU ãæ¹è¯ããæ©è½ã追å ããå½¢ã§å®è£ ãããã¨æãã åä½CPUã®å½ä»¤ã»ããã¯ãã®è¨äºã«æ¸ããã ããã¤ã¨x86ã®ç¸éç¹ãã¾ã¨ãã㨠解説é åä½CPU ããããä½ãx86å½ä»¤ã»ããã®CPU 1 ã¬ã¸ã¹ã¿ã
ã¯ããã« æ¬è¨äºã¯ PHP Advent Calendar 2017 18æ¥ç® ã§ãã å ã«æã£ã¦ããã¾ãã ãã®è¨äºã®å 容ã¯ã php ã¹ã¯ãªãããæ¸ãä¸ã§å ¨ãå¿ è¦ã®ãªãç¥èã§ãã ç¥ã£ã¦ããä½ãã«å½¹ç«ã¤ãããªæ å ±ãæ±ãã¦ãããããããªããã https://qiita.com/advent-calendar/2017/php ã«ã¯ãã£ã¨ããããã®ç´ æ´ãå½¹ç«ã¤è¨äºãããã¾ãã®ã§ã©ã¼ãã ãªããæ¤è¨¼ã«å©ç¨ãã php 㯠7.2.0 ã§ãã PHP ã®æåå PHP ã®æååã¯ãã©ããåã "æåå" ã§ã¯ããã®ã§ãããä¸èº«ãã¡ãã£ã¨éãã¨ãã¨ãããã®ããåç¥ã§ããããã ä¾ãã°ã <?php $str1 = 'A'; $str2 = sprintf('%s', 'A'); `$str1` 㨠`$str2` ã¯ã©ã¡ããåã `'A'` ã¨ããæååã«ãªãã¾ãããéããããã¾ãã (å¤æ°å
Go Concurrency Patterns Rob Pike Google Video This talk was presented at Google I/O in June 2012. Watch the talk on YouTube 2 Introduction 3 Concurrency features in Go People seemed fascinated by the concurrency features of Go when the language was first announced. Questions: Why is concurrency supported? What is concurrency, anyway? Where does the idea come from? What is it good for? How do I use
Today we will see how we can interact with WebAssembly, from Go: how to execute WebAssembly bytecode from Go and how to generate WebAssembly bytecode with Go. But first of all: what is WebAssembly? WebAssembly According to webassembly.org, WebAssembly (wasm for short) is a new portable, size- and load-time-efficient format suitable for compilation to the web. In a way, wasm is the next evolution o
Fusic Advent Calendar 2017 18æ¥ç® [Go2 Advent Calendar 2017] (https://qiita.com/advent-calendar/2017/go2) 18æ¥ç®ã®è¨äºã§ãã ç§ã¯AWSããã触ãã®ã§ããããã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã®ã©ããã¼ãä½æããããªãã¾ããã æ®æ®µãªãbashã§ãã£ãã£ãã¨ä½ã£ã¦ãã¾ãã®ã§ããããã£ã¨ä½¿ãããã¨æã£ã¦ããGoãç¡çãã使ã£ã¦ã¿ããã¨æãã¾ãã ï¼Goåå¿è ã§ããã容赦ãã ããï¼ ããã㨠以ä¸ãç°¡åã«è¡ãããã¨èãã¾ããã S3å ã®ãã±ããä¸è¦§ã表示 ãã±ãããé¸æããã é¸æããããã±ããã®ä¸è¦§ãåºã¦æ¥ã ãªãã¸ã§ã¯ããé¸æããã ãªãã¸ã§ã¯ããåå¾ãã ã³ã¼ã package main import ( "fmt" "os" "os/exec" "strings" ) func main() {
(注ï¼2017/07/06ãããã ãããã£ã¼ãããã¯ãå ã«ç¿»è¨³ãä¿®æ£ãããã¾ããã) ãã®è¨äºã¯ã LLVM ã³ã³ãã¤ã©åºç¤ã使ã£ã¦ãªãµã¼ãããã人ã®ããã®å ¥éæ¸ã§ãããããèªãã°ãã³ã³ãã¤ã©ã«å ¨ãèå³ã®ãªã大å¦é¢çãã楽ãã¿ãªããLLVMã使ã£ã¦åªããå績ããããããããã«ãªãã§ãããã LLVMã¨ã¯ä½ãï¼ LLVMã¯é常ã«åªãã¦ãã¦ãããã¯ãããããCè¨èªãC++ã®ãããªâãã¤ãã£ãâè¨èªåãã®ãæ代ã®å 端ãè¡ãã³ã³ãã¤ã©ã§ãã LLVMã®ç´ æ´ãããã«é¢ãã¦ã¯ä»ã«ãæ§ã ãªè©±ãèãã®ã§ã¯ãªãã§ããããï¼JITã³ã³ãã¤ã©ã¨ãã¦ã使ããã¨ããCè¨èªç³»å以å¤ã®æ§ã ãªè¨èªãå¼·åã§ããã¨ãã App Storeããã®æ°ããé ä¿¡å½¢æ ã§ããã¨ãããªã©ãªã©)ããã¡ããå ¨é¨æ¬å½ã®ãã¨ã§ãããä»åã®è¨äºã®ç®çã¨ãã¦ã¯ãä¸è¿°ã®å®ç¾©ãéè¦ã§ãã LLVMãä»ã®ã³ã³ãã¤ã©ã¨å·®å¥åãããçç±ã«ã¯ãããã¤ãã®å¤§ããª
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã®è¨äºã¯ï¼ãæååã¢ã«ã´ãªãºã Advent Calendar 2017ã12æ¥ç®ã®è¨äºã§ãï¼ ã¯ããã« ä»æ¥ã¯æååãå§ç¸®ãã¦ã¿ã¾ãï¼ P e t e r _ p i p e r _ p i c k e d _ a _ p e c k _ o f _ p i c k l e d _ p e p p e r s . _ A _ p e c k _ o f _ p i c k l e d _ p e p p e r s _ P e t e r _ P i p e r _ p i c k e d . _ I f _ P e t e r _
ã¯ããã« Qiitaããã¥ã¼ã§ãï¼@kampersandaã§ãï¼ ãã®è¨äºã§ã¯ï¼ãã¾ãã¾ãªæååå¦çã¢ã«ã´ãªãºã ã®çè«çåºç¤ã¨ãªã£ã¦ãã決å®æ§æéãªã¼ãããã³ï¼ä»¥ä¸ï¼ãªã¼ãããã³ã¨æ¸ãã¾ãï¼ãããã«é åã«ãã表ç¾ããæ¹æ³ãç´¹ä»ãã¾ãï¼ãã®è¨äºã§ç´¹ä»ããææ³ã¯ä»¥ä¸ã®è«æã§ææ¡ããã¦ãããã®ã§ãï¼ åç°æ¦å¸, 水島å®å¤ª. ãªã¼ãããã³ã®å§ç¸®é å表ç¾ã¨è¨èªå¦çç³»ã¸ã®å¿ç¨. ããã°ã©ãã³ã°ã·ã³ãã¸ã¦ã , pp. 49â54, 2008. ã¾ãããã«é åã«ã¤ãã¦ç°¡åã«èª¬æãã¾ãã¨ï¼ããã«é åã¨ã¯ãã©ã¤ã¨å¼ã°ããã©ãã«ä»ãæ¨ã表ç¾ããããã®ãã¼ã¿æ§é ã®ä¸ã¤ã§ãï¼æ¤ç´¢ãé常ã«é«éã§ããï¼å½¢æ ç´ è§£æå¨MeCabã®è¾æ¸å¼ããªã©ã«ç¨ãããã¦ãã¾ãï¼ãã©ã¤ã®ããã«é å表ç¾ã«ã¤ãã¦ã®è§£èª¬ã¯ããã°ãæ¸ç±ãªã©ã§å¤ãæè¦ããã¾ãï¼Wikipediaã®ãã©ã¤æ¨ã«ã説æãè¼ã£ã¦ãã¾ãï¼ä¸æ¹ã§ï¼å®ã¯ãªã¼ãããã³ã表ç¾ã§ããã¨
ãã®è¨äºã¯ããæååã¢ã«ã´ãªãºã Advent Calendar 2017ã15æ¥ç®ã®è¨äºã§ãã ã©ãããæåå大好ã @hdbn ã§ãã ãã®è¨äºã§ã¯æååç §åã¢ã«ã´ãªãºã ã¨ãã¦æå㪠Knuth-Morris-Pratt1ã¢ã«ã´ãªãºã ï¼ä»¥ä¸ KMP æ³ï¼ã®(ã¢ã«ãã¡ããããµã¤ãºã«ä¾åããªã)ããªã¢ã«ã¿ã¤ã ãçã解説ãã¾ããKMP æ³ãããç¨åº¦ç¥ã£ã¦ããã»ããèªã¿æãããããã¾ãããã¾ãã決å®æ§æéãªã¼ãããã³ã¨é決å®æ§æéãªã¼ãããã³ã«ã¤ãã¦ã®ç¥èãåæã¨ãã¦ãã¾ãã KMP æ³ã¯(æååããã¢ã§ã¯ãªã)ä¸è¬äººåãã«ãæ°å¤ãã®è§£èª¬è¨äºãããã¾ããä¸æ¹ã§ãKMP æ³ã¯ãªã¢ã«ã¿ã¤ã ã¨ãªãããã«å¤æ´ã§ãããã¨ããè¨è¿°ãå¤å°è¦ããã¨ããã2ãã®ã®ãå®éã«(ã¢ã«ãã¡ããããµã¤ãºã«ä¾åããªã)ãªã¢ã«ã¿ã¤ã çãã©ãå®ç¾ããã°è¯ãã®ãã解説ãããã®ãè¦ããã¨ããªãã£ãã®ã§ãã®ãã¼ããé¸ãã§ã¿ã¾ããã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? æ´æ°ã¯0ã¨1ãããªãæååã ãæ´¾ã§ãï¼è¨ç®æ©ã¢ãã«ã¨ãã¦Word-RAMãä»®å®ï¼ï¼ ãã®è¨äºã¯æååã¢ã«ã´ãªãºã Advent Calendar 2017 17æ¥ç®ã®è¨äºã§ãï¼ vEBæ¨ã¨ä¸¦ãã§é«éã«predecessorã解ããã¼ã¿æ§é y-fast trie1ãç´¹ä»ãã¾ã. æååã®ãã¼ã¯ã¼ãç´¢å¼ãªã©ã§ããå©ç¨ããããã©ã¤æ§é (Trie)ã§æ´æ°éåã管çããé¢ç½ããã¼ã¿æ§é ã§ãï¼ Predecessor Dictionary Problem å ¨ä½éå$U = \{ 0, \ldots, u-1 \}$ã®é¨åéå$S \subseteq
ãã®è¨äºã訪ãã¦ããã ãã¦ãããã¨ããããã¾ãï¼ ããããè¨äºãæ¸ãã®ã¯åãã¦ãªã®ã§ã©ãããææããã«ï¼ ãã¦ä»åã®å 容ã¯**ãLyndon æååå ¥éã**ã§ãï¼ ãã¼ã¯ã¼ãã¯ä»¥ä¸ã®éãã§ãï¼ Lyndon æååï¼Lyndon wordï¼ Lyndon å解ï¼Lyndon factorizationï¼ Lyndon å解ã¢ã«ã´ãªãºã ãã®è¨äºã§ç´¹ä»ãã Lyndon æååã¯ï¼æååã®è¾æ¸å¼é åºãç¨ãã¦å®ç¾©ããããã®ã§ãï¼ã¿ãªãããããèªç¶ã«ã¤ã¡ã¼ã¸ãããã®è¾æ¸å¼é åºã§ãï¼å¿µã®ãã以ä¸ã§ã¯è¾æ¸å¼é åºãä¾ã¨ã¨ãã«ç°¡åã«èª¬æãã¦ãã¾ãï¼ æååã®è¾æ¸å¼é åº ï¼æ³¨ï¼é常ã«ãããè¨è¿°ãã¦ãã¾ãï¼ï¼ ã¢ã«ãã¡ãããï¼æåã®éåï¼ä¸ã®å ¨é åºãä¸ããããã¨ãï¼2ã¤ã®æååã®è¾æ¸å¼é åºã¯ä»¥ä¸ã®ãããªã«ã¼ã«ã«ãã£ã¦å®ç¾©ãããï¼ 2ã¤ã®æååãå é ããæ¯è¼ãï¼åãã¦ç°ãªãæåéã®é åºã2ã¤ã®æååã®é åºã«
ã¯ããã« ã¢ããªã±ã¼ã·ã§ã³ã«ãã°ããã¼ã¿ãéãããããã®ã«ãã°ãã°å©ç¨ããã Fluentd ã¨ããã½ããã¦ã§ã¢ã®ã¯ã©ã¤ã¢ã³ããErlang/OTPã§å®è£ ãã話ã§ãã æ¬å®¶ã®erlangã®fluentdã®ã¯ã©ã¤ã¢ã³ã ã®å®è£ ãçºãã¦ãã¦ã gen_eventã§å®è£ ããã¦ãããããéè² è·ãé害æãªã©ãèæ ®ãããå ´åã¯ã²ã¨å·¥å¤«ãå ¥ããå¿ è¦ãããããã¨æãã ä»åæ¬å®¶ã¨ç°ãªãããã¤ãã¢ã§å®è£ ãã¦ã¿ã¾ããã ä½æ gen_event使ããªãã£ãã®ãï¼ çµè«ããè¨ãã¨ãå¥ã·ã¹ãã ã«ãã¼ã¿ãéä¿¡ãããããªã±ã¼ã¹ã§ã®gen_eventã®å©ç¨ã¯é¿ãããã£ãããã§ãã ä½æ é¿ããã®ãã¨ãã説æãããããã«ãç°¡åã«gen_eventã®è©±ããã¾ãã gen_eventã¯ä¸ã¤ã®ã¤ãã³ãããã¼ã¸ã£ã¼ã¨0å以ä¸ã®ã¤ãã³ããã³ãã©ã¼ã§æ§æããã ããã¼ã¸ã£ã¼ã«ã¡ãã»ã¼ã¸ãéä¿¡ãã(notify, sync_notifyé¢
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}