Better HN
topnewbestaskshowjobs
Log inSign up

TuringTest

4,482 karma · joined Sep 28, 2012 (14y ago) · 2,100 submissions

Send me a note at turingt+fromhackernews (at) gmail.com

I hope the spam filter will respect it!

Submissions

comment 1y ago · link · parent

> That is, numbers were specifically used to abstract over how other things behave using simple and strict rules. No?

Agree that math is built on language. But math is not any specific set of abstractions; time and again mathematicians have found out that if you change the definitions and axioms, you achieve a quite different set of abstractions (different numbers, geometries, infinity sets...). Does it mean that the previous math ceases to exist when you find a contradiction on it? No, it's just that you start talking about new objects, because you have gained new knowledge.

The math is not in the specific objects you find, it's in the process to find them. Rationalism consider on thinking one step at a time with rigor. Math is the language by which you explain rational thought in a very precise, unambiguous way. You can express many different thoughts, even inconsistent ones, with the same precise language of mathematics.

comment 1y ago · link · parent

> My understanding was that mathematics was abstract from the very beginning.

It wasn't; but that's a common misunderstanding from hundreds of centuries of common practice.

So, how has maths gotten so abstract? Easy, it has been taken over by abstraction astronauts(1), which have existed throghout all eras (and not just for software engineering).

Mathematics was created by unofficial engineers as a way to better accomplish useful activities (guessing the best time of year to start migrating, and later harvesting; counting what portion of harvest should be collected to fill the granaries for the whole winter; building temples for the Pharaoh that wouldn't collapse...)

But then, it was adopted by thinkers that enjoyed the activity by itself and started exploring it by sheer joy; math stopped representing "something that needed doing in an efficient way", and was considered "something to think about to the last consecuences".

Then it was merged into philosophy, with considerations about perfect regular solids, or things like the (misunderstood) metaphor of shadows in Plato's cave (which people interpreted as being about duality of the essences, when it was merely an allegory on clarity of thinking and explanation). Going from an intuitive physical reality such as natural numbers ("we have two cows", or "two fingers") to the current understanding of numbers as an abstract entity ("the universe has the essence of number 'two' floating beyond the orbit of Uranus"(2)) was a consequence of that historical process, when layers upon layers of abstraction took thinkers further and further away from the practical origins of math.

[1] https://www.joelonsoftware.com/2001/04/21/dont-let-architect...

[2] https://en.wikipedia.org/wiki/Hyperuranion

comment 1y ago · link · parent

There is a simple criteria for ordering file names: treat sequences of characters as alphabetical, and sequences of digits as numbers.

It's easy to understand and predictable; it just happens to not be based on ASCII character codes, which is a legacy technology method only ever meaningful to US developers.

comment 1y ago · link · parent

Lexicographic order is great when you need an unambiguous criterion that will work the same in every implementation; but you only need that for automated processing, i.e. for coding.

For user-facing presentation, having 5.9.xxx before 5.10.xxx is simpler; the corner case that baffles users is having 5.1 and 5.10 before 5.2.

comment 1y ago · link · parent

> should non-draggable elements in native apps be selectable?

Definitely yes. I hate it when I see an error message or a button label and I can't select the text to copy it for searching comments for it on the web.

comment 1y ago · link · parent

The essential case where it makes sense for text to be non-selectable is on objects that can be dragged around. You definitely don't want to get the text selected when the user wanted to move its container.

Typically application tabs can be moved or recorded by dragging, and tabs in web pages can't; that would justify a different treatment. But it's because of the different behaviour of the tabs, not the different media

comment 1y ago · link · parent

Sure, and you could program all your code in punch cards to not depend on those fancy new video screens. Double plus if you codify it in assembler so that you don't depend on compilers.

comment 1y ago · link · parent

If you have to handle specific behavior for the new method in an existing type, of course you will need to add a new implementation of the method for that type.

As I understand the Expression problem, the limitation of programming languages is that they force you to modify the previous existing types even if the new behavior is a generic method that works the same for all types, so it should be enough to define it once for all classes. A virtual method in the base class should be able to do that.

comment 1y ago · link · parent

I'm thinking, didn't inheritance and abstract methods work to solve the problem?

I know inheritance has its own severe problems, but adding a generic abstract method at the base class could create reusable code that can be accessed by any new class that inherits from it.

P.S. ah ok, it's mentioned in the article at the Visitor section.

comment 1y ago · link · parent

> Until you lose access to the LLM and find your ability has atrophied to the point you have to look up the simplest of keywords.

You can locally run pretty decent coding models such as Qwen3 Coder in a RTX 4090 GPU through LM Studio or Ollama with Cline.

It's a good idea even if they give slightly worse results in average, as you can limit your spending of expensive tokens for trivial grunt work and use them only for the really hard questions where Claude or ChatGPT 5 will excel.

comment 1y ago · link · parent

Rationalism is overrated anyway.

All rational thought depends on its axioms/premises, and there's no rational way to define a new axiom - by definition they are asserted from scratch, so you need to depend on gut feeling to choose a good axiom over a bad one.

Rationalism "only" works to discard or modify some subset of your axioms when you discover that they lead to incompatible conclusions; which is a good outcome if you want to achieve a consistent theory, of course; but it doesn't help in selecting one consistent theory over a competing one. Again, those preferences are led by emotions.

comment 1y ago · link · parent

Wouldn't an app like this stop working after a few uses?

As I understand, the protocol penalizes users that don't contribute to the upstream, although I never checked the details.

Or do this kind of app keep changing the identity to avoid getting downgraded? Does Stremio work like this too?

comment 1y ago · link · parent

> She asked for a “spicy” image and she got exactly that.

But, but, what it just she wanted to see her in a Spice Girls costume??

comment 1y ago · link · parent

> Basically if the higher percent is due to less desktops overall instead of a major uptick in Linux desktops, it is not really much to celebrate.

So, the true meaning of the "Year of the Linux Desktop" was that in the end there would only be a single unit left?

comment 1y ago · link · parent

I've always wondered why this capability (detecting repetitive patterns and offering an auto-complete option to apply it to the whole collection) is not more pervasive.

It's a very good interaction pattern, it would be more and more viable given increasing computing power and better understanding of context thanks to LLM, and would increase productivity and reduce boredom with little intrusive effects.

So why is nobody offering this feature in data-heavy UIs? (Except for Excel's column auto complete, which it's hit or miss but incredibly useful when it works).

comment 1y ago · link · parent

Back in the ancient era of the mainframes, this "multitenancy" concept would have been called "time sharing".

It looks like everything old is new again.

comment 1y ago · link · parent

True, but the religion of the Singularity that fueled this round of financing was premised on this improvement growing exponentially fast, thanks to the support provided by the current version of AI tools. There's no sign this will happen anytime soon.

comment 1y ago · link · parent

> APL makes it really convenient to take a different tack. Instead of designing abstractions, we can carefully design our data to be easily operated on with simple expressions. Where you would normally see a library function or DSL term, this approach just uses primitives directly

But in doing that, aren't you simply moving the complexity of the abstractions from the functions code into the data structure? Sure you can use generic operators now, but then you need to carefully understand what the value pairs represent in terms of domain logic and how to properly maintain the correct structure in every operation. Someone reading the program for the same time will have just the same difficulties understanding what the code does, not in terms of primitives, but in terms of business domain meanings.

I mean there is an improvement in your approach, but I don't think it comes from putting the complexity at a different place, but because this way you get to see the code and the actual actual values at the same time.

I have the insight that what makes complex programming easy is this juxtaposition of runtime data and code operations visible together. That's why IDE tools have building better and better debuggers and inspectors to let you see what the program is doing at each step.

In that context, creating new good concise abstractions is a good thing, wether you abstract parts of the operations or parts of the data structure.

comment 1y ago · link · parent

Seeing that diamond metaphor, and then learning how APL sees "operators" as building "functions that are variants of other functions"(1), made me think of currying and higher-order functions in Haskell.

The high regularity of APL operators, which work the same for all functions, force the developer to represent business logic in different parts of the data structure.

That was a good approach when it was created; but modern functional programming offers other tools. Creating pipelines from functors, monads, arrows... allow the programmer to move some of that business logic back into generic functions, retaining the generality and capacity of refactoring, without forcing to use the structure of data as meaningful. Modern PL design has built upon those early insights to provide new tools for the same goal.

(1) https://secwww.jhuapl.edu/techdigest/content/techdigest/pdf/...

comment 1y ago · link · parent

> If you mean LLMs, I actually view them as a regression with respect to basically every one of the "characteristics of notation" desired by the article.

LLMs are not used for notation; you are right that they're not precise enough for accurate knowledge.

What LLMs do as a tool is solving the Frame Problem, allowing the reasoning system to have access to the "common sense" knowledge that is needed for a specific situation, retrieving it from a humongous amount of background corpus of diverse knowledge, in an efficient way.

Classic AI based on logical inference was never able to achieve this retrieval, thus the unfulfilled promises in the 2000s to have autonomous agents based on ontologies. Those promises seem approachable now thank to the huge statistical databases of all topics stored in compressed LLM models.

A viable problem-solving system should combine the precision of symbolic reasoning with the breadth of generative models, to create checks and heuristics that guide the autonomous agents to interact with the real world in ways that make sense given the background relevant cultural knowledge.

https://en.wikipedia.org/wiki/Frame_problem

comment 1y ago · link · parent

Developers are not deterministic either ;-)

What matters is if the current output after each request complies with the given specifications, and if it's possible to solve the bugs until the code converges into stability.

comment 1y ago · link · parent

> how do you know that the code it just created actually does what you want it to

I believe that problem can be solved, and will be with the correct new tools.

I think a new type of "low-code" programming language will evolve tailored for domain experts that don't know coding, but understand how to guide an LLM.

The development environment should be a crossover between a project-management tool (Jira or Azure devops style) with literate programming: something that allows organising all the separate parts that compose the program in a way understandable by the human and the AI bot.

Online notebooks are a good first step in that direction, in special the "reactive" kind where the runtime logic does not depend on the order you change things in the page.

comment 1y ago · link · parent

The classical answer of why more hardware resources are needed for the same tasks is that the new system allows for way much more flexibility. A problem domain can be thoroughly optimized for a single purpose, but then it can only be used for that purpose alone.

This is quite true for LLMs. They can do basic arithmetic, but they can also read problem statements in many diverse mathematical areas and describe what they're about, or make (right or wrong) suggestions on how they can be solved.

Classic AIs suffered the Frame problem, where some common-sense reasoning depended on facts not stated in the system logic.

Now, LLMs have largely solved the Frame problem. It turns out the solution was to compress large swathes of human knowledge in a way that can be accessed fast, so that the relevant parts of all that knowledge are activated when needed. Of course, this approach to flexibility will need lots of resources.

comment 1y ago · link · parent

You can typically trick them into thinking that you're returning an object with a single method ;-)

comment 1y ago · link · parent

The article is deliberately ignoring the history of software, which in the 90's gave a very clear definition of "open source" by the OSI as a synonym of "free software", which also historically means the four freedoms defined by Richard Stallman.

You may want to ignore what words have come to mean and try to derive a literal meaning from their constituent words, but then you need to fight established common use.

comment 1y ago · link · parent

You've just described how laws actually work - but we have created modern judiciary system so that it will tend to produce outcomes considered fair by the majority. Algorithmic enforcement of justice without human deliberation of case-by-case specifics would be worse that the worst horror stories about soulless bureaucracies.

That's why we have judges and lawyers, so that the outcome can be decided as a communal process instead of just one person deciding what is punishable - even if the person is the developer building the automated justice dispenser and they'll be not around when the decision is taken, it would still be made by the whims of a single enforcer.

comment 1y ago · link · parent

It could, but it doesn't want to. The whole MS Office dominance came into being by making sure other tools can't properly open documents created by MS tools; plus being able to open standard formats but creating small incompatibilities all around, so that you share the document in MS format instead.

comment 1y ago · link · parent

> Yea - I know. Works much better to upsell "wifi enabled"

A good marketer could give a catchy name to sell the advantages of that system too. Top of my head I can think of "near-fi", but certainly could be done better.

comment 1y ago · link · parent

You might enjoy the experimental editor Lapis.

This Pantograph somewhat reminds me of that lightweight structure editor, though Lapis is able to find regularities on the fly without a need to follow a perfect tree structure, just by finding bottom-up syntax of language elements (mostly HTML and basic data types).

https://en.wikipedia.org/wiki/Lapis_(text_editor) (Look at the links for an archived download page)

comment 1y ago · link · parent

Excuse me for sounding rough, but - isn't this reinventing comp-sci, one step at a time?

I learned about distributed incrementally -monotonic logs back at the late 90s, with many other ways to do guaranteed transactional database actions. And I'm quite certain these must have been invented in the 50s or 60s, as these are the problems that early business computer users had: banking software. These are the techniques that were buried in legacy COBOL routines, and needed to be slowly replaced by robust Java core services.

I'm sure the Restate designers will have learned terribly useful insights in how to translate these basic principles into a working system with the complexities of today's hardware/software ecosystem.

Yet it makes me wonder if young programmers are only being taught the "build fast-break things" mentality and there are no longer SW engineers able to insert these guarantees into their systems from the beginning, by standing on the shoulders of the ancients that invented our discipline, so that their lore is actually used in practice? Or am I just missing something new in the article that describes some novel twist?

12345
70