![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/c47230a8-134c-4dc9-89e8-75c6ea875d36.png)
If you’re rigging an election, it can be better politically to give yourself 65% of the vote than 97% of the vote.
97% is obviously fake. 65% is easier to make people beleive in.
If you’re rigging an election, it can be better politically to give yourself 65% of the vote than 97% of the vote.
97% is obviously fake. 65% is easier to make people beleive in.
To be fair, the dramatic nosedive in quality of GoT happened when they ran out of source material and had to wing it.
3-body problem is a finished trilogy, so it could all have the quality of the first seasons of GoT.
A dozen cosmere novels is what, four years of writing for him?
There’s a story in the Talmud about Hillel the elder, a rabbi who died in 10 CE:
There was another incident involving one gentile who came before Shammai and said to Shammai: Convert me on condition that you teach me the entire Torah while I am standing on one foot. Shammai pushed him away with the builder’s cubit in his hand. This was a common measuring stick and Shammai was a builder by trade. The same gentile came before Hillel. He converted him and said to him: That which is hateful to you do not do to another; that is the entire Torah, and the rest is its interpretation. Go study.
I mean, it’s kinda like judging America based on Pat Robertson, the Westboro Baptist Church, Steve Bannon, Steve Miller, and Trump.
Yes, we should beleive people like Trump when they say how awful they are. The fact that he was elected and is the presumptive Republican nominee says a lot about the American right, right now. But it definitely doesn’t mean that Americans in general are awful people.
In the context of the coordinated attack by Hamas and others of 7 October, the UN mission team found that there are reasonable grounds to believe that conflict-related sexual violence occurred in multiple locations, including rape and gang rape in at least three locations in southern Israel.
The team also found a pattern of victims - mostly women - found fully or partially naked, bound and shot across multiple locations which “may be indicative of some forms of sexual violence”.
In some locations the mission said it could not verify reported incidents of rape.
Or is the UN an Israeli propaganda machine, now?
Yeah. Power plants are nowhere near 90% efficient.
It’s worth emphasizing, though, that they’re still way, way more efficient than car engines are.
Also, regenerative breaking saves a lot of energy. Basically, instead of using the motor to increase the cars speed, you use it as a generator to recharge the battery.
I assume his point is that calling Manchin or Sinema “liberal” isn’t super accurate.
And memory bugs are only a subset of bugs that can be exploited in a program. Pretending Rust means no more exploitation is stupid.
This is facile.
According to Microsoft, about 70% of security bugs they see are memory safety issues.
Yes: if you introduce memory safety, there’s still those 30% of security bugs left. But, well, I’d rather worry about 30% of issues than 100%…
Similarly, I use libraries that eliminate SQL injections unless you really go out of your way.
Although it’s been used for a fairly wide array of algorithms for decades. Everything from alpha-beta tree search to k-nearest-neighbors to decision forests to neural nets are considered AI.
Edit: The paper is called
Avoiding fusion plasma tearing instability with deep reinforcement learning
Reinforcement learning and deep neural nets are buzzwordy these days, but neural nets have been an AI thing for decades and decades.
The beginning of the ‘Final Solution’ was in June of 1941, and began with the death squads of the Einsatzgruppen murduring Jews as part of Operation Barbarossa.
The commander of Einsatzkommando 3 submitted a fairly detailed report of his squad’s daily murder count by location. Through November 25th of that year, his squad alone murdered 57,338 Jewish men, 48,592 Jewish women, and 29,461 Jewish children.
Babi Yar happened on September 29th and 30th, 1941 - only about 4 months into the Final Solution. Germans put posters up in Kyiv, saying that any Jews who didn’t show up to be relocated would be shot. They took the crowd of 33k people to a ravine, herded them forwards and machine gunned them all down.
Is the Holocaust really the most apt historical comparison? Yes, the Holocaust is in the past, while this is ongoing. But the early days of the Holocaust were incredibly bloody; the massacres didn’t ramp up slowly once the killings commenced.
Two things can both be bad without being equally bad.
The war has been terrible. But do you really think it’s been as bad as Treblinka or Babi Yar?
That sounds a bit more like a nightclub.
I’d never want to live next to a nightclub, but living next to a tavern or pub would be fine.
Symbols display with friendly string-y names in a number of languages. Clojure, for example, has a symbol type.
And a number of languages display friendly strings for enumy things - Scala, Haskell, and Rust spring to mind.
The problem with strings over enums with a nice debugging display is that the string type is too wide. Strings don’t tell you what values are valid, strings don’t catch typos at compile time, and they’re murder when refactoring.
Clojure symbols are good at differentiation between symbolly things and strings, though they don’t catch typos.
The other problem the article mentions is strings over a proper struct/adt/class hierarchy is that strings don’t really have any structure to them. Concatenating strings is brittle compared to building up an AST then rendering it at the end.
Edit: autocorrect messed a few things up I didn’t catch.
Suppose one year you spend $60k, but only earned $50k. You lost $10k.
The next year, you spend $57k, and earned $53k. You lost $4k, and your losses narrowed by $6k.
Disney+ lost 1.3 million subscribers in the final quarter of 2023 amid a hefty price hike that went into effect last fall, but managed to narrow its streaming business’ losses by $300 million during the October-December period.
That doesn’t really sound like it backfired to me. They lost subscribers but made more money.
It’s not that there’s anything unnatural about water. It’s just not a remedy for anything but dehydration.
Javascript is generally considered OOP, but classes weren’t widely available till 2017.
Inheritance isn’t fundamental to OOP, and neither are interfaces. You can have a duck- typed OOP language without inheritance, although I don’t know of any off the top of my head.
Honestly, the more fundamental thing about OOP is that it’s a programming style built around objects. Sometimes OO languages are class based, or duck typing based, etc. But you’ll always have your data carrying around it’s behavior at runtime.
keeping state (data) and behavior (functions) that operate on that state, together
Importantly, that’s “together at runtime”, not in terms of code organization. One of the important things about an object is that it has dynamic dispatch. Your object is a pointer both to the data itself and to the implementation that works on that data.
There’s a similar idea that’s a bit different that you see in Haskell, Scala, and Rust - what Haskell calls type classes. Rust gives it a veneer of OO syntax, but the semantics themselves are interestingly different.
In particular, the key of type classes is keeping data and behavior separate. The language itself is responsible for automagically passing in the behavior.
So in Scala, you could do something like
def sum[A](values: List[A])(implicit numDict: Num[A]) = values.fold(numDict.+)(numDict.zero)
Or
def sum[A: Num](values: List[A]) = values.fold(_ + _)(zero)
Given a Num typeclass that encapsulates numeric operations. There’s a few important differences:
All of the items of that list have to be the same type of number - they’re all Ints or all Doubles or something
It’s a list of primitive numbers and the implementation is kept separate - no need for boxing and unboxing.
Even if that list is empty, you still have access to the implementation, so you can return a type-appropriate zero value
Generic types can conditionally implement a typeclass. For example, you can make an Eq instance for List[A] if A has an Eq instance. So you can compare List[Int] for equality, but not List[Int => Int].
If that’s something that regularly happens in the US, do you have any examples from the last decade, instead of three examples from 55-60 years ago?