logoalt Hacker News

losvedirtoday at 12:48 PM0 repliesview on HN

I know exactly how you feel. Looks like it was 10 (?!) years ago [0]

> Ah, APL/J/K. Time for my annual crisis of thinking everything I've ever learned about programming is wrong...

Still, though, I'm always happy when it comes up on HN for a little discussion. As I recall there were a couple people working on a new OS or something based on K, I think. I wonder whatever happened to that.

As for this particular post, I get how `x^x*/:x:2_!100` works now (it's cute!), but it seems pretty wasteful. It's generating 10,000 products to filter out of the list of 100 integers. But 99 x 99 isn't anywhere near a number in the original 2..100 list! You only need to go up to 2 x 49, 3 x 33, etc. I wonder if there's more of a "triangular" shape you could generate instead of the full table.

[0] https://x.com/losvedir/status/636034419359289344?s=20