09:14:30
2023-04-30 09:04:48 mgmnの投稿 mg@kumarin.co
icon

このアカウントは、notestockで公開設定になっていません。

09:14:35
icon

ほー!

10:21:45
icon

Option-Rを押すべきなのにCommand-Rを押してリロードしちゃったTumblrがここからでしょ?って教えてくれるのありがたい

10:37:23
icon

Tumblrさんはたくさんコネクションを作るらしくトンネルの入り口のアクセスポイントちゃんの想いが溢れちゃうのね

10:47:35
icon

朝風呂いいなあ朝風呂

10:48:37
icon

無事洗濯物を干したので天気が悪くなってきている←

11:17:07
icon

現金枯渇厳禁

11:17:14
icon

11:17:22
icon

クレカで払わせてくれか

11:22:21
icon

前線が通りすぎる風が吹いてそこまで雨が来てるのが見えて洗濯物を乾燥機に移したんだけど雨降ってこないねw

11:30:39
icon

染織家の方が染めた和紙の写真をスマホで撮ってるのおもしろい。撮った写真の発色をAIに邪魔されたりしないのかしら。

情熱大陸
#1249「染織家・吉岡更紗」
https://tver.jp/episodes/ep3u9ovej5

Web site image
TVer - 無料で動画見放題
14:06:50
icon

Hawaiian Style Cafeのロコモコ。多いなあ!

Attach image
14:11:57
icon

黄身の生ぐあいとサルモネる確率との相関について

14:12:18
2023-04-30 14:03:52 つぐさの投稿 tugu@mstdn.jp
icon

このアカウントは、notestockで公開設定になっていません。

14:12:30
icon

そういえばfail whaleかわいかったなあ

14:28:49
icon

地球温暖化を抑制するのに地表に到達した太陽光のエネルギーを可視光にして宇宙に打ち返すのはどうかしら、太陽電池とLED用意して、とか考えてたんだけど、効率でもコストでも白色塗料に勝てない気がするねw

14:40:14
2023-04-30 14:29:08 フジイユウジの投稿 fujii_yuji@mstdn.fujii-yuji.net
icon

このアカウントは、notestockで公開設定になっていません。

14:40:31
icon

おー!いたー!

14:40:43
icon

大分ではなく東京ですね

14:40:59
2023-04-30 14:40:29 mzpの投稿 mzp@mstdn.nere9.help
icon

this Mondayとnext Mondayがそれぞれいつを指してるのかの雰囲気読み取るのも厳しいときがある

14:41:27
icon

TodoistでWeekendを土曜日に設定しておいて土曜日にThis weekendを締切にすると来週の土曜日になる@_@

15:08:18
icon

Falcon Heavyの打ち上げ後追いで見てるんだけど2段目の2回目の点火の時にけっこう大きいゴミが飛んでくのが見えた。あんなのあっていいんだw
https://www.youtube.com/watch?v=YFbp6PVbJQA

Attach YouTube
16:50:05
icon

GitHub webを開いたらverified email addressこれだけあるよってあまりの数にびっくりしたんだけど /settings/emails に行ってみたら確かに全部僕のだったw

16:51:40
icon

そして何をしようとしていたかすっかり忘れている←

16:56:09
icon

思い出した。赤いMastodon。

$ bundle exec rails assets:precompile
:
error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
:

OpenSSL 3非対応の件かな…

16:58:41
icon

脳死で…

$ echo export NODE_OPTIONS=--openssl-legacy-provider >> .env.dev
$ source .env.dev
$ bundle exec rails assets:precompile
:
rails aborted!
ActionView::Template::Error: Webpacker can't find common.css in /home/zunda/c/src/github.com/zunda/mastodon/public/packs/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
:

進むには進んだかな…

17:05:51
icon

$ bundle exec rails webpacker:install

して n 押しまくって

$ bundle exec rails assets:precompile

したら完走したけどpackage.jsonとyarn.lock変えられてるしナンモワカラン

17:07:43
icon

https://qiita.com/zunda/items/5f8a0a8ee1e7c297dcd4 ぽく起動できたから今はいいか…

Web site image
macOSでお手軽Mastodon開発 - Qiita
17:11:09
icon

ブラウザからログインしたら誰か落ちたw

17:20:53
icon

streaminちゃんが

ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received null

失意体前屈しつつおっさんぽいてくる

18:00:04
icon

しかし弊ぼっちどうして動いてるんだっていうくらいポンコツだなあ…

18:17:03
icon

さいちょうせん

$ git reset --hard
$ git clean -dxf
$ vi env.devel
$ cat env.devel
export RAILS_ENV=development
export NODE_ENV=development
export NODE_OPTIONS=--openssl-legacy-provider
$ . env.devel
$ bundle install --path=vendor/bundle
$ yarn install --pure-lockfile
$ bundle exec rails db:setup
$ bundle exec rails assets:precompile

おぉ!! 完走した。git clean -dxfで余計なファイルを消すのがミソかもね。

18:23:37
icon

だがStreamingは落ちるw

ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received null

Ubuntu 22.04標準のRedis 5.6.0じゃ古すぎる疑惑か…いや、Readmeだと4+でおっけーっぽいな

18:25:15
icon

ノープラです

18:37:32
icon

streaming/index.jsの1250行目くらいのonErrorコールバックにconsole.trace();を追加しました

ERR! TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, DataView, KeyObject, or CryptoKey. Received null
Trace
at process.onError (/home/zunda/c/src/github.com/zunda/mastodon/streaming/index.js:1250:13)
at process.emit (node:events:513:28)
at process._fatalException (node:internal/process/execution:149:25)

うむわからん(Redisじゃなさそう)

18:41:14
icon

あ!

export NODE_OPTIONS=--openssl-legacy-provider

してないからかも (しても落ちましたw

18:41:49
2023-04-30 18:32:37 ブルーレヰの投稿 BlueRayi@mstdn.kemono-friends.info
icon

QiitaがRubyKaigiに持っていくノベルティが完成しました🎉 - Qiita Blog blog.qiita.com/rubykaigi-novel

> ちなみにQiitanは猫ではなく「タヌキ」です
マジ?

Web site image
QiitaがRubyKaigiに持っていくノベルティが完成しました🎉 - Qiita Blog
18:41:54
icon

!?

18:43:14
icon

まあ今はPaperclipさんの動きを観察したいのでストリーミングは止めとこ←

18:49:34
icon

ぽこ.mp3をポストできなーい。そこからかー

18:57:10
icon

や、二度目はうまくいったな?

Puma:

Started POST "/api/v2/media" for 127.0.0.1 at 2023-04-30 18:55:22 -1000
Processing by Api::V2::MediaController#create as HTML
Parameters: {"file"=>#<ActionDispatch::Http::UploadedFile:0x00007ff1df819510 @tempfile=#<Tempfile:/tmp/RackMultipart20230430-15309-dgdzbf.mp3>, @original_filename="boop.mp3", @content_type="audio/mpeg", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"boop.mp3\"\r\nContent-Type: audio/mpeg\r\n">}
[paperclip] Trying to link /tmp/RackMultipart20230430-15309-dgdzbf.mp3 to /tmp/65eab40bf1bcd5c82c6d9e02abea5ed320230430-15309-zwevid.mp3
[paperclip] Trying to link /tmp/65eab40bf1bcd5c82c6d9e02abea5ed320230430-15309-zwevid.mp3 to /tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15309-xsgwai.mp3
Command :: file -b --mime '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15309-xsgwai.mp3'
Completed 202 Accepted in 100ms (Views: 0.7ms | ActiveRecord: 8.1ms | Allocations: 16288)

18:58:53
icon

Sidekiq:

[paperclip] Trying to link /tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y7.mp3 to /tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-ccomwo.mp3
Command :: file -b --mime '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-ccomwo.mp3'
Command :: ffmpeg -i '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y7.mp3' -loglevel 'fatal' -y '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y720230430-15237-7ojlap.png'
[paperclip] Trying to link /tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y720230430-15237-7ojlap.png to /tmp/0381aeda1556e16d4f79982adb48109620230430-15237-bwkm48.png
[paperclip] Trying to link /tmp/0381aeda1556e16d4f79982adb48109620230430-15237-bwkm48.png to /tmp/c64aa59e027fc0f5a1f71e4bdc20df3320230430-15237-1vy51v.png
Command :: file -b --mime '/tmp/c64aa59e027fc0f5a1f71e4bdc20df3320230430-15237-1vy51v.png'
Command :: identify -format %m '/tmp/0381aeda1556e16d4f79982adb48109620230430-15237-bwkm48.png[0]'

18:59:25
icon

Command :: convert '/tmp/0381aeda1556e16d4f79982adb48109620230430-15237-bwkm48.png[0]' -auto-orient -resize "480x480>" -quality 90 +profile "!icc,*" +set modify-date +set create-date '/tmp/c77eb2da6e7d767ed9b4e393aeaa7d7e20230430-15237-n5t6nq'
Command :: convert '/tmp/c77eb2da6e7d767ed9b4e393aeaa7d7e20230430-15237-n5t6nq' -depth 8 RGB:-
Command :: convert '/tmp/c77eb2da6e7d767ed9b4e393aeaa7d7e20230430-15237-n5t6nq' -alpha set -gravity Center -region 75%x75% -fill None -colorize 100% -alpha transparent +region -format %c -colors '10' -depth '8' histogram:info:
Command :: convert '/tmp/c77eb2da6e7d767ed9b4e393aeaa7d7e20230430-15237-n5t6nq' -format %c -colors '10' -depth '8' histogram:info:
[paperclip] Trying to link /tmp/c77eb2da6e7d767ed9b4e393aeaa7d7e20230430-15237-n5t6nq to /tmp/097517312c6e01d80f80865ffdad7b7d20230430-15237-5hl107

19:00:19
icon

Command :: ffmpeg -nostdin -i '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y7.mp3' -loglevel 'fatal' -q:a '2' -y '/tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y720230430-15237-dwsb6g.mp3'
[paperclip] Trying to link /tmp/5907bf4f5ad9a44585aa67ffb44b1eb420230430-15237-g1o5y720230430-15237-dwsb6g.mp3 to /tmp/b855ec0c6c2a1f4e46a715262c9d155220230430-15237-k7eh9e.mp3
[paperclip] deleting /home/zunda/c/src/github.com/zunda/mastodon/public/system/media_attachments/files/110/291/643/415/144/381/original/09e9b4705b23c969.mp3

mp3の生成はPumaから、プレビュー画像の作成はSidekiqからやってるのかな?

19:10:32
icon

カレーが来るかと思ったけどカだった

19:11:33
icon

プロダクションだとfileコマンドでこけてるのかな?そんなのこまんど…

[paperclip] Trying to link /tmp/RackMultipart20230501-51-9ex6w9.mp3 to /tmp/65eab40bf1bcd5c82c6d9e02abea5ed320230501-51-8ri7xv.mp3
[paperclip] Trying to link /tmp/65eab40bf1bcd5c82c6d9e02abea5ed320230501-51-8ri7xv.mp3 to /tmp/b6f15bf50c9c2a52335dc1c0727a0a8220230501-51-bydcn0.mp3
Command :: file -b --mime '/tmp/b6f15bf50c9c2a52335dc1c0727a0a8220230501-51-bydcn0.mp3'
method=POST path=/api/v2/media format=html controller=Api::V2::MediaController action=create status=500 duration=1430.33 view=7.89 db=8.40

19:14:15
icon

$ find . -name boop.mp3 | xargs file -b --mime
audio/mpeg; charset=binary

になるのはプロダクションでもローカルでも一緒だからプロダクションの場合はここまでの段階で変換に失敗してるってことだね。

20:16:13
icon

Mastodonしながら筋トレすると回数を数えられないw

20:30:10
2023-04-30 20:18:34 Spiegel@予備系の投稿 spiegel@fedibird.com
icon

このアカウントは、notestockで公開設定になっていません。

20:30:15
icon

なるほどなあ

21:03:43
2023-04-30 20:52:58 のえるの投稿 noellabo@fedibird.com
icon

古い ハードディスクの中に
隠れて 不良セクタがいっぱい

21:03:56
icon

故障の階段のーぼるー

21:13:58
icon

寺ホーム、失敗してAPIレートリミット食べ尽くす子って理解しかないからおっさんはダメ←

21:25:28
icon

寺ホームがなにものかちゃんとわかってないんだけどそれほど必要性を感じてないのは某ヘ社を使ってるからなのかな…

21:33:54
icon

僕がしょうもないことをポストするとBlueskyが止まる気がしてる。もーしわけない←

Attach image