Hacker Timesnew | past | comments | ask | show | jobs | submit | moritz's commentslogin

In the Elixir ecosystem (where documentation is considered a "first-class citizen" in the language), you can run code examples as part of your test suite in a similar fashion ("doctest"): https://elixir-recipes.github.io/testing/doctests/


> documentation is considered a "first-class citizen"

How exquisitely Knuthian!



That’s all in the article. The author goes into the confusion that it had the Apple logo on it.

Win was conceived as a modifier reserved for the OS (not to be used by applications), while command never was. Command is for commands. If you come to the Mac from Win or Linux it often helps to think of command as what ctrl does on those systems. Ctrl on the Mac started as Terminal-Emulator specific modifier— Which to this day is great, because your universal copy shortcut (cmd-c) and interrupt (ctrl-c) are different things.

Indeed one would map win to command, but only because you need another key for a modifier that‘s not ctrl or opt/alt, conceptually they are different


> Ctrl on the Mac started as Terminal-Emulator specific modifier

It did, but when starting history with the first Mac, it started as being absent. The Mac initially had shift, command, and option modifiers.

Apple introduced control keys (separate left and right ones) because companies writing terminal emulators needed it.


> Apple introduced control keys (separate left and right ones) because companies writing terminal emulators needed it.

I'm not sure that's the correct reason.

The Apple II/III had the control key from the start. The Mac keyboard originally did not have control (nor escape.) When Apple introduced the external Apple Desktop Bus keyboard designed to be used with both the Apple IIgs and the Mac, it needed the full complement of keys to be used with both systems.

https://en.wikipedia.org/wiki/Apple_keyboards#Discontinued_k...


https://arxiv.org/abs/2508.09101

In this benchmark, models can correctly solve Rust problems 61% on first pass — A far cry from other languages such as C# (88%) or Elixir (a “buggy dynamic language”) where they perform best (97%).

I wonder why that is, it’s quite surprising. Obviously details of their benchmark design matter, but this study doesn’t support your claims.


This is great, but aug 2025 is almost a lifetime ago with how fast these models are improving. Opus 4.5 came out November 2025 fwiw


C.f., from 25d ago:

“Why Elixir is the best language for AI” https://qht.co/item?id=46900241

- for comparison of the arguments made

- features a bit more actual data than “intuitions” compared to OP

- interesting to think about in an agent context specifically is runtime introspection afforded by the BEAM (which, out of how it developed, has always been very important in that world) - the blog post has a few notes on that as well


There’s also a “why clojure is the best langage for Ai” floating around (and it specifically dumps on go): https://felixbarbalet.com/simple-made-inevitable-the-economi...


For convenience, a link to the original paper ("AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators"):

https://autocodebench.github.io/#:~:text=Experimental%20Resu...

Go as a language for LLM generation actually trails a lot of other languages, at least according to this research...


Apple already flipped the switch in December with 18.7.3, if your phone is capable running 26, you will not get offered 18.x updates anymore


Oh, I didn't realize this. I guess I'm screwed!! I'm stuck on 18.7.2...


As an update, I gave in and installed 26.2. I've turned on "reduce transparency" and it's not that bad so far.


As the great Joe Armstrong used to say, “a lot of systems actually break the laws of physics”[1] — don’t program against the laws of physics.

> In distributed systems there is no real shared state (imagine one machine in the USA another in Sweden) where is the shared state? In the middle of the Atlantic? - shared state breaks laws of physics. State changes are propagated at the speed of light - we always know how things were at a remote site not how they are now. What we know is what they last told us. If you make a software abstraction that ignores this fact you’ll be in trouble.[2]

[1]: “The Mess We’re In”, 2014 https://www.youtube.com/watch?v=lKXe3HUG2l4

[2]: https://qht.co/item?id=19708900


It’s astonishing to me that even so many long-term Apple observers don’t see this, even though they are sorta obvious about it. “Now that the hardware is so close, the systems converge, etc., there is really no reason iPad will not eventually run macOS” – No, macOS will continue to be dumbed and locked down (“security!!11”) until the point where the Macs can be safely switched over from the terribly open legacy OS.


dou you happen to have the source code open somewhere? i was just looking into webdav via elixir


It's just a single file really, it's super rough I should get around to cleaning it up sometime. Only supports reading.

https://pastebin.com/nUVm9tnf


  mix phx.gen.html Accounts User users name:string email:string


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: