There's something with the same shape as Jevon's paradox - the Peltzman effect. The safer you make something the more risks people will take.
Applied to AI I think it would be something like - ease of development increases the complexity attempted.
HN user
There's something with the same shape as Jevon's paradox - the Peltzman effect. The safer you make something the more risks people will take.
Applied to AI I think it would be something like - ease of development increases the complexity attempted.
Thanks. After I wrote it a friend said "I think you just gave people permission to do things that they would've felt bad about otherwise." I think he was right, in a way. On the other hand, not everything is obvious to everyone, and it's been 20 years. Regardless of whether people have read the book, the knowledge of these things as grown since then.
The developers of JMock, the original library for Java.
This is called point-free style in Haskell.
Sometimes it is called a fluent-interface in other languages.
That doesn't sound like the sort of problem you'd use it for. I think it would be used for the ~10% of code you have in some applications that are part of the critical core. UI, not so much.
I think we are going to end up with common design/code specification language that we use for prompting and testing. There's always going to be a need to convey the exact semantics of what we want. If not, for AI then for the humans who have to grapple with what is made.
The trajectory of AI is: emulating humans. We've never been able to align humans completely, so it would be surprising if we could align AI.
Chat in English? Sure. But there is a better way. Make it a game to see how little you can specify to get what you want.
I used this single line to generate a 5 line Java unit test a while back.
test: grip o -> assert state.grip o
LLMs have wide "understanding" of various syntaxes and associated semantics. Most LLMs have instruct tuning that helps. Simplifications that are close to code work.
Re precision, yes, we need precision but if you work in small steps, the precision comes in the review.
Make your own private pidgin language in conversation.
I think it makes sense to see friction as disincentive, the opposite of incentive.
This is a good talk about the problem: https://youtu.be/hGXhFa3gzBs?si=15IJsTQLsyDvBFnr
Key takeaway, LLMs are abysmal at planning and reasoning. You can give them the rules of planning task and ask them for a result but, in large part, the correctness of their logic (when it occurs) depends upon additional semantic information rather then just the abstract rules. They showed this by mapping nouns to a completely different domain in rule and input description for a task. After those simple substitutions, performance fell apart. Current LLMs are mostly pattern matchers with bounded generalization ability.
I always have trouble with takes like this because they are context-free. There are a wide variety of project types and development scenarios.
My nuanced take is that typing is an economic choice. If the cost of failure (MTTR and criticality) are low enough it is fine to use dynamic typing. In fact, keeping the cost of failure low (if you can) gives you much more benefit than typing provides.
Erlang, a dynamic language used to create outrageously resilient systems, is a great example of that for the domains where it can be used.
I'm not a dynamic typing zealot (I like static typing a lot) but I do think that dynamic typing is unfairly maligned.
The cost argument brings the decision down to earth.
Obligatory reference to the Law of Leaky Abstractions:
https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a...
Layers work to the degree that they are trivial, but we really only need them when they are non-trivial.
I think it goes deeper.
When people become very skilled at programming they have the urge to scratch their own itch, either writing tools to solve software development problems or creating something with a technology that they want to use. They are uninterested in mundane, boring, vertical applications, but that's often where the money is.
The guy in the article did some development tools but some other things too. At the end of the day, imagining a market is no substitute for finding one.
To me, the most amazing thing is that he says that it is a problem that would take the average programmer a week back then, but today it could probably be coded in 5 minutes in AWK or Perl.
I think people aren't getting yet is that this generalizable beyond software. We can do this with LLM and anything that can be designed.
https://michaelfeathers.silvrback.com/prompt-hoisting-for-gp...
I'm wondering whether there is any reason why condensers can't be used for all program optimization. It seems like the definition would allow that:
The primary means for shifting computation is the condenser. A condenser is a component that transforms a program, yielding a program that is semantically equivalent under a stated set of constraints (e.g., “class X will not be redefined”), but may be smaller, faster, or better suited to a particular execution environment.
I've always thought of this as being like proof by induction: start with the basis case.
If they can be generated from the source they probably shouldn't be in the source. Maybe it should be an IDE plugin that displays comments for code as you hover over it.
Microservices might be a hack to gain modularity when nothing else works.
https://michaelfeathers.silvrback.com/microservices-and-the-...
Often this dynamic is called path-dependence too.
Actually I'd go further and say that this idea creates a lot of problems. For example, if I goof password storage and expose our users' personal information, what were you supposed to do to prevent this?
Hire better. Pithy response, but that's how responsibility aggregates.
They are aggregation points for responsibility. Without those aggregation points, responsibility can be too diffuse for effective policy setting, etc.
That's fair. I was just using trees as an example. Tree-like might be a better characterization. Point is: there's a reason why fully connected structures aren't very common, and why systems tend to form hubs.
it's just that more blood goes through them so they have to be constructed a certain way
I agree but the same could be said about decision-making.
It's important to realize as well that humans didn't invent hierarchy. It's a structure that occurs naturally when the costs of direct connection are too high in a system with many parts. This is why networks are federated and why vascular systems in biology are tree-like. The same dynamics are at play in human social systems, but they are not particular to them.
In a good analogy, both sides should have significant shared structure. The more that’s shared, and the deeper the structure, the better.
The alternative to analogies is to name the shared structures.
A term I use to recenter on Ward Cunningham's concept is 'Design Lag' - How far is the code behind your current understanding of the problem?
APL is a write-only language. [1]
I've never seen an argument against APL that wouldn't also apply to Kanji and Chinese script - notations with billions of readers.
Such a great band. I saw them in Los Angeles last month. Exquisite and energetic musicianship despite several of them being in their 70s now.