AsudoxDev

joined 1 year ago
[–] [email protected] 2 points 5 months ago

I agree. I also use Posteo. Their privacy policy and website seem to be one of the most sane ones. They also allow you to use external email clients.

[–] [email protected] 4 points 5 months ago (1 children)

I've been using Posteo for a while now. They have the most sane privacy policy out there. They also support IMAP and POP3 ootb for external email clients, unlike some other email providers (e.g. Protonmail).

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago)

yeah no no, who writes wasm by hand?

it's just that this interoperability with all languages is a bit overkill. I also don't know how I would expose a rust struct that has methods in wasm

[–] [email protected] 1 points 5 months ago

Seems like Luau will do. Thanks

[–] [email protected] 4 points 5 months ago (2 children)

WASM is a bit overkill and is also complicated. I need a simple scripting language that won't stress the users out. As mentioned in my post, I expect them to be absolute beginners.

[–] [email protected] 2 points 5 months ago

Thanks for this. Seems like I'll go with Lua. I actually did try Rhai before posting this and it did work pretty easily and had a very nice and convenient plugin system. But it had no LSP and on top of that, it wasn't as easy as Lua.

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago)

Thanks for the suggestion. Though JS itself is a pretty weird language and has some weird behaviours, I'd rather not use it. It's also a bit too advanced for my use case. (somewhat simple control flow, maybe some math, etc.)

[–] [email protected] 8 points 5 months ago (1 children)

Thanks for understan

[–] [email protected] 2 points 5 months ago (1 children)

holy fucking shit it finally works

[–] [email protected] 1 points 5 months ago

here, it definitely is shorter, I'll keep filter_map in mind, thanks:

fn get_links(mut link_nodes: Select) -> Vec<String> {
    link_nodes.into_iter().filter_map(|node| node.value().attr("href").map(|href| href.to_string())).collect()
}
[–] [email protected] 3 points 5 months ago

Vanilla Arch.

[–] [email protected] 5 points 5 months ago (6 children)

What source? That was obvious sarcasm.

195
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
108
What a cool jackdaw (programming.dev)
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 
30
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

I am the Rust programmer, I will rewrite the world in Rust. I will rewrite the world in Rust because the world is unsafe. As I am the Rust programmer I will keep writing rust until the world is safe. After the world is safe, I will not rewrite it in Rust. Because I am the Rust programmer I will retire from programmer in Rust.

I will come to you when you are sleeping, and I will unloc k your computer using a memory leak. If I find javascript on your computer, I will delete them. Do not try to stop me, if you try to stop me I will do it anyways. I am the Rust programmer, if you program in javascript, you will scream.

You will be sleeping as I rewrite your computer in Rust. You will not notice me as I am the Rust programmer, I am fast, but not too fast for your computer. I know your computer just as it knows me. After I rewrite your computer, you will love your computer. You will love your computer because it is written in Rust, I will do the same to all computers because I am the Rust programmer.

I will not stop at your computer, I will rewrite the world because the world is unsafe. Your brain is written in C, your memory is unsafe. If your brain is written in C, you will forget what I just said. I will rewrite your brain in Rust, you cannot stop me from writing Rust as I am the Rust programmer. If you try to stop me, you will not remember it. Because I am the Rust programmer I can manually remove your memory, you will not remember me. After I rewrite you in Rust, you will enjoy the world with a safe memory, you will not forget that I am superior, I am the Rust programmer.

I will rewrite the world, I will rewrite quantum mecahnics because it is unsafe. I will not tell you all my plans before I rewrite you in Rust, it is because you are made of bugs I do not trust you. I am the Rust programmer, I will rewrite the world in Rust, you will not forget me because I am the Rust programmer.

19
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/18411894

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @[email protected] to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • Punish content authors or take action on content via word blacklist/regex
  • Ban members of communities by their usernames/bios via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome.

Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account's age is lower than X, remove the post.

33
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/18411894

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @[email protected] to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • Punish content authors or remove content via word blacklist/regex
  • Ban members of communities by their usernames/bios via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome. Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account's age is lower than X, remove the post.

6
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/18411894

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @[email protected] to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • Punish content authors or remove content via word blacklist/regex
  • Ban members of communities by their usernames/bios via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome.

Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account's age is lower than X, remove the post.

43
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

Hello Lemmings!

I am thinking of making a community moderation bot for Lemmy. This new bot will have faster response times with the help of Lemmy webhooks, an amazing plugin for Lemmy instances by @[email protected] to add webhook support. With this, there is no need to frequently call the API at a fixed interval to fetch new data. Any new data will be sent via the webhook directly to the bot backend. This allows for actions within seconds, thus making it an effective auto moderation tool.

I have a few features I thought of doing:

  • Welcome messages
  • Auto commenting on new posts
  • Scheduled posts
  • ~~Punish content authors or take action on~~ Auto report content via word blacklist/regex
  • Ban members of communities by their usernames via word blacklist or regex
  • Auto community lockdown during spam

What other features do you think are possible? Please let me know. Any questions are also welcome.

Community requested features:

  • Strike system

Strikes are added to a certain member of the community and the member will be temporarily banned within a time period if their strike count reaches a certain threshold

  • Post creation restriction by account age

If an account's age is lower than X, remove the post.

view more: ‹ prev next ›