Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abrudz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
abrudz
7mo ago
I don't think I did anything special. I just uninstalled "Notepad", and that revealed the good old Notepad.
2.
▲
by
abrudz
8mo ago
Yes, it can also a fork where A is an array while B and C are function and a tacit atop where either B is a monadic operator and A its array or function operand or A is a function and C is a monadic operator with B being its array or functi
3.
▲
by
abrudz
8mo ago
I'll be happy to give you a live personalised intro in https://apl.chat or head over to https://challenge.dyalog.com/ for an automated guided introduction (with a chance of winning a prize).
4.
▲
by
abrudz
1y ago
⍨
5.
▲
by
abrudz
2y ago
https://apl.quest might be of interest.
6.
▲
by
abrudz
2y ago
Also (mind the year this is from!): — Can you teach a computer to write poetry? — If you can teach it--yes, there's nothing easier. One of the things is that you could do, for example, you could simply give it a collection of poems or
7.
▲
by
abrudz
2y ago
Try it online at https://blazorcanvas20210704221924.azurewebsites.net/mcmpoc
8.
▲
by
abrudz
2y ago
Think "normal" call syntax like foo(bar(baz(42))) and then remove the superfluous parens foo bar baz 42 The expression is evaluated from right to left. Now, let's make two of the functions into object members:
9.
▲
by
abrudz
2y ago
See https://github.com/Isaac-Flath/anki and https://github.com/aeamaea/APL_Anki_Decks
10.
▲
by
abrudz
2y ago
APL brings another couple of ternaries (besides for those mentioned with regards to J): x f[k] y This one is universal among traditional APLs (though some modern APLs, including J, remove it). However, it is traditionally only used f
11.
▲
by
abrudz
2y ago
Correct. Now try parsing `x (f1 f2 f3 f4 f5 f6) y`!
12.
▲
by
abrudz
2y ago
It was about APL that Alan J. Perlis said "A language that doesn't affect the way you think about programming, is not worth knowing." (number 19 of https://cpsc.yale.edu/epigrams-programming )
13.
▲
by
abrudz
2y ago
Have you looked at dfns ( https://en.wikipedia.org/wiki/Direct_function )? They allow you something very similar. Compare Dijkstra's GCL: if a < b → c := true □ a ≥ b → c := false fi To an APL dfn wit
14.
▲
by
abrudz
2y ago
I wrote a program to launch and kill tight loop threads such that Windows Task Manager's performance graph would spell out text (though of course with spaces below lines in letters filled out).
15.
▲
by
abrudz
2y ago
No, it appears on page 210 (logical page 220).
16.
▲
by
abrudz
2y ago
It is indeed Dyalog APL (evident by certain features used, and also what Co-dfns requires). And yes, I agree, especially since this uses the ".apl" file extension of GNU APL, rather than the ".apls" that Dyalog uses for
17.
▲
by
abrudz
2y ago
Yes, https://apl.wiki/Co-dfns
18.
▲
by
abrudz
2y ago
The paper's author speaks up in some episodes of the APL Campfire ( https://apl.wiki/APL_Campfire ): - https://www.youtube.com/watch?v=w1VMeSzJLyE&list=PLYKQVqyrAE... - https://www.youtube
19.
▲
by
abrudz
3y ago
That's actually a historical quirk, because modern keyboards have = where old APL keyboards had × and - where old APL keyboards had +. You'd press Shift+ for - and Shift× for ÷ meaning that Shift gives the inverse function. Simila
20.
▲
by
abrudz
3y ago
Dyalog APL's RIDE interface doesn't even need you to find the symbol on a language bar; just hover the mouse over it, and a tooltip appears: https://i.imgur.com/XtzRGUs.png
21.
▲
by
abrudz
3y ago
That's a very good point, but it requires a lot of code: <form id=theme> <label for=theme-l>light</label><input id=theme-l type=radio name=theme value=l> <input id=theme-d type=radio name=the
22.
▲
by
abrudz
3y ago
Please don't support making switches be an alternative to checkboxes, since it isn't clear what the current state means. I do like the idea of switches, but they should only be used to select one of two labelled choices but usua
23.
▲
by
abrudz
3y ago
But to me as a relatively experienced APLer, it reads very clearly as "return if there are no non-ASCII chars in `w`" (and if there are, the indices of those chars will be stored in `i` and the code point of every char will be sto
24.
▲
by
abrudz
3y ago
J is quite stable. In a set of simple examples, everything would be backwards compatible.
25.
▲
by
abrudz
3y ago
Seems a bit strange to put spaces around (some!) J primitives, but not around K primtives.
26.
▲
by
abrudz
3y ago
No, it stems from North American use of ÷ for division, which is then ASCIIfied to %.
27.
▲
by
abrudz
3y ago
The original array lang is APL: dot←+.× but why give it a name when spelling it out is as short as the shortest reasonable name for it (and then you might need to put spaces around the name).
28.
▲
by
abrudz
3y ago
That's not Eratosthene's sieve, but rather a naive O(n²) algorithm, implementing "a prime never occurs in the multiplication table".
29.
▲
by
abrudz
3y ago
Try that experience at https://tryapl.org Enter 1+2 where the cursor is below the copyright notice. Now click or use arrow keys to navigate up and change the 2 to a 4 and hit Enter again.
30.
▲
by
abrudz
3y ago
https://blog.vero.site/post/noulith seems to be familiar with both APL and J, and draw some inspiration from them…
More ›