配送元ホスト名、User-agentに含まれてそうでしたね
本日早起き割烹着となりましたのでNCRさんのビアンカブレンドを開封しました。とりあえず20秒蒸らして12gの豆に240gのお湯を3回に分けて淹れると、最初はなんだか懐かしい味とかおりなのにしばらくするとぶあーっといろいろな味が広がる(語彙)。おいしー!
まだ最初の方しか読んでないんだけどシリコンバレー中心ではなくイギリスから見た計算機の歴史が読めたり、現代の計算機のしくみを分かりやすく解説してくれてる感じだったりでワクワク読みすすめられるよ!ごくまれに謎和訳が出現するんだけどえてして原文でも消化不良立ったりするんだろうし、気にしないw
O'Reilly Japan - Raspberry Piで学ぶコンピュータアーキテクチャ https://www.oreilly.co.jp//books/9784873118659/
ポスグレのサイズを測るの忘れてた
$ heroku pg:info
=== HEROKU_POSTGRESQL_CYAN_URL, DATABASE_URL
Plan: Standard 0
Status: Available
Data Size: 5.11 GB
Tables: 65
PG Version: 10.9
Connections: 14/120
Connection Pooling: Available
Credentials: 1
Fork/Follow: Available
Rollback: earliest from 2019-09-19 18:11 UTC
Created: 2019-07-28 23:28 UTC
Region: us
Data Encryption: In Use
Continuous Protection: On
Maintenance: not required
Maintenance window: Thursdays 19:30 to 23:30 UTC
Add-on: postgresql-clean-89871
そういえばRubyのバージョンは上げなくていいんだっけ
67bef15e5 (upstream/master) Add fallback section ID with ToC (#11941)
1051c5cff Bump puma from 4.1.1 to 4.2.0 (#11939)
172eaeba3 Add config of multipart threshold for S3 (#11924)
637cc7bf7 Bump doorkeeper from 5.2.0 to 5.2.1 (#11934)
85a619a42 Bump webmock from 3.7.3 to 3.7.5 (#11936)
ce8ea58bd Bump eslint from 6.1.0 to 6.4.0 (#11929)
36bdfce1b Bump simplecov from 0.17.0 to 0.17.1 (#11932)
a60c78f6b Bump chewy from 5.0.0 to 5.0.1 (#11935)
bdad34adf Bump redis from 4.1.2 to 4.1.3 (#11938)
3ff74cea7 Bump faker from 2.3.0 to 2.4.0 (#11933)
370813263 Bump sass from 1.22.9 to 1.22.12 (#11928)
936595697 Bump mini-css-extract-plugin from 0.7.0 to 0.8.0 (#11927)
695cbef0e Bump babel-jest from 24.8.0 to 24.9.0 (#11926)
9707e6471 Remove deprecated config from Heroku and Scalingo (#11925)
\Master/ \ますたー/
Merged tootsuite/mastodon at 67bef15e53a77b6f1557fdd0efa65f3e916c20df.
mstdn.jpさんからトゥートが届いた時刻をトゥート時刻に対してプロットしてみました。みんながおかしいなーって言ってた間にもちょっとだけ届いてたのがあるみたい。
This account is not set to public on notestock.
久しぶりにspec走らせる用マシンを起動したらですねw
$ ssh zunda@192.168.1.66
zunda@192.168.1.66: Permission denied (publickey).
ログインしららですね
98 packages can be updated.
39 updates are security updates.
依存するGemのテストを別のアプリからしかできない時にGemfileにブランチを明示してプルリクアプリをつくって試してから依存先Gemのブランチをmergeしてアプリ側でもGemfileでの指示をmasterに戻してからマージするという技に気づいたんだけど簡単に自分の位置を見失いそう
古かったかー
$ yarn install
yarn install v1.17.3
[1/6] Validating package.json...
error @tootsuite/mastodon@: The engine "node" is incompatible with this module. Expected version ">=8.12 <13". Got "8.11.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ sudo apt install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.1-1nodesource1).
ほむ
Finished in 6 minutes 10 seconds (files took 13.17 seconds to load)
2419 examples, 0 failures, 9 pending
Randomized with seed 37951
Coverage report generated for RSpec to /home/zunda/local/src/mastodon/coverage. 11820 / 16434 LOC (71.92%) covered.
いえーい
よっしゃ
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.6.4
そうそう、 今日のSlackさんはお豆腐がお好みのご様子。xubuntu 19.04では起きてるけどubuntu 16.04では問題ないんだよねー
This account is not set to public on notestock.
U2Fのことかー。それでもいいわね
mstdn.jpさんからトゥートが届いた時刻をトゥート時刻に対してプロットしてみました。みんながおかしいなーって言ってた間にもちょっとだけ届いてたのがあるみたい。
@yakitama 弊ぼっちにjpからpushされたトゥートたちです。弊ぼっちで下記のようなクエリでPostgresから取り出してます
SELECT created_at, updated_at, url, uri
FROM statuses
WHERE
updated_at > '2019-09-19 12:00' AND updated_at < '2019-09-23 12:00' AND
created_at > '2019-09-19 12:00' AND created_at < '2019-09-23 12:00' AND
uri LIKE 'https://mstdn.jp/%';
ちなみにトゥートが届き始めた時間帯のズームアップ。mstdn.jpさんがキューをたどるのにそこそこ時間がかかってていい感じに到着時刻がばらけてるように見える。
@hanage999 それが強いサーバからたくさんフォローを受けてるとSidekiqのスレッド数かけるフォロー数でリクエストが激しくなるんですよねw
@yakitama あ、なるほど。ぼっちサーバの検索ウインドウからmstdn.jpのトゥートのURLを検索して取ってきてブーストしたトゥートですね。覚えている限り2-3個だったのでここでは無視しても大きな違いは無さそうです。厳密にやるとするとアクセスログとどうにかして突き合わせないといけないかもですね。
@yakitama なるほどなるほど!! 「ちょとだけ届いてた」トゥートの届いた経路ですね。それはありそう。Sidekiqのログと突き合わせるのもありかもですね。(面倒そう…
@tSU_RooT Rubyでpsqlの表をtsv風のファイルに書き出してgnuplotです :)
gnuplot
reset
set xdata time
set ydata time
set size ratio -1
set timefmt "%Y-%m-%dT%H:%M:%S"
set format x "%m-%d\n%H:%M"
set format y "%m-%d %H:%M"
set style data points
set xlabel "Tooted at (UTC)"
set ylabel "Delivered at (UTC)"
plot "delays.dat" using 1:2 not
set output "delays.png"; set term push; set term png small; replot
unset output; set term pop
○×□ △=͟͟͞͞<俺も加わるぞ!
三角が参画!w
めんどーなお客様を前にモンエナをカシャプシュしそうになったが思いとどまってコーヒーを煎れることにした。えろい←
@zundan @yakitama 該当期間に絞って、こんな感じ?
SELECT DISTINCT s.created_at, s.updated_at, s.url, s.uri FROM statuses r INNER JOIN statuses s ON r.reblog_of_id = s.id INNER JOIN accounts a ON s.account_id = a.id WHERE a.domain = 'mstdn.jp' AND s.created_at BETWEEN '2019-09-21 00:00' AND '2019-09-22 12:00' AND s.updated_at BETWEEN '2019-09-21 00:00' AND '2019-09-22 12:00' AND r.created_at BETWEEN '2019-09-21 00:00' AND '2019-09-22 12:00' AND r.updated_at BETWEEN '2019-09-21 00:00' AND '2019-09-22 12:00';
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
さて。割烹着タスク免除につきゆで卵2つをご飯に乗っけて食べたんだけど微妙に足りないんだけどこれ以上なにか作る元気ないんだけど
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
なんとなくブーストされたトゥートを取り除けた気がする。やっぱり問題があった時間帯にはトゥートが配送されてきていなかったっぽい。 #SQLわからん
SELECT DISTINCT s.created_at, s.updated_at FROM statuses s
LEFT JOIN statuses r ON r.reblog_of_id = s.id
WHERE
r.reblog_of_id IS NULL AND
s.created_at BETWEEN '2019-09-19 12:00' AND '2019-09-23 12:00' AND
s.updated_at BETWEEN '2019-09-19 12:00' AND '2019-09-23 12:00' AND
s.uri LIKE 'https://mstdn.jp/%';
ssh-agentは環境変数経由でやりとり先をやりよりするので環境と一緒に起動しとかないと面倒なんたけどgpg-agentは名前付きパイプ経由で直接やりとりするので別々にsshした先のサーバでも便利につかえる #へたくそな説明
ローカルにファイルを作る子はスケールしないし僕のMastodonはRedisにお金を払ってないのでスジケールしないよ