mercari.go #4 https://mercari.connpass.com/event/105640/
- catatsuyというIDで各種SNS活動しています
- かたついって呼ばれています
- メルカリのSREチームで主にGoを書いています
- 前職はピクシブでpixivのHTTPS化・PHP7.1化・HTTP/2化や、広告サーバーの新機能追加など色々やっていました
| #include <iostream> | |
| #include <string> | |
| #include <sstream> | |
| #include <algorithm> | |
| #include <unordered_map> | |
| #include <cmath> | |
| #if multithread | |
| #include <ppl.h> | |
| #endif |
| #!/usr/bin/env python | |
| # vim: set fileencoding=utf-8 | |
| # | |
| # USAGE: | |
| # Back up your tmux old config, run the script and redirect stdout to your conf | |
| # file. Example: | |
| # | |
| # $ cp ~/.tmux.conf ~/.tmux.conf.orig | |
| # $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf | |
| # |
mercari.go #4 https://mercari.connpass.com/event/105640/
パターンとはその言語が抽象化できなかった敗北の歴史である。 しかしどんなに優れた言語であってもあらゆる繰り返しに勝てるわけではない。 人は必ずメタ繰り返しを欲するからだ。 そしてそれはRustも例外ではない。
ここでは、OOPでも知られているパターンよりも、Rustに特有のパターンを思いつく限りまとめてみた。名前は適当。
9:00にオフィス(Sticky Fingers)
食料品は事前に用意しておく。食べ過ぎない。胃に負担をかけないようにする。
運営の櫛井さんからのメールに従って、サポートチャットと予選ポータルサイトにログインする。
| #include "json.hpp" | |
| namespace json { | |
| Wrapper::Wrapper(Value const &value) : v{value} {} | |
| Wrapper::Wrapper(Value &value) : v{value} {} | |
| Wrapper::operator Value &() { return v; } | |
| Wrapper::operator Value const &() const { return v; } |
| #!/usr/bin/env python3 | |
| import concurrent.futures.thread | |
| import sys | |
| import time | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| def remove_file(path): | |
| print('Removing file %s' % path) |