06:55:53
icon

早起きしちゃったのでスパム目玉焼きわよー

Attach image
07:00:21
icon

ふぉぉぉ!フォレストブレンドうんまぁぁぁい!

07:07:07
icon

深煎り未満のコーヒーは淹れ方が悪いのか味が安定しないんだよね…。

07:27:37
icon

おっさんなので朝日で背中を温めて座位二度寝してる

07:28:42
2021-09-13 07:22:36 最低人間님의 게시물 worstman@chin-co-ne.co
icon

This account is not set to public on notestock.

07:29:07
icon

カップヌードル味のソーダはまずそーだ

08:28:52
icon

これかしらね…

$ find vendor/bundle/ruby/3.0.0/gems/scout_apm-2.6.8 -type f -print0 | xargs -0 grep 'def find_by'
vendor/bundle/ruby/3.0.0/gems/scout_apm-2.6.8/lib/scout_apm/instruments/active_record.rb: def find_by_sql_with_scout_instruments(*args, &block)

08:33:21
icon

うーっし。ステージングにScoutを入れて現象の再現に成功しました🎉 (ばんばんぞうさんかわいい)

Attach image
08:35:22
icon

Scout gemの更新は今のところ無いようだ。モンキーパッチ当ててみようかな。

08:50:26
icon

@nacika ブーストを受ける側のインスタンスでhttp署名の検証に失敗してはじかれそう?

08:56:48
icon

@nacika なるほどー!!

09:01:06
icon

@nacika 署名したり検証するあたりあんまりログが出ないのでログを眺めてるだけじゃ動作を把握しづらいですよねー。結果が楽しみw

09:04:14
09:04:33
icon

Spotifyを再生させられちゃうiPodちょっと好きw

09:10:20
icon

脳死モンキーパッチじゃ効果があったんだかどうだかわからなかったね…
https://github.com/zunda/mastodon/blob/14f6a47/config/initializers/scout_active_record.rb

09:12:18
icon

ってScout gemずいぶんバージョンアップしてるじゃないのよもー
https://github.com/scoutapp/scout_apm_ruby

Web site image
GitHub - scoutapp/scout_apm_ruby: ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks
09:14:04
icon

正しくはこうでした

$ bundle update --conservative scout_apm
:
Installing scout_apm 4.1.2 (was 2.6.8) with native extensions
Bundle updated!

09:25:42
icon

これで直ったかな?

$ find vendor/bundle/ruby/3.0.0/gems/scout_apm-4.1.2 -type f -print0 | xargs -0 grep 'def find_by'
vendor/bundle/ruby/3.0.0/gems/scout_apm-4.1.2/lib/scout_apm/instruments/active_record.rb: def find_by_sql_with_scout_instruments(*args, **kwargs, &block)

09:40:52
icon

よーっしお父さんこのインスタンスをruby-3.0.2にしちゃうぞー

09:44:19
icon

わいわい

Attach image
09:48:09
icon

ruby-3.0.2のブランチにマージ行くよー :saba:

12cb6ed46 (upstream/main) Update Dockerfile (#16696)
3d98f31c6 Fix some Rails frameworks being unnecessarily loaded (#16725)
db57bff11 Stop setting a shortcode to newly-created media attachments (#16730)

09:52:48
icon

今日なんか涼しいな? (26.2℃)

10:01:03
icon

\Master?/ :saba: \ますたー/

Merged mastodon/mastodon at 12cb6ed46167bf62ceade2a16e55e233a90f13d4 on ruby-3.0.2.

10:02:35
icon

$ bundle update --conservative scout_apm
:
Installing scout_apm 4.1.2 (was 2.6.8) with native extensions
Bundle updated!

でなおりました。

10:22:44
icon

Rubyを上げてもメトリクスに悪い変化は見られないようだ。うしうし。

Attach image
10:58:42
icon

「月曜から夜ふかし」に自転車の鍵のパターンがしっかり写り込んでて大丈夫なのかしら

13:40:48
icon

Capsuleさん新曲出してるー

13:44:44
icon

これ充電してるのかな…

Attach image
13:45:32
icon

お、ブートした。

13:56:15
icon

Ubuntu 18.04.5 LTSでーす

5 updates can be applied immediately.
3 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

$ sudo sh -c 'apt update && apt dist-upgrade -y'
:
The following packages will be upgraded:
base-files git git-man libmysqlclient20 motd-news-config python-apt-common
python3-apt python3-distupgrade ubuntu-release-upgrader-core
update-notifier-common wireless-regdb
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 standard security updates
:

増えたw ん、git?

$ cat /var/run/reboot-required*
cat: '/var/run/reboot-required*': No such file or directory

まいっか

15:11:41
icon

J-WAVEでNFTの解説をするそうです。どんな詐欺師が出るのかな←

15:12:10
icon

経営戦略コンサルタントの方でしたw

15:19:01
icon

ラジオ出演者の方々の素朴な質問をゆるふわな回答でごまかすコンサルの方。やっぱわからん。

15:27:25
2021-09-13 15:26:38 unarist님의 게시물 unarist@mstdn.maud.io
icon

This account is not set to public on notestock.

15:28:38
icon

> -exec {} + は (-print0 | xargs -0 と同じくらい)速い
そうなのか!!

POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき!
https://qiita.com/ko1nksm/items/9ff1f212255e8520070c

Web site image
POSIX 準拠のシェルスクリプトでは find | xargs よりも find -exec {} + を使うべき! - Qiita
15:32:44
icon

ほんとだ!!

mastodonのワーキングコピーで速い版

$ time sh -c 'find . -type f -print0 | xargs -0 grep -q find_by'

real 0m1.272s
user 0m0.720s
sys 0m0.896s
$ time sh -c 'find . -type f -exec grep -q find_by {} +'

real 0m1.534s
user 0m0.579s
sys 0m0.952s

遅い版

$ time sh -c 'find . -type f -exec grep -q find_by {} \;'

real 2m3.175s
user 1m19.998s
sys 0m41.571s

15:35:37
2021-09-13 15:32:27 よっし一님의 게시물 yossi562@fedibird.com
icon

This account is not set to public on notestock.

15:36:02
icon

クランクで脱輪させて素早く曲がるのかな?

15:37:58
icon

私有鍵はちゃんと守ろう(鍵長は充分にしよう)のやつだw
https://twitter.com/XorNinja/status/1437302542547914758

15:57:51
15:57:55
2021-09-13 15:56:34 ちちちの移住先は固定トゥにございます님의 게시물 1234567@fedibird.com
icon

This account is not set to public on notestock.

15:58:00
2021-09-13 15:57:07 estpls님의 게시물 estpls@mstdn.beer
icon

This account is not set to public on notestock.

15:58:16
icon

最上川
ここにもそこにも
残尿感

17:19:31
icon

みんな日本に帰省するんだなあ

18:56:07
2021-09-13 17:27:22 ゆらのふ님의 게시물 eulanov@m.eula.dev
icon

This account is not set to public on notestock.

18:57:03
icon

Opensea上で重複してNFTを作れないってことなのかのう…(書くほど興味は無かった

18:58:38
icon

ビールが美味しかったしなんだっていいやw

19:02:26
2021-09-13 18:54:52 俳句検出bot(3代目)님의 게시물 find575@social.timespiral.co.jp
icon

This account is not set to public on notestock.

19:02:36
icon

怖い俳句だ

19:31:12
2021-09-13 19:19:20 酸性雨님의 게시물 acid_rain@amefur.asia
icon

This account is not set to public on notestock.

19:31:36
icon

サラミ法の機運!(実際はどうなってるんだろう)

19:32:11
icon

お父さんビール飲んだからMJITしてみようかな

19:59:21
icon

ローカルにMastodonのspecを走らせるとJITの有無は実行時間に影響しなかった。他にボトルネックがあるのかな?まあテストが落ちないのはいいことだ。

$ bundle exec rspec

Randomized with seed 13222
3202/3202 |====================== 100 =======================>| Time: 00:06:22

$ RUBYOPT='--jit --jit-max-cache=10000' bundle exec rspec

Randomized with seed 7554
3202/3202 |====================== 100 =======================>| Time: 00:06:24

20:00:13
icon

$ heroku config:set RUBYOPT='--jit --jit-max-cache=10000'

うりゃ

20:02:57
icon

ちゃんと稼動はしてる

20:03:15
icon

稼動するかどうか

20:13:41
icon

$ heroku ps:exec 'ls -lh /tmp'
total 25M
-rw------- 1 u42390 dyno 13M Sep 14 06:02 _ruby_mjit_hp255u0.h.gch
-rw------- 1 u42390 dyno 13M Sep 14 06:01 _ruby_mjit_hp29u0.h.gch
dr-------- 2 u42390 dyno 4.0K Sep 14 06:01 mask

おーなんかできてるー

20:34:22
icon

ruby-3.0.2で--jit --jit-max-cache=10000する前(左)とした後(右)の、このインスタンスのPumaとSidekiqが走ってるdynoのメモリ使用量、CPU負荷、レスポンス時間、接続時間の変化。有意な変化は見られないw

Attach image
21:05:03
icon

Hawaii News Now「妊娠中の女性がコロナウイルス感染症で亡くなりました。赤ちゃんは助かりました。亡くなった女性がワクチンを接種していたかどうかは医療情報保護の観点からお知らせすることができません」「入院したすべての妊婦はワクチンを未接種でした」🤔

21:06:13
2021-09-13 18:14:39 黒木智子◆36555023님의 게시물 mutsumu@oransns.com
icon

This account is not set to public on notestock.

21:06:18
icon

すご

21:28:25
icon

@unarist

> IDはクラスごとに前半が同じ数字で、末尾の3ケタが出席番号、そしてパスワードは、全員共通で「123456789」

だそうです(パスワードとは)

【告発スクープ】小6女子をいじめ自殺に追い込んだ「一人一台端末」の恐怖 パスワードは全員「123456789」 https://president.jp/articles/-/49923

Web site image
【告発スクープ】小6女子をいじめ自殺に追い込んだ「一人一台端末」の恐怖 パスワードは全員「123456789」
21:30:18
icon

@unarist ですよねえ…

21:33:00
icon

27歳キラキラOLからの非通知電話…

22:07:06
icon

布団に寝転ぶ前にiOSの更新を始めたんだけど再起動にもう一度操作が必要なんだっけ…(´・ω・`)