Yes mate the parser is lacking, which is why I'm rewriting it all.
If you want to be useful i have a legitimate task for you.
Write me up to 20 deliberately autistic strings that could trick the parser and break the output. If they're exceedingly autistic, explain what the trick is.
I figured out why sometimes a character like "ɾ" pops up in the chat. It's some kind of Unicode parser.
If I were to type " '21 " in the chat, it would turn into this funny symbol: ✡
In Unicode it is a character with the index of U+2721. I'm not sure how exactly this parser picks out Unicode blocks but this is basically what's causing it. An apostrophe acts as a Unicode index parser, so certain characters after it will be parsed as a pointer in the Unicode table, turning the apostrophe and the specific characters into a Unicode character that's under the said index.
I really like it. The responsivity really does make a difference.
One request, can we have a temporary non-forum affiliated chat channel for testing so we can spam shit to attempt to break it without actually interrupting actual chat going on?
I really like it. The responsivity really does make a difference.
One request, can we have a temporary non-forum affiliated chat channel for testing so we can spam shit to attempt to break it without actually interrupting actual chat going on?
Nothing out of the ordinary, just a couple variations on unicode garbage and things that can fuck up formatting. I just didn't want to throw something into a scrollback that might actually disrupt actual chat when rendered.
SneedChat Progress Summary
Emotes are back! Including the most important
Hyperlinks work now
The parser no longer trips on " ' + hex " strings
Image embeds and select other BB Codes still work
Outstanding complaints:
There is a known problem with some emoji that have "overlapping" character strings.
The above is the output of
This affects the popular ans.wav: emote
The "anchor" indicator that appears sometimes means the chat is "stuck". Refresh/F5 will make that go away in most cases and de-anchor the chat window.
Using smilies that contain another smily in them (e.g. contains ) cause the smily not to render properly and dump a bunch of html.
Switching channels causes smilies to disappear when you return to the channel
/list doesn't work
/join doesn't clear the message log (makes no distinction between channels when it loads the backlog)
It is impossible to know what channel you are in (no highlighting in channel bar)
Linked images don't go through a caching server and therefore expose users IP addresses (very-minor security problem because it's impossible to match up IP addresses with user accounts)
User profile pictures that are the site default (letter in a solid colour block) do not load and appear occasionally as broken image icons and other times as blank spaces.
This chat works 100% better on TOR whe compared to the the old clunky chat. The old chat used to "stall" all the time for me and i had to refresh the page and sometimes lost stuff because I couldn't scroll back far enough. I hope sneedchat stays
People's user images are loading fine for me @Sevenatenine
whenever i go to the front page, it jumps straight down to the chat. i don't care about the chat and i don't want this to happen. i haven't even used the chat in 6 or 7 years. did i click on something to make this happen?