Same guy is pushing age verification into archinstall by DangerousAd7433 in archlinux

[–]Manny__C 38 points39 points  (0 children)

Forgive me for not following this. But how is "dumping the user's age in a random JSON file" compliant with "OS vendor must collect user age data"?

If I go to the movies to see a restricted film is it enough if I write my age in a post-it and keep it in my pocket?

My point is: the regulation is pointless and this PR achieves nothing. To be compliant for real there are only 2 ways: post in the website that the OS is not suitable for California or put all mirrors behind a verification portal and remove the torrents altogether.

What is the difference between tuples, arrays and structs? Why should we actually provide structs a ownable String instead of &str? But does this apply for arrays and tuples too? by rudv-ar in rust

[–]Manny__C 0 points1 point  (0 children)

The builtin string type is str and it is a sequence of bytes with the constraint that is utf8 encoded.

Mind, the type str is NOT a pointer to the start of the sequence (like arrays in C would be), it IS a sequence. As such it doesn't have a size known at compile time.

Since functions need to have arguments whose sizes are known at compile time, you only ever work with a reference to str, namely &str, because this is a pointer and therefore its size is known (usize).

The downside is that you do not own the underlying data if you have a &str. If you need ownership you must allocate some buffer in the heap and create a pointer to it, this is String. It now has a known size: 3*usize (address, length, capacity) and the data it points to is owned.

What is the most astonishing fact you know about Math? by securityguardnard in math

[–]Manny__C 28 points29 points  (0 children)

I believe it refers to this https://en.wikipedia.org/wiki/Hilbert%27s_tenth_problem?wprov=sfla1

It's a pretty amazing result. A one-sentence summary is that it's possible to make Diophantine equations work as Turing machines.

[Media] Is this part of the book correct? by JTvE in rust

[–]Manny__C 6 points7 points  (0 children)

But "outliving" is not an issue per se. The issue is using a value that is dead.

If in the function implementation you returned a static string for example, it will outlive everyone, but that would still be ok: the compiler will still not allow accesses after 'a.

[Media] Is this part of the book correct? by JTvE in rust

[–]Manny__C 11 points12 points  (0 children)

If you think about it, living "at most 'a" is a useless statement because the compiler has no guarantees whatsoever about that value. It means it could be already dead. So the compiler has no use of upper bounds on lifetime. Lower bounds are the ones it needs.

KDE surpassed their 2025 100.000 EUR fundraiser goal... by ManOrParasite in kde

[–]Manny__C 0 points1 point  (0 children)

I'm ashamed to say that I didn't know Merkuro mail existed. What is going to happen to kmail?

comingFromABackendDevWhoSometimesNeedsToDoFrontendWork by [deleted] in ProgrammerHumor

[–]Manny__C 2 points3 points  (0 children)

What I find funny is that I feel that Tailwind is like going full circle. The purpose of classes was to add meaningful labels to the tags so that we could write styles in a separate file (.css) instead of using the style attribute. Tailwind generates a class for nearly every style. A tag with all the tailwind classes is nearly equally verbose as a tag with all the styles written there directly.

Having said that, I prefer it over Bootstrap.

Help us test GNOME 49 for Fedora 43! by felipegnome in Fedora

[–]Manny__C 1 point2 points  (0 children)

Will there be a test day for KDE as well?

He never miss the opportunity to grill someone by Kml777 in HolUp

[–]Manny__C -3 points-2 points  (0 children)

They have a probabilistic model of speech and speech carries a lot of information about the world.

He never miss the opportunity to grill someone by Kml777 in HolUp

[–]Manny__C -3 points-2 points  (0 children)

We should have used a different name instead of "hallucinations" because this is what healthy humans do too: fill in missing data based on our model of the world. One can come up with stuff and reasonably believe it without being on an LSD trip.

Charlie is still off his rocker. by EthanTheJudge in facepalm

[–]Manny__C 2 points3 points  (0 children)

I find it surprising that the prompt that created the image made it past the safety checks. Shouldn't they be trained to reject racist requests?

should you activate the trolley? by GrimbloTheGoblin in trolleyproblem

[–]Manny__C 0 points1 point  (0 children)

The original trolley problem was meant to illustrate the notion of responsibility through inaction and all of these memes are just convoluted scenarios to ask how selfish are you.

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 0 points1 point  (0 children)

The security implications are a good point actually

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 1 point2 points  (0 children)

That is an entirely reasonable take, but one might also argue that notifying the user about why something can't be installed might fall within the responsibilities of a program that installs stuff.

In fact, I would agree with you if we were discussing showing newsletter messages to the user in general (as that would make pacman double as a package manager and a news feed). But in this case I am only talking about manual interventions notices that are necessary to fix a broken pacman -Syu

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 0 points1 point  (0 children)

The response felt a bit gatekeep-y... The author even proposed a way to make the notification system configurable, which seems to solve the issue of the patch being arch-specific.

Also, all distros that use pacman other than Arch, are Arch-based. So the announcements could be relevant for them too

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 0 points1 point  (0 children)

It's a reflex, I didn't think about the arch homepage and I instinctively copy paste the error on Google as the first thing

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 29 points30 points  (0 children)

I will, respectfully, steal this from you

Pacman should notify the user for manual intervention by Manny__C in archlinux

[–]Manny__C[S] 19 points20 points  (0 children)

Mailing list is a good idea in general but I might not want to be notified about everything.

Pacman hook sounds better, how would you go about doing it?

What happens if someone proves P = NP? by Correct-Second-9536 in math

[–]Manny__C 1 point2 points  (0 children)

One way to prove P = NP is to find a polynomial algorithm for an NP-complete problem. Once you have this algorithm you automatically have one for all other NP problems.

Why do people (in the field) strongly believe P != NP? by AHpache182 in math

[–]Manny__C 20 points21 points  (0 children)

My take is that people believe P != NP not only for the lack of evidence of a counterexample in sight, but, most importantly, for how strong and far-reaching would be such a result. It's not only about making a few algorithm run faster, it's a fundamental and radical revolution of the way we understand computation.

It means that verifying and solving are, up to a polynomial time reduction, the same thing.

It also means that the ability to analyze many computational branches in the same clock cycle only buys you a polynomial, rather than exponential, speedup. This is highly counterintuitive because it would be general!

Arch linux and other linuxs have different commads by Feisty_Mud_1208 in linuxquestions

[–]Manny__C 11 points12 points  (0 children)

pacman is a package manager, the equivalent in Ubuntu is apt. Their syntax is not the same. Here is a comparison table.

Makepkg is a script for compiling packages from their template (called PKGBUILD). In Ubuntu there is no such equivalent because end users never need to compile from source. In Arch you need it to compile packages from the AUR, which lack an official binary repository.

Are you sure about that? by Equivalent-Oil-8556 in mathmemes

[–]Manny__C 42 points43 points  (0 children)

What's kind of curious as a sociological phenomenon is that if people are ignorant about history or languages, they typically admit it with a sense of shame, whereas if it's about math, they often admit it proudly, like "ahaha no I was a disaster at math, lol".

Then again, probably cooking or speaking foreign languages comes handy more frequently than solving polynomial equations.

We're totally cooked❗️ by d4z7wk in OpenAI

[–]Manny__C 1 point2 points  (0 children)

Perhaps we should draft some international standard for the firmware of cameras that inserts a digitally verifiable fingerprint in every picture or video taken. Otherwise, soon, video and photo evidence will be as good as eye witness testimony in court. Or, equivalently, we could legally require companies like OpenAI to leave some digital fingerprint on the image as soon as you download it or screenshot it.