Better HN
topnewbestaskshowjobs
Log inSign up

codeflo

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

Submissions

comment 2y ago · link · parent

It's not a bad question, these units of measurements are always a bit confusing. You can similarly ask why for humans, rubbing a balloon is harmless, although that builds up 30 kV of static electricity, while touching a 230 V power socket can kill you.

Voltage is merely the "pressure" that charged particles experience. Voltage alone tells you nothing about how much charge is actually available once electricity is allowed to flow. And that's where the harm comes from. For static electricity, when you touch something, you get maybe a microcoulomb, once, and it's gone. For a power socket, you get up to 16 coulombs per second continuously.

comment 2y ago · link · parent

I'm not informed enough to rebut this, and don't want to be quoted in the follow-up article that suggests HN is still too dumb to get the genius of Ballmer, but here's my take.

It's only the footnote of the article that mentions Ballmer's "stage persona". I think that's the important point, and I would add that his "interview persona" might have been even worse. Back then, he was quoted as saying insanely dumb shit all the time. Like when he literally publicly laughed about the iPhone. Or when he called a Zune feature to share files between devices "squirting".

Maybe he did make all kinds of brilliant decisions internally. I wouldn't know, but neither would the stock market. If the CEO comes across as not understanding tech, it's likely the market will price that in.

comment 2y ago · link · parent

Showing a picture of Notre Dame photoshopped against unsettling clouds to make a point about the psychological effect of its architecture is borderline fraud. Any actual photo makes the building look a lot more majestic rather than scary: https://upload.wikimedia.org/wikipedia/commons/f/f7/Notre-Da...

Also, I wonder to what extent this is an American perspective. Of course, American culture is omnipresent in Europe, so the association of Gothic buildings with horror movies has been hammered into our minds as well. But still, I don't think any European would look at Cologne Cathedral and be reminded of Ghostbusters of all things. I think unfamiliarity plays a role here.

comment 2y ago · link · parent

You’d probably be surprised how often people have to create config files programmatically. With properly specified formats, you can serialize the configuration, which means nesting and string escapes are taken care of automatically. With half-baked custom formats, you have to resort to string replacement and praying.

Having said that, there’s an official RFC for CSV, and INI files are de-facto specified by Microsoft’s implementation.

comment 2y ago · link · parent

And that’s assuming the repository never gets reorganized in any way that doesn’t perfectly preserve history — which over long timespans, is bound to happen at some point.

comment 2y ago · link · parent

Can someone clarify whether this is intended as a joke or whether the author is actually confused? I mean, nothing about this makes sense: it's not "scripting"; it claims to introduce "strong typing" while it does nothing about typing; it introduces all kinds of operator aliases "modeled after Lua and Lisp" that are present in neither of these languages. But it's not an obvious parody either, so I'm genuinely not sure.

comment 2y ago · link · parent

Unordered simply means the order isn’t exposed, not that the bits have somehow literally fallen out of the computer and are scattered on the floor.

comment 2y ago · link · parent

Not the least of which is that people who take stuff like that as gospel instead of as heuristics tend to endlessly argue what is and isn't a "unit".

comment 2y ago · link · parent

Someone on Twitter claimed that Svelte 5's runes are basically a nicer (custom) syntax for Solid.js -- is that true? I find the way Solid.js decouples signals from components to be a huge step up from React's state management in terms of abstraction capability and composability.

comment 2y ago · link · parent

But the headline is “GM-level performance without search”, not “computer beats human at mouse movement speed contest”.

comment 2y ago · link · parent

Exactly, but distinguishing the two that requires an excellent understanding of the problem space, and can’t at all be figured out in the solution space (i.e., by only looking at the code). But less experienced people only look at the code. In theory, a thousand repetitions would be fine if each one encodes an independent bit of information in the problem space.

comment 2y ago · link · parent

There’s also the effect that a certain code structure that’s clearer for a senior dev might be less clear for a junior dev and vice versa.

comment 2y ago · link · parent

I'd like a theory to explain why a certain class of jokes makes me feel physical pain, when others find them hilarious. This example from the article,

> Q: Why are cats so good at video games? A: They have nine lives.

firmly belongs in the "physical pain" category for me.

comment 2y ago · link · parent

Other commenters are quick to point out that commercial interests always win, which is somewhat true, but misses an important point: OpenAI wasn’t originally a commercial company. This is basically someone stealing a nonprofit organization — structurally not dissimilar to someone robbing the funds a charity for children with cancer.

I don’t get why people shrug, or even celebrate this, instead of demanding jail time.

comment 2y ago · link · parent

Unions, generics, required fields, default values, enums that don't pollute the global namespace are things that immediately caught my eye. I assume it also doesn't repeat Protobuf's the mistake of not being able to distinguish between a missing string value and an empty string value.

Protobuf is old, and has some really strange warts that are only explainable historically (for example, by reference to the behavior of C++, which used to be Protobuf's primary target).

comment 2y ago · link · parent

> It’s also possible that Waymo's erratic braking contributed to a few of those rear-end crashes

It's possible confuse other drivers without technically making a mistake. The article doesn't say whether Waymos are rear-ended more often than human drivers, but it's plausible that this could be the case. Human drivers have a mental model of what other drivers will or won't do, and that model might not work well for autonomous vehicles. It's very possible that Waymos are faster to put on the brakes in unclear situations than a human driver would be, and/or that they categorize different situations as dangerous than a human driver would. I'm sure human drivers will eventually adapt to the behavior of these robots sharing the road with them, but that might take a bit of time and experience.

comment 2y ago · link · parent

In what sense does "everyone do things because of how google does things"?

comment 2y ago · link · parent

> The most interesting thing for me is that while cyan (#00ffff) is nominally halfway between blue and green, most people's thresholds, averaged over monitor calibrations, imply that cyan is classified as blue.

Perceptually (that is, in CIE-LCh color space, for example), the hue component of #00ffff is a lot cloer to #00ff00 than it is to #0000ff. But the website doesn't ask which color is closer, it asks if it's "green" or "blue". And how we use those words has more to do with culture than with perception. We also call the color of a clear afternoon sky "blue", even though that is perceptually extremely far away from #0000ff.

comment 2y ago · link · parent

> Pictographs can convey way more meaning than text. Add in cultural competency (subtext etc.) and it becomes incredibly potent. Hence, memes.

Citation needed. I think you might prove that by expressing those three sentences in pictograms, so that we can verify whether they convey "way more meaning". I have my doubts.

comment 2y ago · link · parent

> Evolution is a biological process term, and an overloaded and ambiguous one at that. Culture is accretive and driven by social dynamics. “Cultural evolution” is literally nonsensical. This was, however, a popular way of thinking in the nineteenth century; make of that what you will.

I think you might be confusing the modern understanding of cultural evolution with the 19th century (to put it plainly: racist) idea of social Darwinism. Cultural evolution is a much more recent concept that makes an analogy between the modern understanding of the transmission of genes and the transmission of ideas. The analogy is of course imperfect, but by no means "literally nonsensical". See here for a very comprehensive discussion: https://plato.stanford.edu/entries/evolution-cultural/

comment 2y ago · link · parent

It’s a regression to hieroglyphics. Six thousand years of cultural evolution down the drain.

comment 2y ago · link · parent

AFAIK, ancient people finding and interpreting dinosaur fossils is one theory about the origin of dragon myths, so yes.

comment 2y ago · link · parent

Regarding the suggested categorization: Why is a dragon considered “grounded”? Why is a scorpion considered more “squishable” (good luck!), than a lizard?

comment 2y ago · link · parent

Even purely going forward, specks on wall textures morph into opponents and so on. All the diffusion-generated videos I’ve seen so far have this kind of unsettling feature.

comment 2y ago · link · parent

In this thread, we're making a comparison to running Sqlite. Fault isolation is not an argument.

And you don't have to run Docker to run Postgres, it's just an easy way to do so. Even airgapped.

comment 2y ago · link · parent

Why would you run Postgres on a different box in such a scenario? A docker run command to get a Postgres instance up and running isn’t any more complicated than linking in Sqlite, maybe even simpler. And you get proper ACID transactions for free.

comment 2y ago · link · parent

No, in animated models, there is no gap between polygons. And if you only compute single-polygon coverage, you can’t determine whether for two polygons that each cover 50% of a pixel, they both cover the same 50%, or complementary 50%, or anything in between. In practice, systems like that tend to show something like 25% background, 25% polygon A and 50% polygon B for the seam pixels, depending on draw order. That is, you get 25% background bleed.

comment 2y ago · link · parent

It's certainly more durable than digital history in the archives of private companies who will stop maintaining it at the slightest slowdown of profit growth.

comment 2y ago · link · parent

The opening statement makes it out that this exact calculation is supposed to be superior to multisampling, but the opposite is the case. Computing the exact mathematical coverage of a single polygon against a background is useless for animations if you can't seamlessly stitch multiple polygons together. And that's why GPUs use multisampling: Each sample is an exact mathematical point that's covered by either polygon at the seam, without the background bleeding through.

comment 2y ago · link · parent

No, in most static languages, the type system influences code generation.
1
567
51