[-] UlrikHD@programming.dev 3 points 3 months ago

It's an open issue on github from 2024, it doesn't seem to be a priority. This tool allows us to react faster than reports though, and hopefully remove some problematic content before it's seen by others.

[-] UlrikHD@programming.dev 3 points 4 months ago

It's not about the profanity itself, it's about what language the trolls/harassers typically use. The comment containing profanity was restored after it was seen to not be harassment. Most new users doesn't trigger the automod in the supervision period.

[-] UlrikHD@programming.dev 3 points 4 months ago

The instance has experienced a lot of trolls signing up recently, so we need to moderate new accounts more strictly. The automated removal is needed to respond quickly to potential harassment. The comment was restored after manual review.

[-] UlrikHD@programming.dev 4 points 8 months ago* (last edited 8 months ago)

Hi

Can you update the title to be the same as the updated title in the news article?

The (successful) end of the kernel Rust experiment

[-] UlrikHD@programming.dev 4 points 1 year ago

Please don't stalk/harass our users, it can and will lead to a site wide ban if reported.

[-] UlrikHD@programming.dev 4 points 2 years ago

I've replied to dessalines

[-] UlrikHD@programming.dev 4 points 2 years ago

If it's your own blog you're free to share it in whatever manner you like. If it's not your own blog you should respect the wishes of the author, meaning ask for permission if you want to copy paste the entire blog. Otherwise, excerpts alongside credits to the author is fine.

[-] UlrikHD@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Personally I would recommend to use regex instead for parsing, which would also allow you to more easily test your expressions. You could then get the list as

import re
result = re.findall(r'[\w_]+|\S',  yourstring)  # This will preserve ULLONG_MAX as a single word if that's what you want

As for what's wrong with your expressions:

First expression: Once you hit (, OneOrMore(Char(printables)) will take over and continue matching every printable char. Instead you should use OR (|) with the alphanumerical first for priority OneOrMore(word | Char(printables))

Second expression. You're running into the same issue with your use of +. Once string.punctuation takes over, it will continue matching until it encounters a char that is not a punctuation and then stop the matching. Instead you can write:

parser = OneOrMore(Word(alphanums) | Word(string.punctuation))
result = parser.parseString(yourstring)

Do note that underscore is considered a punctutation so ULLONG_MAX will be split, not sure if that's what you want or not.

[-] UlrikHD@programming.dev 4 points 2 years ago

Stickied post would work just fine yeah, can't really expect the developer to set up a public repo for just tracking features. Hopefully Ruben takes notice.

[-] UlrikHD@programming.dev 3 points 3 years ago

Depends on the file, very simple files may only warrant npp, but VSCode for more complex stuff where live preview may come in handy.

[-] UlrikHD@programming.dev 3 points 3 years ago

putting thumbnails in the file selection dialog

Could you elaborate what you by this?

[-] UlrikHD@programming.dev 4 points 3 years ago

Got a Sony Xperia premium XZ from 2017 with the latest update being from 2019, android version 9

view more: ‹ prev next ›

UlrikHD

0 post score
0 comment score
joined 3 years ago
MODERATOR OF