« first day (3899 days earlier)      last day (1052 days later) » 

2:00 PM
@hyper-neutrino Result looks like 2 2⍴''
 
okay
what if there are mixed spaces and tabs?
 
⎕←⎕JSON'"a\nbc"'
 
@Adám
a
 bc
 
Grr.
⎕←⎕JSON'"a\rbc"'
 
@Adám
a
bc
 
2:02 PM
@hyper-neutrino Still true that it looks like that, no? (Except, maybe tabs would be wider, hm…)
 
i mean, if I can assume tabs are four spaces, i can just preprocess it, but idk if i can make that assumption
 
⎕←'a',⎕UCS 9
 
⎕←'aaa',⎕UCS 9
 
2:03 PM
ah...
right
 
I don't know if I'd worry about this. It is just a chat bot.
 
fair enough
⎕←'\t'
 
@hyper-neutrino \t
 
oh
yeah if output is totally blank i'll just pretend all whitespace is space
 
APL character vectors are dead simple
The only special char is ' which must be doubled.
@hyper-neutrino And also pretend all lines have equal length.
 
2:05 PM
right
alright, output format has been reworked
⎕←⎕←'hello'
i forgot to log in
⎕←⎕←'hello'
 
@hyper-neutrino unexpected bot error running this code; if this persists, please contact a developer
 
i am smart
⎕←⎕←'hello'
 
@hyper-neutrino    NOT PERMITTED: Illegal token
      ⎕←⎕←'hello'
     ^
@ExperimentalAPLBot hello
 
...
⎕←'hello'
 
@hyper-neutrino hello
 
2:06 PM
⎕←⎕←'hello'
 
@hyper-neutrino hello
 
It is still stripping ⎕←?
⎕←a←⍳3 ⋄ +/a
 
@Adám    1 2 3
6
 
Wait, what?
 
2:07 PM
uh
mb
⎕←⎕←'hello'
 
@hyper-neutrino
NOT PERMITTED: Illegal token
      ⎕←⎕←'hello'
     ^
@ExperimentalAPLBot hello
 
weird
 
No, this is correct.
 
wait, really?
also ⎕← is not getting stripped anymore
neither is diamond technically but that doesn't really matter afaict
 
For TryAPL, ⎕← is not allowed in general, but we make an exception at the beginning of an expression.
 
2:10 PM
ah
well i'm getting captcha'd but i'll start it up asap
 
The reason is that ⎕← sends to stdout on the server, while we need to capture the result.
 
oh i see
 
@hyper-neutrino By who?
 
SE
the bot can't log in (this is normal)
 
Oh.
 
2:11 PM
⎕←3 3⍴' '
 
@hyper-neutrino 3 3⍴' '
 
Wat.
⎕←3 3⍴
 
@Adám
SYNTAX ERROR
      ⎕←3 3⍴
          ∧
@Experimental APL Bot
SYNTAX ERROR: Missing right argument
      3 3⍴
         ∧
 
yeah i need to make the bot ignore itself
 
2:11 PM
Uh oh.
 
before i get infinite loops
 
Also, it seems the bot fails to remove spaces in user names?
 
yep forgot about that
test
⎕←'test'
 
@hyper-neutrino test
 
⎕←'⎕←''hello'''
 
2:14 PM
@hyper-neutrino ⎕←'hello'
 
ok
⎕←3↑' '
 
@hyper-neutrino unexpected bot error running this code; if this persists, please contact a developer
 
Ouch.
Aren't all errors unexpected?
 
good point :p
⎕←3↑' '
 
@hyper-neutrino Response consisted of 3 spaces.
 
2:16 PM
Wow.
⎕←⎕UCS 9 9 9
 
⎕←3↑⎕UCS 9
 
@Adám Response consisted of 3 tabs.
@hyper-neutrino Response consisted of 1 tab + 2 spaces.
 
⎕←⎕UCS 2 3⍴9 32
 
@Adám Response consisted of 1 tab + 1 space + 1 tab.
 
⎕←⎕UCS 2 3⍴9 32
 
2:17 PM
@Adám 2 3⍴' '
 
That's wrong.
 
⎕←100⍴⎕UCS 9 32
 
Uh oh…
 
yeah it just silently doesn't send it due to the message being too long
oops
 
⎕←10⍴⎕UCS 9 32
 
2:18 PM
⎕←100⍴⎕UCS 9 32
 
@hyper-neutrino
 
⎕←+⌿÷≢
 
@Adám
┌─┴─┐
⊢ ┌─┼─┐
  ⌿ ÷ ≢
┌─┘
+
 
⎕←100⍴⎕UCS 9 32
 
2:20 PM
@hyper-neutrino Response consisted of 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space.
 
⎕←1000⍴⎕UCS 9 32
 
@hyper-neutrino Response consisted of 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space + 1 tab + 1 space.
 
oh no
⎕←10000⍴⎕UCS 9 32
 
@hyper-neutrino
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	
 
lol
⎕←1000⍴⎕UCS 9 32
 
2:23 PM
⎕←1000⍴⎕UCS 9 32
 
Maybe summarise?
 
@hyper-neutrino Response consisted of 1000 various whitespace characters.
 
is this alright?
 
various
 
2:24 PM
Also, I'd say "Result looks like"
 
"Result looks like X whitespace characters" if it's too long and "Response consisted of X tabs + Y spaces + ..." otherwise?
 
Or maybe just universally: "Result looks like a 2-by-5 matrix of whitespace characters"
 
that works too
(# lines)-by-(longest line length) ?
 
Yeah, even if there's only one line.
 
alright
 
2:30 PM
'cause a single line looks like a 1-by-n matrix.
 
⎕←1000⍴⎕UCS 9 32
 
@hyper-neutrino Response looks like a 1-by-1000 matrix of whitespace characters.
 
⎕←3 50⍴⎕UCS 9 32
 
@hyper-neutrino Response looks like a 3-by-50 matrix of whitespace characters.
 
⎕←⎕UCS 9 32 10 9
 
2:35 PM
@hyper-neutrino Response looks like a 2-by-3 matrix of whitespace characters.
 
Looks fine to me. I'll look into changing TryAPL to handle newlines better.
 
oh, okay. cool :)
 
Currently, it understands 10 as LineFeed, i.e. roll paper up (or the carriage down) but don't return the carriage to the left margin (CarriageReturn).
I'll change it to understand 10 as NewLine (i.e. CRLF).
 
oh that explains
lol
⎕←'hello'
 
2:41 PM
@hyper-neutrino hello
 
idk why i didn't get the bookmarklet language bar til now
it's very nice
⎕←3 3⍴ ⍳ 9
 
@hyper-neutrino
1 2 3
4 5 6
7 8 9
 
⎕←2 3⍴⎕UCS 0
 
Huh.
 
2:43 PM
⎕←3 3⍴⍉⍳9
 
@hyper-neutrino
1 2 3
4 5 6
7 8 9
 
oh
i'm dumb
⎕←⍉3 3⍴⍳9
 
@hyper-neutrino
1 4 7
2 5 8
3 6 9
 
⎕←({⊂⍵}⌺2 2)3 3⍴⍳ 9
 
@hyper-neutrino
┌───┬───┐
│1 2│2 3│
│4 5│5 6│
├───┼───┤
│4 5│5 6│
│7 8│8 9│
└───┴───┘
 
2:51 PM
nice
aw, the apl bar doesn't work when i paste it into my discord client console
... or on the website. hm. discord's probably doing something weird here
 
@hyper-neutrino The input area isn't an <input> or <textarea>
 
oh. lol
 
3:18 PM
⎕←'test'
⎕←'test2'
 
3:37 PM
⎕←42
@hyper-neutrino Is bot down?
 
yes, I did a very intelligent thing called uh
wait for captcha to resolve and then forget to start up the bot altogether
⎕←42
 
@hyper-neutrino 42
 
⎕←43⍴''
 
@Adám Response looks like a 1-by-43 matrix of whitespace characters.
 
⎕←0 0⍴0
 
3:40 PM
@Adám Response is empty.
 
@hyper-neutrino ^ looks like a 0-by-0 matrix.
 
oh, sure that makes more sense
 
⋄ 5 0⍴42
 
@Adám Response consists of 5 empty lines
 
Looks like a 5-by-0 matrix
 
3:42 PM
⎕←0 0⍴0
 
@hyper-neutrino Response looks like a 0-by-0 matrix.
 
*sigh* ctrl-alt-R opens NVIDIA's performance delay
that's annoying
 
⎕←0 5⍴''
 
@Adám Response looks like a 0-by-0 matrix.
 
hehe.
⎕←5 0⍴⊂''
 
3:43 PM
@Adám Response consists of 11 empty lines
 
@Adám is there any way for me to distinguish that :p
 
No, they really do look the same.
 
ah. :c
i mean, fair enough, a 0xN matrix isn't really any different no matter N
⎕←5 0⍴1
 
@hyper-neutrino Response looks like a 5-by-0 matrix.
 
⋄⎕JSON⍠'HighRank' 'Split'⍕0 5⍴'' vs ⋄⎕JSON⍠'HighRank' 'Split'⍕0 0⍴''
 
3:44 PM
@Adám
DOMAIN ERROR: JSON import: unexpected end of input
       ⎕JSON⍠'HighRank' 'Split'⍕0 5⍴'' ⋄ ⋄ ⎕JSON⍠'HighRank' 'Split'⍕0 0⍴''
      ∧
 
⋄0⎕JSON⍠'HighRank' 'Split'⍕0 5⍴'' vs ⋄0⎕JSON⍠'HighRank' 'Split'⍕0 0⍴''
 
@Adám
DOMAIN ERROR: JSON import: unexpected end of input
       0 ⎕JSON⍠'HighRank' 'Split'⍕0 5⍴'' ⋄ ⋄ 0 ⎕JSON⍠'HighRank' 'Split'⍕0 0⍴''
        ∧
 
D'oh.
⋄1⎕JSON⍠'HighRank' 'Split'⍕0 5⍴'' vs ⋄1⎕JSON⍠'HighRank' 'Split'⍕0 0⍴''
 
@Adám
[]
[]
 
@hyper-neutrino See, they really do look the same ^
 
3:46 PM
oh okay :p
 
4:39 PM
⎕← test hello
⎕← and then and then ⎕←a←3 and finally ⋄ ⍳ a
 
⎕←42
⎕←43
 
⎕← and then and then ⎕←a←3 and finally ⋄ ⍳ a
 
@Adám 43
@hyper-neutrino
3
1 2 3
 
Why didn't the bot react to my req. for 42?
 
4:41 PM
was rebooting :p
 
⎕←42
 
OK.
⎕←'`⎕←`'
 
@Adám `⎕←`
 
Nice.
 
4:41 PM
figuring out markdown was harder than the rest of the bot logic
thank you SE, very cool
 
⎕← 21
⎕←⍳3
 
Nothing to see here, move along.
 
oh i see what you're doing
thought smth was broken :P
 
I wanted to check that nothing was.
 
4:44 PM
lol
 
Ooh, new idea.
 
i want to make this in discord but i don't think ``` can be escaped within a multiline code block :(
 
⋄ a←3 ⍝ let a be three and then ⎕←a ⍝ print a
 
@Adám Response looks like a 0-by-0 matrix.
 
hmm
should i just find ⍝ and remove everything after it per sub-statement myself?
 
4:47 PM
Yes.
 
in what situations will a ⍝ not lead to a comment?
⎕←'hello ⍝ world'
 
@hyper-neutrino hello ⍝ world
 
@hyper-neutrino Only inside a string, and luckily, APL strings are so easy to parse.
⎕←⎕DL 9 ⍝ take your time
When will it answer?
 
@Adám 9.077158
 
There you go.
 
4:49 PM
okay so from my understanding. if not in a string, ' starts a string. if in a string, if ' is seen, check for '' - if so, remove both, if not, end the string?
 
Yes. Or simply, to remove all strings, remove all '[^']*'
 
oh right, i can just toggle string mode every time i see a '
since i don't need to actually parse the strings i just need to find ⍝ that isn't in a string
⎕←42
 
@hyper-neutrino Response looks like a 0-by-0 matrix.
 
?
oh i'm dumb
⎕←42
 
@hyper-neutrino 42
 
4:53 PM
⋄ a←3 ⍝ Let a be three and then ⎕←a ⍝ print a
 
@hyper-neutrino 3
 
⎕←'hello ⍝ world'
 
@hyper-neutrino hello ⍝ world
 
⎕←'hi''⍝''world'⍝'bye''⍝''world'
 
@hyper-neutrino hi'⍝'world
 
4:53 PM
yay
 
⎕←'__ja__Mmm DD (Ddd) ppt:mm'(1200⌶)1 ⎕DT'J' ⍝ now
 
@Adám
┌────────────────┐
│6月 23 (水) 午後4:55│
└────────────────┘
 
oops.
 
⎕←⊃'__ja__MmmDD (Ddd) ppt:mm'(1200⌶)1 ⎕DT'J' ⍝ now
 
4:56 PM
@Adám 6月23 (水) 午後4:56
 
That's nicer.
 
(what does the 水 mean o.O)
 
@hyper-neutrino It is running on a server that uses UTC.
 
i figured - just thought the spacing was broken
but that is...
unfortunately unavoidable pretty much :c
 
Yeah.
@hyper-neutrino Wed(nesday), no?
 
4:58 PM
oh right... i forgot about that :P
i forgot how weekdays were named
 
So it looks right?
 
yep - 6 month 23 (water / wednesday), afternoon 4:56 :)
 

« first day (3899 days earlier)      last day (1052 days later) »