« first day (782 days earlier)      last day (1862 days later) » 

3:20 PM
Our latest blog post is up https://www.dyalog.com/blog/2019/03/welcome-richard-park/ in which you can meet our new(ish) employee @RikedyP and read the amusing tale of how we met😀 Richard is also doing his first webinar on Thursday ... make sure to tune in at https://dyalog.tv/Webinar/?v=w4t13pge4mw
 
3:36 PM
@Joe ~ Can you give some more details? Not sure exactly what you mean by that
 
 
2 hours later…
Ven
5:11 PM
⎕←({⍵+1}⍣{~∨/(~3|⍵),'3'=⍕⍵})1234
 
@Ven
DOMAIN ERROR
 
Ven
Mh.
 
@Ven ~3|⍵ will fail if 3|⍵ returns anything other than 0 or 1
 
Ven
oh, yeah. Well, I guess I need 0=
 
probably, yeah
 
Ven
5:20 PM
⎕←({⍵+1}⍣{~∨/(0=3|⍵),'3'=⍕⍵})252
 
@Ven
255
 
Ven
⎕←({⍵+1}⍣{~∨/(0=3|⍵),'3'=⍕⍵})251
 
@Ven
252
 
Ven
This shouldn't give 252, since it's divisible by 3... I don't really get it.
Probably ⍣ doesn't really work that way :P
 
@Ven well, you're adding 1 to 1 times, since {~∨/(0=3|⍵),'3'=⍕⍵}252 is 1. What's the problem you're having?
 
Ven
5:34 PM
⎕←{~∨/(0=3|⍵),'3'=⍕⍵}252
 
@Ven
0
 
Ven
It's not 1.
 
I meant 251, not 252 >.>
252 was the result
⎕←{~∨/(0=3|⍵),'3'=⍕⍵}251
 
@J.Sallé
1
 
Ven
I thought it stopped when the right-hand was 1..?
Ohh, I get it
I need to compose it with +1 and then -1
 
5:38 PM
I don't think so. Afaik, f⍣int⊢⍵ applies f over , int times
 
Ven
I think it’s fixpoint?
I think my basic idea is good
 
It probably is. What's the challenge about?
 
Ven
Finding the next number that doesn’t {contain,is divisible by} 3
(I just left so I can’t give you a link)
 
No problem. I think your approach is valid, I'll see if I have any suggestions in a few
 
 
1 hour later…
6:57 PM
@Ven Or monadic = in Extended.
 
Ven
7:18 PM
Oh, that's nice :-)
 
@Ven All of Extended's scalar comparisons use the prototype as default left argument, so you can split on spaces with ≠⊆⊢ and find strictly positive with <
 
Ven
Truely a monoid, with its identity element and al!
 
@Ven This one is pretty cool: Given an ASCII string, return a Boolean mask indicating all control characters. Extended: >
 
Ven
why "all control characters"?
How does it match more than just space?
 
@Ven Essentially it is doing (⎕UCS ' ')>⎕UCS
 
Ven
7:46 PM
⎕UCS on any control character yields 32?
I didn't know that
 
@Ven No, all control characters are in the range 0–31
 
Ven
oh it's a <. DUH.
 

« first day (782 days earlier)      last day (1862 days later) »