Better HN
topnewbestaskshowjobs
Log inSign up

chowells

3,972 karma · joined Apr 14, 2013 (13y ago) · 999 submissions

Submissions

comment 2d ago · link · parent

I think the biggest win of going from pip to uv is that breaking your python environment no longer breaks the tool to manage your python environment. Pip was always fragile in that you could carelessly use it to break a library it is depending on. (Yes, there are ways to avoid that - but they require not being careless.)

comment 2w ago · link · parent

Because they can't bear to make vehicles smaller. That's the real terror on American roads. Something like 60% of vehicles are huge because it makes the driver feel better. And indeed, it makes the driver safer in a collision - at the cost of making everyone else in the area less safe. Something has to be done to stop this trend first and foremost.

After that, when vehicle sizes start trending down towards reasonable, we can look at getting speeds up without reducing overall safety.

comment 2w ago · link · parent

I'm not describing a theory. I'm describing the world in which I live every day. It's much better for me, right now, in the real world, for the service to be cheap. Even though I've mailed nothing for at least the last year.

comment 2w ago · link · parent

What a.... limited, I guess, viewpoint.

I personally get a massive benefit from USPS being cheap, despite the fact that I send no mail. It provides a massive low-cost physical delivery network across the country, with service to every address. This is a benefit to me because it makes business and personal communication simple and reliable. If I need it personally, it's there. If I don't, I still rely on thousands of parties who do.

Your position is like claiming the interstate system is useless because you don't have a car, ignoring how all those goods your life relies on actually get to you.

comment 2w ago · link · parent

You don't see recaptcha v3. That's the whole point of it. It's not a puzzle to solve, it's behavioral profiling.

comment 3w ago · link · parent

Patrick Stewart was no slouch in using what power he had to protect, either: https://www.youtube.com/watch?v=TqFaiVNuy1k

comment 3w ago · link · parent

I like it. I can't see how to do better while remaining compatible with Python idioms.

comment 4w ago · link · parent

Agh. Crossed wires with PS2 as in the playstation 2. Its controllers used polling. I did this to myself...

comment 4w ago · link · parent

There are limits. USB keyboards are just always going to be slower than PS/2 keyboards. You can close the gap, but USB is just fundamentally adding wrapping layers that introduce latency over the direct polling PS/2 used. And there's a lot of this at the hardware level, where standardized connections with complex protocols replace weird custom connectors. USB is most definitely easier to plug something in to than PS/2 ports, where you had different ports for mouse and keyboard and they weren't interchangeable. (Ok, some very late motherboards supported using either in a single port, but it wasn't the way most PCs worked.)

You can do a lot at the high levels, but everything needs to be reworked from the hardware level up to match the latency of older systems.

comment 4w ago · link · parent

You understand the Luddites were 100% correct, right? "Luddite" is a compliment, not an insult. The Luddite position was "mechanization of labor will concentrate money and power in the hands of capital holders to the detriment of everyone else". If that's not what you thought it was, that's because you have been lied to by people who have been attempting to manipulate you. Apparently successfully.

comment 1mo ago · link · parent

If you can't understand what the machine has done, math is not being done. Math is not pushing symbols around to find sequences that follow all the rules. Math is the process of understanding how those sequences of symbols map to meanings. If you can't follow the proof but have validated it's correct, all you know is that it's a proof of something. Is it a proof of what's claimed in the adjacent plaintext? Who knows!

Math is about clear communication between people first and foremost. That's why Shinichi Mochizuki's claimed proof of the ABC conjecture isn't accepted - he's unable to communicate it to enough mathematicians to get a consensus on its validity. LLMs generating Lean proofs are basically following that same schema. Sure, something has been proven. But what? Where's the clear communication explaining it to the satisfaction of other mathematicians?

comment 1mo ago · link · parent

A lot of the Cascade range is basalt, and you don't need to cut down very far to expose it. A result is that most waterways in Oregon have revealed a lot of basalt around them, at least in the mountains.

comment 1mo ago · link · parent

Fortunately, we now have 50 years of evidence of the negative effects of this philosophy on the ecosystem. Being strict in both results in net positive effects for the entire ecosystem. Trying to be lenient in what you accept results in HTML5, where the exact parse tree for every possible input sequence is specified in order to enforce compatibility. It's no longer lenient, because that doesn't work.

comment 1mo ago · link · parent

Tied test scores to what outcomes? Bush the second tried tying test results to one kind of outcomes (school funding), and the result was schools getting worse.

comment 2mo ago · link · parent

You're right. I didn't enumerate every way UB can make a program go wrong. I'm sure I don't even know every way that can happen. But "UB doesn't happen at run time" is an assumption that lots of "optimizations" are based on.

comment 2mo ago · link · parent

That sounds like 1.5 decades to me...

comment 2mo ago · link · parent

Not only that, the code was wrong. The specification is quite clear that correct programs don't cause UB to be executed at run time. If your wrong code now produces wrong results, that's because it's wrong. That your compiler allowed you to get away with it for decades is a compiler bug, not a feature.

Do I fully believe all of the above? Not exactly. But compiler authors do. Does it make a really good argument to never use C or C++? Yes. If only we had 50 years of optimization work in any language with better semantics.

comment 2mo ago · link · parent

People still believe this? Google pays their ISP. I pay my ISP. Google does not pay my ISP. Why is my ISP's response to the amount of traffic I use demanding to bill someone other than me?

To be clear, Google was doing this out of self-interest. Paying user ISPs for access to those users is not a cost they want to pay. But it's the same as any other protection racket. A local shopkeeper has personal reasons to not want to pay off the mob, but that doesn't mean their position is wrong.

comment 2mo ago · link · parent

It's not difficult to communicate the difference between losing all future rights and settling a dispute over an incident that has already happened. I don't know why you'd act like it's a huge challenge to understand the difference.

But yeah; don't join the military.

comment 2mo ago · link · parent

No. C is a language with a specification independent of implementation. If you write correct C code (according to the specification, which no one does), it does not depend on any of those factors. C is almost uniquely bad in terms of accepting broken programs and just compiling them differently. But that doesn't change the fact that the language has semantics, even if most code that violates the documented preconditions those semantics depend on.

comment 2mo ago · link · parent

It's nothing at all how like C runs on top of assembly. C has semantics. Code means something without ever being run. You can check in your source code and (assuming it actually follows the C standard and your compiler's documented extensions, which almost no real C code does - C was a horrible example) it will work just as well in a year as it does today.

Try checking in only your prompts and nothing else. Just the parts you actually typed. See how well it works to regenerate the same application next week, let alone next year. Prompts are fundamentally a different sort of thing from code. Do not mix them up.

comment 3mo ago · link · parent

Eh. A quick scan of steam reviews shows a clear pattern - the game has been in decline ever since Yegge took over, well before LLMs were a product. It seems he started upsetting people with a capitalist-brain insistence on extracting value, and nothing has changed since. As long as he doesn't understand that his goals are contrary to building a game people enjoy, quality of the code is completely irrelevant. I don't think this one works as a test case on the value of programming like this, as the intended audience just isn't interested.

comment 3mo ago · link · parent

Yes, I know they're orthogonal. But every example of using macros I see in lisp is either some horrendous non-local logic, or something that can be done better using simpler tools. Where's the killer use case that clearly is good software engineering and not papering over the lack of another feature?

comment 3mo ago · link · parent

That's not at all what local reasoning means. Local reasoning is the property that a piece of code contains (when including the call graph) everything that can affect what it does. All mutation of a value is kept within some scope of ownership of that value. If you want to understand a piece of code, you can do it by understanding that piece of code, not the program as a whole.

Assembly makes non-local reasoning mandatory, as any code can update any location in memory without restriction. All memory accesses are global. References need not even be by name - they can be via computed addresses. There are no restrictions in place allowing the structure of the program to provide boundaries on what pieces of code may be understood as units.

comment 3mo ago · link · parent

Yes, you're describing cosmology. We can't create separate test universes, so all we can do is argue over which model is the best way to explain our observations. The difference from ad-hoc reasoning is the exact same as any other science. You make predictions based on models and then try to find places where those predictions hold - or are broken. In either case, you're testing the validity of a model. And when something isn't good enough, you either adjust the model or find a new one that works better.

This isn't some slapdash random patching. Everyone involved knows that assuming that the λ in λCDM is a constant is shaky. It could be a function of time, or even location in some way. But it's simplest if it's a constant. So you start by modeling the universe as if it is. Then you determine what sorts of observations would support or contradict that, and you start making them. When you get results, you start examining what version of the model best explains those observations. And someone somewhere goes off to try find a better model than any version of λCDM. If they succeed, their model will eventually supplant it. This is how science progresses, even if the experiments are less under the control of the experimentors than they'd like. The important part that you make revisions in response to observations.

(FWIW, particle physicists are constantly frustrated that they can't find counterexamples to the Standard Model. They know it has to be incomplete, but the lack of contradictory observation leaves them no direction to try to improve it.)

comment 3mo ago · link · parent

This doesn't strike me as better than the alternatives. In Haskell, it's just a few different functions to handle the different use cases. That strikes me as far better than one "function" that magically does different things depending on how it's called. It is local, I'll give you that. But it still seems bad because you have overloaded the semantics along multiple axes simultaneously. I prefer building blocks with only a single set of semantics each. I believe it's better to write precise code than DWIM code.

comment 3mo ago · link · parent

What makes this a desirable feature? From the perspective where local reasoning is the most desirable property a language can have, how does homoiconicity support that?

I honestly am curious. I've seen a few examples presented for it, but they always seem like bad software engineering to me. Where's an example that does something in a cleaner way than alternatives present in other languages while remaining compatible with local reasoning?

comment 3mo ago · link · parent

The ideal would be to go into swap without becoming unresponsive, so that the user can quit a program of their choice to free memory. If you really want to make an issue out of it, do something like pre-X macOS, where it would provide a warning when you are getting close to running out of memory, so that a user might have the chance to do something before the current process starts getting swapped out.

comment 3mo ago · link · parent

Following this argument to its natural conclusion, we should tell LLMs to generate the binary directly. It's still an abstraction, but it's the lowest level we can go to on current consumer hardware.

I don't think raw machine code (not even assembly) is the best form to reason about program logic. It just takes too many steps to execute sophisticated processes to keep them all in your head at once - or keep them all in an LLM context at once.

12345
34