I wonder if anyone has made any software to detect keysmashing

(I mean, besides Pawsense, kind)

I mean, like, I could run it on my chat logs and see which lines were keysmashes

this chatlog is in... random order? huh?

I used Discrub to export a Discord chatlog for analysis, and it gave me a JSON of all the messages in that chat, but in random order.

weird! I mean I can just sort them by timestamp or ID (maybe?) but that's just the first time I've ever seen chatlogs that are not ordered

yep, sorting them by ID puts them in the right order.

so weird

I also need a way to detect "awawas" and the single key braincrash, like:
<kitten> hhhhhhhhhhhhhhhhhhhh
pip install bottom-chat

hey look a keysmash generator, that's something:

https://www.dcode.fr/keyboard-smash

Keysmash Generator - Online Keyboard Key Smashing Simulator

Tool for generating 'keysmashes', random keystrokes on the keyboard, keyboard smashing style, sometimes used as a way to show emotion (anger, frenzy, hilarity, etc.)

there's also a thing where people say lots of quick lines in a row, like:
<kitten> as
<kitten> gh
<kitten> buh
<kitten> jg

So I need to code it to look at timestamps too, and define some kind of threshold for sending a bunch of nonsensical mini-keysmashes in a row

I'm embracing data-driven TDD:

FAILED test_lines.py::test_detectors[ghasdlfgjk-output4] - AssertionError: detect('ghasdlfgjk') is [], expected ['is_keysmash']

@kawa do you happen to have a handy regex for meows? or some examples of meows?

I discovered another platform doing this weird.
When you do an account export from tumlbr, they give you a conversations.zip file which has HTML (not JSON or XML, HTML) for each person you've messaged.

and the messages are in reverse chronological order, with the most recent messages at the top

@foone So you can’t really do anything with the exported data. Nice.