HNHacker News
TopNewBestAskShowJobs

ryandv

748 karma · joined August 23, 2023

    In the beginning were the Words,
    and the Words made the world.
    I am the Words.
    The Words are everything.
    Where the Words end the world ends.
    You cannot go forward in an absence of space.
    Repeat.

    https://txt.ryandv.me
    https://magistertempli.substack.com
submissionscomments
ryandv··on Why teach calculus in the age of AI
Exactly the things that differentiate LLM tooling from traditional vim, IDEs, valgrind, gdb, linters, the coreutils, ...

Jury's out on whether or not that collection is non-empty.

ryandv··on RubyMine is now free for non-commercial use
> But you're not making sense complaining first about the "in general" situation, then complaining about a 2% situation.

The use of "in general" has long established usage in mathematics to refer to properties that hold for all objects in a given collection [0] [1]. Thus, if 2% of those objects fail to satisfy these properties, you cannot say that such properties hold "in general."

> Secondly, you're mixing concepts of static typing and metaprogramming by saying "the language not only fails to equip IDEs and tooling with the static typing information that would grant definitive answers to such questions." Static typing is not the solution, or at least not the only solution, to metaprogramming concepts.

Propose alternate solutions then.

IDEs and tooling (let's leave LLMs and other stochastic methods aside for now) can only inspect the lexical, syntactic, and semantic (types) structure of source code in order to navigate and validate it. Thus, information that is absent from the lexical, syntactic, and semantic structure of the source code, is unavailable to the IDE and static tooling. Ruby, being a dynamically typed language, does not statically encode any structure regarding types, callgraphs/callsites/usages, definitions, or otherwise, in the syntax of the language alone. The behavior of a Ruby program - how its methods are defined, where they are defined, and which runtime objects invoke send what messages to whatever recipients, are only discoverable at runtime, because nobody bothered to put this information in at compile/typecheck time. You cannot discern information that simply is not there.

> For example, if I statically define a Ruby object via RBS, I may still do the things you list that are problematic.

Yes, and this is because RBS is not actually a sound typesystem [2] [3]. You can declare whatever fake types and interfaces you want in RBS; there is absolutely nothing stopping me from simply using `#define_method` to overwrite your implementation, destroying your static guarantees, or using other runtime metaprogramming facilities to delete your method, change its signature, or otherwise violate whatever other invariants you assumed you had when you wrote the static headers/type declarations and had them checked by the static verifier.

It doesn't matter if you statically verify the code, when the language offers innumerable opportunities to destroy those static guarantees, after they were established, at runtime.

> Thirdly, you're complaining about runtime issues making things difficult for the IDE while doing a lookup. What language and IDE do you prefer that does this so much better?

I already provided an example of C# ReSharper upthread [4]. C# actually provides the static typing information that the tooling requires in order to navigate the AST with deductive certainty, not loose approximations or heuristics as in RubyMine.

Out of curiosity, did you study computer science formally at a post-secondary institution, or did you learn from a bootcamp?

[0] https://en.wikipedia.org/wiki/Glossary_of_mathematical_jargo...

[1] https://en.wikipedia.org/wiki/Glossary_of_mathematical_jargo...

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

[3] https://www.typescriptlang.org/play/typescript/language/soun...

[4] https://news.ycombinator.com/item?id=45105283

ryandv··on Why teach calculus in the age of AI
> What do you think is going to replace calculus? Until something better comes along, calculus is among the best introduction to higher theories of mathematics.

> Programming and development will be transformed to use LLMs as the tools that they are. Anyone who doesn't adapt to using an LLM will end up being a loser in their industry or be required to retrain to another role [...]

Mathematics will be transformed to use LLMs as the tools that they are. Any mathematician who doesn't adapt to using an LLM will end up being a loser in academia or be required to retrain to another role.

The study of calculus will be replaced by tooling that carries out the mechanics of differentiation, integration, finding extrema, etc, making such education obsolete.

> You could manually do a lot of things that a CNC mill can do. Or you can learn how to use a CNC mill. Or you could pay someone else to use their CNC mill. But a CNC mill is not a great thing to use for cutting raw lumber or assembling furniture. You "could" use a CNC mill for it, but it'd be extremely inefficient. You could use it to manufacture furniter pieces, but it's not going to assemble them. LLMs are kind've the same thing for computers.

You could manually do a lot of things that a calculator, CAS, or LLM can do. Or you can learn how to use a CAS system or LLM, or pay someone to use their cloud service. But an LLM is not a great thing to use for deciding research programs or assembling a proof. You could use an LLM for it, but it'd be extremely inefficient. You could use it to formalize certain lemmata or minor results, but it's not going to compose them together into a larger theorem.

> Could LLMs replace programmers? Definitely, right now. Could LLMs replace developers? Currently, it could replace some of the worst developers, and help but not replace some of the better developers. Could it replace engineers? Definitely not right now, and probably not for the next several decades.

Could LLMs replace arithmeticians or calculators (in the original sense of the word, as a human occupation)? Definitely, right now. Could it replace mathematicians? Definitely not right now, and probably not for the next several decades.

You distinguish between Software Engineers(tm) and lowly developers; I point out that you can draw the same distinction between mathematicians and lowly arithmeticians or "calculators" (in the original sense of the term as a human occupation), or between calculus and analysis.

Leave the solution of this particular integral or the differentiation of this particular function, the mechanics of calculus, to the LLMs and the machines. Mathematicians need not concern themselves with such trivialities, and will prove results for all continuous functions in arbitrary metric spaces, or something similarly general and insightful.

ryandv··on Why teach calculus in the age of AI
So are you bullish or bearish on the prospect of LLMs replacing programmers? The industry is breathless with hype and media pieces on how traditional programming is obsolete; do your criticisms of my position also apply, were software engineering, rather than calculus, its subject?
ryandv··on RubyMine is now free for non-commercial use
Anecdata that something is effective in 98% of cases is different from provable static verification that works 100% of the time.
ryandv··on RubyMine is now free for non-commercial use
They work well enough to a first approximation, but it's far from the certainty one has using other JetBrains products (e.g. C# ReSharper) on a statically typed codebase.

RubyMine will give you "Untyped (potential) usage." That's not good enough if I need to make a breaking API change and be sure that I've fixed all the callsites, such that I don't find out that I've missed a spot when the change breaks in production.

For all this talk about LLMs and AI improving developer productivity - what is one click and a few seconds in ReSharper to "Change Signature" or "Pull Members Up," which is a 100% guaranteed safe refactoring that will not introduce regressions, ends up being anywhere from "a few hours" of playing whack-a-mole with usage sites, to "completely intractable" in 15+ year old 1MLOC+ codebases making heavy use of metaprogramming.

If the Ruby milieu has turned against metaprogramming, I say good riddance; but my understanding is that it is still quite deep in technologies like Rails and RSpec in particular, where it's the fundamental secret sauce that enables convention-over-configuration and fluent, natural-language like DSLs.

ryandv··on RubyMine is now free for non-commercial use
In general it's impossible to "find usages" or "go to definition" when the language not only fails to equip IDEs and tooling with the static typing information that would grant definitive answers to such questions; but even goes further and allows methods to be redefined or even synthesized and defined, for the first time, at runtime, with no corresponding source location or file. Method lookup and dispatch are fully Turing complete (you can `#send` anything, including fully dynamic method names, and respond to any message with arbitrary logic in `#method_missing`), and you can even redraw the method lookup chain and inheritance hierarchies at runtime (includes, mixins, module prepend, eigenclasses et al).

This is not a failing of JetBrains tooling but rather a pervasive language smell and consequence of Ruby philosophy.

ryandv··on Staff disquiet as Alan Turing Institute faces identity crisis
Monty Python seems especially appropriate here.

> It is symbolic of our struggle against oppression! [0]

[0] https://www.youtube.com/watch?v=Dgp9MPLEAqA

ryandv··on Air Canada strike: Flight attendants reach tentative agreement
https://archive.is/vfKOA
ryandv··on RFK Jr.'s Wi-Fi and 5G conspiracies appear to make it into MAHA report draft
[flagged]
ryandv··on Shamelessness as a strategy (2019)
Keen observation. Canadian white progressives have a pathological inability to state anything directly, take definitive stances on anything, or refrain from ambiguity and equivocation in their speech. You end up with so much noise in the signal from all the hedging, mea culpas, and beating around the bush that it becomes impossible to take them at their word.

All the communications overhead comes from this neurotic desire to sanitize speech of all possible offense, all possible negative implication, and indeed all humanity. The end result is vapid corpo doublespeak, which says... absolutely nothing at all.

The information content of the language of a culture that can be offended by everything tends towards nothing.

ryandv··on Shamelessness as a strategy (2019)
Bang on the money. This trend is really just a recognition that compassion, empathy, shame, etc. have been weaponized in service of sociopathic attempts to control people and society.

Too often shaming or labelling viewpoints you disagree with as "hateful" without further elaboration is really just a thin veneer over the absence of any actual position. Intellectual laziness masked with the paper tiger of loaded words and language.

[0] https://en.wikipedia.org/wiki/Thought-terminating_clich%C3%A...

ryandv··on RFK Jr.'s Wi-Fi and 5G conspiracies appear to make it into MAHA report draft
I doubt there will be risk of confusion.
ryandv··on RFK Jr.'s Wi-Fi and 5G conspiracies appear to make it into MAHA report draft
You can peruse my comment history and witness all the progressives who attempted to refute conservative viewpoints and failed.
ryandv··on IQ tests results for AI
> The thing about race is that it has no biological justification.

> It's a powerful social construct.

This is 100% correct, and yet progressive academics have yet to figure out how to slot this fact into their ideology without creating incorrigible inconsistencies.

For instance - if race is a social construct just like gender, why is transracialism frowned upon, while transgenderism is lauded? Quoting Richard Dawkins, famous debunker of Creationist and religious bullshit [0]:

    Why is a white woman vilified and damned if she identifies as black,
    but lauded if she identifies as a man? That's topsy-turvy, because
    race really is a continuum, whereas sex is one of the few genuine binaries
    of biology.
The most coherent (but unsatisfying) answer I have found in the literature is that society has "intersubjectively" agreed to accept transgenderism and not transracialism, where "intersubjectively" ultimately translates to some level of "because we said so and this is society's new fanfiction head canon:" [1]

    What matters, then, is that intersubjectively we have all agreed that
    ancestry is relevant to the determination of one’s race.
It's worth noting that intersubjectivity is basically a religious concept, as defined in the Encyclopedia of Psychology and Religion. [2]

There is no science or biology on the far LGBTQ+ progressive left. Only pseudoscience and apologetics befitting of a Creationist.

[0] https://www.youtube.com/watch?v=cubkdBuvJAQ

[1] https://philpapers.org/archive/TUVIDO.pdf

[2] https://sci-hub.se/10.1007/978-1-4614-6086-2_9182

ryandv··on Living with Williams Syndrome, the 'opposite of autism' (2014)
Are you a patient of this condition or something? Would you mind sharing your story?
ryandv··on Snapshots of Kids Bike Jumping in the 1970s
> We girls really need to be getting out there and keeping down men, it's for their own good,

I wholeheartedly agree. What western society needs is a matriarchy that will take care of its own and suppress any subversive elements.

I can't wait for scientists to demonstrate that testosterone is actually a poison and the main cause of toxic masculinity. In a more civilized era, children assigned to any sex at birth will be dosed with exogenous estrogen starting from age 5 in order to optimize and civilize their development.

ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
Just about as nonsense as Plato and the cave allegory, I agree.
ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
You're holding it upside down. Nobody earnestly believes in soothsaying, prophecy, or "magic missile" in this field - nobody worth your time anyway.

Most of the problem with the occult is that people have no idea what the fuck the words and vocabulary are actually referencing.

ryandv··on California unemployment rises to 5.5%, worst in the U.S. as tech falters
That's right. You see this aspect of the situation clearly.
ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
It was a facetious comment anyway.
ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
Well, there was the Egyptian deity Khephra who was represented by the dung beetle rolling its dung along the desert, symbolizing the passage of the sun through the sky.

In alchemy and western esoterica, excrement is associated with the tenth sephirah, the 10s of the Tarot minor arcana, and symbolizes the end result of a process and any remaining waste byproducts, for obvious reasons. In The Holy Mountain's (1973) depiction of the alchemical magnum opus, The Fool's excrement is transmuted into gold, symbolizing the awakening of unconscious, reactive matter into fully enlightened and integrated, free willed, egoic man.

ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
This is exactly how I feel when people start telling me about their own religious beliefs about things like "gender identity," right down to the absolute certitude in their faith and the bigoted, zealous excommunication of nonbelievers and heretics.
ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
> Personally, I do think that the immaterial world of ideas must be primary—at least certain aspects of mathematics seem so necessary that they’d be discovered by intelligent life, no matter the galaxy… or simulation…

For some speculative philosophical fiction that explores related ideas I highly recommend Neal Stephenson's Anathem.

ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
> It is an old Pythagorean tradition that sensation or consciousness arises out of the interaction of the immaterial soul and the material body. That “three world” idea is echoed by Nobel Laureate Roger Penrose in his book “Road to Reality.” He talks about how the material world produces the world of consciousness which produces the world of ideas (including mathematics), which seems to produce the material world…

You see this idea echoed in Hermetic Qabalah as the "Four Worlds" - the world of action & physical materiality, the world of psychology, thought, feeling, & egoic consciousness, the world of creativity, and the world of archetypal abstraction.

The Hermetic influence comes from the assertion that the three immaterial worlds of the "soul" or "mind" (synonyms with the same referent) are in some sense equal to, or at least intertwined with, the material body, in a mutually reciprocal dance: "As above, so below; as below, so above."

For some 20th century texts in this neighbourhood: The Three Initiates' primer on occult studies The Kybalion, Dion Fortune's Mystical Qabalah, and the classic Qabalistic reference: Liber 777 by Crowley (or its updated, more legible version, Liber 776 1/2 by Eshelman). The works of Israel Regardie such as The One Year Manual or The Middle Pillar are also good for grounding occult studies in more psychological or psychotherapeutic language which is a good moderating influence when experimenting with pretty out-there material.

Be careful with the meaning of words in this field.

ryandv··on Occult books digitized and put online by Amsterdam’s Ritman Library
It is sometimes said that Isaac Newton, godfather of modern science, was not the first scientist but rather the last magician. The majority of his scholarly output was in fact focused on alchemy and the occult.

Aleister Crowley somewhat echoes this juxtaposition in the motto of his magickal journal, The Equinox: "The Method of Science, the Aim of Religion."

ryandv··on What are the real numbers, really? (2024)
> several of the definitions in the link feel constructivist, i.e. they describe constructions of of real numbers.

If you are a constructivist, then you will supply direct proofs for your results as you reject indirect proof, proof by contradiction, law of excluded middle, and things of this nature.

The converse does not necessarily hold. Providing a direct construction of an object satisfying the field and completeness axioms (e.g. the Dedekind construction) does not necessarily mean that one is a constructivist. Indeed, one can use the Dedekind construction and still go on to prove many more results on top of it that still do rely on indirect proof and reductio ad absurdum.

ryandv··on GitHub was having issues
This is because the dream of true P2P decentralization died with NAT and IPv4 exhaustion.
ryandv··on GitHub was having issues
Funny, because just yesterday I was downvoted for pointing out (among other things) GitHub's less than stellar reliability these past few years.

When are the AI vibe coders going to create a GitHub replacement? With 1000x AI productivity a lean startup should easily outcompete the incumbents, no?

ryandv··on Auf Wiedersehen, GitHub
> I honestly have no idea what you're talking about with gamification and social media. The only gamification I can think of is the commit graph which has been a thing for at least a decade.

There was a time before "achievements" or badges and NARCISSISM.MD files on your profile page.

The UI has clearly regressed in terms of performance and responsiveness over the years, when GitHub insisted on making the code viewer a pseudo-IDE. There was even an article making this observation here on HN just last week [0].

Do you seriously feel that GitHub of 2025 has had less outages and more stability than GitHub of 2015?

[0] https://news.ycombinator.com/item?id=44799861

← PreviousPage 4 of 15Next →