#i wrote that migration on my phone after looking at rails docs for a couple minutes so please do not correct its structure
Explore tagged Tumblr posts
Photo
At some point, Tumblr restored this Kirby image that it took down around the time of the 2018 NSFW ban without ever giving me the option to appeal its NSFW status... Love wins.
This is a simulation of what I think was going on with the database in 2018 that resulted in my Kirby blog getting scrubbed with a wire brush:
class FilterBadPostsAgain2Imagemagick < ActiveRecord::Migration
def change
add_column :posts, :DONOTSHOW_2018ohno_imagemagickfilterv2, :boolean, default: false
Posts.all.each { |post| post.update_attributes!(DONOTSHOW_2018ohno_imagemagickfilterv2: true) if FilterHellAgain.imagemagickfilterv2_says_its_bad(post) }
end
end
and at least 3 different people did stuff like that independently within a week, and there was also one that suspended blogs based on the number of times "report" was ever hit on the blog/account in question (I feel like this may be why badsutheories got flagged as "adult"), and another for whole accounts? And none of these flagging systems necessarily knew what the others had decided or how, and the column values were all treated differently by the frontend, and the code for "imagemagickfilterv2_says_its_bad()" probably changed mid-migration somehow.
From 星のカービィ まとめ3 by R'L (Pixiv)
#i wrote that migration on my phone after looking at rails docs for a couple minutes so please do not correct its structure#ive thought too much about database migraines today already#do not fix that code nightpool!
50 notes
·
View notes