このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
@yakumo へえっ!と思ったけど、ロシア企業を買収したオランダの親会社がロシア部分を切り離したくなったようにも読めますね…
オランダにあるのは親会社だけにも見えるな…
Yandex - Wikipedia https://en.wikipedia.org/wiki/Yandex
ウェブサイトを公開して最初にやるのはYandexとNaverのクローラをお断りするとこだった時代もあるよね。やつら絨毯爆撃してきてこちらのリソースを使い尽くしてた。今はどうなんじゃろね。
git push -u originしたのにプルリクアプリ作られてないなあって思ったんだけどプルリク作ってないよね
マウナロアの現状を眺めたい方はこちらから
https://www.usgs.gov/volcanoes/mauna-loa/webcams
夜ヒロ湾まで行くとオレンジ色が見えるっぽい
https://www.hawaiitribune-herald.com/2022/11/28/hawaii-news/mauna-loa-erupting-on-northeast-flank/
そもそも今回我々が火山がドカンするイメージの頂上から噴き出すやつじゃなくて、側面からの割れ目噴火のはずなので、なおさら見えにくいのでは説
今回のだばーは傾斜の緩い方向に起きたので最悪溶岩流がヒロまで届くとしても1週間かかるそうな。傾斜の急な方向にだばーすると数時間で海まで到達するとか。(昨夜のHawaii News Now)
根性無しのドボドボ出る溶岩のほうがあらかじめどこがヤバいかの予想や、どのへんに被害が出るかの対策がしやすいのでだいぶマシ説(これはまあ事実)
MIDIで遊んでみでぃよね。DX7に何かつないで遊んでた気もするんだけどもう思い出せない。いあ、マルチトラックのカセットデッキだったかもしんまい。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
> 最低賃金の雇用の縮小の効果が出るような大幅な最低賃金の上昇をした例がないため、雇用の縮小効果は小さく、好影響・悪影響を判断・確認できるような研究ができていない
そうです
最低賃金 - Wikipedia https://ja.wikipedia.org/wiki/%E6%9C%80%E4%BD%8E%E8%B3%83%E9%87%91
私は本業があって、その収入をfedibird.comの運営費やその他のFediverse関連の活動費にあてているわけで、恒常的にマイナス収支なわけだけど、
仮に私が専業でこの活動をするとして、年収はいくらが妥当だと思いますか?
また、Mastodonの生みの親で、リードエンジニアであるEugenさんは、Mastodonの哲学を貫き、このプロジェクトに専業・フルタイムで従事し、さらにmastodon.socialやmastodon.onlineの運営をすべて抱えて、すごいハードワークしてるわけだけど、
Eugenさんは、どのぐらいの報酬をもらうべきだと思いますか?
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
Ubuntu 18.04.6 LTSわよー
$ sudo apt update && apt list --upgradable
:
login/bionic-updates,bionic-security 1:4.5-1ubuntu2.5 amd64 [upgradable from: 1:4.5-1ubuntu2.4]
passwd/bionic-updates,bionic-security 1:4.5-1ubuntu2.5 amd64 [upgradable from: 1:4.5-1ubuntu2.4]
sysstat/bionic-updates,bionic-security 11.6.1-1ubuntu0.2 amd64 [upgradable from: 11.6.1-1ubuntu0.1]
uidmap/bionic-updates,bionic-security 1:4.5-1ubuntu2.5 amd64 [upgradable from: 1:4.5-1ubuntu2.4]
$ sudo apt dist-upgrade -y
$ cat /var/run/reboot-required*
cat: '/var/run/reboot-required*': No such file or directory
ヨシ
あるオンラインの書類にこういう記述をみつけてさ、
> Please note we do ask for an SSN due to our organization being statewide and having members who have the same initials and birthdates. The SSN will create their own unique ID number.
アメリカでも未だにこんなことやってるところがあるんだねえと落胆したし、日本のマイナンバーもこういう用途への利用は違法とは言え似たような末路を辿るんじゃないかと悲しくなるよね
Mastodonのトゥートの配達にはだいたい1秒/配達先/Sidekiqスレッドの時間がかかって、スループットを増やすにはSidekiqのスレッド数を増やすしかないので、Mastodonから見たFediverseのスケールのボトルネックはSidekiqまわりにあるんじゃないかと思うにゃんね
このアカウントは、notestockで公開設定になっていません。
薔薇はないけどPumaちゃんとかSidekiqちゃんとかNodeちゃんとかPostgresちゃんとかRedisちゃんとかの面倒を見て過ごしてるよw
ここ数年、Mastodonの本家ではオンボーディング対策(使ったことのない人達を迎えいれるための施策)をいろいろやってきたんだけど、やはりアプリはその中核なんですよね。
ストアからマストドン(Mastodon)って検索して、ちゃんとMastodonって出てる公式っぽいアプリがでてこないと、そもそもっていう。
で、フル機能の完璧なアプリは間に合わないけど、サーバの候補を提示してアカウント作成して、最初にみるフォロー候補とかコンテンツのところまでは提供できるように、リリースを間に合わせた、という流れ。
やっぱり時々どっかり反応が遅くなるなあ…。ストリーミング側のSidekiqのスレッド数を7から5に減らしてみます。
今日はアメリカは寄付の日らしく何だろうって調べてみたらNaNだったねw
Virtual HQ - GivingTuesday https://www.givingtuesday.org/
このアカウントは、notestockで公開設定になっていません。
ステージングアプリのMiniプランのHeroku Postgresがいっぱいになりつつあるから昔のポスト消してみるね。
$ heroku pg:info
=== DATABASE_URL
Plan: Mini
Status: Available
Connections: 2/20
PG Version: 13.9
Created: 2021-11-23 02:52 UTC
Data Size: 18.0 MB/1.00 GB (In compliance)
Tables: 93
Rows: 8052/10000 (In compliance, close to row limit)
Fork/Follow: Unsupported
Rollback: Unsupported
Continuous Protection: Off
Add-on: postgresql-crystalline-90176
$ heroku run tootctl statuses remove
https://docs.joinmastodon.org/admin/tootctl/#statuses-remove
1個!?
Creating temporary database indices...
Extract the deletion target from statuses... This might take a while...
Removing temporary database indices to restore write performance...
Beginning statuses removal... This might take a while...
:
Done after 0.0806269645690918s, removed 1 out of 1 statuses.
Removing temporary database indices to restore write performance...
Run ANALYZE to statuses...
Beginning removal of now-orphaned media attachments to free up disk space...
:
Done after 0.010893106460571289s, removed 0 out of 0 media_attachments.
Creating temporary database indices...
Extract the deletion target from conversations... This might take a while...
Removing temporary database indices to restore write performance...
Beginning orphans removal... This might take a while...
:
Done after 0.0427398681640625s, removed 0 out of 0 conversations.
Removing temporary database indices to restore write performance...
Run ANALYZE to conversations...
$ heroku run tootctl statuses remove --days 30
:
Done after 0.10664033889770508s, removed 0 out of 0 statuses.
あー。リモートしか消さないのかな?
WebUIのメニューから削除すると
method=DELETE path=/api/v1/statuses/:id format=html controller=Api::V1::StatusesController action=destroy
でちゃんと消えてるわね
$ heroku run bash
~ $ rails c
> current_account = Account.find_by(username: 'zunda')
> params = {id: 109290136626742219}
> Api::V1::StatusesController.new.destroy
/app/vendor/bundle/ruby/3.1.0/gems/doorkeeper-5.6.0/lib/doorkeeper/oauth/token.rb:35:in `from_bearer_authorization': undefined method `authorization' for nil:NilClass (NoMethodError)
header = request.authorization
^^^^^^^^^^^^^^
おおうRailsむずかしいなw
コントローラから余計(?)な行を取り除いてこれでデータベースの行を消せることは確認した。次はIDの取得わね。
$ heroku run bash
~ $ rails c
> def destroy_status(account_id, status_id)
status = Status.where(account: Account.find(account_id)).find(status_id)
status.discard_with_reblogs
StatusPin.find_by(status: status)&.destroy
status.account.statuses_count = status.account.statuses_count - 1
RemovalWorker.perform_async(status.id, { 'redraft' => true })
end
> destroy_status(107475339473892866, 109406171267058080)
=> "634844905c40485e1b155920"
アカウント関係なく古いステータスだけ取得すればいいんだから
> Status.where(:created_at => ..Time.now - 2.years)
みたいのでいいんだ。
マストドン案内所コミュニティより
https://twitter.com/i/communities/1498516498502991881
・HIPHOPのことを話せる鯖はありませんか?
・自分の大学の学生用のインスタンスを学内で広めるノウハウは?
聞きたいのはこういうことだよねえ。誰か助けてあげてー
結城さんとこ同じアカウントusernameで同じFQDNで中身ぜんぜん違うデータベースのMastodonサーバで復活してアンフォローしてフォローしなおすくらいでやり取り回復したっぽいからまあなんとかなるんじゃないかな…。
アカウントの公開鍵が変わったらしれっとフォローし直すふいんきに見えるしMastodonさんはあんまり信頼の網の維持に興味は無いように見えるので私有鍵変わってもあんまり影響はないのかもしんまい #Mastodonなんもわからん
呼び出し側は
after_key_change! if key_changed? && !@options[:signed_with_known_key]
clear_tombstones! if key_changed?
となっていて墓は暴かれるけどsigned_with_known_keyオプションが有効な場合にはフォローしなおさない?
@Sujiyan Yep. My experience tells me that I could re-follow an account with the same @username@FQDN recovered on a totally independent installation of Mastodon.
このオプションは呼び出し側でいつもtrueになってるっぽい。ので、after_key_change!は呼ばれない?かな?
https://github.com/mastodon/mastodon/blob/c9b3cf8/app/lib/activitypub/activity/update.rb#L21
このアカウントは、notestockで公開設定になっていません。
消してみた。うりゃ!ってデバッグログがいっぱい出るので戻り値は消したポストの数みたいのにしておけばよかったな。
> def destroy_status(days, dry_run = true)
Status.where(:created_at => .. Time.now - days*24*3600).each do |s|
puts s.id
unless dry_run
s.discard_with_reblogs
StatusPin.find_by(status: s)&.destroy
s.account.statuses_count = s.account.statuses_count - 1
RemovalWorker.perform_async(s.id, { 'redraft' => true })
end
end
nil
end
> destroy_status(180, false)
酔っ払いなのですぐ確認した
$ heroku pg:info
=== DATABASE_URL
Plan: Mini
Status: Available
Connections: 2/20
PG Version: 13.9
Created: 2021-11-23 02:52 UTC
Data Size: 18.0 MB/1.00 GB (In compliance)
Tables: 93
Rows: 7893/10000 (In compliance, close to row limit)
Fork/Follow: Unsupported
Rollback: Unsupported
Continuous Protection: Off
Add-on: postgresql-crystalline-90176
8052行から200行弱減ったね。それだけかーw
joinmastodonのドキュメントをざっと読むと基本的には現在の公開鍵を投稿元のサーバからもらってきて署名の検証に利用し、投稿元のアカウントが既に存在しないDeleteアクティビティを受け取った時だけローカルにキャッシュしている公開鍵を検証に利用するようにも見える。ふむふむ。
https://docs.joinmastodon.org/spec/security/
待って。PgHeroさん?
> SELECT schemaname,relname,n_live_tup
FROM pg_stat_user_tables
ORDER BY n_live_tup DESC LIMIT 5;
schemaname | relname | n_live_tup
------------+--------------------+------------
public | pghero_space_stats | 6953
public | schema_migrations | 393
public | conversations | 305
public | statuses | 154
public | settings | 15
(5 rows)
古いの消してもいいのかな…
> SELECT * FROM pghero_space_stats LIMIT 1;
-[ RECORD 1 ]---------------------------
id | 1
database | primary
schema | public
relation | schema_migrations
size | 49152
captured_at | 2021-12-31 00:00:00.018179
古いの消してもいいのかな…
> SELECT * FROM pghero_space_stats LIMIT 1;
-[ RECORD 1 ]---------------------------
id | 1
database | primary
schema | public
relation | schema_migrations
size | 49152
captured_at | 2021-12-31 00:00:00.018179
変なしがらみは無さそうね…
> \d pghero_space_stats
Table "public.pghero_space_stats"
Column | Type | Collation | Nullable | Default
-------------+-----------------------------+-----------+----------+------------------------------------------------
id | bigint | | not null | nextval('pghero_space_stats_id_seq'::regclass)
database | text | | |
schema | text | | |
relation | text | | |
size | bigint | | |
captured_at | timestamp without time zone | | |
Indexes:
"pghero_space_stats_pkey" PRIMARY KEY, btree (id)
"index_pghero_space_stats_on_database_and_captured_at" btree (database, captured_at)
壊れたらごめんね
> DELETE FROM pghero_space_stats WHERE captured_at < '2022-07-01';
DELETE 1557
OpenPGP私有鍵を持っていることで本人かどうか簡単に検証してもらえる手順はこちらです!
https://mitome.in/sns/keyoxide.html
ところで鯖菅は自分のMastodonのコードをいぢることができるのでリンクの緑色を信じるのは鯖菅を信じてる時だけな!
MastodonのKeybase認証はもう取り除かれてるのでほとんどのサーバでは利用できないと思います。
https://github.com/mastodon/mastodon/pull/17045
弊ぼっちはどうにかサポートを続けてるんだけど緑色のリンクはログインしてないと見えないw
keyoxide、GPG keyとariadne fieldを編集する必要があるのでちょろっと面倒
公開鍵サーバがnotationの変化をどう扱うのかなんとなく不安なところもあるんだよね…
https://zenn.dev/zunda/scraps/9138f06678d68a
このアカウントは、notestockで公開設定になっていません。
Mastodonから先方のlink rel="me"を検証するコードはたぶんこちらです。Nokogiriさん用のクエリ言語はXML由来なのかな?
https://github.com/mastodon/mastodon/blob/daf6f34/app/services/verify_link_service.rb#L29
このアカウントは、notestockで公開設定になっていません。