[-] AsudoxDev@programming.dev 2 points 3 days ago

At least one person would stay

[-] AsudoxDev@programming.dev 10 points 4 days ago

"runs out the door"

why? why would people run out the door at someone commiting suicide?

[-] AsudoxDev@programming.dev -1 points 4 days ago

Yeah well, that's not doxxing.

[-] AsudoxDev@programming.dev 29 points 4 days ago

What will happen to my @horsefucker.org email

[-] AsudoxDev@programming.dev -4 points 5 days ago

How is linking to freely and publicly available information to their profile links considered doxxing?

[-] AsudoxDev@programming.dev 4 points 6 days ago* (last edited 6 days 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

[-] AsudoxDev@programming.dev 1 points 6 days ago

Seems like Luau will do. Thanks

[-] AsudoxDev@programming.dev 4 points 6 days ago

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.

[-] AsudoxDev@programming.dev 2 points 6 days 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.

[-] AsudoxDev@programming.dev 5 points 6 days ago* (last edited 6 days 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.)

38
submitted 6 days ago* (last edited 5 days ago) by AsudoxDev@programming.dev to c/rust@programming.dev

I want to allow the users of my project be able to write the driving logic, while I provide the tools. What are some embedded scripting languages in Rust that can be sandboxed and are easy for absolute beginners?

edit: Thanks for all of your answers, I decided to go with lua using mlua

[-] AsudoxDev@programming.dev 8 points 6 days ago

Thanks for understan

90
576
submitted 1 week ago* (last edited 1 week ago) by AsudoxDev@programming.dev to c/asklemmy@lemmy.world

Until the rule is removed, any new posts about US politics will be removed.

13
submitted 1 week ago* (last edited 1 week ago) by AsudoxDev@programming.dev to c/programming@programming.dev

Hello, I am building a dashboard where users can add their own user scripts. I at least want to keep the last 100 log lines stored somewhere so that the user can check them later.

I thought of using the backend's sqlite database but that would slow down the performance of other querys that are much more high priority.

53
submitted 2 weeks ago* (last edited 2 weeks ago) by AsudoxDev@programming.dev to c/technology@lemmy.world

I just found this search engine while searching for something like Kagi.

It seems like it is not a meta search engine, but one with its own index. Awesome.

It has kagi's manual website ranking. It even has so called optics (like Kagi's lenses), for example an optic for the Fediverse lets you search only the fediverse.

What do you think?

68
"mhm, yes" (programming.dev)
283
-6
submitted 2 weeks ago* (last edited 2 weeks ago) by AsudoxDev@programming.dev to c/asklemmy@lemmy.world
295
110
627
65

I kind of want to self host a lemmy instance. What are the requirements for a single user lemmy instance?

[-] AsudoxDev@programming.dev 148 points 1 month ago

Some devs sure do fear linux users.

view more: next ›

AsudoxDev

joined 6 months ago