Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrispsn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
chrispsn
2y ago
Click on k, then k.zip.
2.
▲
Arthur Whitney releases an open-source subset of K with MIT license
(shakti.com)
294 points
by
chrispsn
2y ago
|
227 comments
3.
▲
by
chrispsn
2y ago
Adding to RodgerTheGreat's comment: for me, k's power is its rich set of adverbs that are convenient to write. Notice that aside from reverse (monadic |), all verb symbols in the above code are in most other languages (max as |, m
4.
▲
by
chrispsn
3y ago
Glad to hear it’s memorable!
5.
▲
K: Default Dicts?
(gist.github.com)
2 points
by
chrispsn
3y ago
|
0 comments
6.
▲
by
chrispsn
3y ago
Everything I've found that's public is documented here: https://gist.github.com/chrispsn/da00835bb122c42f429a084df83... The kparc.com links are down though.
7.
▲
Show HN: REPL.club – client-side interpreters in the browser
(repl.club)
2 points
by
chrispsn
3y ago
|
0 comments
8.
▲
K: Default Dicts?
(gist.github.com)
2 points
by
chrispsn
3y ago
|
0 comments
9.
▲
by
chrispsn
3y ago
https://secwang.github.io/ngnkcart/
10.
▲
by
chrispsn
3y ago
I think we need some kind of grouping function, but it doesn't have to be the 'generate group indices' function. I'm sure we'll have alternatives available such as `update ... by`.
11.
▲
by
chrispsn
3y ago
In the Wordle dict example, it would have helped if a type system could tell me I was wrong when I assumed that an indexing miss would generate an empty list.
12.
▲
by
chrispsn
3y ago
Yep - added a link to some simple examples in the article (below). Throughout the article there are also a few links to executable versions of the code examples. https://ngn.codeberg.page/k/#eJxdjssKwjAQRffzFddVFyLFoiiF
13.
▲
by
chrispsn
3y ago
Good point - added a simple explanation in the article: Group tells you the places each element occurs in a list. It generates lists of indices.
14.
▲
by
chrispsn
3y ago
Yep, the comments are the BQN version.
15.
▲
K: We need to talk about group
(gist.github.com)
112 points
by
chrispsn
3y ago
|
98 comments
16.
▲
by
chrispsn
3y ago
I don't think user-level definitions of custom symbols are that useful, but for what it's worth, you can do it in ngn/k... (Π):!/: / make table Π[`a `b ( 1 2 3 4)]
17.
▲
by
chrispsn
4y ago
In case you've jumped straight to the comments, here are some intro links. Many of these also appear in ngn/k's readme. First, direct links to ngn/k in the browser: - REPL: https://ngn.bitbucket.io/k/
18.
▲
by
chrispsn
5y ago
> So what would a general purpose language look like if it took these ideas to heart? K or LINQ?
19.
▲
by
chrispsn
5y ago
The APL Orchard and The K Tree. https://chat.stackexchange.com/rooms/52405/the-apl-orchard https://chat.stackexchange.com/rooms/90748/the-k-tree
20.
▲
What is a primitive?
(mlochbaum.github.io)
30 points
by
chrispsn
5y ago
|
18 comments
21.
▲
Learning APL
(xpqz.github.io)
3 points
by
chrispsn
5y ago
|
0 comments
22.
▲
by
chrispsn
5y ago
A nice shortcut is Ctrl-Shift-U to toggle single- or multi-line view.
23.
▲
by
chrispsn
5y ago
> The results of ⍸ for different rank arguments are actually inconsistent. Yep. For this reason deep where ideally wouldn't live on '&'. It should be able to absorb any structure for subsequent use with deep indexing e
24.
▲
K: War on Raze
(gist.github.com)
79 points
by
chrispsn
5y ago
|
22 comments
25.
▲
K: War on Raze
(gist.github.com)
3 points
by
chrispsn
5y ago
|
0 comments
26.
▲
BQN: Implementation of ordering functions
(mlochbaum.github.io)
6 points
by
chrispsn
5y ago
|
0 comments
27.
▲
by
chrispsn
5y ago
A mini-map is a cool idea! In Excel I often temporarily zoom out to get a big picture view of the program structure.
28.
▲
Benefits of 2D code layouts (2018)
(twitter.com)
30 points
by
chrispsn
5y ago
|
16 comments
29.
▲
The Aarne–Thompson–Uther Index
(en.wikipedia.org)
1 points
by
chrispsn
6y ago
|
0 comments
30.
▲
by
chrispsn
6y ago
You didn't mention it, so for avoidance of doubt: have you heard of k? Commercial k variants come with a columnar data store (see Kx's q/kdb+, Shakti's k9).
More ›