15

I am not the author but I've been looking for a tool like this for a long time! This looks really nice! :D

[-] SorteKanin@feddit.dk 2 points 1 day ago

Interesting - I think this minimal solution I actually wouldn't mind, but I'd be concerned about introducing syntax for callers. Keeping it as a private construct in libraries seems fine though.

15
Ntpd-rs: it's about time! (discourse.ubuntu.com)
[-] SorteKanin@feddit.dk 1 points 2 days ago

Diesel is an ORM

This is kind of stretch to say though - it is not an ORM if you compare it to something like ActiveRecord. Diesel is just a DSL for writing SQL queries that are verified by the compiler.

sqlx requires a modern macro system

I wouldn't say it requires using macros. You could definitely imagine verifying queries in the same way in languages without macros. But yea, this is one of the strengths of Rust I suppose.

[-] SorteKanin@feddit.dk 9 points 3 days ago

Your last paragraph can be fixed even without an ORM though. Rust has libraries like diesel and sqlx that verify the sql in various ways.

41
20
72
19
2

There was recently some discussion on Feddit.dk surrounding the usage of upvotes and downvotes.

Currently in ActivityPub (the underlying protocol powering the fediverse), Lemmy sends "Like" and "Dislike" activities for upvotes and downvotes. Other threadiverse platforms (PieFed, Mbin and maybe even other non-threadiverse platforms?) do the same.

However, the "Like" and "Dislike" activities are meant for... well, "liking" and "disliking" things. They are not necessarily associated with the action of "vote this thing up so more people see it" or "vote this thing down so less people see it".

For instance, on Friendica, you can dislike a post and this sends a Dislike activity. From Friendica's point of view, such a Dislike indicates just that - the user dislikes the content. It doesn't necessarily mean "this should be shown to less users", but Lemmy will interpret the Dislike activity like that.

This leads to strange scenarios with posts that a user finds relevant and interesting (something that the user may reasonably want to upvote) but also something that the user dislikes (i.e. downvote).

As an example, imagine a post with a title like "AI is awful" (I'm sure many here has seen posts like that). A Friendica user could reasonably agree with the post and thus "Dislike" it. As in, they also find AI awful and they dislike AI, so they dislike the post, to show their disapproval of AI. The Friendica user's intent is not to hide the post from other users or make the post be shown to fewer users! They just intend to show their dislike for the topic at hand.

However Lemmy will interpret that Dislike as a downvote, and the post will thus be shown to fewer users and get ranked down in the sorting.

So is Lemmy and co. abusing the Like/Dislike activities? Should the threadiverse instead use a dedicated activity for the acts of "I think this should be shown to more users" and "I think this should be shown to fewer users"? That way, it would not be confused with the Likes and Dislikes from other platforms.

16
21
30
10
12
[-] SorteKanin@feddit.dk 180 points 1 year ago

"Wikipedia concludes that Israel is committing genocide, thus ending an editorial debate"

[-] SorteKanin@feddit.dk 135 points 2 years ago* (last edited 2 years ago)

Lemmy devs decided to exclude lemmy.world from the join-lemmy site because it's too big. Obviously that removes a lot of active users.

https://github.com/LemmyNet/joinlemmy-site/pull/358

[-] SorteKanin@feddit.dk 160 points 2 years ago* (last edited 2 years ago)

Whenever you see something like this, please just report the post as spam, block the user and petition your community moderators to recruit more mods, especially in other time zones.

Even better, volunteer as mod yourself.

Also please tell your admins to use an application rather than just the captcha - the captchas are easily broken.

[-] SorteKanin@feddit.dk 145 points 2 years ago

I'm so incredibly grateful that the EU is really trying to fix the internet. Also grateful to organization like the EFF that try to do the same. I recently became a donor as I think their work really is critical.

Can you believe the shit these companies would do if it wasn't for the EU and their regulation? It'd be a dystopia (well, more than it already is at least).

[-] SorteKanin@feddit.dk 290 points 2 years ago

Musk has marketed it as the world’s “town square"

He says it so clearly here which makes me wonder how people don't realize it:

How fucked up would it be if your actual town square was owned by a private company?

A private company that is in control of who is allowed to talk and what they are allowed to say. A private company that even decides what you hear and see while walking the square. Meanwhile also shovelling ads in front of you while you try to find the people you actually want to engage with.

"Social" media owned by private corporations is not social. Such media is anti-social, corporate control of public spaces that ought to belong to the people, just like they mostly do in real life.

[-] SorteKanin@feddit.dk 228 points 2 years ago* (last edited 2 years ago)

You can't delete any text in comments or posts either - or at least not reliably, as any federated instance could choose to ignore deletions.

You should basically consider what you write or post here public, and probably public for good. But here's the thing - same goes for the entire rest of the Internet as well, basically.

[-] SorteKanin@feddit.dk 168 points 2 years ago

Kind of cute but also kind of sad. Love is sometimes also a leap of faith and trust. It seems like they never really trusted each other, or themselves, to still love each other.

Personally I think marriage is not about force, but about trust. It's a confession of trust in your partner.

[-] SorteKanin@feddit.dk 133 points 2 years ago

Remember the whole "if you aren't paying for the product, you are the product"?

It wasn't enough to turn you into a product. Now they also want to turn you into a resource. Farming your comments and posts to feed to an AI model.

What an economy we've built.

[-] SorteKanin@feddit.dk 470 points 2 years ago

No, Firefox doesn't have bugs with your store. Your store has bugs.

view more: next ›

SorteKanin

joined 2 years ago