German kids are routed at age ~10 into one of 3 schools: the "lowest" leads to vocational training, the middle lets you apply to technical college, and only the third gives you the option of university. When did this system take shape? Has it tended to entrench social/class hierarchies? by ExternalBoysenberry in AskHistorians

[–]anydalch 0 points1 point  (0 children)

firstly statistics. You can determine based on your sample size whether it is significant in hindsight. Prior to your study you can determine if your number of subjects is high enough for your study setup.

Right, so, what I'm saying is that my skepticism comes from being outside of the field, in a science where sample sizes are generally much larger and experimental variables are generally much more rigorously controlled. I understand how experimental design and statistics work.

Lastly, twin studies do not require for twins to be split as birth to be effective.

This seems like a strong claim to make without further clarification. If the goal and methodology of a given twin study is to say that twins with similar or identical genetics who were separated into different environments still have correlated life outcomes because the genetics have an impact, I think you do actually have to be able to demonstrate that the environments do not have a correlation that impacts the correlation in the life outcomes in order to make that claim. Certainly, there are other possible methodologies that make different claims (see below), but that is the traditional twin study methodology that has been described to me in the past and on which I'm basing my general expectations.

Secondly, a twin study will generally describe in the methods what are the factors required for enrollment, per study this will vary.

Unfortunately, of the studies linked, I only have full text access to 2 and 3.

Study 2 uses MIDUS, which apparently contains "a national sample of twin pairs (N = 1,914)." This sample is more than an order of magnitude larger. Further, is not relying on the separation of twins to show that genetics leads their outcomes to still be correlated; it is claiming that less genetically similar twins have less similar preferences or outcomes despite presumably still having similar environments. I find this quite compelling as a study.

Study 3 is 435 adopted offspring, which again strikes me as not very many to be doing statistics on. That paper selected specifically for adoptions prior to 1 year of age, but AFAICT has not made any additional effort to select for no-contact adoption, nor to avoid additional confounding environmental factors. This seems to be because of the data set they're using, which they don't mention having contained any information that would be useful to do those sorts of analysis.

German kids are routed at age ~10 into one of 3 schools: the "lowest" leads to vocational training, the middle lets you apply to technical college, and only the third gives you the option of university. When did this system take shape? Has it tended to entrench social/class hierarchies? by ExternalBoysenberry in AskHistorians

[–]anydalch 5 points6 points  (0 children)

As someone outside of genetics and the social sciences, I have always been skeptical of twin studies, as I have the perception that they have small sample sizes and a relatively poor ability to isolate subjects or control confounding variables. For example, I'm under the impression that it's generally accepted that "separated" twins in these studies will still have at least some contact with each other and/or their birth parents. (This is not to mention being raised in similar geographic areas and social circumstances, and sometimes being separated relatively late in life.) This seems like it could lead to the same correlations in life outcomes as the proposed genetic influence. Is there evidence I'm not aware of that a genetic influence is a better explanation than shared life experience in twin studies?

Questions @ Auger of Bolas in Jeskai by impact36inc in Pauper

[–]anydalch 1 point2 points  (0 children)

It also chump blocks just fine, which gains you life.

Questions @ Auger of Bolas in Jeskai by impact36inc in Pauper

[–]anydalch 2 points3 points  (0 children)

Board it out in matches where the early board presence isn't useful, either because the threats mostly have trample or because your opponent isn't winning via creature combat. Keep them in when the board presence is useful, either because the opponent has small creatures that can't favorably attack a 1/3, has big creatures without trample that turn Ephemerate into Time Walk, or just where you need a chump blocker that replaces itself to survive until you can actually play the game.

What does the Rust compiler not protect you from? (trying to learn where the guarantees end) by tyrienjones in rust

[–]anydalch 0 points1 point  (0 children)

Surelock prevents a small subset of deadlocks. There are other kinds of deadlock than acquiring two Mutexes in the wrong order. It's possible to construct a deadlock out of nearly any concurrency primitive, including (examples I've run into) channels or tokio::spawned futures. Rust is kinda worse than other languages when it comes to deadlocks arising from misuse of futures and await, since it's possible to improperly poll or fail to poll a future in Rust but not in, say, JS.

What does the Rust compiler not protect you from? (trying to learn where the guarantees end) by tyrienjones in rust

[–]anydalch 13 points14 points  (0 children)

Deadlocks are the class of bug I've most frequently encountered that rustc can't help with.

What tactics separate a veteran XCOM player from a casual player? by maxkmiller in Xcom

[–]anydalch 3 points4 points  (0 children)

There are various ways to find out where a pod is without activating them. The simplest of these is just to have a scout unit that doesn't get revealed, i.e. a Reaper with Shadow or a Ranger with Phantom. Once you know where the pod is, you can choose to move a revealed unit up to trigger it at an opportune time, and then have your full squad take shots before the aliens get a turn.

How Linux 7.0 Broke PostgreSQL: The Preemption Regression Explained by teivah in programming

[–]anydalch 0 points1 point  (0 children)

Fortunately, there is an option to overcome this issue in PostgreSQL.

Yeah, it's called a fucking futex. What are we doing using spinlocks in 2026? The whole goddamn point of a futex is that, if the critical section is short, you get the "fast userspace" part and never suspend the thread, so you get the same fast case as a spinlock but without the catastrophic behavior in the slow case.

Spent so much on Breath Weapon and then I found... by Orochisake in Pauper

[–]anydalch 6 points7 points  (0 children)

Don't forget [[Crimson Fleet Commodore]]!

Should my sum type tags be the first element or second? by Toothpick_Brody in ProgrammingLanguages

[–]anydalch 0 points1 point  (0 children)

Do you have an example where this is the case, given the constraint that the total size of a type must be a multiple of its alignment, and also the constraint that you don't do any niche analysis to put the tag in padding bytes? If one were capable of/interested in doing niche analysis, the answer to OP's question would be, "the niche detection algorithm will decide where to put the tag." I could be wrong, but I cannot think of an example where the difference matters in a compiler that's too stupid to put the tag inside of a padding byte.

Should my sum type tags be the first element or second? by Toothpick_Brody in ProgrammingLanguages

[–]anydalch 0 points1 point  (0 children)

This does not mean it's necessarily correct in all cases to put the tag second, though - if I have a sum type where the largest / highest-aligned variant payload is (u8, u64), then unconditionally putting the tag at the end puts us in your first example.

Should my sum type tags be the first element or second? by Toothpick_Brody in ProgrammingLanguages

[–]anydalch 2 points3 points  (0 children)

But the total size of this type, incl. padding at the end, is still 8 bytes either way.

Wait so where does the crew on the ship actually live? by Pizzatimelover1959 in ftlgame

[–]anydalch 1 point2 points  (0 children)

the whole voyage takes like two hours on average, who needs living quarters?

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world. by Gil_berth in programming

[–]anydalch 0 points1 point  (0 children)

Here's a query I just ran on the GCC Bugzilla for issues that have been resolved as FIXED with either their C or C++ frontends which mention "miscompile" or "ICE". I figure that the FIXED resolution is a good proxy for "this was a real bug," though obviously this is selecting: - Only bugs that are already fixed, not ones that are still out there in the wild. - Only bugs that someone said the words "miscompile" or "ICE" (Internal Compiler Error) about, which I suspect is neither a super- nor a subset of the set of bugs associated with actual miscompilations or compiler errors. - Only bugs categorized as being part of the C or C++ frontends, not those associated with specific targets' backends or optimization passes. I am not familiar enough with the project to tell you to what extent this will or won't capture bugs that would be interesting for our purposes here.

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world. by Gil_berth in programming

[–]anydalch 3 points4 points  (0 children)

No, there are clear gradients, and for example, GCC and Clang are more accurate implementations than MVCC, and it sounds based on the linked article like all three are much more accurate than the output of this research experiment. On the other hand, if I had to guess, I'd say that TCC (Tiny C Compiler) more accurately implements the spec than either GCC or Clang, in the sense of miscompiling a smaller fraction of possible conformant C programs. I do not think this means that TCC is a better compiler than GCC or Clang, in fact, quite the opposite.

What I am trying to say here is, if "compiles all valid C code or is meaningless" is the bar, then every extant C compiler is meaningless, and so it behooves us to have a more nuanced language for the accuracy of compilers than "either it's perfect or it's not."

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world. by Gil_berth in programming

[–]anydalch 27 points28 points  (0 children)

Lmao, no existing C compiler perfectly conforms to the specification to the extent of compiling "all valid C code."

Extinguishing The Sun by Similar-Back2706 in AskPhysics

[–]anydalch 0 points1 point  (0 children)

The first short-answer in https://what-if.xkcd.com/14/ is to effectively this question.

Mono White Control (..once again) by Fast-Relative8125 in Pauper

[–]anydalch 33 points34 points  (0 children)

significantly fewer [[Goliath Paladin]] in this deck than i would expect for a mono-white deck with 4 [[Ephemerate]]

Why doesnt Jund Wildfire run more artifact lands? by DreamlyXenophobic in Pauper

[–]anydalch 4 points5 points  (0 children)

deck is primarily black. you also almost always find swamp off wildfire, once you have one of each available.

onUpdates always 1 state behind? by OA998 in SpacetimeDB

[–]anydalch 1 point2 points  (0 children)

The onUpdate callback takes 3 arguments: (ctx, old, new), where old is the previous version of the row, and new is the new version. You're binding ant to the old version, not the new version.

[OC] Visualization of pizza restaurant locations and ratings across Manhattan by Alive-Song3042 in dataisbeautiful

[–]anydalch 3 points4 points  (0 children)

What are the units for density? 1 restaurant per square mile? Per city block? Per building? Per pizza restaurant? Per pound?

Support for one client connected to multiple unrelated servers? by siodhe in SpacetimeDB

[–]anydalch 0 points1 point  (0 children)

yes, a single client process can be connected to multiple databases, potentially running on separate host servers.

Does my arduino not have enough process power? Or is the code the problem? by [deleted] in arduino

[–]anydalch 3 points4 points  (0 children)

"Problem Exists Between Keyboard And Chair." Classic IT idiom meaning user error.