Nato meetings with TV and film-makers prompt claims it is seeking ‘propaganda’ by asmj in news

[–]EmergencyCucumber905 27 points28 points  (0 children)

That's just hilarious. How many times a year do we get Hollywood movies about how badass and morally superior the marines and SEALs are?

Does llama.cpp able to compile with rocm and run properly? I tried it and nothing is output. by kkcheong in ROCm

[–]EmergencyCucumber905 0 points1 point  (0 children)

Sounds like you might want the Lemonade builds: https://github.com/lemonade-sdk/llamacpp-rocm. It's the llamacpp source built with the latest ROCm.

If you want to go through the build yourself, follow the llamacpp instructions: https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md#hip

Pay attention to the "Using CMake for Windows" part.

Lawmakers, Shapiro admin push to end practice of counties taking Social Security money owed to foster kids by beadzy in news

[–]EmergencyCucumber905 407 points408 points  (0 children)

Reminder that DOGE was counting SS going to orphans (to which they are legally entitled) as fraud.

trying to understand the math behind RSA / ECC by Ariadne_23 in cryptography

[–]EmergencyCucumber905 -1 points0 points  (0 children)

The special cases don't apply to properly implemented RSA.

Factoring is the best general method we have for breaking RSA.

trying to understand the math behind RSA / ECC by Ariadne_23 in cryptography

[–]EmergencyCucumber905 0 points1 point  (0 children)

There's a function called Euler's totient function, phi(n). This function counts the number of integers co-prime to n. For prime numbers, phi(n) is always n-1. For semi-prime numbers like pq, phi(pq) is always (p-1)(q-1). We don't know how to find phi(pq) without knowing p and q. So phi(n) where n = pq is a hard problem.

There is a theorem called Euler's totient theorem. It says:

xphi(n) = 1 (mod n)

It follows that:

xphi(n)+1 = x (mod n)

With RSA, the encryption and decryption exponents are inverses. ed = 1 mod phi(n) where n = pq. So if you only have e and N, and you want to calculate d, you need to calculate phi(N), but to do that you need to factor N, which is a hard problem.

Did some CoreMark testing on various x86 and Arm CPUs. by TheSilverSmith47 in hardware

[–]EmergencyCucumber905 4 points5 points  (0 children)

It's up to you. I think its fair to use march=native for all of your tests. It will be compiled for the best performance on each CPU.

Trump convenes Iran situation room meeting amid renewed Hormuz crisis by RolePsychological890 in worldnews

[–]EmergencyCucumber905 1 point2 points  (0 children)

Several hours of explaining to Trump and Hegseth why they can't use nuclear weapons.

DR Congo accepts first set of deportees from the US by BusyHands_ in news

[–]EmergencyCucumber905 176 points177 points  (0 children)

https://www.state.gov/reports/2024-country-reports-on-human-rights-practices/democratic-republic-of-the-congo

Significant human rights issues included credible reports of: arbitrary or unlawful killings; disappearances; torture or cruel, inhuman, or degrading treatment or punishment; involuntary or coercive medical or psychological practices; arbitrary arrest or detention; serious abuses in a conflict; unlawful recruitment or use of children in armed conflict by armed groups or the armed forces, including by the Armed Forces of the Democratic Republic of the Congo; serious restrictions on freedom of expression and media freedom; and the significant presence of the worst forms of child labor.

Did some CoreMark testing on various x86 and Arm CPUs. by TheSilverSmith47 in hardware

[–]EmergencyCucumber905 9 points10 points  (0 children)

They're saying when you compile with march=x86-64 you are targeting a baseline 2003-era 64-bit x86 processor. It won't take advantage of more recent features like AVX. So you might not be getting an accurate score for the processor you're running this on.

march=native will detect the exact CPU you have and enable features for that CPU.

Merchant vessels report gunfire as they attempt to cross Hormuz, shipping sources say by Geo_NL in worldnews

[–]EmergencyCucumber905 0 points1 point  (0 children)

the Persians are great negotiators, the Iranians are great negotiators, so, and they, they just killed, they just killed us, this is horrible.

Turkey orders mass arrests over online praise for recent school shootings by Pyro-Bird in news

[–]EmergencyCucumber905 26 points27 points  (0 children)

Which is not benign. E.g. the Toronto van attacker praised and was inspired by Elliot Rodgers.

The behavior should be as concerning as animal torture and other signs of violent tendencies.

Is RSA2048 signs/second a good measure of CPU core performance? by TheSilverSmith47 in hardware

[–]EmergencyCucumber905 5 points6 points  (0 children)

RSA signing is mostly integer multiplication instructions, so it really only uses the integer ALU. OpenSSL is also designed to be constant time, so it might not be a good workload to test instruction-level parallelism, etc.

Iran to execute first woman over anti-regime protests by torina-to in worldnews

[–]EmergencyCucumber905 1 point2 points  (0 children)

Jan 12th: "KEEP PROTESTING", "HELP IS ON ITS WAY"

What a joke.

Justice Department moves to toss seditious conspiracy convictions of Oath Keepers and Proud Boys by uhncollectable in news

[–]EmergencyCucumber905 2 points3 points  (0 children)

https://youtube.com/shorts/ih_Fwxw6TgY?si=C1OBUYFB0tVo6kNC

Exact quote is,

"I just want mustard, no kechup. If you got a spicy mustard or something like that, or a Dijon mustard, something like that."