HNHacker News
TopNewBestAskShowJobs

ashton314

5,637 karma · joined August 30, 2017

Programming languages researcher

Codeberg: https://codeberg.org/ashton314

GitHub: https://github.com/ashton314

Blog: https://lambdaland.org

submissionscomments
ashton314··on Rhombus Language 1.0
More like the Knights who say Nil
ashton314··on Rhombus Language 1.0
)

There matched your paren for you.

ashton314··on Rhombus Language 1.0
Matthew Flatt picked “shrubbery” because it’s tree-like but not fully expanded, so it tends to be more broad/flat than deep like a tree. Hence also the term “enforrestation” when you fully expanded it.

I think the Monty Python reference is just a happy coincidence.

ashton314··on Rhombus Language 1.0
Here's the paper I wrote: https://lambdaland.org/files/2024_ecoop_type_tailoring.pdf

Lots and lots of documentation, some experimentation, and asking people. :)

ashton314··on Rhombus Language 1.0
I’ve written a little library Rhombus.

I think my favorite thing is the `…` operator. Go check it out. It’s not like the splat operator in other languages, though it does give that feel initially. It’s much more general: it works with nested data structures and can take the place of a `map` operation.

The best part of `…` is that it is not a built-in thing—it’s just a macro! The magic is that Rhombus lets you define different macros depending on whether or not the macro identifier appears in binding context (left side of `=`), expression context, or some other contexts. IIRC you can even define your own contexts too.

Rhombus takes the best-in-class macro system of Racket and somehow finds a way to improve upon it. I say this after researching and comparing detailed metaprogramming features across a dozen different languages. Rhombus is a very neat little language.

Last thing: Rhombus’ main data type, the list, is implemented with an RRB tree. RRB trees support structural sharing, functional updates, and have O(log n) iterate, insert, delete, append, and arbitrary read operations. The constant factor on that is tiny: I think it’s like log_16 or log_32. They’re designed to be very cache friendly. Super cool data structure.

ashton314··on Show HN: Make PDFs look scanned (CLI or in the browser via WASM)
This needs a flag to insert random blank pages
ashton314··on How many of the 170k English words do you know?
I think that this needs an application of Bayes Rule against the ¼ chance I guessed and got it right by luck.
ashton314··on Emacs, how it all started for me
If you find yourself wanting to try out Emacs but are (understandably) turned off by some of its archaic defaults, I encourage you to check out my Emacs Bedrock [1] project. It is not a framework like Doom Emacs or Spacemacs. Instead, it's just a bunch of better defaults, plus some example configuration for some of the most popular packages. It's meant to just be a starting point, and not a framework to keep up-to-date in the long run.

Emacs has come a long way in terms of in-built features. The only problem is that, in the name of not breaking backwards-compatibility (or something like that), the archaic defaults have remained. Just a little bit of simple config (either from Bedrock or, heck, even an LLM) will get you very far.

I'm working on a new version of Bedrock for Emacs 31. If you're using the release candidate (which, because it's Emacs, is more stable than most other operating systems) then check out the `emacs31` branch.

[1]: https://codeberg.org/ashton314/emacs-bedrock

ashton314··on Typst 0.15.0
I spoke to the couple (it’s like a single married couple + a bunch of scripts they’ve wrote) who handle the formatting for a bunch of the programming language-related conferences around the world (and others too maybe) and they are interested in Typst and are looking into it! (They’re also super nice folks.)
ashton314··on Lisp's Influence on Ruby
100% Elixir is much more a Lisp than Ruby is.
ashton314··on A jacket that harvests drinking water from the air
But are you wearing it slip-shod, like the natives do?
ashton314··on Racket v9.2
No, it’s actually the right word. I’m saying you see past syntax and get to the underlying semantics of PLs after learning Racket. (And modulo is a perfectly acceptable word to express this.)
ashton314··on Racket v9.2
Racket gets in your head like nothing else. Once you learn it, (Scheme does this too) you get x-ray vision to see every other language modulo syntax.

I have been writing Elixir professionally for the bulk of my career. (It’s been pretty awesome!) Despite this, I consider Racket to be my native language because it’s so easy for me to think in Racket. It’s the perfect bridge between my brain and the problem domain.

ashton314··on Microsoft Office 2019 and 2021 for Mac view-only conversion
All power to you!

As an aside, have you seen Typst? It’s got LaTeX-level typesetting quality but the markup syntax is a lot friendlier (close to Markdown) and the scripting language is a Real Language™ with sensible error messages and sub-second compilation times even for big documents.

ashton314··on AI subscriptions are a ticking time bomb for enterprise
Pangram flags this as 100% AI generated with high confidence.
ashton314··on Got an Old Kindle? It Might Not Work Anymore
I have a Kindle with KOReader on it and it’s awesome. I recently bought a book directly from the author (Isles of the Emberdark, Brandon Sanderson) and the author, being excellent, provided it without DRM so I had no trouble reading it.

But for less-excellent authors, where’s a good place besides Amazon to get ebooks?

ashton314··on CadQuery is an open-source Python library for building 3D CAD models
This is so cool! I'm going to have to try building this. Thanks for sharing!
ashton314··on Lean proved this program correct; then I found a bug
> reasoning about program correctness is not possible

Not possible for all problems. We cannot decide correctness (ie adherence to a specification) for all programs, but we can definitely recognize a good chunk of cases (both positive and negative) that are useful.

The Halting Problem itself is recognizable. The surprising result of Turing’s work was that we can’t decide it.

ashton314··on Kagi Product Tips – Customize Your Search Results with URL Redirects
Maybe in your corner of the world but not mine.
ashton314··on Lunar Flyby
Amaze, amaze, amaze!

Loved the Project Hail Mary quote from one of the mission controllers. :)

This bright spot in world news has been good for my mental health and general motivation. Thank you NASA!

ashton314··on Herbie: Automatically improve imprecise floating point formulas
You didn’t even look at what the tool does, did you?

> If the issue is that people write bad floating-point expressions, a code-writing tutorial would be a better solution.

Yeah you are just criticizing this without even looking at it. Shame.

ashton314··on Artemis computer running two instances of MS outlook; they can't figure out why
They're not on God's green earth anymore, now are they?
ashton314··on Artemis computer running two instances of MS outlook; they can't figure out why
The poverty mindset is that you still need to check your mail while riding around the moon. Style would be no email at all.
ashton314··on Artemis computer running two instances of MS outlook; they can't figure out why
Please imagine the luxury of being SO FAR AWAY from all the crap happening on our planet right now, only to be spoiled by some lousy marketing emails from Microslop hawking their latest Copilot incursion.
ashton314··on Fedware: Government apps that spy harder than the apps they ban
Most don’t seem to think about morals or quality at all: https://www.theatlantic.com/ideas/2026/03/introspection-andr...
ashton314··on Show HN: Veil – Dark mode PDFs without destroying images, runs in the browser
This is cool!

I use Zotero [1] to manage/read/annotate all my papers and it's got a built-in PDF inverter that works pretty well. I'll take Veil out for a spin some time and see if it works well in places where Zotero's algorithm fails.

[1]: https://zotero.org

ashton314··on Moving from GitHub to Codeberg, for lazy people
You can have private repositories. It's discouraged because Codeberg is meant for FOSS projects, but it's totally possible.
ashton314··on Kagi Translate now supports LinkedIn Speak as an output language
That song is gold.
ashton314··on Billion-Parameter Theories
The core of this little essay seems to be this:

Instead of "I understand the causal mechanism and can predict what happens if I change X," you get something more like "I have a sufficiently rich model that I can simulate what happens if I change X, with probabilistic confidence." The answers are distributions, not deterministic outputs. That's a different kind of knowing.

At the beginning this sounded like, "hard problems are complex, machine learning can help us manage complexity, therefore we will be able to solve hard problems with machine learning", which betrays a shallowness of understanding. I think what this essay argues here is a little deeper than that trite tech-bro hype meme.

But I disagree with this conclusion: I don't know that we can begin to build these models to begin with or that our new LLM/transformer-powered tools can help solve these problems. If simulation were the answer to everything, why will new ML tools make a significant difference in ways that existing simulation tools do not?

Stuff like AlphaFold is amazing—I'm not saying that better medical results won't come about from ML—but I feel like there's some substance missing and that even this level of excitement that the author expresses here needs more and better backing.

ashton314··on Rebasing in Magit
This will probably help:

    ;; Speed up magit status by removing some things
    (remove-hook 'magit-status-sections-hook 'magit-insert-tags-header)
    (remove-hook 'magit-status-sections-hook 'magit-insert-status-headers)
    (remove-hook 'magit-status-sections-hook 'magit-insert-unpushed-to-pushremote)
    (remove-hook 'magit-status-sections-hook 'magit-insert-unpulled-from-pushremote)
    (remove-hook 'magit-status-sections-hook 'magit-insert-unpulled-from-upstream)
    (remove-hook 'magit-status-sections-hook 'magit-insert-unpushed-to-upstream-or-recent)
← PreviousPage 3 of 34Next →