00:05:21
2018-01-19 23:10:17 Posting Alberto Coleman i_sparkling@rainyman.jp

This account is not set to public on notestock.

11:38:40

むーん

11:39:19

rc1出ちゃったかぁ

11:43:22
2018-01-20 06:59:48 Posting ぜま🦊クラゲ丼鯖缶 yi0713@mstdn.jp

This account is not set to public on notestock.

11:43:33

いやーん

11:58:35
2018-01-20 11:53:25 Posting ぜま🦊クラゲ丼鯖缶 yi0713@mstdn.jp

This account is not set to public on notestock.

12:41:14

久しぶりにDockerマシン起こしてきたら

20 packages can be updated.
7 updates are security updates.

12:41:55

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

もー

12:45:20
2018-01-20 06:48:10 Posting のえる :cava_red: DTP鯖管 noellabo@dtp-mstdn.jp

久々に適当なドリップバッグじゃなくて美味しいの飲みたいなと思って、何故かマストドンにアカウントを持っているNelson Coffee Roasterさんから豆を購入して飲んでみてるんですが……
@nelsoncoffeeroaster
store.shopping.yahoo.co.jp/nel

やっべぇ、これ凄い美味しいです……。

明日また淹れるのが楽しみすぎる。もうひと頑張りしよう。

12:48:40

apt upgradeとrbenv install 2.5.0待ちなのですが何をどうすればいいのか。

HerokuではPipelinesがあるのでプリコンパイルの時と稼働時と環境が違う可能性がある。このぼっちインスタンスはweb UIを作る時にプリコンパイル時の環境からアセットを取ってこようとして動かなくなった。

この変更は送られたHTMLメールがアセットを取りに行けるようにするもの。

メールに含めるアセットのURLは絶対的なものにしてASSET_HOSTがあればそれを、なければLOCAL_DOMAINを使うようにプリコンパイルの時に焼き込んでるんだろうな。それを実際にメールを書く時まで遅延させればいいのかな?

12:53:29

$ . /etc/os-release ; echo $PRETTY_NAME
Ubuntu 17.10
$ uname -srm
Linux 4.13.0-21-generic x86_64
$ cat /proc/cpuinfo | egrep 'model name|bug' | sort -u
bugs :
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
$ cat /sys/devices/system/cpu/vulnerabilities
cat: /sys/devices/system/cpu/vulnerabilities: No such file or directory

12:54:07

$ sync; sync; sync; sudo reboot

12:55:46

お祈り忘れてたのでおみくじ引きに行ったらこれだよw

12:55:52
2018-01-20 12:55:18 Posting zundやで zundan@gingadon.com

This account is not set to public on notestock.

12:56:48

$ uname -srm
Linux 4.13.0-25-generic x86_64
$ cat /proc/cpuinfo | egrep 'model name|bug' | sort -u
bugs : cpu_insecure
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
$ cat /sys/devices/system/cpu/vulnerabilities
cat: /sys/devices/system/cpu/vulnerabilities: No such file or directory

cpu_insecureが増えたね

12:59:11

もーにんもーにん
UTC+9のみなさまもーにん

13:02:43

Dockerマシンはstatsdをdatadogに報告するようにしてるので眺めるのが楽しい

13:02:55

なかなかコードするところまでたどり着かないw

13:07:01

app/helpers/routing_helper.rbのfull_asset_urlの定義を読んで見たんだけどroot_urlがどこで定義されてるかわからないのう

13:08:50

bundle exec rails assets:precompile
してツリー内を探してみる

13:13:48

$ find . -type f -print0 | xargs -0 egrep 'root_url\s*='
$ find . -type f -print0 | xargs -0 egrep 'def\s+root_url'

なでないん

13:18:39

$ bundle exec rails c
Loading test environment (Rails 5.1.4)
[1] pry(main)> root_url
NameError: undefined local variable or method `root_url' for main:Object

むーん

13:20:28

Finished in 5 minutes 23 seconds (files took 5.84 seconds to load)
2061 examples, 0 failures, 17 pending

Randomized with seed 22109

Coverage report generated for RSpec to /home/zunda/local/src/mastodon/coverage. 8162 / 10116 LOC (80.68%) covered.

upstream/masterでSpecは通ったど

13:22:39

$ bundle exec rails c
include Rails.application.routes.url_helpers
root_url
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
from /home/zunda/local/src/mastodon/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.4/lib/action_dispatch/http/url.rb:62:in `full_url_for'

ほむ

13:26:57

しかしwebpackerまでつながらない…

とりあえずissueだけ登録しちゃうかな

13:37:49

さーて、壊れないはずのslugをプロモートしてみるよ

13:42:01

よーっし

tootsuite/mastodonの72f9eab3d6e35798d2797d9acaebe0d97b22f646にhttps://github.com/zunda/mastodon/commit/8d7d60353e723c8c186220cc7461a5aca96f2153 を混ぜればプリコンパイルする時のLOCAL_DOMAINがこのインスタンスと違ってても動く

Don''t use LOCAL_DOMAIN in webpack/configuration.js · zunda/mastodon@8d7d603
14:02:38

WebpackerわからないのでPRじゃなくてIssueにしました。くやしーw

https://github.com/tootsuite/mastodon/issues/6311

Precompiled assets are hostname dependent · Issue #6311 · mastodon/mastodon
15:28:29

にゃーん

15:28:36
2018-01-20 13:53:53 Posting しむどん三度無視 sximada@mstdn.jp

This account is not set to public on notestock.

15:28:50
2018-01-20 13:54:52 Posting 那由多 ‮c^ω^っ ‮ qf@mstdn.jp

This account is not set to public on notestock.

15:28:59

それにゃ

15:57:41
2018-01-20 15:38:53 Posting すだち lapistra@mstdn.jp

This account is not set to public on notestock.

15:57:42
2018-01-20 15:39:06 Posting しむどん三度無視 sximada@mstdn.jp

This account is not set to public on notestock.

15:58:18
2018-01-20 15:39:47 Posting catstar catstar@catgram.jp

This account is not set to public on notestock.

17:10:53

なんだかおなかすいたのでおやつ代わりに冷蔵庫にあったピクルスのすっぱい液体をすすってる

19:30:13
2018-01-20 19:25:30 Posting shino@mstdn.jp freedomcat@mstdn.jp

This account is not set to public on notestock.

19:43:44
2018-01-20 19:27:38 Posting Satoshi Kojima / 小嶋智 skoji@bookwor.ms

This account is not set to public on notestock.

20:49:44
2018-01-20 20:04:42 Posting どるふぃん。 sualophin@theboss.tech&OLD

This account is not set to public on notestock.

20:50:01