Viewing profile — icen
icen
HN member- Joined
- Mon, Oct 26, 2015, 12:58 PM UTC
- HN karma
- 334
- Public activity
- 138 items
- HN profile
- View on Hacker News ↗
About icen
No profile information was provided.
Recent public activity
-
comment
Comment #48759934
I’m greatly enjoying my Charybdis nano: the built in trackball makes using the mouse just as convenient as the keyboard
-
comment
Comment #48140290
Numpy doesn’t quite get it. It covers the core verbs, but it opts for specialised names instead of using adverbs (you can apply your own, but it’s much more laborious). Once you se…
-
comment
Comment #48137701
There's also the much less vector oriented spelling: (1 ∾˜ " "⊸(¬∘⍷))⊸/ which removes the first space of each occurrence of double spacing
-
comment
Comment #48136116
Do you remember what it was? This is how I would spell that in BQN, and you could write something very similar in APL (you don't have shift, so you'd have to write 1 drop 0 cat swa…
-
comment
Comment #47716940
It's clear that the symbols want to have one meaning each, for monadic and dyadic use, but that might mean quite different execution and types. For example, & is monadic 'where' an…
-
comment
Comment #46762811
There’s nonguix for access to non free drivers and such. I think that system crafters have some installable images if you don’t have a current guix install to build one It’s regret…
-
comment
Comment #46718671
You might be interested in this then: https://mlajtos.mu/posts/new-kind-of-paper I’ve not used it myself, but it appears to be the thing you’re wanting?
-
comment
Comment #45747093
In helix that's %d (select-buffer, then delete). The selection-then-action design for helix is showing it's difference to vi, which is action-on-movement.
-
comment
Comment #44787583
It is BQN, a descendant language
-
comment
Comment #44396750
Yes; the CBQN interpreter has a number of specialised vectorised codepaths. It picks a good one for the arrays at runtime.
-
comment
Comment #43916123
In K the arguments are named x y z by default, so you just write: { foo[x, bar] }
-
comment
Comment #42289645
Looks like K to me!
-
comment
Comment #41890922
> I didn't understand how this connects to the first paragraph at first, but I think you're saying this playthrough is an analog to someone making such documentation, thus saving D…
-
comment
Comment #41500572
> For character-based movement, simply press 'z' to enter the column mode. I did eventually find this in the documentation, under the "regexp selections" section. I think it should…
-
comment
Comment #41092126
In this respect, probably nothing, and they probably all mean Q. Q is a different language to K, implemented in K. There are more versions of K than Q- kdb+ is the only Q implement…
-
comment
Comment #40610858
Or indeed just results*:2
-
comment
Comment #39932486
It returns it for 404 as well: https://http.cat/does/not/exist
-
comment
Comment #39614541
I don't want to do the same things for boolean operations, or arithmetic, or pointer (de-)referencing in C like languages. Why would I want to do so when equally familiar with a la…
-
comment
Comment #38493594
I'm solving in BQN, and my workflow is repeatedly re-phrasing a line until it does what I want in the repl, and then naming it, and then moving on. Most often I end up with some en…
-
comment
Comment #38487014
APL!
-
comment
Comment #38037517
Another classic use case is that you can have expressions in the types of your function, for example this won't compile: stringOrInt : (x : boolean) -> int -> (if x then String els…
-
comment
Comment #35370814
Do you have any examples that come to mind of it being slow? My experience has been that I've been the slowest part of my code, by a long way. Some optimisations aren't quite there…
-
comment
Comment #35370658
All APL versions have had variable assignments, denoted by ←, e.g. `var ← 1 2 3`. There is a concept of tacit, or point-free, programming, which avoids the variable names as parame…
-
comment
Comment #35370468
I think if you're looking at learning an array language in order to learn an array language, because of the oft-discussed change in perspective and technique, then I think BQN meet…
-
comment
Comment #33638779
You can download a copy of Dyalog for free, if availability is the issue. If it's licensing/a desire to use open-source software, perhaps taking a look at its close relatives of J,…