Limeey

joined 1 year ago
[–] Limeey@lemmy.world 5 points 10 months ago (2 children)

What do you mean “embedding lua into applications”?

I assume you mean you want an application extensible by user lua script?

You build an API that calls the lua interpreter and passes the script, and reads the output; same as you would for any other scripting language. You define what the inputs should be, create the interface for executing the user defined script through shell commands, and then retrieve the output.

For python you’re going to probably use this:

https://docs.python.org/3/library/subprocess.html#subprocess.check_output

For C# you’re going to use Process

https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output

The complexities arise in your implementation and there’s no single guide.

[–] Limeey@lemmy.world 2 points 10 months ago* (last edited 10 months ago) (1 children)

Agreed, I was pretty annoyed with parts of the main story.

::: Spoiler warning

Imo boozer should have died, that would have made finding Sarah more emotional. His miraculous recovery always felt bullshit.

Also Sarah’s character was ridiculous. I get that it’d been 2 years, but she didn’t care at all that deacon was alive. Their “keep it secret” thing was fine but like even in private she didn’t give a fuck, which was weird to me. And her whole “I can save them” arc was really weird.

I remember thinking that there must have been a lot of cut content, because the end of the story progresses really fast compared to the rest, I had expected more build up.

And finally, it would have been nice if at the end boozer and Sarah weren’t just boringly “sitting” at lost lake. like, they are badasses after that story but at the end they’re just content with sitting around while deacon goes off. The end game could have been vastly better than it was.
:::

[–] Limeey@lemmy.world 3 points 11 months ago

Yep, I don't disagree, just wanted to make it clear what is shared and what isn't. I suppose if you don't like people training AI on the text you write, then you may not like that they could gather it with literally no effort. Most other sites would require that they put some effort either into web scraping, using an api to request the post, or just buy the content in some text dump format.

But ya, I mean, this is a minor difference between platforms, overall.

[–] Limeey@lemmy.world 6 points 11 months ago

It’s not and never claimed to be. Lemmy is a piece of software, the instance owners and community moderators choose what stays and what’s goes, every Lemmy instance is just a glorified forum of old internet. Federation means the post isn’t solely controlled by the instance owners, but deletion is federated so the instance deleting it sends notice to every other instance where it exists to delete it as well, and then it’s up to that instance to do it (tho Lemmy will do this automatically so it would require altering the server code to stop that)

[–] Limeey@lemmy.world 18 points 11 months ago (2 children)

So, on that topic of "security" - just remember that whenever you post, your post is essentially sent to every "instance" that is federated (and listening for the community you posted to). Each instance is it's own server running it's own version of an activitypub implementation (lemmy, mastadon, etc).

So on lemmy.world that means your post is sent to literally thousands of servers that you cannot directly influence. If you delete a post, a request is made to those servers to also delete the post, but if that instance is modified or unavailable when the request is sent (it'll re-try, but there's a limit how many times), then it's possible your post will not be deleted and you'll never know.

Keep in mind this also means that anyone, say a government or private company, can establish an instance, federate, and receive the posts of everyone. Their instance may be nearly completely invisible - so you won't know they're collecting that information.

However, lemmy stores and sends almost no information about any user. A user profile does not contain IP address or country or anything. All of that stays in the server logs of the instance you originate from, and never enters the database. So your "true" personal information isn't shared, but your account name, and a link to your account, and the post content (whatever text you add) is shared.

Lastly, images tend to be shared. Lemmy uses "pict-rs" which is a FOSS image hosting server, and when an instance receives a federated post, if there is an image in the "URL" field, then it will ask pict-rs to download that image to its server for easier serving to its users.

[–] Limeey@lemmy.world 99 points 1 year ago (30 children)

I don’t get what they were thinking, how could they write a character letter for a convinced rapist? “Ya but he never raped us!”

[–] Limeey@lemmy.world 1 points 1 year ago (5 children)

Holy shit, what gateway is that? My neighbors was fine, that is intense..:

[–] Limeey@lemmy.world 12 points 1 year ago (1 children)
[–] Limeey@lemmy.world 0 points 1 year ago (7 children)

Uh I just configured xfinity for a friend and 10.0.0.1 worked find to get to the web panel for configuration. You def don’t need the app for that…

[–] Limeey@lemmy.world 2 points 1 year ago (1 children)

That's absurd. You must have many other issues if finding a button that is nearly guaranteed to be in basically the same spot across all cars is so difficult.

[–] Limeey@lemmy.world 0 points 1 year ago

This is a stupid take. You're telling me that you expect car manufacturers incorporate manufacturing techniques that apply to your small niche that is also demonstrably less safe? And for what, "Privacy" reasons?

[–] Limeey@lemmy.world 22 points 1 year ago (17 children)

I’m sorry but roll windows are awful and I’ve personally seen people nearly get in accidents because they’re focused on rolling the window instead of the road.

I am willing to bet A LOT that the energy consumption of the small window servo is trivial on the ev’s battery and is a worthwhile expenditure so that the already incompetent drivers aren’t engaging in a physical task while driving down the highway.

view more: ‹ prev next ›