Post B5PbyvVDmt0flBUVcm by jernej__s@infosec.exchange
(DIR) More posts by jernej__s@infosec.exchange
(DIR) Post #B5Ou6Ai7FNScyFAPb6 by foone@digipres.club
2026-04-17T23:54:43Z
0 likes, 0 repeats
working on some code to help copy-paste discussions out of discord and LOOK AT THIS LINE FORMAT:"Alice Averlong — 4:00 PMFriday, April 17, 2026 4:00 PM"
(DIR) Post #B5OuBDJSzyisUR2e8G by foone@digipres.club
2026-04-17T23:55:41Z
1 likes, 0 repeats
Let's put the time of day in there twice! WHY NOT?Also, that's a local time. And there's no timezone, so when did this happen? Simple: Fuck you.
(DIR) Post #B5OuEkcVcV54eudRia by foone@digipres.club
2026-04-17T23:56:21Z
0 likes, 0 repeats
and the person I'm writing this code for showed me a snippet of her copied discord messages, which looked like this:Alice — 00:00Saturday, 18 April 2026 at 00:00
(DIR) Post #B5OuHWipkUL6QKuvSK by freya@social.highenergymagic.net
2026-04-17T23:56:15Z
0 likes, 0 repeats
@foone oh that's broken
(DIR) Post #B5OuJyfCplklf6OAu8 by foone@digipres.club
2026-04-17T23:56:56Z
0 likes, 0 repeats
Same problem with the doubling but it's not doing AM/PM, because of the locale. Which is great because my code needs to handle both
(DIR) Post #B5OvZN5KPzXJhXVmka by da77a9@mstdn.social
2026-04-18T00:11:11Z
0 likes, 0 repeats
@foone well at least you can reduce/deduce the likely tzs based on the am/pm presence :)
(DIR) Post #B5OwiZNMBsgANftVfU by foone@digipres.club
2026-04-18T00:24:06Z
0 likes, 0 repeats
the other fun thing about how discord copying works, is that if you select and then hit CTRL-C, you get the "long format", which looks like:Alice Averlong — 4:00 PMFriday, April 17, 2026 4:00 PMoh for sure, I just thought it was fun info:thumbsup:Click to react:heart:Click to react:floppy_disk:Click to reactAdd ReactionEditForwardMore
(DIR) Post #B5OwojkcWqGWIRiTxo by foone@digipres.club
2026-04-18T00:25:17Z
0 likes, 0 repeats
if you instead select and hit ctrl-c/command-c, you get the short format:Alice Averlong — 4:00 PMoh for sure, I just thought it was fun info
(DIR) Post #B5OwxSb5fv5xhYQ0ie by foone@digipres.club
2026-04-18T00:26:50Z
0 likes, 0 repeats
what makes this all the more infuriating is that the copy option you get when right clicking says CTRL-C on it, despite doing something different than pressing ctrl-C
(DIR) Post #B5OxR4pQbxU0fhFNy4 by foone@digipres.club
2026-04-18T00:32:10Z
0 likes, 0 repeats
those are the two I get in the discord app, on windows. If you instead use firefox, you'll get a third format:Alice Averlong — 4:00 PMoh for sure, I just thought it was fun info
(DIR) Post #B5P2ohMvz6M6dM0Cqu by foone@digipres.club
2026-04-18T01:32:15Z
0 likes, 0 repeats
@TerrorBite @saphire aww, cute!
(DIR) Post #B5P6kxi9gLd7ycOzRY by foone@digipres.club
2026-04-18T02:16:30Z
0 likes, 0 repeats
ugh the format includes embedded linebreaks if you have someone with [APP] in their name in your logswhich means my script is accidentally pluralphobic
(DIR) Post #B5P8m4QIPdPyzWhl32 by foone@digipres.club
2026-04-18T02:39:09Z
0 likes, 0 repeats
why does discord surround links to other channels with U+2060 WORD JOINER?
(DIR) Post #B5PAZDv3zhXaaT68DQ by foone@digipres.club
2026-04-18T02:59:15Z
0 likes, 0 repeats
amusingly, usernames + timestamps are one line, unless you're plural (or a robot), then they're three
(DIR) Post #B5PAxE1ZFut3rXaKwK by foone@digipres.club
2026-04-18T03:03:35Z
0 likes, 0 repeats
which is great because my parser goes line by line! so handling a three-line username is TRICKY like, a singlet user has a line like this:singlet username — 7:03 PMFriday, April 17, 2026 7:03 PMbut a plural user will have:Headmate NameAPP — 7:03 PMFriday, April 17, 2026 7:03 PM
(DIR) Post #B5PG797OqmA7JVrZJo by foone@digipres.club
2026-04-18T04:01:23Z
0 likes, 0 repeats
code is done and pushed in case anyone wants to see terrible regexes and a bunch of quickly-coded python:https://github.com/foone/discord_quote
(DIR) Post #B5PPaY3O7TUAdP56n2 by foone@digipres.club
2026-04-18T05:47:24Z
0 likes, 0 repeats
@elebertus it's more that I have a very high tolerance for pain, and regexes are useful enough that I don't mind writing them
(DIR) Post #B5PPd1FkWnHdm32dnc by foone@digipres.club
2026-04-18T05:47:57Z
0 likes, 0 repeats
@Lunaphied yeah I need to do that too! I similarly have some exported chats that I need to process, and I figured this would be a good starting point to glue that parser onto
(DIR) Post #B5PbyvVDmt0flBUVcm by jernej__s@infosec.exchange
2026-04-18T08:06:21Z
0 likes, 0 repeats
@foone Don't worry, right-click → Paste has been broken for me in Discord for the last several days, while Ctrl+V and Shift+Ins work.
(DIR) Post #B5PdknJ1fKpGC0AxMG by jernej__s@infosec.exchange
2026-04-18T08:26:22Z
0 likes, 0 repeats
@foone Two lines in compact mode.
(DIR) Post #B5PqsGjnw4qAuBazjM by 0xabad1dea@infosec.exchange
2026-04-18T10:53:17Z
0 likes, 0 repeats
@foone I’m guessing this is to prevent it being broken mid-word at the end of the line when embedded in Asian scripts, which is a common issue when posting Latin writing on Chinese websites
(DIR) Post #B5QhaOatHbLTd3my6C by foone@digipres.club
2026-04-18T20:43:50Z
0 likes, 0 repeats
@NekoEd coincidentally I spent a while yesterday thinking about making an 80s edutainment game! Maybe I'll call it WORD JOINER, or at least have that be one of the minigames