みんなおじさんになるんだよ
ずんだ
> 死んでるのに元気ハツラツもあるかよ
祖母の死に水がオロナミンCだったのが悲しい(追記しました) https://anond.hatelabo.jp/20200731173343
【これからMastodon v3.2.0 へアップデートする方へ】
マイグレーション(データベースの更新)でエラーになる現象が報告されています。
当初はレアケースかと思われましたが、比較的報告件数が多いため、念のため下記のコマンドで、事前に確認することをお薦めします。
1. mastodonユーザーで、~/live ディレクトリに移動しておいてください。
2. 下記のコマンドを実行します。
RAILS_ENV=production bundle exec rails r "puts Account.connection.select_all('SELECT string_agg(id::text, \',\') AS id FROM accounts GROUP BY lower(username), lower(domain) HAVING count(*) > 1').to_hash"
3. 少し待って何も表示されずに終了したら問題ありません。もし、下記のように何かがリストアップされたら、対処が必要です。
{"id"=>"40363"}
{"id"=>"40365"}
@noellabo index_accounts_on_username_and_domain_lowerインデックスができたのはdb/migrate/20170322021028_add_lowercase_index_to_accounts.rbなんだけどuniqueになったのはdb/migrate/20180528141303_fix_accounts_unique_index.rbだったりするのかな?後者のup中に重複を消してからインデックスができるまでの間に重複アカウントができちゃいそうな気もしますがRails側でロックかけるんでしたっけ…
やっぱり足が付くもんなんだねえ。しかし17歳…
Tampa teenager arrested for Twitter Bitcoin hack https://www.engadget.com/teenager-arrested-twitter-bitcoin-hack-183302700.html
@noellabo たぶん新しいサーバを作ってもマイグレーションは最初からぜーんぶ実行するんじゃないかな、と思ってます。勘違いかな…。
ユニーク制約がPostgres側につくまでは、コードのどこかで重複の確認が漏れてたり、僕なんかはテーブルに迂闊に触っちゃたりで重複をつくっちゃうかもですよね。
@rinsuki bitcoinを現金化しようとしたのかな、って妄想してます。ソーシャルハックしたとすると電話のアクセントである程度地域を限ることもできるかもですよねー。
@noellabo Herokuでつくるとrake db:migrateを走らせるのが気楽でたぶん全部マイグレーションを走らせるのだけど、rake db:setupしたりすると違う経路で作られるのかもですねー
ヌマンカッタ
$ git push
To github.com:zunda/mitome.in.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'git@github.com:zunda/mitome.in.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
pullしてやりなおすね
$ git reset --hard origin/master
$ git pull
$ git merge explain-smime
$ git push
This account is not set to public on notestock.
[身に覚えない謎の「種」栽培せぬよう防疫所が呼びかけ]
先月、神奈川県三浦市に住む男性の自宅に中国から送られたとみられる植物の種のような物が入った小包が届いていたことが分かりました。「注文した覚えのない植物の種が届いた」といった相談は横浜植物防疫所に相次いでいるということで、植物防疫所は受け取っても栽培しないよう呼びかけています。
http://www3.nhk.or.jp/news/html/20200801/k10012544671000.html
Real World HTTP 第2版はなぜ1.5倍になったのか | フューチャー技術ブログ https://future-architect.github.io/articles/20200421/
This account is not set to public on notestock.
いつからか「関係」には「性」が付くようになったし「開店させる」とか受動態と能動態がぐっちゃぐちゃに混ざるようになってるしおっさんの知ってる日本語はもう無い←
This account is not set to public on notestock.
まじかー
> 2007年10月に出荷されたMac OS X v10.5以降は、The Open Groupの認証を受けたUNIXである
https://ja.wikipedia.org/wiki/UNIX#%E3%83%95%E3%83%AA%E3%83%BC%E3%81%A7%E3%81%AF%E3%81%AA%E3%81%84%E3%82%82%E3%81%AE
https://www.opengroup.org/openbrand/register/apple.htm
Ubuntu 18.04.4 LTSでっす
$ sudo apt update; sudo apt dist-upgrade -y
:
The following packages will be upgraded:
grub-common grub-pc grub-pc-bin grub2-common
:
きっとこの前の脆弱性への対応わね
うちに来てるメディアも確認しないとなあと思って https://mastodon-gallery.zunda.ninja/ を思い出しちゃったわね
生き別れた兄弟がいた。なんぞw
https://github.com/heroku/edamame
おっさんぽ中にnetlifyのデプロイ確認してプルリクエストをマージしようと思ってたのにGitHubアプリからはデプロイは見えないのかもー
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
idが整数だった頃のことじゃった…
> SELECT created_at FROM statuses WHERE id=1;
created_at
----------------------------
2017-04-15 04:38:31.038077
(1 row)