« first day (3901 days earlier)      last day (1047 days later) » 

3:12 AM
⎕←2 4⍴⍳8
 
@hyper-neutrino
1 2 3 4
5 6 7 8
 
 
4 hours later…
6:58 AM
⎕←⎕←1
 
@hyper-neutrino
NOT PERMITTED: Illegal token
      ⎕←⎕←1
     ^
 
⎕←1
 
@hyper-neutrino 1
 
⎕←⎕SRC
 
@hyper-neutrino
NOT PERMITTED: Illegal token
      ⎕←⎕SRC
     ^
 
7:27 AM
edit
 
there is really no
good reason this
shouldn't work
 
there is really no
good reason this shouldn't work
maybe should be fixed?
(haiku :D)
 
:1234567
    code
This type of message should be a code block reply. ^
 
yeah...
or like, use triple backtick like most sane things (i can see reasons against that tho but still)
 
Chat – SE's forgotten child.
 
7:30 AM
edit a third time
⎕←42
 
mod abuse
 
hm. i'll need to store which replies are attached to which messages
which shouldn't be an issue since i only need to store them for like 2 minutes anyway
 
Too bad TA didn't take off. It has really nice chat features, including code fences with syntax colouring, native real-time TIO integration (it has preview of your message, and recomputes via TIO while you're writing). Even after you post a TIO-powered message, others can "edit" (locally) your input and the output is updated (only for them).
 
@Adám if a message gets edited and the bot can no longer edit its reply, should it just post a new one or just ignore the edit?
this can only happen if a mod does the editing tho
@Adám oh wow that's really cool
TA looks like it has a lot of features but its design is kind of poor (no offense to it - it just looks underdeveloped) and unfortunately never really got the community built up :(
 
It also comes with native customisable language bar, and lets you choose from a selection of fonts.
@hyper-neutrino Yes, sad.
@hyper-neutrino I wouldn't worry about it then. But couldn't it happen if someone edits just before the time limit?
 
7:37 AM
oh, true
i guess i'll just watch edits and if there's an attached message, it'll attempt to update it, and if failed, just ignore it, and if not, add a new reply
 
Sounds sane enough.
If failed, it could respond with "Too late to edit my reply." Not critical though.
 
i mean, at that point i may as well just send the new reply :p
⎕←43
 
@hyper-neutrino 42
 
@hyper-neutrino 42
 
@hyper-neutrino But then the transcript will look confusing.
 
7:42 AM
also good point
⎕←44
 
@hyper-neutrino 42
 
@hyper-neutrino 42
 
BotOverflow.
 
the edit didn't happen :c
it's seeing the edits...
⎕←42
 
@hyper-neutrino 42
 
7:50 AM
⎕←43
 
@hyper-neutrino 42
 
@hyper-neutrino 42
 
⎕←43
 
@hyper-neutrino 42
 
@hyper-neutrino 42
 
7:52 AM
oh. i suck at coding
⎕←43
 
@hyper-neutrino 42
 
@hyper-neutrino 43
 
\o/
⎕←'bye'
 
OK, so it now detects changes to previously answered msgs, but not changed messages that now need a new answer.
 
yep. coded it wrong
⎕←43
 
7:55 AM
@hyper-neutrino 43
 
@hyper-neutrino 42
 
hello
 
@hyper-neutrino
1 2 3
4 5 6
7 8 9
 
Nothing to ⎕←'see' here.
 
7:56 AM
@Adám see
 
Woo.
 
editing to something with no output will not do anything though
 
boo
 
@Adám Response looks like a 1-by-0 matrix.
 
or rather, something that doesn't contain code
 
7:57 AM
It could delete its message ;-)
 
like editing `⎕←42` to hello will leave the 42 response, but editing it to `⎕←0⍴0` will still edit the reply to the "looks empty" thing
 
But then it can't undelete it…
 
⎕←0⍴0
 
@hyper-neutrino Response looks like a 1-by-0 matrix.
 
@hyper-neutrino 42
 
7:58 AM
@Adám yeah, that's the problem with it... idk. i could also just edit down the reply so there's still a hooked message to edit instead of needing to repost
 
"Nothing to see here."
@hyper-neutrino How hard would it be for the bot to detect messages that begin with "⎕←" or "⋄" and respond "Did you forget to put backticks around your code?"?
 
@Adám not very. should it just run it anyway or just reply with that?
also i could make it so replying "no" to that message makes it never say that to you again :p
 
@hyper-neutrino I'm not sure that's a good idea, but if you reply "yes", it could reply with the result :-D
But seriously, no, I don't think its a good thing for it to run unbackticked code.
 
oh wait, if you don't backtick it i can't scan where it ends
 
The reason is that things can get rather confusing ⎕←*\1 2 3
 
8:02 AM
@Adám 1 1 1
 
@Adám 1 1 1
 
⋄ +\*1 2 3
 
@Adám 2.718281828 10.10733793 30.19287485
 
@Adám 2.718281828 10.10733793 30.19287485
 
⋄ +*1 2 3
 
8:03 AM
right
 
@hyper-neutrino ^ is same code without backticks!
 
yep :p
⎕←'hello'
 
⎕←'hello'
 
⋄ hi
)about
 
@Adám To run APL code, write code blocks starting with ⎕← or or write a multi-line code block and prepend ⎕← or to lines you wish to run. All matching groups / lines will be joined by and run via TryAPL, and the output will be posted here. To format a codeblock, write `code`, or for a multi-line code block, use Shift+Enter to type multiple lines and press Ctrl-K, press the 'fixed font' button, or prepend four spaces to each line.
 
8:05 AM
forgot about html entities
⎕←'hello'
 
Did you forget to add backticks around your code (`code`)? You can edit your message and I will edit my reply.
 
oops forgot to make it ping
 
@neutrino-bot Very nice. I was just about to suggest the note about editing.
⎕←
⎕←42
 
@Adám Did you forget to add backticks around your code (`code`)? You can edit your message and I will edit my reply.
 
⎕←'hello'
 
8:06 AM
@hyper-neutrino hello
 
Hey, why didn't it edit for me?
 
⋄ 'tf'
 
@Adám tf
 
...???
 
8:07 AM
⎕←42
 
@Adám 42
 
OOh, when the bot says `code` it could add ⎕← or before code as per your message.
`⎕←42
@Adám Did you forget a closing backtick (`⎕←code`)?
 
⎕←42
 
@hyper-neutrino 42
 
@hyper-neutrino 42
 
8:15 AM
⎕←42
 
@hyper-neutrino 42
 
⋄ 42
 
@hyper-neutrino 42
 
Oh wow.
 
8:16 AM
How comes the bot doesn't get rate limited on edits?
 
i think it does
but i get rate limited too so i can't edit quickly enough to make it hit the limit :P
 
Ah.
 
alright, changes applied to the real bot
⎕←42
 
@hyper-neutrino 42
 
8:24 AM
@neutrino-bot I like how your avatar is an accurate depiction of a neutrino.
 
lol :D
 
 
6 hours later…
2:53 PM
test
 
@rosie
 
⎕←'test'
 
@hyper-neutrino test
 
hmmmmm
 
⎕← 'Bot'
 
2:56 PM
@Wolgwang Bot
 
Hehe
 
⎕←3 3⍴ ⍳ 9
 
@hyper-neutrino
1 2 3
4 5 6
7 8 9
 
⎕← )about
 
@Wolgwang
VALUE ERROR: Undefined name: about
      ⎕←)about
       ∧
 
2:58 PM
)about
 
@hyper-neutrino To run APL code, write code blocks starting with ⎕← or or write a multi-line code block and prepend ⎕← or to lines you wish to run. All matching groups / lines will be joined by and run via TryAPL, and the output will be posted here. To format a codeblock, write `code`, or for a multi-line code block, use Shift+Enter to type multiple lines and press Ctrl-K, press the 'fixed font' button, or prepend four spaces to each line.
 
)about
 
@Wolgwang To run APL code, write code blocks starting with ⎕← or or write a multi-line code block and prepend ⎕← or to lines you wish to run. All matching groups / lines will be joined by and run via TryAPL, and the output will be posted here. To format a codeblock, write `code`, or for a multi-line code block, use Shift+Enter to type multiple lines and press Ctrl-K, press the 'fixed font' button, or prepend four spaces to each line.
 
⎕←2 2⍴⊂2 2⍴⊂2 2⍴⊂2 2⍴1
 
@hyper-neutrino
┌─────────────────────┬─────────────────────┐
│┌─────────┬─────────┐│┌─────────┬─────────┐│
││┌───┬───┐│┌───┬───┐│││┌───┬───┐│┌───┬───┐││
│││1 1│1 1│││1 1│1 1│││││1 1│1 1│││1 1│1 1│││
│││1 1│1 1│││1 1│1 1│││││1 1│1 1│││1 1│1 1│││
││├───┼───┤│├───┼───┤│││├───┼───┤│├───┼───┤││
│││1 1│1 1│││1 1│1 1│││││1 1│1 1│││1 1│1 1│││
│││1 1│1 1│││1 1│1 1│││││1 1│1 1│││1 1│1 1│││
││└───┴───┘│└───┴───┘│││└───┴───┘│└───┴───┘││
│├─────────┼─────────┤│├─────────┼─────────┤│
││┌───┬───┐│┌───┬───┐│││┌───┬───┐│┌───┬───┐││
 
3:01 PM
⎕←2 2⍴⊂2 2⍴⊂2 2⍴⊂0 0⍴⊂⍬
 
@Adám
┌─────────┬─────────┐
│┌───┬───┐│┌───┬───┐│
││┌┬┐│┌┬┐│││┌┬┐│┌┬┐││
││├┼┤│├┼┤│││├┼┤│├┼┤││
││└┴┘│└┴┘│││└┴┘│└┴┘││
│├───┼───┤│├───┼───┤│
││┌┬┐│┌┬┐│││┌┬┐│┌┬┐││
││├┼┤│├┼┤│││├┼┤│├┼┤││
││└┴┘│└┴┘│││└┴┘│└┴┘││
│└───┴───┘│└───┴───┘│
├─────────┼─────────┤
│┌───┬───┐│┌───┬───┐│
││┌┬┐│┌┬┐│││┌┬┐│┌┬┐││
││├┼┤│├┼┤│││├┼┤│├┼┤││
││└┴┘│└┴┘│││└┴┘│└┴┘││
│├───┼───┤│├───┼───┤│
││┌┬┐│┌┬┐│││┌┬┐│┌┬┐││
││├┼┤│├┼┤│││├┼┤│├┼┤││
││└┴┘│└┴┘│││└┴┘│└┴┘││
│└───┴───┘│└───┴───┘│
└─────────┴─────────┘
 
⎕←⍬
 
@hyper-neutrino Response looks like a 1-by-0 matrix.
 
⎕←2 2⍴⍬
 
@hyper-neutrino
0 0
0 0
 
3:06 PM
⎕←⊂⍬
 
@hyper-neutrino
┌┐
││
└┘
 
⎕←2 2⍴⊂⍬
 
@hyper-neutrino
┌┬┐
│││
├┼┤
│││
└┴┘
 
empty vector?
⎕←⊂⊂⊂⊂⊂⊂⊂⊂⊂⊂⊂⍬
 
@hyper-neutrino
┌────────────────────┐
│┌──────────────────┐│
││┌────────────────┐││
│││┌──────────────┐│││
││││┌────────────┐││││
│││││┌──────────┐│││││
││││││┌────────┐││││││
│││││││┌──────┐│││││││
││││││││┌────┐││││││││
│││││││││┌──┐│││││││││
││││││││││┌┐││││││││││
││││││││││││││││││││││
││││││││││└┘││││││││││
│││││││││└──┘│││││││││
││││││││└────┘││││││││
│││││││└──────┘│││││││
││││││└────────┘││││││
│││││└──────────┘│││││
││││└────────────┘││││
│││└──────────────┘│││
││└────────────────┘││
│└──────────────────┘│
 
3:09 PM
⎕←∊⍳⌊⌈⍳*⍳×?÷×⌈⍳÷?⌈⍳×÷×?⍳⌈÷×⍳?⌈÷×?⌈⍳÷?⌈⍳×
 
@hyper-neutrino
┌─┴─┐
∊ ┌─┼───┐
  ⍳ ⌊ ┌─┼───┐
      ⌈ ⍳ ┌─┼───┐
          * ⍳ ┌─┼───┐
              × ? ┌─┼───┐
                  ÷ × ┌─┼───┐
                      ⌈ ⍳ ┌─┼───┐
                          ÷ ? ┌─┼───┐
                              ⌈ ⍳ ┌─┼───┐
                                  × ÷ ┌─┼───┐
                                      × ? ┌─┼───┐
                                          ⍳ ⌈ ┌─┼───┐
                                              ÷ × ┌─┼───┐
                                                  ⍳ ? ┌─┼───┐
 
I'm a robot: ⋄⌊⌊.⌊⌊
 
@Adám
┌─┼─┐
⌊ . ⌊
 ┌┴┐
 ⌊ ⌊
 
nice :D
 
Scary sea monster: ⋄f←∧¨¨¨¨¨¨⋄g←f∘f⋄h←g∘g⋄h←g∘g⋄h∘h
 
3:20 PM
@Adám
                          ∘
                  ┌───────┴───────┐
                  ∘               ∘
              ┌───┴───┐       ┌───┴───┐
              ∘       ∘       ∘       ∘
            ┌─┴─┐   ┌─┴─┐   ┌─┴─┐   ┌─┴─┐
            ¨   ¨   ¨   ¨   ¨   ¨   ¨   ¨
          ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘
          ¨   ¨   ¨   ¨   ¨   ¨   ¨   ¨
        ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘
        ¨   ¨   ¨   ¨   ¨   ¨   ¨   ¨
      ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘ ┌─┘
      ¨   ¨   ¨   ¨   ¨   ¨   ¨   ¨
 
4:17 PM
    o    _|
          |
 O/       |
/#  \O    |
/ \  %    |
     |\   |
         ===
 

« first day (3901 days earlier)      last day (1047 days later) »