Better HN
topnewbestaskshowjobs
Log inSign up

codeflo

9,663 karma · joined Jun 14, 2010 (16y ago) · 1,502 submissions

Submissions

comment 3y ago · link · parent

At least they unlocked the creativity of whoever produced that documentary.

comment 3y ago · link · parent

I’m no expert on the sociological aspects of this, but do claim a bit of knowledge on statistics. And when a research finding contradicts everyday experience, it’s natural to be skeptical, so I looked at the paper in a bit of detail (https://www.pnas.org/doi/10.1073/pnas.2221311120).

While I do have other questions about the test setup, here’s the statistical analysis they did:

They divided the students into quartile buckets based on prior knowledge on a subject, and then measured learning rates using some kind of online course system. What they found, in their own words, is that there’s only “small variability of student learning rate relative to variability in students’ initial knowledge”. In other words, and looking at their tables, there’s actually large variability in learning rate overall, but that’s almost perfectly correlated with initial performance.

To be concrete, the improvement rate, using whatever measurement they use, is 2.56 for the top initial knowledge quartile and 1.70 for the bottom one. So top performers do indeed learn 50% faster.

They hide this using lots of language about “little inter-quartile differences”, and then denounce all kinds of “problematic conceptualizations” that society has. When in reality, at the university level, this “initial knowledge” isn’t some independent random variable that you have to control for, but, as this study actually very clearly shows, the integral of the student’s learning rate over their lifetime.

comment 3y ago · link · parent

I’m also most often on the hiring side of this. If novel problem solving is what you’re actually testing, I would agree. But too many interviewers just think they’re testing that, when what they’re actually testing is whether a candidate has seen a certain memorizable trick before.

I’m talking about the “detect a cycle in a linked list” kind of question. If you ever actually need to do that in practice (though I would question the choices that lead up to that), it’s easy enough to google. The hard part in practice is figuring out that your messy practical problem decomposes into an algorithmic question, but that skill is rarely tested in interviews.

comment 3y ago · link · parent

Very much yes to your first sentence, but I don’t think “just plug something into ChatGPT” is a fair summary of your (very interesting) post, so you’re fine with me.

I’ve seen several statements recently, including one in a talk by a Microsoft researcher working with OpenAI, that claim that all the RLHF safety training introduces human biases and makes the models worse at abstract reasoning. I really wonder why a relatively small amount of human feedback has that effect, while training on this gigantic human-written corpus doesn’t seem to introduce the same biases. That hints at something interesting going on.

comment 3y ago · link · parent

It’s not intended to do that, and I don’t think that would be possible in general. Debug output can be arbitrary and ambiguous, while this is a well-defined serialization format that only happens to have a readable Rust-like syntax. Of course you’re always free to use RON in place of debug output for logging purposes.

comment 3y ago · link · parent

Well, that’s a colossal failure of branding if I ever saw one. Seriously, what were they thinking?

comment 3y ago · link · parent

You're basically fucked if you want search results for a different location, and increasingly more fucked if you want them in a language that's not the dominant language of the region you happen to log in from. All of that used to be easy.

comment 3y ago · link · parent

That's a bit of a non sequitur. Quotes no longer working doesn't have anything to do with the JavaScript on the website. My theory about this is that Google has slowly and steadily A/B tested every useful feature out of their product, and I assume that's because power users are simply a statistically insignificant group.

comment 3y ago · link · parent

However, social engineering is orders of magnitude less automatable and scalable than prompt engineering is.

comment 3y ago · link · parent

No, it’s people who possibly even agree with the intention of this wanting the letter of the law to be as clear as possible — so that a hypothetical uninformed judge a few years down the road has less wiggle room for a bad decision. (Also note that in some European law traditions, written law is more important than case law.)

comment 3y ago · link · parent

1. I 100% agree about comments.

2. I’m still not convinced it’s the file format’s job to encode every possible data type. We used to have deserialization layers for that, but for some reason, we don’t do that anymore. Nowadays we expect every file format to be self-describing, which I think is wasteful and limiting. But that’s a matter of opinion, obviously.

3. What do you mean by “cannot be parsed streaming”? Or to be perhaps more precise, what’s missing in existing streaming JSON parsers? I haven’t used any of them yet.

comment 3y ago · link · parent

> "the only thing that matters in software is the experience of the user"

I think it's true that user experience is all that matters. Software engineering is just the realization that this will also be true 12 months from now.

comment 3y ago · link · parent

Tell me you haven't read the article without telling me you haven't read the article.

comment 3y ago · link · parent

To be fair, I’m not sure this will actually make a significant difference. :) Even 200m wouldn’t be a huge error.

comment 3y ago · link · parent

When will “I asked ChatGPT” stop being posted in response to every other HN comment?

comment 3y ago · link · parent

> There is obvious advantage

You have a different definition of “obvious” than I have.

comment 3y ago · link · parent

I’m not familiar with R, but the lm(…) line looks like it’s linearly interpolating the latitude and longitude. However, that’s not what straight lines in a Mercator projection are. You might be confusing it with the cylindrical projection.

The Mercator projection stretches things away from the equator vertically to compensate the horizontal stretching, in order to preserve local shapes. This makes it a bit better for these kinds of local measurements than one might think at first glance.

comment 3y ago · link · parent

Mercator maps are conformal, which means that over small distances, shapes are preserved, though you do have to correctly adjust the distance scale. So how much does that matter over 76 km, would the bend in the line even be visible?

comment 3y ago · link · parent

> (The term “einstein” comes from the German “ein stein,” or “one stone” — more loosely, “one tile” or “one shape.”)

As I said, that "loose" meaning doesn't exist, but either way it would be "ein Stein". I guarantee that no one at the NYT bothered to ask a German speaker.

However, I did check the German Wikipedia entry on tilings, which to my surprise does confirm that the word "einstein" is an established synonym for an aperiodic monotile. It also states that this usage isn't widespread in Germany itself. I presume that's because it doesn't actually make any sense in German.

comment 3y ago · link · parent

Sorry to ruin your pun idea, but Stein doesn't mean geometric shape. The most common meaning is simply stone, but it can also mean board game piece.

Words you might use for these shapes instead would be Form (meaning shape) or Kachel (meaning tile).

Source: native speaker.

comment 3y ago · link · parent

You make it sound like you'd have to remember a 4-digit constant in either case. That's stupid, it's simply (torque * RPS * 2 * PI).

comment 3y ago · link · parent

> Besides, nobody is calculating this, they are measuring and that is just a matter of what label you put on the dial.

That's why I asked about engineering, not driving. Nobody converts torque to power etc.?

comment 3y ago · link · parent

I know this is off-topic, but I'm curious. I always had the impression that even in the US, standard units are used for engineering. Reading about "ft-lb" makes me think I was wrong (and my head hurt, tbh). Do you really compute stuff like torque in imperial units? Don't you need weird factors in every formula to make that work?

comment 3y ago · link · parent

Of course these things are “observable” in the literal sense. And yet, they aren’t considered to be observable by the memory model of any language spec that I know of. Same as CPU power draw, which has been used as a side-channel to extract bits of crypto keys, and is very much influenced by common optimizations.

Practically, if you need to execute a specific sequence of machine instructions in order to prevent side-channel attacks, then you have to rely on assembler, compiler intrinsics and/or OS support. But that was true way before Spectre.

comment 3y ago · link · parent

This is not about code that's found to be unreachable through static analysis (where compilers might warn), but about a manual programmer annotation that claims the code is dynamically unreachable even though statically it might look otherwise.

comment 3y ago · link · parent

Of course, that's technically incorrect. The way the standards are written, the compiler is free to replace the program with any other program that has the same (in a precisely defined sense) observable behavior (these are the famous "as if" formulations in language specs). Heating up the CPU is not considered observable behavior.

If someone really just wants a delay, it's easy to either (for programs running on normal OSs) call a sleep function, or (on tiny embedded systems) add an empty inline assembler statement that the compiler can't see through.

comment 3y ago · link · parent

What does that have to do with SPAs?

comment 3y ago · link · parent

I wonder who needs to know this who doesn’t also need to know the difference between a decision (yes/no) problem and a general problem. This is relevant because P and NP are only defined for decision problems, but all of the examples given aren’t such problems.

comment 3y ago · link · parent

The smoke effects are cool, but otherwise, it doesn't feel like the graphics are really that much better, just different. Flatter dynamic range (everything is bright now). Busier textures. Exactly the same pixely shadows (most visible in the screenshot "Back Plat"), which makes me think the engine hasn't been modernized that much.
1
161718
51