• 2 Posts
  • 131 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • Yes, this is normal and it’s a good thing (unless you’ve come across a bug). I don’t know exactly what app the screenshot is showing, but I’m guessing that the caching shown is referring to the filesystem cache. The kernel is keeping a cache of files you are likely to access again so that it doesn’t have to read them from storage again. So what you’re seeing here is that some memory contents were moved to swap to make room for filesystem cache. This is because the kernel believes you’re more likely to access those files again rather than the memory contents. If it’s right, then this a performance improvement despite the fear surrounding swap usage.

    Setting a low non-zero swappiness value is telling the kernel that memory contents have priority over filesystem cache for remaining in RAM, or conversely that file cache is more likely to be evicted from the RAM. A value of 100 would mean that they have equal priority. So that memory content must have been very stale to be evicted despite having a significantly higher priority to reside in RAM.

    So:

    • don’t worry about swap usage unless you’re experiencing actual performance issues
    • for ssd’s the value should be close to 100
    • for hdd’s it should be low
    • if you’re using both on your system, the default value of 60 is probably a decent approximation of the optimal value

    Source: https://chrisdown.name/2018/01/02/in-defence-of-swap.html




  • Using memory efficiently can give you a 10-100x win.

    Yes, it can. But why is this exclusive to assembly? What are you planning to do with your memory use in assembly that is not achievable in C++ or other languages? Memory optimizations are largely about data structures and access patterns. This is available to you in C++.

    Also, if you don’t want 90% of the craziness of C++ then why not just code in C++ without 90% of the craziness? As far as I know what’s what a lot of performance-critical projects do. They operate with a feature whitelist/blacklist. Don’t tell me you have the discipline to work entirely in assembly and the knowledge to beat the compiler at the low level stuff that is not available to you in C++ but you can’t manage avoiding the costly abstractions.

    I think it speaks volumes how rarely you hear about programs being programmed in assembly. It’s always this one game and never any meaningful way to prove that it would gain performance by not being written in C++ when using a modern compiler.




  • For anyone stumbling onto this who actually wants to be educated, the science has practically unanimously agreed that climate change is mainly caused by human activity. No expert is unaware of the cycles that temporarily affect climate. They are well studied, modeled, and found to pale in comparison to human-made climate change. You can find comparisons between human and natural drivers, with sources from expert organizations and scientific studies, here and here. Funnily enough, the NOAA, which this commenter used as a source for El Niño and La Niña below, also hosts this article which literally starts by linking to a page that points out how climate change is mostly caused by humans.








  • I’ve gamed on Linux for the past 5 years. If you use Steam, most stuff works out of the box after you enable a single setting. Now that the linux gaming community is growing it’s easier to find workarounds for the games that don’t work. The only games that are hopelessly broken right now are games with intrusive anti-cheats that don’t support Linux. You can head over to protondb.com and check compatibility status for your games, including workarounds when necessary.

    If you don’t use Steam, then I’m not sure. Last time I played non-Steam games there was more troubleshooting and tweaking required but it’s been a couple of years and I don’t know the current state. It’s worth noting that Valve’s compatibility layer, Proton, is open-source and based on other open-source projects. There’s work currently being done to port the functionality outside of Steam. Hopefully, this will mean that in the future all launchers will behave similarly.

    But that’s just the software side of things. Don’t forget to check how your hardware works on Linux as well.



  • It’s funny because you’re making the opposite point of the one you think you’re making. Cause if you put together the two pieces of information from your comment, the entire picture is:

    Open ai makes a deal to pay media org for there content and makes it so they can link back to original article, with the money they make from stealing everybody else’s content

    That’s already pretty bad, even without that points you neglected to mention, like how some of the content that is indirectly making money for Ars Technica is stolen from their competitors, or how Ars Technica basically became a worthless journalistic source for AI at a time where public opinion is not yet settled on its morality and precedent has not been set on its legality. How is this not “sold out” to you?




  • What are you on about? Nothing you say has any relevance to what I said or to what Vaxry said. Go back and read my comments. I said this:

    Vaxry is making it as clear as possible that he will make zero commitment to oppose toxicity in his community and people took his word for it. The idea that he was punished solely for a couple of comments that happened years ago and are definitely “fixed” is Vaxry’s own misleading interpretation.

    And then I quoted Vaxry’s own posts showing exactly that. I didn’t claim that he is a nazi and I don’t have to prove to you that he is. No one cares. Welcoming nazis into his community and advocating that we should all be doing the same is the problem. Whether he is a nazi or a “dense idiot” is a question only you posed. By his stance alone he is creating exactly the type of unsafe and toxic community other people want nothing to do with. That’s all that needs to be said. Your statement that this was only a “Discord dumpster fire that was thankfully put out months ago” is plain false. My comment was a statement of fact. Nazi salutes and proof of malice are irrelevant to any of this.

    Seriously, what even is this level of strawmaning?

    You’re saying that he is secretly saying “hurr hurr I am a nazi and this is how I get away with it.”

    You need to work on yourself if this is how you react to people online simply saying a fact that annoys you.

    Also, don’t bother writing another long meaningless comment. I don’t care to convince you. It’s clearly impossible, anyway. My previous comments were to bring Vaxry’s actual quotes and political stance into this thread because I knew people would either lie or genuinely not know about it. And now this one was to point out the dishonest debate tactics that most pro-Vaxry comments use, where they try to “win” the argument by moving the goal posts, misrepresenting the facts (deliberately or not), and twisting other people’s arguments. Now that all of this is in the open (in this thread at least), there’s nothing to talk about.


  • There are only so many ways “I don’t care if Hitler is active in my community as long as he doesn’t talk about the gassing in my discord” can be interpreted and “I just want to code” is not one of them. For starters, the practical issues of moderation and whether he wants to do it are never relevant to his argument throughout the blog post. He’s saying that “we should not care about people’s political views on a community unrelated to politics, as long as they do not use it to spread their agenda”. The words “we”, “should”, and “care” are pretty clear. This is a moral statement.

    There are many more quotes that make it clear he is not talking about moderating his own community. His point about Hitler is clearly used to demonstrate his thoughts on how communities in general should be run, and why FOSS communities are getting it wrong.

    Inclusive communities, in the eyes of such advocates, are often the opposite of inclusive. They will try and find things that you do outside of your proffessional persona, or often infer, guess, meddle with, or lie about what you say and stand for. Then, once they have the “ammo”, they will ostracize you. Ban, kick, call for removal, censorship.

    Unlike those people, I stand by my stance that even if you are something that the country I live in disagrees with, you still are free to use, contribute to, and be a part of the greater FOSS community.

    It’s also sad to see that the inclusive communities for which such people “fight for”, are accepting this type of, ultimately hateful and bigoted, behavior

    Bonus points for explicitly listing LGBT issues as a topic one might disagree with.

    It’s important to note that there are many people who disagree on topics like religion, economic systems, LGBT issues, geopolitics, and other

    It’s all unambiguous. Vaxry is at no point talking about the practicalities of keeping Hitler out of his community. He is explaining why he thinks Hitler should be welcome into his community and the FOSS community in general, just as long as he doesn’t use these communities to further his goal of gassing people. If there was ever any confusion over whether Vaxry doesn’t care about the toxicity or just can’t deal with it, this blog post definitely clears it up. He doesn’t care. He’s welcoming evil and harmful people in his community and in all communities and he takes a stance against the people who have an issue with this.

    Your interpretation doesn’t work unless you ignore all the words he uses, the logic of his arguments, and even the fucking title. Not to mention all the other times he’s talked about these issues. In so many blog posts about how his community is unfairly represented and how his ban was unwarranted, Vaxry has not once just simply stated in any terms that he is not okay with evil and harmful people in his community, or that he even acknowledges trans rights. The only thing I’ve seen him say on the incident of harassing a trans person by editing their profile to change their pronouns is that it was “unprofessional”. No mention of ethics or possible harm done.

    And if the far-right is bad (“you’re either with us or against us; death to you!”), the far-left is bad too (“you’re either with us or against us; cancelled!”)

    Ah yes, seeking people to harm because of their race and innate characteristics and banning people from your platform because of their morals and behavior. Equally bad things. I see the rights and wrongs of both sides now.