icon

postgresでよく使う置き換えならfunction作って決まった値返すようにするとかかなぁになった

2021-09-13 20:00:50 奥多摩北斎✔🍡の投稿 jcm50@pawoo.net
icon

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

icon

slice宣言に使うのはチューニングの時にあらかじめメモリ確保してパフォーマンス上げるとかなのかなって思ってるけど

icon

goのmake/3、channelとか非同期処理の値受け渡しなんかに使う

2021-09-13 18:33:01 まおーの投稿 yakumo@yakumo.foundation
icon

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

icon

よし

Attach image
2021-09-13 17:10:42 きゅいずの投稿 kyuizu@mstdn.beer
icon

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

2021-09-13 15:57:57 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Railsのコアで定義されてるfind_byにどこからか余計な引数が割り込んでるように見える。サッパリワカラン。

klass: Account find_by: ["/app/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/core.rb", 341]
method=POST path=/inbox format=html controller=ActivityPub::InboxesController action=create status=500 error='ArgumentError: wrong number of arguments (given 3, expected 1..2)' duration=76.63 view=0.00 db=19.94 key=best-friends.chat/users/…#main

ArgumentError (wrong number of arguments (given 3, expected 1..2)):

app/lib/activitypub/tag_manager.rb:172:in `uri_to_resource'
app/controllers/concerns/signature_verification.rb:221:in `account_from_key_id'
app/controllers/concerns/signature_verification.rb:81:in `signed_request_account'
app/controllers/concerns/signature_verification.rb:49:in `require_signature!'

icon

fontawesomeから使用したiconだけのfontファイル生成するwebpack pluginとかあるんだな
https://github.com/dhardtke/font-awesome-minify-plugin

Web site image
GitHub - dhardtke/font-awesome-minify-plugin: A Webpack Plugin that minifies your included FontAwesome CSS and fonts by only bundling the icons you are actually using
icon

git pullでmerge commitになっちゃうやつ、git pull --rebaseしたいねってなる