Regional Scrum Gathering℠ Tokyo 2023 のクロージングキーノートの資料です。 https://2023.scrumgatheringtokyo.org/index.html
PostgreSQLエンジンでAuroraとRDSでpgbenchを使った負荷テストを行った。 テスト環境 クライアント pgbench (PostgreSQL) 14.2 (Ubuntu 14.2-1ubuntu1) EC2のc5.2xlargeインスタンスから実行 クライアントインスタンスの性能上限には引っかかっていないことは確認 以下のようなスクリプトを実行 スケールファクター: 100 トランザクションタイプ: デフォルト(TPC-B like) #!/bin/bash . .rds for i in 8 16 32 48 64; do echo "--- $(date +%FT%TZ) RDS $i" pgbench -i -s 100 -q pgbench -c $i -T 210 sleep 60 done echo "--- $(date +%FT%TZ) RDS end"
github.com 本体は ERB.new().result を呼ぶだけで、それをmrubyでdarwin/linuxのx86_64/aarch64向けにビルドした。 以下のようにシングルバイナリプログラムを通してテンプレートファイルを処理できる。 <%- to = ENV["MAIL_TO"] priorities = ENV["PRIORITIES"].split(",").map(&:strip) -%> From: James <james@example.com> To: <%= to %> Subject: Addressing Needs <%= to[/\w+/] %>: Just wanted to send a quick note assuring that your needs are being addressed. I want you to know tha
SpringOnionというRailsの遅そうなEXPLAINをログ出力するgemを作りました。 github.com 某kamopoさんのMySQLCasualLog.pmの移植?です。 cf. ふつうのWeb開発者のためのクエリチューニング 以前の移植とは異なって、Arproxyを必要とせず、単体で動きます。 何年前の話だよといわれそうですが、未だにスロークエリと戦っていたりするので… Rails 3以前に搭載されていた、遅かったクエリを自動的にEXPLAINする機能とは異なり、フィルタで選別されたすべてのクエリに対してEXPLAINを実行し、まずそうなキーワードが出現したらログに出力します。 また、EXPLAINの実行先は開発用のDBだけでなく任意のDBに向けられます(例: ステージング環境のDBなど)。 使い方 GemfileにSpringOnionを追加して group :dev
qrnというDBベンチマークツールを作りました。 github.com これは何? 羅列されたクエリを実行するだけのDBベンチマークツールです。 今のところMySQLにしか対応していませんが、PostgreSQLへの対応はそんなに難しくないと考えています。 羅列したクエリを実行するだけなので、クエリのログ(MySQLならgeneral log)をほぼそのままテストデータにすることができます。 逆に同じクエリを異なるパラメーターで実行するようなことはできないので、そういうむきであればJdbcRunnerなどを使った方がいいと思います。 Installation https://github.com/winebarrel/qrn/releases から最新版をダウンロードしてください。 Usage $ echo '{"query":"select 1"}' >> data.jsonl $ ec
AWS SSOで各AWSアカウントのManage Consoleを開く場合、AWSアクセスポータルURL(d-xxxxxxxxxx.awsapps.com/start)から遷移するが、赤枠のリンクは固定値のようなので、そのリンクから個別のアカウントのManage Console開くことができる。 リンクのURLは下のようになっていて https://d-12345abcde.awsapps.com/start/#/saml/custom/123456789012%20%28my-account%29/MTIzNDU2Nzg5MDEyX2lucy0xMjM0NTY3ODkwYWJjZWRmX3AtMTIzNDU2Nzg5MGFi%3D%3D /custom/の下は123456789012 (my-account)=アカウントID (アカウント名)をURLエンコードしたもの。 その下のMTIz
github.com 経緯 qrnを作ってからndjsonとかJSON Linesとか呼ばれているJSONを一行にして改行で並べたフォーマット*1がなかなか合理的で便利なことに気づいた。 たとえば 複数行のデータ(SQLなど)をエスケープして一行にまとめられる jqで加工・フィルタリングしやすい とか。 一方でcoreutilsみたいな基本的なツールはなかなか見つからなくて、複数ファイルをJSONのキーでJOINしてキーの値でソートする、みたいなことをやろうとすると、ツール探す・ツール作る・sed/awk/ruby/etc..とひと手間かけなくてはいけなくて、なにかそういうツールが欲しいと思っていた。 sortを作る GUN sortやBSD sortの良いところは、どれだけ大きいファイルの入力しても、時間はかかってもソートしてくれるところで、あれはどうなっているのかなと調べたら外部マージ
So you've installed `fzf`. Now what? Add me on LinkedIn! You can cite this post as a reason if you're shy. Software engineers are, if not unique, then darn near unique in the ease with which we can create tools to improve our own professional lives; this however can come at a steep cost over time for people who constantly flit back and forth between different tools without investing the time to le
www.aoky.net 昔読んだSteve Yeggeの「バベル案内」のC++ の話に「STL作者が OOP は嫌いだと言っていてショックを受けた」ということが書いてあって、ふーんと思っていたが、最近Alexander Stepanovのインタビュー記事を読んでいてそれっぽい話があった。 www.stlport.org Yes. STL is not object oriented. I think that object orientedness is almost as much of a hoax as Artificial Intelligence. はい。STL はオブジェクト指向ではありません。オブジェクト指向は、人工知能と同じくらいデマだと思います。 この人の別のインタビュー記事も面白い。 stepanovpapers.com Using animals as an exa
I often like to cover oddities here; details of computers and arcade systems people may not have heard of, that didn’t sell well but had unique or interesting characteristics. But focusing on oddities like that can disguise the fact that sometimes, even systems that were very popular can stand out for unique design. Such be it with the Nintendo Entertainment System: had Nintendo’s console flopped,
So, What's So Special About The Mill Scala Build Tool? Mill is a Scala build tool that offers an alternative to the venerable SBT toolchain. Mill aims for simplicity by reusing concepts you are already familiar with, borrowing ideas from Functional Programming and modern tools like Bazel. Feedback from users of Mill is often surprisingly positive, with people saying it is "intuitive" or feels "jus
Rust has been Stack Overflow's most loved language for four years in a row, indicating that many of those who have had the opportunity to use Rust have fallen in love with it. However, the roughly 97% of survey respondents who haven't used Rust may wonder, "What's the deal with Rust?" The short answer is that Rust solves pain points present in many other languages, providing a solid step forward w
CSVとかTSVをJSON LinesにするツールをGoとRustで書いた。 Go版 github.com $ printf 'foo,bar\nbar,zoo' | xjsonl -keys a,b {"a":"foo","b":"bar"} {"a":"bar","b":"zoo"} Rust版 github.com $ printf 'foo,bar\nbar,zoo' | xjr -k a,b {"a":"foo","b":"bar"} {"a":"bar","b":"zoo"} モチベーションとか qrnを作った関係でテキストをJSON Linesに変換するツールが欲しくなったのだが、あまり上記のようなツールが見つからず、joで頑張るのもめんどくさい、ということで自作した。 かなり小さいツールなので、Rust学習のためにポートするにはちょうどいいかと考えてRust版も作成。 Ru
Excerpt from Serverless First deck first published in 2019The Prime Video team published this story: Scaling up the audio/video monitoring service and reducing costs by 90%, and the internet piled in with opinions and bad takes, mostly missing the point. What the team did follows the advice I’ve been giving for years (here’s a video from 2019): “Where needed, optimize serverless applications by al
ECS ExecがどうもマネージドなSSM Agentを使って動いているということはわかっていたが、実際どうなっているのかよくわからなかった。 New – Amazon ECS Exec による AWS Fargate, Amazon EC2 上のコンテナへのアクセス | Amazon Web Services ブログ デバッグに Amazon ECS Exec を使用する - Amazon ECS AWS Fargateで動いているコンテナにログインしたくて Systems Manager の Session Manager を使ってみた話 - SMARTCAMP Engineer Blog 踏み台EC2を廃止してSession Manager接続に置き換えました | by Daichi Harada | Eureka Engineering | Sep, 2021 | Medium a
To paraphrase the indie band Cracker, what the world needs now is another programming language like I need a hole in the head. That said, Go has slowly but surely inundated the development world like a creeping vine, covering everything that came before it in a lush—and in many ways superior—cover of programming power. With its growing popularity, there are a number of reasons you should take a cl
年末で少し時間があったので、書こう書こうと思っていたSendGridのv3 Mail Sendを書きました。 V3 Mail Send API Overview - SendGrid Documentation | SendGrid github.com READMEのUsageを見ればわかるとおり、ほぼAPIに即した薄いクライアントです。 とりあえず、現状で公式クライアントは利用しにくいので、自作した感じです。 非公式とはいっても公式がスキーマを公開しているので、rakeタスクで公式のスキーマを取得して、メール送信ポストリクエストのボディーのバリデーションをJSON Schemaで行うようにしています。 require 'kani_laser' client = KaniLaser::Client.new(api_key: 'ZAPZAPZAP') # see https://sendg
こんにちは、ジブリッシュマン えいログのえいじです。 今日も頑張りましょう。 カタカナ読みで英語を理解する、初心者英会話勉強ブログ!!! No.21 So, what are you doing ? まずはNo.20の復習 A Do you have a big family ? B Not really. Just my wife and two kids. A Do you have any brothers or sisters ? Do you have any children ? B Yes. I have a sister. No. I don`t yes. A daugeter and a son A what does your wife do ? what do your parents do ? B she`s a do
Our phones give us instant access to information. Unfortunately, it comes at a cost: loss of productivity and attention. Here's what you can do about it. Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More. Most of us can admit that we spend a little too much time on our phones. With smartphones that do just about anyt
イチロー選手のストイックな姿勢に学んだ、準備をしっかりする大切さ いよいよ転職活動開始! イチロー選手のストイックな姿勢に学んだ、準備をしっかりする大切さ 若い頃の私は目標を定め、その目標を達成するために必要な事を計画的に実践していくというよりは、どちらかというとその場しのぎで目の前の課題を片付けていくという感じでした。 しかし30歳を目前にしたある時、尊敬してやまないイチロー選手のこの言葉に出会い、それこそ価値観が根底から覆るほどの衝撃を受けました。 ようするに“準備”というのは、言い訳の材料となり得るものを排除していく、そのために考え得るすべてのことをこなしていく、ということですね。 「準備とは、言い訳を排除すること」。イチローに学ぶ準備の極意5つ | TABI LABO ちょ、ちょっと待ってくれよ…。 あの才能豊かなイチロー選手が、陰でこれほどの努力をしているなんて。 そりゃもう才能
ジャズ演奏中の全員の思考を 一度に見れるように リアルタイムで書き出しました! マイルスデイビスのソーファット の演奏です それぞれの思惑が 行ったり来たりしてる感じを お楽しみください! 無料メルマガ登録 4つの特典!! https://lp.kurodakazuyoshi.com/mm/ 黒田和良ホームページ http://kurodakazuyoshi.com 【参考動画】 Miles Davis - So What (Official Audio) https://youtu.be/ylXk1LBvIqU Miles Davis - So What (Official Video) https://youtu.be/zqNTltOGh5c So What https://youtu.be/zOSYBw73WbU 【関連キーワード】 #ジャズ演奏 #演奏中何考えているの
はてなブログに移行して、記事を公開して今日で9日が経過しました。 WordPress時代はアクセスがほとんどなく、文章を書くことに少しばかり自信を持っていた私はか〜な〜りガッカリしました。 別に誰から頼まれたわけでもないのに(こんな誰も見てくれないブログを書き続ける意味あんのかな)と思ったり、(転職活動も全然うまくいかないし、私って何やってもダメだな)と思っては、それはそれは凹んでいました。 さらに同じ時期にブログ初心者アカウントでTwitterを始めた方々も気づけばもの凄い人数のフォロワーさんがついたりして、(自分のブログって本当に魅力ないんだな)とめちゃくちゃ拗ねていました。 とは言うもののブログは継続したいという思いがあったので、このよろしくない現状を打破するためにも思い切ってはてなブログに移行したのでした。 (はてなブログに移行した具体的な経緯はこちらです👇) bisbow.ne
Firestore is Stunted, So... What is the Perfect Database in 2022? To be fair I meant only Firestore really, not Firebase the Platform. Ok, Firestore is not dead. It is quite popular. But it should be dead. It should be dead for the reasons I listed in my post almost a year ago. The team has spent the last 14 months building every single SDK, plugin, and monitoring addon for Firebase possible. This
There is a common view that extracting text from a PDF document should not be too difficult. After all, the text is right there in front of our eyes and humans consume PDF content all the time with great success. Why would it be difficult to automatically extract the text data? Turns out, much how working with human names is difficult due to numerous edge cases and incorrect assumptions, working w
娘2人 ダメ母ちゃんだけど娘達を愛してます 大事にしている桃の節句 わが家の自慢の雛人形 和食が苦手!!だけど… 娘2人 私には愛すべき2人の娘がいます。 私はもし親になれるなら、あわよくば女の子が欲しいと思っていました。 幼少期の私は、ワンピースの代わりにTシャツ・短パン、ポニーテールの代わりに短髪と、名作『ベルサイユのばら』のオスカルよろしく、まるで男の子のように育てられました。 その反動か大人になってからは、花や雑貨、アクセサリーなど、可愛いものや美しいものに心を奪われるようになりました。 なので『少年』として育てられた子供の頃の私の無念(?)をはらすためにも、女の子が産まれたら美しい着物やドレスを着せて写真を撮ったり、可愛い服をたくさん着せてあげたいと常々思っていました。 すると私の人生では珍しく願い事が成就し、女の子2人を授かる事ができました。 ダメ母ちゃんだけど娘達を愛してます
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く