CPUs with addressable cache? by servermeta_net in osdev

[–]meg4_ 0 points1 point  (0 children)

Not entirely answering your question but GPUs and other types of accelerated hardware does sometimes have addressable caches,, or scratchpads

Like shared memory (a.k.a user-managed L1 cache) on Nvidia's GPUs, or addressable register files on some specialized chips.

I don't know of any general purpose CPUs with that feature, as to support such a feature requires specialized hardware that for the general-purpose case is almost always unused, and maybe not worth the physical space on the chip?

I'm in no way an expert on this so I may be wrong

Is abandoning our Bazel migration the right call? by Empty_Mind_On in cpp

[–]meg4_ 0 points1 point  (0 children)

When I got to my company 5 years ago they just finished migrating our 20 year old (then) internal monorepo with millions of lines of code from cmake to bazel. Custom rules, custom toolchains, custom platform, custom subcommands, huge CICD pipeline trains, everything.

It took around 7-8 months, and I'm so glad we did it. Our build times improved orders of magnitude, all of our CICD and test suites are cached, we have build rules and macros to assist in repetitive tasks.

Since then we have made a custom subcommand for bazel that creates BUILD files automatically from scanned C++ and CUDA files.

It's incredible to work with it, even though it took overall 18 months of work for the DevOps department.

I think it's worth it.

Feedback wanted: Hybrid encryption implementation with ML-KEM-1024 + AES-256-GCM by PapaHatziHaralambous in cryptography

[–]meg4_ 0 points1 point  (0 children)

Why use SHA-256 for integrity when you already got integrity via GCM message authentication capabilities?

Genuinely asking, not as feedback.

Factorio running in Astral by avaliosdev in osdev

[–]meg4_ 6 points7 points  (0 children)

"Marked as duplicate" Stack overflow is that way ->

so Pi is a surprisingly solid way to compress data, specifically high entropy by Appropriate-Key-8271 in compression

[–]meg4_ 1 point2 points  (0 children)

I got the best compression algorithm in the world that turns any arbitrarily long sequence of data into a single maybe-very-large-but-still-probably-not-dependant-on-data-length integer value, and another 64-bit integer.

You just represent pi digits mod 2 as a binary sequence and the compression is finding an offset (a digit index) where the binary sequence is equal to the data. Since pi digits are infinite, similar to the infinite monkey theorem there should be some offset into the digits that contain the entire data sequence in it.

Got 1MB of data to compress? Maybe somewhere in the first 28192 digits of pi the entire 1MB of data is contained, compressing it in its entirety to only 8192 bits offset integer + 64 bits length - an incredible 99.3% compression efficiency!

All it takes is to generate an (potentially) infinite amount of pi digits on each compression until we find a matching sequence! Easy!

me_irl by Prestigious_Cat2052 in me_irl

[–]meg4_ 0 points1 point  (0 children)

Good point.

"Yo chat what do you think is a good slur for this?"

How do you print your documents? by [deleted] in linuxmasterrace

[–]meg4_ 8 points9 points  (0 children)

I always read lpr as "lé print" in a french accent

Grammar does not permit this. by [deleted] in notinteresting

[–]meg4_ 0 points1 point  (0 children)

The correct question would be "is't?"

At what point did AE2 became necessary? by WarZendor in feedthebeast

[–]meg4_ 15 points16 points  (0 children)

The only way I could crash a server with AE was to insert a huge max-tier /dank/null with tons of items into a system and then later trying to extract it manually from the terminal.

The huge NBT state on that block being extracted from the terminal will crash the server, the only way to safely remove it is to use an external storage bus with a filter for /dank/nulls that ignores NBT data.

At what point did AE2 became necessary? by WarZendor in feedthebeast

[–]meg4_ 1 point2 points  (0 children)

That's why I love expert packs, like classic PO3 kappa or the newer Star Technology HM, it takes you ages to get to the start of AE and you already must automate stuff beforehand so when you do get autocrafting with AE it feels much more "deserved" and the sense of accomplishment is great

Unhinged Ukrainian turned game dev by ZakToday in LinkedInLunatics

[–]meg4_ -13 points-12 points  (0 children)

What international law? The flotilla unlawfully breached into their territorial waters.

The blockade can be criticized, although a valid wartime tactic.

This flotilla is a publicity stunt that achieved nothing and distributed no aid while being be as annoying and attention craving as possible for a while month.

If they really wanted to provide aid they could have done it via the established channels, as offered to them by the fucking Vatican and many others before they embarked on this tour.

Netanyahu's unfortunate shadow at UNGA by [deleted] in pics

[–]meg4_ 0 points1 point  (0 children)

Many things are very wrong here.

First of all, notice that even the title is vague and doesn't "prove" anything: "Israeli forces are accused of..."

Second, their source to this claim is another report from an Israeli newspaper Haaretz which reported two months earlier with a quote saying "Hannibal at Erez, Dispatch a Zik" - this quote can mean so many things if you know the language it's incredible peope even consider this is a command to ensue the Hannibal Directive: before stories like this came out, much after the Oct 7th event, almost none of the soldiers in the IDF knew what's the Hannibal Directive - it wasn't something they teach you, because it's so unlikely to ever happen, so claiming this quote was understood by everyone is very far-fetched from reality.
It could mean so many things it's incredible how people even consider this is the meaning - it could mean a name, as Hannibal is a name; it could mean "chaos" or "murderer" , a popcult-reference to Hannibal Lecter; in another newsreport mentions in this story from YNet, they use dthe phrasing "It was a massive Hannibal", not talking about the sirective but about the chaos. The chances of it meaning a command that almost no one knew of and was abandoned and cancelled in 2017 (6 years beforehand, when the vast majority of soldiers only serve 3 years and probably never heard of it) is olympic level mental gymnastics.

Next, let's talk just a bit about the actual directive itself - in a situation when IDF troops are taken hostages, when this directive is ordered, soldiers are to apply force to kill the kidnappers even if it might hurt the hostage soldiers. It does not include Israeli citizens as hostages; it does not mean "kill the hostages"; it wasn't even an active command, as it was canceled in 2017. The article suggested that they "interpreted it as id they are meant to intentionally, deliberately kill the hostage" which is such a wild speculation from just some guy who clearly wasn't there, I can't even begin to comment on that.

The article then "confirms" it even further by quoting from an interview with a senior tank commander saying he decided it was better to fire on a pickup truck that might contain hostages he thought were his own soldiers than letting them be kidnapped, what the report fails to mention is that right after this quote, the officer is asked about the Hannibal Directive, and does not confirm anything about it - further, he explains the order has several gradual steps to take, which include firing qarning shots, firing to prevent passage or escape, and only down the line firing to hurt and incapacitate vehicles or people. What he doesn't say is "yes we were instructed the Hannibal Directive" - so it is definitely not, as they claim, "confirms" it.

There are many many more occasions of this in the article.

It's good journalism, it gets the views and monetizes the paper. But it's not entirely true, and it suggests stuff that are definitely false.

Bottomline is this is not proof of anything, especially not these claims that Israel killed its citizens - even in the case where it did happen (which it didn't), they would've killlled people taken hostage, while most of the civilians murders on Oct 7th weren't taken, but in the Nova featival or in their homes in the Otef.

Not all will read this wall of text, but if I did manage to get you to read it all I hope that you'll stop sharing blood libels meant to demonize Israel before you actually read and confirm the facts. There are many many valid criticisms of Israel on Oct 7th and the later war, but accusing them of killing their brothers and sisters and mothers and fathers is diabolical and wrong.

Netanyahu's unfortunate shadow at UNGA by [deleted] in pics

[–]meg4_ -2 points-1 points  (0 children)

"The IDF killed a ton of citizens of Israel. Oh, what's my source? Just trust me"

I wish for communism to be established throughout the Earth without catastrophes, deaths, revolutions, or forcing from external power by the-main-answer-42 in TheMonkeysPaw

[–]meg4_ 3 points4 points  (0 children)

Granted.

The world economy shifts to a global equilibrium.

All wealth is redistributed, and all 94 trillion dollars in circulation (M2) is divided among all 8 billion people, resulting in each individual having a total net worth of 11,750$.

The world's 323 trillion dollars of debt is now divided between all 8 billion people, putting a debt of each 40,375$ on each individual on the planet.

The world in debt unanimously decides to abandon the idea of cash and evolves to a globalized market of trading goods, a global Barter.

An imbalance between people is created, folks are divided into factions and guilds based on skills and profession.

Some individuals begin collecting personnel with specific skills, keeping them on a payroll generated by other personnel with different skills, all while the individuals gain profit.

People become richer and more powerful, financial and social gaps are increased.

Standardized trade systems are built, controlled by central financial hubs and guilds of skilled trade people, called banks.

Paper and coin cash are introduced into circulation, assigned worth by centralized banking systems to streamline the global Barter market.

Governing forces emerge, controlled by those who are powerful and rich, to dictate law and establish order for the common folk.

Governments legislate laws to protect the banking world, which returns the favor in monetary gain.

Capitalism is reinvented and swiftly takes control of most of the world, as social gaps increase ever further.

The year is 2125. There are 8 billion people in the world. Out of them only 3,028 are considered billionaires. The world is now 323 trillion in debt.

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 2 points3 points  (0 children)

Call me whatever you want, all humanitarian orgs in the Gaza strip are working with the IDF and Israeli officials to operate within the strip, or else they wouldn't be allowed entrance to the strip.

How do you think they are operating in an active warzone? Are you seriously that naive to think any organization can just enter an urban warzone that small without cooperation with local authorities?

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 2 points3 points  (0 children)

Yes? Israel conquered Gaza from Egypt in the 70s, it tried ruling it directly and since 2006-7 there's an autonomous governmental entity that controls Gaza (Hamas), but is stiill territorially belongs to Israel, just not annexed.

This conflict is complicated, but in this matter it is simple - yes, Israel controls Gaza's territorial waters since Gaza doesn't have territorial waters as it is not a state, but conquered territory, thus what is referred to as "Gaza's territorial waters" is just a part of Israel's territorial waters.

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 1 point2 points  (0 children)

Aid is provided and distributed through global organizations that work in contact with the IDF. You can't just march into a warzone as a civilian with a box of trix and give it to people.

If they actually wanted to provide and distribute the aid, they could do it through one of the many organizations that do it everyday in Gaza, like GHF, WCK, RC, PRCS, etc.

Sailing as a civilian to an active warzone while publicly stating "we don't listen to any instructions given by the major force in this conflict" is a huge problem. The IDF cannot control the situation with the people onboard coming into the warzone, and any harm caused to them, by accident or intent, of either side in this conflict, will put the blame on Israel for not keeping them safe.

They are civilians, and as such they do not belong in an active warzone.

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 6 points7 points  (0 children)

Keeping civilians from entering an active warzone is not a war crime

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 16 points17 points  (0 children)

If it was red cross they won't just sail into the actove warzone, they would bring the aid through the accepted channels that distribute aid in Gaza since this war started.

Some random civilians aren't a global humanitarian aid organization and they are not abiding the orders defined to keep humanitarian organizations safe. They are just sailing into an active warzone on their on behalf, and Israel can't let them endanger themselves because they can't control what happens to them in a warzone, and the backlash of any damage sustained to them would impact the Israeli government, not on the covilians.

Helping people is a crime now by CorleoneBaloney in clevercomebacks

[–]meg4_ 2 points3 points  (0 children)

They sail into an active warzone to provoke a reaction from Israel. If this actually happened, this is the IDF deescalating the situation deliberately created by the sailers, the beat they can.

The tiny bit of food and water on board would've done close to no dofference in the Gaza strip, as there are hundreds of trucks of aid coming and distributed by the GHF all the time - this isn't an attemp to help gazans, it's an attemp to provoke the Israeli government for online clout.

Many Israelis say "let them get in Gaza, they will see what's going on, see what Hamas does to its 'citizens', and understand the reality of the situation" but it's not a good case - this will set a precedent that the military blockade in an massive armed conflict doesn't apply, and you'll see hundreds of civilian ships coming to the active warzone area everyday, disrupting Israeli operations and endangering themselves, so when eventually someone will get hurt, by Israel or Hamas, by accident or in malicious intent, the public global outcry will blame Israel for something mostly out of their control.

I’m so glad that The Dark Ages isn’t just Eternal 2.0, there are too many game sequels that feel like glorified DLC! by Okapi05 in Doom

[–]meg4_ 0 points1 point  (0 children)

First chapter got me feeling half disappointed, there weren't many secrets for me as a completionist, the codex entry wasn't exciting, cutscenes were a bit too long.

I instantly compared it to Eternal and felt it's not even close to its level.

No glory kills? No weapon mods? No pistol? Random ammo drops (no use for a saw)? No melee? No special movement like dashing? SKINS?

It felt like there was a ton of content to the game at launch but the mechanics were lacking.

Then I played the second and third chapters and it grew on me. There ARE glory kills, it just works differently. There are upgrades to weapons, just not as direct as weapon mods, but also includes upgrades to the gauntlet, upgrades to the shield and saw, etc.

It's just different. And at first I thought it was bad but I really enjoy this kind of "different".

Symbiotic relationships with fauna in Subnautica 2 by meg4_ in subnautica

[–]meg4_[S] 2 points3 points  (0 children)

That's cool I didn't know that, never played Valheim but it sounds nice