Cursed line of Kotlin code
@loke
Why the fourth stack trace?
re: Cursed line of Kotlin code
@loke
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
WTF is this non-ASCII programming language ![]()
re: Cursed line of Kotlin code
@mur2501 Don't you like the advent of code solutions?
For day 1:
{⌈/ (+/⍎¨)¨ ⍵ ⊂⍨ (⍬≢)¨⍵} io:read "part01.txt"
re: Cursed line of Kotlin code
@mur2501 Do you want me to help you learn it? It's quite nice to use as an interactive tool when you'd otherwise have to open an editor and write a large program to solve some problem.
re: Cursed line of Kotlin code
@loke
yeah looks interesting, though my first question is how the hell to type so many non-ascii characters on an English keyboard?
re: Cursed line of Kotlin code
@mur2501 That's easy. The GUI implements support for it. And the web version uses backquote as a prefix, so backqoute-i will result in ⍳ for example.
re: Cursed line of Kotlin code
@mur2501 And here is the fix that was implemented thanks to this debugging. https://codeberg.org/loke/array/commit/ddb1c7f1467d0e489c654584e69c59879c4e863c