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

Any FEP trying to fix this will be incompatible with existing instances, so I don't really see how it's gonna work.

[-] SorteKanin@feddit.dk 3 points 19 hours ago

Thanks, that's useful!

[-] SorteKanin@feddit.dk 6 points 23 hours ago* (last edited 23 hours ago)

But temperature is not just the speed of a molecule right? Isn't it also like the "energy" stored in the molecule, or its "wiggling" or something? Like a molecule moving very fast through space can still be at a very low temperature, right?

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

My chemistry teacher once explained it to me like below. Does anyone know how much truth there is to this explanation?

Temperature as measured by a thermometer or your finger is an average. Not every single molecule has the same temperature. The molecules constantly bounce around, smashing into each other, transferring heat to each other. By chance, some molecules will get hit in just the right way by other molecules to reach a very high temperature and then it evaporates. So there is constantly a gradient of temperatures among the molecules and the ones with the highest temperature are the ones evaporating, until there is no liquid left at all.

As the average temperature increases, the chance of some molecules reaching a high enough temperature also increases, so warm water evaporates faster than cold water.

This also explains why evaporation cools down (like when you sweat): the molecules with the highest temperature are the ones evaporating, so the average temperature decreases as those high-temperature molecules leave the system. Only the relatively colder molecules are left behind - thus it cools as a whole.

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

no idea if ActivityPub would get in the way

It totally would. In ActivityPub, all objects (like users and posts) have an identifier that includes the domain name. For instance, your ID is https://midwest.social/u/m_f. That's what identifies your user. There is no way to change an ID - the point of an ID is after all that it stays the same and still refers to the same entity. This is a pretty serious limitation of ActivityPub right now unfortunately.

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

It's a test for the compiler which ensures that these legal yet extremely weird expressions continue to compile as the compiler is updated. So there is a purpose to the madness but it does still look pretty funny.

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

There's a crate for it too: anymap2

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

Not exactly the same thing but this is still pretty funny. This is code that is technically 100% legal Rust but you should definitely never write such code 😅.

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

One always lies, the other never tells the truth.

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

Is it possible to define an ecosystem in such a way that one can predict how it will evolve in stages?

Intuitively, I think this would be a chaotic system, much like the weather. Chaotic systems cannot be predicted over long time scales.

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

I don't actually see that many political questions in this comm but maybe that's just me. Looking at the top of all time, I mostly notice this one, which honestly is more like a rant than a question (I dislike Trump as much as the next guy but this is clearly not a neutrally stated/good faith question and just a way for the OP to vent their frustration) and should probably be removed on that basis rather than it being a political question.

Honestly looking further, a lot of the political "questions" in this comm are just rants disguised as questions. I think it would make sense to disallow rants. You could say it's already included under the "all posts must be legitimate questions" part of rule 1 but explicitly calling it out and enforcing it would be nice.

[-] SorteKanin@feddit.dk 26 points 4 days ago

Obscurity is not security, so you could argue that you should just open source it anyway. Any security holes present are also there right now - the fact that the source code is not available is irrelevant.

But if you insist, it may help if you say what programming language is used.

398
submitted 1 month ago* (last edited 1 month ago) by SorteKanin@feddit.dk to c/fediverse@lemmy.world

I recently discovered an interesting (and somewhat disappointing, as we'll find later) fact. It may surprise you to hear that the two most upvoted comments on any Lemmy instance (that I could find at least) are both on Feddit.dk and are quite significantly higher than the next top comments.

The comments in question are:

  1. This one from @bstix@feddit.dk with a whopping 3661 upvotes.
  2. This one from @TDCN@feddit.dk with 1481 upvotes.

These upvote counts seems strange when you view them in relation to the post - both of the comments appear in posts that do not even have 300 upvotes.

Furthermore, if you go on any instance other than Feddit.dk and sort for the highest upvoted comments of all time, you will not find these comments (you'll likely instead find this one from @Plume@lemmy.blahaj.zone).

Indeed, if you view the comments from another instance (here and here), you will see a much more "normal" upvote count: A modest 132 upvotes and a mere 17 upvotes, respectively.

What's going on?


Well, the answer is Mastodon. Both of these comments somehow did very well in the Mastodon microblogging sphere. I checked my database and indeed, the first one has 3467 upvotes from Mastodon instances and the second one has 1442 upvotes from Mastodon instances.

Notice how both comments, despite being comments on another post, sound quite okay as posts in their own right. A Mastodon user stumbling upon one of these comments could easily assume that it is just another fully independent "toot" (Mastodon's equivalent of tweet).

Someone from Mastodon must have "boosted" (retweeted) the comments and from there the ball started rolling - more and more people boosted, sharing the comments with their followers and more and more people favorited it. The favorites are Mastodon's upvote equivalent and this is understood by Lemmy, so the upvote count on Lemmy also goes up.

Okay, so these comments got hugely popular on Mastodon (actually I don't know if 3.4k upvotes is unusual on Mastodon with their scale but whatever), but why is there this discrepancy between the Lemmy instances then? Why is it only on Feddit.dk that the extra upvotes appear and they don't appear on other instances?

The reason is the way that Mastodon federates Like objects (upvotes). Like objects are unfortunately only federated to the instance of the user receiving the Like, and that's where the discrepancy comes from. All the Mastodon instances that upvoted the comments only sent those upvotes directly to Feddit.dk, so no other instances are aware of those upvotes.

This feels disappointing, as it highlights how Lemmy and Mastodon still don't really function that well together. The idea of a Lemmy post getting big on Mastodon and therefore bigger on Lemmy and thus spreading all over the Fediverse, is unfortunately mostly a fantasy right now. It simply can't really happen due to the technical way Mastodon and Lemmy function. I'm not sure if there is a way to address this on either side (or if the developers would be willing to do so even if there was).

I personally find Mastodon's Like sharing mechanism weird - only sharing with the receiving instance means that big instances like mastodon.social have an advantage in "gathering Likes". When sorting toots based on favorites, bigger instances are able to provide a much better feed for users than smaller instances ever could, simply because they see more of the Likes being given. This feels like something that encourages centralization, which is quite unfortunate I think.


TL;DR: The comments got hugely popular on Mastodon. Mastodon only federates upvotes to the receiving instance so only Feddit.dk has seen the Mastodon upvotes, and other instances are completely unaware.

112
1
321
submitted 2 months ago by SorteKanin@feddit.dk to c/fediverse@lemmy.world
590
SMBC [2012-02-02] (www.smbc-comics.com)

Bonus panel:

378
SMBC [2011-10-28] (www.smbc-comics.com)
24
Bevy 0.14 Released (bevyengine.org)
submitted 3 months ago by SorteKanin@feddit.dk to c/rust@programming.dev
142
submitted 4 months ago* (last edited 4 months ago) by SorteKanin@feddit.dk to c/linux@programming.dev

One big difference that I've noticed between Windows and Linux is that Windows does a much better job ensuring that the system stays responsive even under heavy load.

For instance, I often need to compile Rust code. Anyone who writes Rust knows that the Rust compiler is very good at using all your cores and all the CPU time it can get its hands on (which is good, you want it to compile as fast as possible after all). But that means that for a time while my Rust code is compiling, I will be maxing out all my CPU cores at 100% usage.

When this happens on Windows, I've never really noticed. I can use my web browser or my code editor just fine while the code compiles, so I've never really thought about it.

However, on Linux when all my cores reach 100%, I start to notice it. It seems like every window I have open starts to lag and I get stuttering as the programs struggle to get a little bit of CPU that's left. My web browser starts lagging with whole seconds of no response and my editor behaves the same. Even my KDE Plasma desktop environment starts lagging.

I suppose Windows must be doing something clever to somehow prioritize user-facing GUI applications even in the face of extreme CPU starvation, while Linux doesn't seem to do a similar thing (or doesn't do it as well).

Is this an inherent problem of Linux at the moment or can I do something to improve this? I'm on Kubuntu 24.04 if it matters. Also, I don't believe it is a memory or I/O problem as my memory is sitting at around 60% usage when it happens with 0% swap usage, while my CPU sits at basically 100% on all cores. I've also tried disabling swap and it doesn't seem to make a difference.

EDIT: Tried nice -n +19, still lags my other programs.

EDIT 2: Tried installing the Liquorix kernel, which is supposedly better for this kinda thing. I dunno if it's placebo but stuff feels a bit snappier now? My mouse feels more responsive. Again, dunno if it's placebo. But anyways, I tried compiling again and it still lags my other stuff.

720
submitted 4 months ago* (last edited 4 months ago) by SorteKanin@feddit.dk to c/science_memes@mander.xyz

Bonus panel:

673
submitted 4 months ago by SorteKanin@feddit.dk to c/games@lemmy.world
87
submitted 4 months ago* (last edited 4 months ago) by SorteKanin@feddit.dk to c/map_enthusiasts@sopuli.xyz

(sorry about the colors not matching)

65
submitted 4 months ago by SorteKanin@feddit.dk to c/linux@lemmy.world

I've ran into this situation multiple times at my current and previous jobs. I really want to avoid Windows and use something better, but I can't live without two external monitors.

On Windows, it "just works". I don't have to do anything.

On Linux (I tried Linux Mint today) it doesn't work. First, it only connected one of the monitors, the other one did not register. Then I switched to a different cable from the computer to the docking station and it connected both screens - however, they were locked to 30fps. I could not make them work at 60fps (and this is a major dealbreaker, I cannot live with 30fps).

This isn't really a tech support question, I'm more trying to understand what fundamentally causes this situation. Why is Linux still struggling with pretty basic functionality that Windows does with zero setup? Is it the vendor of the laptop and docking station that aren't properly supporting Linux? Or is it some other problem?

view more: next ›

SorteKanin

joined 1 year ago