« first day (908 days earlier)      last day (1729 days later) » 

10:37 AM
@dzaima When I put thanks on my APLcart presentation slide for Dyalog '19, do you want "dzaima", "Dzaima", or your real first name?
 
 
2 hours later…
12:22 PM
@Adám I generally prefer lowercase for some reason
 
@dzaima so "dzaima", not your real name.
 
@Adám yeah
 
@dzaima done
 
1:17 PM
@Adám do you know of a short way to print a string indefinitely (preferably in the same line)?
 
@J.Sallé {⍞←⍵}⍣{0} or in a tradfn: →≡⍞←s
 
Ah, great! Thanks!
Would {⍞←'/\'⊃⍨?2}⍣{0}1 be a valid submission?
I tried {⍞←⍵}⍣{0}'/\'⊃⍨?2 but that'll always print either / or \
 
@J.Sallé Yes, that's a "full program" (i.e. a tradfn body)
 
Great. I'll post it then.
 
@J.Sallé →≢⍞←'/\'[?2]
 
1:24 PM
Does that work as a program as well?
 
@J.Sallé Yes, same thing.
 
@Adám Even better then hahahahah. Thanks!
 
 
Perfect!
 
@J.Sallé With a little bit of CSS:
 
1:31 PM
@Adám that image is exactly what the challenge asks for hahahahah
 
2:00 PM
GUI Browser in 6 lines:
 B;f
 'f'⎕WC'Form'('Caption' 'Dyalog Browser')
 'e'f.⎕WC'Edit'('Posn'(0 0))('Style' 'Single')
 'b'f.⎕WC'Button'('Caption' 'Go')('Posn'(0 50))('Size'(5 5))('Event'('Select' 'G'))('Default' 1)
 f.G←{h.URL←e.Text}
 'h'f.⎕WC'HTMLRenderer'('Posn'(5 0))('Size'(95 100))('AsChild' 1)
 ⎕DQ'f'
 
ngn
2:22 PM
@Adám in function I you do Q();Z(); but Z() is already called at the end of Q()
 
 
1 hour later…
3:32 PM
@ngn Thanks, fixed. I've decided to leave IE behind, so I'll simplify I() and push that to the main site.
 
ngn
@Adám i sent a pull request with a few other suggestions too
github seems broken. i get error 500 too often.
 
@ngn Yeah, "Degraded Performance". I can't view the PR.
 
4:17 PM
yes, major outage
 
@ngn why can I not inline ).then(d=>d.text()).then(d=>t.innerHTML=E(d).replace… to ).then(d=>t.innerHTML=E(d.text()).replace… ?
 
ngn
@Adám you can still git clone https://github.com/ngn/aplcart and view the commits with git whatchanged -p
@Adám because d.text() is a promise
 
@ngn Why can I not break out q.focus() to F() with F=_=>q.focus() ?
Oh well, now it works, I must have made some other type.
Too bad JS has no (well, I guess) so arrow functions could have multiple statements without braces.
 
ngn
@Adám like what?
 
X=_=>{q.value="";Q();F()}X=_=>q.value=""⊢Q()⊢F()
 
ngn
4:30 PM
maybe X=_=>((q.value=""),Q(),F())
 
@ngn Any point in that?
 
ngn
@Adám it's an expression without braces :) i'm not sure if all the parens are required
js , is essentially apl
 
@Adám well, you can't always chain expressions in Dyalog with either
 
@dzaima . When no?
 
@Adám when a function doesn't return anything (and that's the case way more often in JS)
 
4:35 PM
@dzaima That's your own fault then, because now, all sysfns do too.
 
4:46 PM
@ngn Thanks. I've incorporated everything relevant now that IE is out.
 
ngn
@Adám nice. it's so small now
the last line has wrong indent
 
 
1 hour later…
5:56 PM
@ngn Yeah, I love it. Now I can say at the presentation with a dabble of JavaScript for the interactive parts.
 
I'm eagerly waiting for "Developing Web Applications with APL and Javascript". I hope it becomes a thing soon
 
@J.Sallé Like MiServer/HTMLRenderer? or you want tighter integration?
 
No idea, it was kind of a joke. I'm sure it's very much possible, but I loathe JS with every fiber of my being, so I just avoid it
 
@J.Sallé Kind-of hard to avoid JS for web dev stuff.
 
Yeah, that's why I'm "that back-end guy" in most of my uni projects
 
6:30 PM
@J.Sallé Which Browser do you use?
 
6:53 PM
@Adám FFQ on W10
 
@J.Sallé nvm, Poke helped my. My Chrome is acting up. (I use FFQ/W10 too.)
 
7:07 PM
I see
 
7:23 PM
@J.Sallé Any comments on aplcart.info/dev2 before it goes live?
 
@Adám Not really. I like it very much and have been using it for a while
 
@J.Sallé Well, this is complete re-write with 100% shorter load time, and significantly faster filtering.
 
Ooooooooh, that's great
 
 
2 hours later…
9:52 PM
⎕←∪{≢∪100 100⍴1}¨⍳1000
 
@H.PWiz
16 14 11 12 4 5 7 6 9 8 1 10 13 2 15 3
 
@Adám ^
Seems to just be binary matrices
 
@H.PWiz I seem to recall this. It has been fixed in 17.1, so probably backported too. Smaller example:
⍞←{≢∪2 65⍴0}¨⍳9
 
@Adám 1 1 1 1 1 1 1 1 1
 
⍞←{≢∪2 65⍴0}¨⍳9
 
10:00 PM
@Adám 1 1 1 1 1 1 1 1 1
 
@DyalogAPL Odd. Fails by me (gives 1s and 2s).
 
I see
 
@H.PWiz Yes, I found it: issue 16808 was logged 2019-01-18 10:12 and fixed 2019-01-18 12:35.
 

« first day (908 days earlier)      last day (1729 days later) »