Live data from Hacker News

The APL Source Code (2012)

computerhistory.org

11–20 of 61 posts

Re: The APL Source Code (2012)

#12

> To access this material, you must agree to the terms of the license displayed here, which permits only non-commercial use and does not give you the right to license it to third parties by posting copies elsewhere on the web. We have to agree to these kinds of terms about something that is more than half a century old and has zero commercial value. Something in the copyright system is deeply broken.

> We have to agree to these kinds of terms about something that is more than half a century old and has zero commercial value. Something in the copyright system is deeply broken.

I don't disagree.

The trouble is that, while almost everything 50 years old has almost no commercial value, a few things that old have tremendous commercial value.

My preferred solution is to have a very short automatic copyright period combined with a fee for registered works that increases exponentially based on the date of registration. Not that it really matters - I'm sure such a solution would never be enacted into law.

Re: The APL Source Code (2012)

#13
I always loved APL when I was a student around 1980, I had access to the little IBM "transportable" that supported APL and Basic, I think it was the 5100 or 5110. I remember writing a little table tennis game in APL, which was likely unreadable to me a day later.

Re: The APL Source Code (2012)

#15

I always loved APL when I was a student around 1980, I had access to the little IBM "transportable" that supported APL and Basic, I think it was the 5100 or 5110. I remember writing a little table tennis game in APL, which was likely unreadable to me a day later.

Sounds silly, but do you have the source code for your table tennis game? If not, do you remember the logic you used? Was it using Graphpak? I am curious as to how one would write a table tennis game without any conditionals.

Re: The APL Source Code (2012)

#16
I like APL (and k/j). Problem is, outside trading (and even there it's a niche), it is just not popular enough. This also because most people dismiss it as line noise / write only programming language; that's usually only people who never used it or used it briefly saying that. But it's hard to promote anything that has a reputation like that.

What is a fairly interesting observation (more people have made it, including Arthur Whitney); being able to reason about a program for which you can see all the code on one A4 without having to clickthrough into functions, search, browse through files, classes or even having to scroll is incredibly powerful. All you need is the cheatsheet (provided in your article) (which you know by heart in no time flat) and the program, which, often fits on 1 A4 or less. Modern example of that would be Aaron Hsu his 17 LoC parallel APL compiler[0] (from his thesis).

[0] https://www.bonfire.com/co-dfns-thesis-edition/

Re: The APL Source Code (2012)

#18
"ChatGPT explains Arthur Whitney’s J Incunabulum"[1] was linked in a recent comment[2].

Reading APL code, at least for a novice me, includes puzzling out "ok, now what's going on there?". Being able to highlight a bit of code, and get an explanation, as if sitting with the author, or reading annotated code, might usefully lower the barrier to reading APL?

I've seen several "here is an APLish program, and I'll go through and explain it" posts over the years, though I'm failing to find one now. If that could be somewhat automated...

[1] https://medium.com/@solarbreeze69/chatgpt-explains-arthur-wh... [2] In "J one-page interpreter fragment (1992)" https://news.ycombinator.com/item?id=34050715 , the brief comment https://news.ycombinator.com/item?id=34053932 .

Re: The APL Source Code (2012)

#19

I like APL (and k/j). Problem is, outside trading (and even there it's a niche), it is just not popular enough. This also because most people dismiss it as line noise / write only programming language; that's usually only people who never used it or used it briefly saying that. But it's hard to promote anything that has a reputation like that. What is a fairly interesting observation (more people have made it, includ…

Lots of programming isn't math or logic, its shovelling data and manipulating strings. Is APL good at that?

Re: The APL Source Code (2012)

#20

"ChatGPT explains Arthur Whitney’s J Incunabulum"[1] was linked in a recent comment[2]. Reading APL code, at least for a novice me, includes puzzling out "ok, now what's going on there?". Being able to highlight a bit of code, and get an explanation, as if sitting with the author, or reading annotated code, might usefully lower the barrier to reading APL? I've seen several "here is an APLish program, and I'll go thro…

Interesting observation. In general this would allow writing code in formats designed for writing (concise shorthand like APL), and then separately expanded to a format optimized for readers that are less familiar.
Post reply on HN