Show newer

i guess this is what i get for searching youtube for programming info when the official documentation was clearly superior

code 

oh ok, in app/models/status.rb:

'''
before_create :set_locality
'''

and then in there

'''
def set_locality
if account.domain.nil? && !attribute_changed?(:local_only)
self.local_only = marked_local_only?
end
end
'''

and a couple paragraphs above that:

'''
def marked_local_only?
# match both with and without U+FE0F (the emoji variation selector)
/#{local_only_emoji}\ufe0f?\z/.match?(content)
end

def local_only_emoji
'👁'
end
'''

Show thread

current task: where the fuck does the glitch-soc code actually determine if a post is local only

also new switch games are cheaper as physical copies from amazon than as downloads from the nintendo store or whatever they call it

Show thread

when it comes to physical copies of games, i honestly don’t know if my fear of when impermanence is really justified or not, given that CDs and shit can and do Just Break while digital copies can be redistributed losslessly

but just like. man. i like it physical

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.