Show newer

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

@monorail that’s what i understood, but i cannot yet find where it actually does this in the codebase

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

re: vegan food cooking update 3: tasting 

@packbat look i just, really love bread,

re: vegan food cooking update 3: tasting 

@packbat thankkkklkkkkkkk -nomnomnom-

re: realization re: vegan food cooking update 3: tasting 

@packbat just note that avacado oil is relatively expensive tho

@Lady big example on my mind is THPS1+2, whose physical copy got has a day one update that greatly improves performance

and also is like, 10 gigs i think

@chosafine i know for LCD displays you get effective input lag from ghosting of the previous frame in large parts of the screen before they all get updated; idk if more frames will reduce this ghosting or make it worse (because you leave a ghost from half a frame prior instead of a full one)

Show older
📟🐱 GlitchCat

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