« first day (1648 days earlier)      last day (78 days later) » 

12:00 AM
@Adám BST midnight!
wow
glad I didn't wait until UTC midnight
 
 
3 hours later…
3:00 AM
@Wezl Already looks quite difficult to read
it's got a strict style to it though, so apl glyphs will turn out well
 
 
7 hours later…
9:58 AM
what does the , do?
{+/,⍵∊'AEIOU'}
how do i read the expression?
 
10:43 AM
it flattens the result of ∊
so that you get 1 number for any shape of ⍵
 
11:07 AM
@rak1507 In the competition page they say "We are not liable for any damage, loss or disappointment suffered by you for taking part or not being able to take part in this competition."
When the input is a vector, the comma does nothing. You'll see the difference when you pass a matrix. For example here:
⎕←{+/⍵∊'AEIOU'}2 5⍴'DYALOG APL'
⎕←{+/,⍵∊'AEIOU'}2 5⍴'DYALOG APL'
 
11:37 AM
@MasterQuiz yes that's just legal terms or something, if you were a few minutes late I don't see why they wouldn't let you submit especially considering adam said it was UTC not BST
last year joking forgot to submit it but ended up being allowed to
 
@rak1507 The fact is that I wasn't late, my last valid submission is at 22:00 UTC. I will try send an email. Thanks
 
difference between and /? both seem to reduce
 
⋄ (+/5 5 ⍴ ⍳25) (+⌿5 5 ⍴ ⍳25)
 
@rak1507 Did you forget to add backticks around your code (`⋄ code`)? You can edit your message and I will edit my reply.
 
⋄ (+/5 5 ⍴ ⍳25) (+⌿5 5 ⍴ ⍳25)
 
11:52 AM
@rak1507
┌───────────────┬──────────────┐
│15 40 65 90 115│55 60 65 70 75│
└───────────────┴──────────────┘
 
for a vector, they are the same, but for a matrix or higher dimensional array, they're different
 
@rak1507 what does / do to a matrix
 
+/ is sum rows, +⌿ is sum columns
 
oh
how do i take the index of an element in a vector
or access it by the index
 
@PyGamer0 There are a bounch of other primitive that change their behaviour between rows and matrices. You have to pay attention to that when two primitives seems to have the same function
 
11:58 AM
@PyGamer0 there are a bunch of ways that all do slightly different things
⋄ (2⊃5 7 3) (2⌷5 7 3) (5 7 3[2])
 
@rak1507 7 7 7
 
@PyGamer0 I'd do something like this to find where there are 6s: ⍸6=10 6 2 8 4 4 4 6 10 2
 
 
1 hour later…
1:27 PM
is there a apl kb layout that uses AltGr instead of Ctrl
 
Is there a way to convert an image to RGB value in APL?
 
oh i can create my own keyboard layout
 
2:32 PM
dyalog docs are pretty bad could do with an overhaul...
 
that was for a different thing
 
@rak1507 "And could you load a JPG/PNG?" isn't that the same?
 
no he was asking if you could display an image inline like in a jupyter notebook or something
not if you could load in the rgb values
 
ah ¯\_(ツ)_/¯
 
2:36 PM
@rak1507 I wanted to "load" an image and take its RGB values
@dzaima ¯_(⍨)_/¯ *
@rak1507 Cause I know how to convert RGB values in a .PNG file, but not the inverse
 
looks like bitmap can do that
 
 
8 hours later…
10:30 PM
Does anyone have a set of vim keymappings for entering the BQN characters such as ‿?
 
@dzaima I'm not sure I fully understand. Setting and clearing checkpoints should not be connected to saving at all. Can you open an issue against RIDE with a full step-by-step repro?
@dzaima )sic shouldn't affect breakpoints either!
 
@jordancurve this should work
@Adám that's an unrelated note, just me being grumpy
 
I barely ever find myself needing )sic, but my father had )sic<Enter> on an F-key. You could do that too.
 
@Adám setting breakpoints in RIDE by clicking the very left of a line is definitely connected to saving as far as I can tell
 
That's a bug then.
 
10:43 PM
@Adám I could, but I also could not have the problem in the first place
@Adám does it make sense to be disconnected from saving though? what happens if you set a breakpoint in an edited version of the code that hasn't been saved yet?
 
@dzaima Not sure what your workflow is that causes you to build up a stack.
 
@Adám I have the tracer display off, so whenever I have an erroring multiline function, I just get dozens of stack items whenever I'm debugging an error
 
@dzaima You'd rather just display the error and immediately cut back the stack, without letting you have a chance to inspect stuff?
@dzaima Huh, it appears indeed that it is connected to saving. Funny that I never noticed that. Maybe not a RIDE issue after all.
 
@Adám yeah. You suggested some ⎕trap thing the last time I complained about it, but that both requires having it in the permanent session (which i still have to remake on every dyalog update), and is ∞× longer than it should be
@Adám but it's still an issue that a breakpoint cannot be cleared without some additional edit
 
@dzaima Basically, you'd like a "don't suspend" mode.
 
10:50 PM
the breakpoint thing was me having accidentally enabled a breakpoint (which i'd never do intentionally) and not being able to disable it
 
@dzaima I can't repro it, but please do log an issue with exact instructions.
 
maybe you're using some prerelease build? i'm still on 4.3.3463
 
@MasterQuiz Under Windows, you can do rgb←(3⍴256)⊤(⎕NEW'Bitmap'(⊂'File' 'C:\path\to\file.png')).CBits
 

« first day (1648 days earlier)      last day (78 days later) »