mjsk
the-algorithm/COPYING at main · twitter/the-algorithm · GitHub https://github.com/twitter/the-algorithm/blob/main/COPYING
mjsk
the-algorithm/COPYING at main · twitter/the-algorithm · GitHub https://github.com/twitter/the-algorithm/blob/main/COPYING
ruby-3.2.2わよー
c6c03b49b2 (upstream/main) Add Roadmap to README (#24288)
f318f1ef0e Bump ruby to 3.2.2 due to ReDoS vulnerabilities (#24320)
1f19d5e5e8 Add documentation for Rubocop overrides (#23811)
cb2ce842b0 Autofix Rubocop Rails/IgnoredColumnsAssignment (#23761)
7646ad8a2b IndexingScheduler: fetch and import in batches (#24285)
500d6f93be Autofix Rubocop Style/IdenticalConditionalBranches (#24322)
83fc97285b Enable Rubocop Metrics/BlockLength with Excludes (#24260)
b4f38edf74 Wrong type for user setting when default is defined by lambda (#24321)
アトデナオス
1) InstancePresenter#source_url with the GITHUB_REPOSITORY env variable set uses the env variable to build a repo URL
Failure/Error: expect(instance_presenter.source_url).to eq('https://github.com/other/repo')
expected: "https://github.com/other/repo"
got: "https://github.com/zunda/mastodon/tree/78770dcf923884c20b2f5803a79d9cd9088ba72c"
(compared using ==)
# ./spec/presenters/instance_presenter_spec.rb:100:in `block (4 levels) in <top (required)>'
# ./spec/presenters/instance_presenter_spec.rb:95:in `block (5 levels) in <top (required)>'
# ./spec/presenters/instance_presenter_spec.rb:94:in `block (4 levels) in <top (required)>'
ほうほう
2) The account_identity_proof factory is valid
Failure/Error: response = http_client.public_send(@verb, @url.to_s, @options.merge(headers: headers))
WebMock::NetConnectNotAllowedError:
Real HTTP connections are disabled. Unregistered request: GET https://keybase.io/_/api/1.0/sig/proof_valid.json?… with headers {'Accept-Encoding'=>'gzip', 'Connection'=>'close', 'Date'=>'Fri, 31 Mar 2023 19:42:00 GMT', 'Host'=>'keybase.io', 'User-Agent'=>'http.rb/5.1.1 (Mastodon/4.1.1 at 78770dcf on ruby-3.2.2; +https://cb6e6126.ngrok.io/)'}
You can stub this request with the following snippet:
stub_request(:get, "https://keybase.io/_/api/1.0/sig/proof_valid.json?…").
with(
headers: {
'Accept-Encoding'=>'gzip',
:
}).
to_return(status: 200, body: "", headers: {})
:
# ./spec/fabricators_spec.rb:8:in `block (3 levels) in <top (required)>'
remote: -----> Using Ruby version: ruby-3.2.2
remote: Ruby version change detected. Clearing bundler cache.
remote: Old: ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
remote: New: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
んふんふ
\Master?/ \ますたー/
Merged mastodon/mastodon at c6c03b49b255c4fe2183b94288a712ad7a66e2c2.
ruby-3.2.2ですよー
ap-southast-1のEC2インスタンスから弊ぼっちのデータベースに攻撃が来てる。こういうの報告したらなんとかなるのかねえ…
@mayaeh 弊ぼっち(migration済みだけど元のレコードは残ってるっぽい)では、
SELECT value FROM settings WHERE thing_type='User';
の結果が
--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
で始まるハッシュぽいデータか
--- false
--- true
か
--- ja
--- default
とかの文字列ぽい値になっています。このあたりにシンボルっぽい値が入っていると Tried to load unspecified class: Symbol と言われるのかも…
テスラ、坂道で止まってからブレーキを離すとずり落ちるんだけど、どうやって発進するのが正しいんだ?
以前借りたレンタカーはオートマで何か逆走を止める機能が付いてるらしく坂道で逆走しそうになると何かがガチッてひっかかる感覚がたいそう気持ちわるかったよ
@hanage999 @mayaeh さんも同様のエラーで悩んでおられました。弊ぼっちでは再現できませんでした。何が違うんだろう…
@hanage999 @mayaeh マージされたコードではHashWithIndifferentAccessは許可リストに入っていたと思いますー
@hanage999 @mayaeh はい。元のテーブルにSymbolのあるサーバとないサーバがあるみたいです。
@hanage999 @mayaeh たぶんrails-settings-cached gemでPostgreSQLではtext型のカラムにRubyのオブジェクトをエンコードしてつっこんでるんだと思います
@mayaeh @hanage999 どういたしまして!Symbol の入った経緯までわかるとアップストリームに報告できるんですけどね〜
このアカウントは、notestockで公開設定になっていません。
弊ぼっちのPostgresサーバへのブルートフォース攻撃(接続元IPアドレスは単一)の接続元ポートは最上位ビットが1の範囲でだいたいランダムでした 。なんだー、てかLinuxならランダムになるよね…
迂闊に週末前ぎりぎりにチケットに対応しちゃったので週末はお仕事iPhoneを持ち歩くことになっちゃったおっさんです。厳密に運用するとお客様から見たSLAがウンコ過ぎてオンコールに押し付けるわけにもいかなくてなあ… #ダークモード
このうんこは溜めといてちゃんと投げつけないと行けないんだけど投げつける先はレイオフされてたりしてなあ #ダークモード
$ ruby -e 'puts "カニクリームコロッケ".chars.shuffle.join'
コッロニケクリムカー
ぉƱ”-ʓ飲みながら筋トレするとオクトーバーフェスト(ほんもの)でぉƱ”-ʓ何リットルか飲んだ直後にジェットコースターに乗ったの思い出した!たのしい!僕が撮ったわけじゃないけどこんな感じ(飲みながら流してね)
https://www.youtube.com/watch?v=JFtJlB9B8zs
よーしお父さんログインしちゃうぞーってパウワードをコピーしてて待ってたらメールアドレスしか入力させてくれなかったw