Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonocarroll
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
I Vibe Coded an R Package and it works??
(jcarroll.com.au)
4 points
by
jonocarroll
1y ago
|
0 comments
2.
▲
by
jonocarroll
2y ago
In Dyalog APL you can set the index origin with ⎕IO←0 (or 1) and there are many ways in which this can bite you. In Lua, and I think Fortran, you can specify the range of array indices manually.
3.
▲
by
jonocarroll
2y ago
I have not. I've done at least one problem (some many more) in each of 32 languages on Exercism so far, though. Looking at your example, there's some familiar features from the lisp and ML families.
4.
▲
by
jonocarroll
2y ago
Yep, that makes for a nicer tacit solution maxrow←(⊢⍳⌈/)+/ but I find ⊃(⍒+/) to be an even cleaner tacit solution.
5.
▲
by
jonocarroll
2y ago
I've seen the connection made here https://dev.to/bakerjd99/numpy-another-iverson-ghost-9mc though the link to the source quote is broken. In all fairness, Matlab is itself inspired by APL.
6.
▲
by
jonocarroll
2y ago
(author here, still getting over the first time I've seen one of my own posts on this site) The many recommendations for J here are a great nudge for me to give it a proper go. I've taken quite a liking to the traditional APL glyp
7.
▲
by
jonocarroll
2y ago
What's interesting there is that numpy is inspired (more than a little) by APL and aims to bring that 'array' thinking to python. I agree that thinking in this 'array' way helps to better construct a solution in any