i don’t mean dark patterns and manipulation
i mean today i typed the text `solr_document.to_model` and Slack on my phone decided it needed a link to http://solr_document.to
@wallhackio you talk mean shit but you didn’t even notice they hit one of their home runs because you were too busy reading movie reviews on your phone
@wallhackio @coriander so why did you guys trade your two best pitchers again
@vaporeon_ @wallhackio @aescling @monorail actually, assuming that you escape " with another ", then the problem (discounting the issue of unescaped commas) is as simple as “replaces spaces with commas when the number of preceding " is even”, right? that is much simpler in sed
:start
s/^\(\(\([^"]*"\)\{2\}\)*[^" ]*\) /\1,/
t start
@vaporeon_ @wallhackio @aescling @monorail i was thinking something like this (untested; may not work)
x;s/.*//;x
:outside
/^[^ ]*"/{
s/"/"\n/
H
x;s/[^\n]*$//;x
s/.*\n//
b inside
}
/ /{
s/ /,\n/
H
x;s/[^\n]*$//;x
s/.*\n//
b outside
}
b done
:inside
/^[^ ]*"/{
s/"/"\n/
H
x;s/[^\n]*$//;x
s/.*\n//
b outside
}
/ /{
s/ / \n/
H
x;s/[^\n]*$//;x
s/.*\n//
b inside
}
b done
:done
H
x
s/\n//
(note that this does not handle unquoted commas which may need to be quoted)
(can you solve this with a single regex? maybe??? but i was thinking of just writing a parser)
@vaporeon_ @wallhackio @aescling @monorail ah yes, i see now
you can solve this in sed but it isn’t pretty
@wallhackio @aescling @monorail @vaporeon_ are whitespace separated values not the default for awk????
@coriander most of the first season is unserious and jumps around, but that turns out to be an important part of the show’s message. once you hit the second half of season 2 you are stuck in Ba Sing Se, and the third season mostly takes place in the Fire Nation. but the message of the show is that the world is much bigger and more diverse and beautiful than segregated cities and fascist countries would lead you to believe (and also that cities and countries themselves are internally more diverse and beautiful than they appear from the outside). and i think this is a message of hope that resonated strongly with a lot of american children who were looking for a counternarrative to the national discourse of the War on Terror and the universal sameness of Western society and art in the postglobalist era
@coriander but really like. imagine star wars, but instead of the core concept being about a kid with a personality disorder from his abusive childhood getting manipulated into supporting fascism, it is about a kid who grew up in a fascist country going out in the world, experiencing how the rest of the world does things, overcoming his childhood trauma, and developing a conscience. now get rid of the whole “is the jedi temple actually evil and did they deserve to be genocided” discourse and all of the darth vader stans, and that is kinda what AtLA is and why it is popular.
@coriander AtLA and Star Wars are possibly the only two Western works to have an interesting take on spirituality and interestingly they both involve moving around objects with your mind
@coriander unfortunately for them — · is Morse code for N
@wallhackio @coriander clodboy you have nintendo online
@wallhackio meat hat
@gaditb oh i mean i would say i care most about whatever most speaks to you, or whatever you think most speaks to me, or something socially contingent along those lines
@gaditb no, never heard of them
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.