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 How an MIT research project became the Julia programming language
Julia is my go-to when I need a fast language that I can reason about in a functional way. The type system is fine, the pattern matching is pretty darn good, the metaprogramming story could be significantly better but it’s not bad and boy howdy it’s fast. So stinking fast.
ashton314··on Two Ends of Programming
The article is about “end” as in “purpose” not as in “conclusion”.
ashton314··on Run macOS Software on Linux
Glyphs is like the only game in town for font editing. I’m an Omnigraffle enjoyer too.
ashton314··on Debian votes to allow "responsible use of generative AI"
What are you trying to do to halt that atrophy, then?
ashton314··on Nebula Sans
Only works on desktop regrettably
ashton314··on Nebula Sans
Erik Spiekermann is a genius. He made Fira Sans to be a total antithesis to Helvetica. Now, I like Helvetica, but I also love the pure character of Fira Sans and it’s my go-to sans serif.

Here’s a better link for Fira Sans: https://carrois.com/fira/

Also, if you have Fira Sans installed on your computer, you can use it in Slack with `/slackfont Fira Sans’

ashton314··on Slack Code
Someone please wake me up from this fever dream
ashton314··on Ask HN: Alternatives to GitHub
Forgejo is splendid. Codeberg is a hosted instance; depending on what you’re developing it may or may not be a good fit for you. But the Forgejo stack itself is decently light-weight to self-host, very fast to use, and is easy to navigate.
ashton314··on Reticulum – Decentralized Mesh Network
Yes it is.

With the Artificial Inanity systems and the Rampant Orphan Botnet Ecologies (ROBE) beginning to spew tremendous amounts of crap (a technical term) onto the Ret, things are getting tricky for us ITA.

ashton314··on The case for overhauling American science
The transition from leadership to management has marked the decay of many a civilization or organization.

We need subject experts, not McKinsey consultants.

ashton314··on Gödel, Escher, Elisp: The Beauty of Macros
Another approach, using macro expansion to perform the type checking: https://docs.racket-lang.org/turnstile/

Turnstile relies on the fact that in Racket, you can have identifier macros [1] which can be expanded in pretty much any location (except binding, naturally). Racket is unique in this regard. Clojure has a mechanism to get roughly the same thing, but it's complicated. [2]

1: https://docs.racket-lang.org/guide/pattern-macros.html#%28pa...

2: https://lambdaland.org/files/2024_ecoop_type_tailoring.pdf

ashton314··on Tracking down the 16-year-old WAL-reset SQLite bug
> exhaustively cover a search space

This is the gotcha: in stateful environments you'll have state-space explosion so big you'll have to come up with some compromising measure of "equivalent". You're right that that would constitute a proof by exhaustion of correctness. Unfortunately in practice it's entirely impractical.

ashton314··on Towards Bottom-Up Enumeration in miniKanren via Pruning and Memoization
You're right—I did mean microKanren. Thanks for the correction.
ashton314··on Choral: Choreographic Programming for Java
Hey Dan, nice to run into you on the internet. How are you? :)

For those curious, there are a lot of neat ways to implement choreographic programming! Choral uses a custom compiler which gives it very powerful analysis techniques. Some are libraries and have to rely more strongly on host language features to work. My library uses macros to embed the language directly into Elixir which gets you a bit of the advantages of both: https://github.com/utahplt/chorex

ashton314··on I made tinnitus my friend, then it disappeared [video]
If you do not already use MyNoise to help you focus at work, then, like, what are you even doing? Sometimes I'll listen to music of various kinds if my work isn't too deep, but whenever I need to concentrate deeply on a problem, MyNoise will have the perfect noise blocker. Go explore the site. It's a lovely little corner of the "classic" internet: no ads, no shenanigans, just this one dude making a technical masterpiece that you can enjoy.
ashton314··on Writing with AI Is Stupid
You'll like Brandon Sanderson's keynote talk: https://www.brandonsanderson.com/blogs/blog/ai-art-brandon-s...

Quote:

You might say, “Well, if AI gets good enough and the product is the same, what’s the difference?” The difference is that the books aren’t the product. They aren’t the art--not completely. And this is the point. The most important thing to understand is that the process of creating art makes art of you.

My friends, let me repeat that. The book, the painting, the film script is not the only art. It’s important, but in a way it’s a receipt. It’s a diploma. The book you write, the painting you create, the music you compose is important and artistic, but it’s also a mark of proof that you have done the work to learn.

Because in the end of it all, you are the art.

ashton314··on 99% of My Website Traffic Is Bots
I'm on a $4/mo droplet on Digital Ocean and my static site has been just fine. I'm using Caddy and it seems to handle the load like a champ. My site is very lightweight though, so ymmv.
ashton314··on Towards Bottom-Up Enumeration in miniKanren via Pruning and Memoization
Ooo I love anything miniKanren related.

I did a close reading of the implementation in the original miniKanren paper; you can see my write-up and implementation here: https://codeberg.org/ashton314/microKanren

miniKanren paper: http://webyrd.net/scheme-2013/papers/HemannMuKanren2013.pdf

Also relevant—a practical use-case for miniKanren: https://aphyr.com/posts/354-unifying-the-technical-interview

ashton314··on Branchless Rust: Making a Filter 4x Faster by Removing an If
Nice! I saw the code and thought, I bet there’s a way to do some SIMD here… never touched intrinsics in Rust before so I really appreciate you writing it up!
ashton314··on Codeberg Bans Cryptocurrency Projects
I have an account and I donate regularly. I was not made aware a vote was happening.
ashton314··on Everyone should know SIMD
In the article, Mitchel mentions how this doesn’t always work. In fact, as someone who’s worked in compiler development, I can say it’s a small miracle when it does work.
ashton314··on How an AI Anime Is Created
More tasteless business bros completely missing the point of art. Fitting that they centered the text on this page.
ashton314··on Elixir-lang.org has a new design
A few years ago, I was working on an interpreter implemented in elixir for a domain specific language. It was a pretty basic metacircular interpreter. It relied heavily on function signature dispatch. When I tried breaking up the massive “interpret” function across modules, performance tanked. I got it all back by using some macro shenanigans, but understandably the team did not like this.

Knowing what I know now, I would’ve tried to push for a threaded interpreter to get rid of the runtime overhead of dispatching altogether. I don’t know if they’ve changed the architecture of that module much since I left :-)

ashton314··on Superoptimizer – A Look at the Smallest Program (1987) [pdf]
A (relatively) new way to create a super optimizer is to use an egraph: https://egraphs-good.github.io/

These are nifty data structures that can quickly search the space of equivalent programs.

ashton314··on Under federal rule, colleges must leave grads better off or lose financial aid
> "You can't complain about being require to take a 100-level history course because our job is to turn out renaissance scholars who can debate philosophy at cocktail parties before going to work doing something that has absolutely nothing to do with that."

> All the while, those additional credit hours cost students a shitload of money and debt and take focus away from their actual fields of study.

This is a straw-man. The purpose is not to turn people into renaissance scholars. It's to inculcate appreciation for what makes life worth living. An educated populace is also a requirement for a healthy democracy. Everyone ought to know some history at a minimum.

ashton314··on Under federal rule, colleges must leave grads better off or lose financial aid
This is not great. The purpose of higher education is not to get you a job. That's certainly a nice side-effect and I hope that all my students will be able to support themselves through good employment. The university is there to educate you, not train you. It's to turn you into a better thinker, a better person, and someone more capable of living well.

Making art and humanities programs demonstrate some kind of pecuniary benefit is disgusting and myopic. My wife pursued English because she loves writing. She's earned about 0 dollars from that degree because she's home with our kids. And that's OK! Our lives are so much richer because of her degree—as well as the classes I took from the English department. So we should penalize the humanities because it merely makes people better thinkers and doesn't have as high of an ROI as an MBA? Yuck!

(EDIT: the article does mention that this bar is low—so not too bad—but the fact that this is a metric and criteria in the first place opens this up to abuse in the near future.)

I get that it's intended to cut down on ballooning tuition and fees, but *this is not the right way to do that.* (Actually, if we eliminated half the administration, I wonder how much we could cut costs…)

ashton314··on Interview with Mitchell Hashimoto about Ghostty and Zig
I’m rather partial to Plankalkül actually
ashton314··on My favorite keyboards
I'm in Emacs 99% of my day, and I don't think I've ever used the function keys inside Emacs.

All my volume/brightness/etc functions are handled on a separate layer. I've got function keys on another layer as well, but I don't ever use them.

If you use function keys a lot, then you could do something like putting the function keys on one layer all on the right hand like it's a num pad and then adding a key on the left hand to switch to that layer. You could add combo-taps on your main layer to trigger the function key (e.g. press `q` and `1` at the same time to hit `f1`, `w` and `2` at the same time to send `f2`, etc.), etc. etc.

QMK gives you a lot of options to do what you want. There's also 3 keys towards the center of the keyboard on each side that I rarely hit (in fact, they're used for some layer switching some times!) that you could easy bind to function keys directly.

Note that a key can do like 4 different things depending if you tap, hold, double tap, or tap and hold if you want to get really fancy.

ashton314··on My favorite keyboards
Typing this on a Moonlander right now. Love it to pieces. The tenting kit is pricey but incredibly stable and, to me, is worth every penny. I've gotten used to the ortholinear so much so that I hate other layouts now.

I've looked at some other more minimal boards and, while they look nice, I actually make good use of pretty much all my keys and I would not like going down to a smaller layout.

In my mind, the most important pieces of a good keyboard are, in this order:

1. QMK/ZMK firmware so you can add stuff like mod-taps and whatnot

2. Split & tented to avoid bad wrist angles

3. Lots of buttons for your thumb to press: it's your strongest finger so you should put it to work

4. Ortholinear layout for more natural finger movement

ZSA (the maker of the Ergodox, Moonlander, and Voyager) is a great company—I've had incredibly positive experiences with their support team whenever I've needed help. One time I was having trouble using their online configuration tool (https://layout.new) and so I emailed support. I got an email back within the hour from a developer asking for more details. After I supplied this, it was just another hour until I heard back saying that they had found a bug and that the fix was live. So awesome!!

ashton314··on RRB-Trees: Efficient Immutable Vectors (2012) [pdf]
This is Rhombus’ native data type! Such a nice data structure.
← PreviousPage 2 of 34Next →