Giooschi

@Giooschi@lemmy.world
0 Post – 67 Comments
Joined 1 years ago

Lots of major companies like Microsoft and IBM also contribute to Linux, it doesn't make them saints nor even necessarily compare to what they get for using the volunteer dev work inside Linux.

Most of those companies actually contribute to the kernel or to foundational software used on servers, but few contribute to the userspace for desktop consumers on the level that Valve does.

9 more...

If you live in the USA you don't suffer from the problem it solves because you have ~5 IP v4 addresses per capita (totaling to 41% of all the IP v4 addresses), and likewise many european countries have ~2 per capita (although there are expeptions like Italy and Spain which are a bit under 1 per capita). However many other countries don't have such luxury, for example in india there's one for every 36 people, which is obviously not enough and thus they have to either use NAT everywhere or switch to IPv6.

7 more...

Where's the punch?

In the face of everyone expecting an upgrade

11 more...

Because Rust is not the only language that made this faulty assumption. It is an issue that affects Rust's stdlib, just like it is an issue that affects Python's stdlib and other libraries. In fact this was first reported as a vulnerability to yt-dlp (where it was actually exploitable) and then discovered it applied to many other libraries (where the exploitability is highly dependent on how the feature is used).

Rust here is only used as clickbait because of its aim to be "safe", but its position is no different from other languages.

If you read the article from the researcher that discovered the vulnerability you'll see they never call out Rust in particular, only as part of a list of languages that are affected. https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/

More like Windows showing ads even when you boot Linux

2 more...

To be fair trees still use energy for doing this, but that energy is conveniently provided by the sun.

6 more...

But the one time I looked at a rust git repo I couldn't even find where the code to do a thing was.

IMO that tells more about how the project was organized and names things than the language used.

So I think probably, the best way IS to go the way linus did. Just go ahead and write a very basic working kernel in rust. If the project is popular it will gain momentum.

As the other commenter pointed out, there's Redox. The issue is that this completly disregards an incremental approach: you have to rewrite everything before it comes usable, you can't do it piece by piece. Currently the approach of Rust for Linux is not even to rewrite things, but to allow writing new drivers in Rust.

Trying to slowly adapt parts of the kernel to rust and then complain when long term C developers don't want to learn a new language in order to help isn't going to make many friends on that team.

Have you seen the conference video? That's not just refusal to learn a new language, it's open hostility. And it's not the only instance, for example Asahi Lina also reported unreasonable behaviour by some maintainers just because she wrote Rust code, even when Rust was not involved.

4 more...

Citra is a 3DS emulator, this is a DS one, how are you comparing them?

1 more...

Zig is "c", but modern and safe.

Zig is safer than C, but not on a level that is comparable to Rust, so it lacks its biggest selling point. Unfortunately just being a more modern language is not enough to sell it.

So imagine if trying to fit in a C-like cousin failed

C++ was not added to Linux because Linus Torvalds thought it was an horrible language, not because it was not possible to integrate in the kernel.

4 more...

Hey, I switched to Firefox because I liked its UI better (after Quantum though)

1 more...

Epic chose not to try and compete with Steam on that front

Forget competing, they lack even the basics.

9 more...

I did that a couple of times, but it was more like "I don't want to grind all of this stuff, I want to skip to the fun part". Also, it's morally different because it impacts nobody else.

Note that Rust does not "solve" memory management for you, it just checks whether yours is memory safe. Initially you might rely on the borrow checker for those checks, but as you become more and more used to Rust you'll start to anticipate it and write code that already safisfies it. So ultimately you'll still learn how to safely deal with memory management, just in a different way.

1 more...

However, how are they sabotaging it working on Linux.

For example they discontinued support for Rocket League on Linux (and Mac) after buying Psyonix.

2 more...

That doesn't really excuse its behavior in the video though.

Even if the compiler was available to the public most software doesn't use it, so the benchmark is still not representative of real world performance.

Even after reading the key points it wasn't clear "how" they manage to do that. The article is not much more detailed, but at least mentions them exploiting android's accessibility services.

Does GNOME really need an app to change the theme?

You can also do what this app does manually. The point is that "themes" are an hack and not officially supported, as such it doesn't make sense to provide an official interface to set them.

KDE plasma has this natively...

Do you mean for global themes, application styles or plasma styles? All application styles I can find either use Kvantum or require you to compile them manually...

1 more...

Sounds like your Firefox is not using hardware acceleration for displaying videos. It does support it, but whether it will be enabled on Linux depends on a bunch of factors (distro/packages installed, cpu/gpu vendor/drivers, some weird settings etc etc)

It's also extremely unlikely that you'd be running a bat script with untrusted arguments on Windows.

It happens in yt-dl, which is where this was first reported https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-hjq6-52gw-2g7p

As for the browser, I’d be glad if Chrome died. We need more browsers. Chrome dying would force all of the derivatives to do something else. Vivaldi, edge, brave, etc would all need to either switch to Firefox or a project for a new browser would begin

Firefox is currently kept alive by Google, which pays $500M/year to Mozilla in order to have Google Search as the default in Firefox and to not let Google Chrome become a monopoly on paper too. Break Google and it would probably die.

Creating "more browsers" (browser engines I would add, we already have enough browsers) is not an easy task. The specification that needs to be implemented is massive, and doing so efficiently is even more complex. It would be a waste of resources to have many browser engines, not to mention the confusion in the webdev community when you suddently have to work around many more bugs in the implementations.

2 more...

To run something on multiple cores you need to detect a bunch of different tasks it is doing that don't depend on one another. Then you can execute each task in its own thread. The problem is that most often these different task don't exist, or, if they do, figuring them out automatically by the code is likely equivalent to solving the halting problem, that is it's undecidable and there can't exist a program that does this.

Isn't there already Box64/Box32? Not to mention most Linux software is already compiled for ARM thanks to being open source.

Yeah, and none of them let you keep your existing @gmail.com address. Which means you'll have to update it everywhere. That's the massive problem.

I wonder why this is not a problem for pcs though

6 more...

"safe by default" can be done by starting your files with @safe:

Last time I heard about that it was much more limited than Rust, for example it even disallowed taking references to local variables. Has something changed since then?

5 more...

slint has a good native look that resembles QT

It doesn't just resembles QT, it uses QT as backend.

2 more...

For local variables, one should use pointers, otherwise ref does references that are guaranteed to be valid to their lifetime, and thus have said limitations.

Should I take this to mean that pointers instead are not guaranteed to be valid, and thus are not memory safe?

3 more...

TBF everyone in school learn to start counting at 1, then they unlearn that in programming. There are also some objective reasons to use 0-based indexing https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html

People can only remember a limited number of passwords without resorting to systems or patterns.

People also don't have a backup device though.

1 more...

I mean, if they actually tried it they should know what it's about even without reading the article...

TBF the error can become that big if you do a bunch of unstable operations (i.e. operations that continue to increase the relative error), though that's probably not what is happening here.

1 more...

They used to, but they weren't very good.

12 more...

You don't necessarily have to write a non-transitive cmp() function willingly, it may happen that you write one without realizing due to some edge cases where it's not transitive.

As long as many important games fall into that 10% many gamers won't consider Linux.

Not to mention Adobe/Office/CAD suites that will prevent others from switching.

And finally most pcs are sold with windows preinstalled and the vast majority of people don't even know that other OS even exist.

And have you ever seen a bolt fall off a plane you were flying on?

10 more...

They do kinda have a point against Spotify but they conveniently omit the fact that Apple Music, their own music app, competes against Spotify without those restrictions that Spotify wants to remove.

My laptop has an italian layout keyboard because it was a pain to find a good priced one with the US layout. On windows there's no way to do the ` and ~ symbols without using Alt combinations and on linux you need to use a weird compose key. Also square brackets require you to press Shift and curly brackets require both Shift and Alt.

For that usecase rustc_codegen_gcc works too and is much more likely to be mature soon.

1 more...

Can't those be installed in toolbox?

1 more...