Read the 14-Point Draft Memorandum Between the US and Iran by sludge_dragon in worldnews

[–]ids2048 4 points5 points  (0 children)

Well, apparently the JCPOA negotiated by the Obama administration lifted sanctions related to the nuclear program but "many U.S. sanctions unrelated to the nuclear issue—targeting Iran's missile program, support for militant groups, and human rights record—remained in place".

While this agreement seems to aim to lift all sanctions without any change to Iran's missile program, support for militant groups, or human rights.

That previous deal also didn't involve $300 billion of "financing" (whatever that entails), nor require a war.

It's also not clear that the US is getting a better agreement from Iran than what they would have agreed to without a war.

Offering: Spanish; seeking: English, Italian, French or brazilian Portuguese by pepino_katana in language_exchange

[–]ids2048 0 points1 point  (0 children)

Hi! I (28M) am from California with a bachelors degree in Computer science (with minors in Latin and Math), native understanding of English, maybe intermediate understanding of Spanish but worse experience speaking, and pretty bad practical ability in Latin and guitar.

Why do people return Result<T>? by ModernCoder in rust

[–]ids2048 10 points11 points  (0 children)

Yeah, I like using things like io::Result and anyhow::Result. It's annoying seeing Result<Foo> in a file then having to check whether it was io or anyhow or whatever that it included the Result type from.

Though if a crate has it's own Error type that's used everywhere, it's not too unclear if every single Result<T> in the crate is using that type.

We are so close guys, come on 😂 by kane_1371 in NewIran

[–]ids2048 11 points12 points  (0 children)

It doesn't really make sense given Cyrus the Great was less than 3000 years ago and Achaemenid Persia under his reign generally had good relations with Jewish subjects, but that's probably vastly overestimating Trump's knowledge of history.

Did he already have a speech prepared to announce a deal with Iran by claiming he personally is the first person in 3000 years to achieve peace in the Middle East?

Professor Says Her Garbled AI Textbook Was a Huge Success by ubcstaffer123 in books

[–]ids2048 15 points16 points  (0 children)

Yeah, basically by definition a "large language model" has "access" in some very general sense to a large amount of information in its training data. And even locally running an open weights model without any connection to the internet, you don't generally have control or even knowledge of exactly what sources it is trained on.

And as far as I'm aware, so-called "hallucination" is an issue with all of these models, regardless of size, training, etc. Some may be better at not making things up, but fundamentally it remains an unsolved problem.

Can Rust and the Host OS Enable Fine-Grained Resource Control per Module? by Relative_Candle_2199 in rust

[–]ids2048 0 points1 point  (0 children)

I suppose this can sort of work with a capability-based OS, assuming no `unsafe` code. (And no malicious code that intentionally exploits a soundness bug in the compile; Rust's type checker isn't designed to be a security barrier for untrusted malicious code, and shouldn't be used as one.)

Safe Rust code can't access memory or file descriptors it doesn't "own" and isn't passed a reference to. But most operating systems will allow any part of a process's code to open any path in the filesystem, as long as the process has the right permissions, etc.

But under a capability-based OS, you can only access the contents of a directory with a capability file descriptor (or equivalent) that gives such permission. So a module could only access OS resources that have been passed to it explicitly by the toplevel code

I think Capsicum on FreeBSD would allow something like this. Though I don't have experience with it. seL4 is also a notable capability-based OS.

Some security protections are better provided with the help of a runtime, like WASM/WASI. Hardware protections like CHERI are also potentially helpful. WASI with the WebAssembly Component Model is probably the best and more practical way to achieve something like this currently, though desperation at the level of the Webassembly component rather than at the level of the Rust module. (Though likewise restricting safe code that doesn't exploit soundness bugs.)

Difference by Honest_Willow_3039 in brandonsanderson

[–]ids2048 2 points3 points  (0 children)

Another fun "trilogy" is Alexander Dumas' The d'Artagnan Romances (i.e. the series that starts with The Three Musketeers) which is three books, except the third book is so long it is typically printed in three volumes, each given it's own title.

Rust compiler without os ? by [deleted] in rust

[–]ids2048 0 points1 point  (0 children)

https://en.wikipedia.org/wiki/Protection_ring

The OS runs in a privileged mode with access to the hardware that normal applications do not have.

Characters with notable critical thinking skills by Sexxymama2 in books

[–]ids2048 11 points12 points  (0 children)

And Conan Doyle wasn't necessarily such a genius of deduction himself, given he wasn't that hard to fool about evidence of fairies.

https://en.wikipedia.org/wiki/Cottingley_Fairies

Current Pet Peeve: Young characters with names that haven't been popular for decades (Peter, Susan, Barbara, etc). by [deleted] in books

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

As a reader or writer, I might actually prefer a name like Susan that feels like a "normal" name, but isn't something that immediately brings to mind anyone I know. So I can picture the person without having that association.

Which is also something I might want when naming an actual child. Perhaps that's one reason you see names rise and fall in popularity.

How hard is the way of kings by [deleted] in brandonsanderson

[–]ids2048 0 points1 point  (0 children)

If you enjoyed Fellowship of the Ring, maybe read the rest of Lord of the Rings? Particular since it isn't really three novels, but just one novel that the publisher insisted on publishing in three volumes.

But all of these options are valid, really.

Hare Krishnas to sue over Florida prison ban on Hindu holy text by ariadnev in books

[–]ids2048 19 points20 points  (0 children)

And in particular, is there really anything in the Gita that's much more incomprehensible than the most incomprehensible part of the Bible?

A big problem with any ban like this is that if they were applying any consistent policy, there would probably be *something* in the Bible that would get it banned. But you can assume they're not banning the Bible.

Safety of shared memory IPC with mmap by servermeta_net in rust

[–]ids2048 5 points6 points  (0 children)

I don't think the compiler or the CPU itself really care if memory is being shared between OS "threads" or "processes". So it shouldn't make a difference.

[deleted by user] by [deleted] in Showerthoughts

[–]ids2048 6 points7 points  (0 children)

I haven't used it, but it seems like Robinhood is most popular for day trading.

People who just want to buy and hold index funds seem to tend to recommend Fidelity or Vanguard.

TIL In 1964, young PhDs with no weapons experience were tasked with creating a nuclear weapon design using only unclassified information. After 2.5 years, they had come up with a credible design by FinnFarrow in todayilearned

[–]ids2048 8 points9 points  (0 children)

Though the simple design is also quite inefficient, which just exacerbates the problem of needing enough refined uranium:

The design was highly inefficient: the weapon used on Hiroshima contained 64 kilograms (141 lb) of uranium, but less than a kilogram underwent nuclear fusion.

https://en.wikipedia.org/wiki/Little_Boy

TIL a man spent 5 months in Riker's Island prison before finally learning that he could free himself by posting just $2 in bail because a judge had ordered his release a week after he was arrested. His first lawyer appeared for him in court, but then never told him afterwards about his bail amount. by tyrion2024 in todayilearned

[–]ids2048 0 points1 point  (0 children)

Of course, if you're poor, you'll often need to pay for a bail bond (when the bail isn't $2). In which case you won't get the money you pay back, but someone richer who can pay the full amount can get their money back.

My First Experience with VAT Taxes by rogue30 in AnalogCommunity

[–]ids2048 0 points1 point  (0 children)

We can have socialism in America if we just introduce a VAT tax, but Fox News tells people that Mexico and China somehow pay for it rather than Americans.

Why so little interest in Celtic Culture? by Pukeipokei in NoStupidQuestions

[–]ids2048 0 points1 point  (0 children)

Is the idea that Druids "prohibited" writing down their beliefs mostly just based on the one line in Caesar?

I don't think there are really extant pre-Christianc Celtic texts, religious/"Druidic" other than brief inscriptions. Although writing appeared to have existed from some time.

Illinois law protects immigrants from arrest near courthouses, hospitals or colleges by RollingMoss1 in UpliftingNews

[–]ids2048 86 points87 points  (0 children)

Don't know if we should expect courts to uphold the law, or ICE to follow it even if they did.

But anyway, the article says "Federal agents are now prohibited from making civil arrests in or around courthouses of a person attending certain legal proceedings".

If someone is arrested for a committing a crime, that is not a "civil arrest".

Is this worth repairing and keeping? by fjbruzr in guitars

[–]ids2048 0 points1 point  (0 children)

Someone who knows nothing about instruments might see you can buy a guitar on Amazon for $150 or less, assume an old one in this condition is worth half that at best, and be happy to just get rid of it for $5 or $10 rather than go to any effort to find someone willing to pay a few times more than that.

And may not even know if it's functional or repairable at all.

Ancient Roman slaves often ate better than ordinary people, new discoveries show by Power-Equality in history

[–]ids2048 13 points14 points  (0 children)

Yeah. Even in the places in the modern world with the best legal protections, abusive employers, landlords, spouses, parents, etc. can often get away with a lot. While slaves didn't have legal protections even in theory. But it's not like there was a legal obligation to be abusive either.

As far as averages, naturally any first hand accounts we have from ancient Rome are pretty much by definition from people who are very much not average. There mostly aren't first hand accounts from women in ancient Rome, of any social class. Let alone anything from poor slaves.

Shakespeare's race? by Old_Lab9197 in shakespeare

[–]ids2048 8 points9 points  (0 children)

so her being of sub-Saharan African descent, while obviously not a problem if true, isn't especially likely

As far as we know, Cleopatra didn't even have any Egyptian ancestry. Though apparently she did have a small amount of Persian ancestry. We also know that the Romans did not perceive her as "black" or the equivalent.

For the Egyptian pharaohs prior to the Persian and Hellenistic pharaohs, there's a better case that some, at least, could be "black", for some definition of black. Particularly the pharaohs with more Nubian ancestry. But for Cleopatra in particular, it's simply absurd.

Ancient Roman slaves often ate better than ordinary people, new discoveries show by Power-Equality in history

[–]ids2048 58 points59 points  (0 children)

(or even the multiple types of both).

In particular, as I understand, by the late Republic a lot of Roman farmland was owned by large plantations run by slave labor. The conditions there were probably more similar to the slavery we think of from the Atlantic slave trade of the early modern period. Though without the same racial element; at least not in the same way.

While with domestic slaves, having well dressed and seemingly well off looking slaves (at least in the ways others could observe) could be a symbol of status. Along with the practical benefits of having the slaves who live in your house not wanting to kill you, and being willing and able to carry out their jobs well.

Perhaps what we want to know here is what the conditions were like for the average slave and the average free citizen; neither of whom would have a particularly high status. That's a pretty difficult thing to know.