« first day (2400 days earlier)      last day (271 days later) » 

12:06 AM
@rak1507 I would love that in my uni, but there isn't many people interested in programming in general (I study physics) :c
Btw, is there any way to attend Dyalog '23 virtually?
 
 
2 hours later…
1:50 AM
Ah, okay. Thanks. My implementation included an entire test suite, including edge cases and all that. I even went out of my way to broaden the domain of allowed inputs as much as possible, just for fun, with nonsensical input returning explicit domain errors.

Every sample given in the specs definitely had a passing test, so I'd be really curious what went wrong.
 
 
3 hours later…
4:21 AM
@AmadoC No, but all talks are recorded and published on YouTube later in the year.
 
 
2 hours later…
5:52 AM
@Adám oooh, can I do this as well? My 1.5 (≤,⍥(+/)>){⍺(⍵⍵⍨ ⍺⍺ ⍵⍵)⍵}(⌊⍥≢⍴⊢) is 0r9bably enough
 
Hey, sorry to just barge in here randomly. I stumbled across an APL related question in Unix&Linux review queue, and I'm not really sure what to do with it. The question is about setting up RIDE. It needs some work, and for all I can tell it's on the wrong site. But I'm not really familiar with APL myself, so I don't honestly know how to direct them. It's a couple days old and they are actively replying in comments, so if anyone is feeling generous, could you please give it a look?
0
Q: Dyalog (APL) +RIDE issue

homeCornSorry if this is not the right exchange, but I do feel the issue is tied to the fact I am using linux/unix. I am currently running a vanilla Arch machine and I wanted to try out APL. Dyalog only provides deb and rpm packages, but I saw a dyalog-bin pkgbuild in the AUR, and it seems to be pulling ...

 
6:33 AM
@BryKKan That's fine. Thank you. I'll have a look.
 
7:03 AM
@RubenVerg Indeed. That was overly complex :-) but 20.5 overall, P7 was perfect. Phase 2 was generally of excellent code quality, but your vin failed many cases and your sortVersions could have been written better (and failed if a package name had a . in it).
 
7:29 AM
@Adám Oh I see :c hopefully I'll attend someday
 
7:46 AM
Ooh, this palindrome checker uses all the non-train combinators: ≡∘⌽⍨⍤∩⍥⎕C∘⎕A
 
@Adám I Just liked that more than a fork that repeated one of the functions but with left instead of right,
P7 was also an (accidental) nick from APLcart :)
what was an optimal 1.5 sol?
 
8:06 AM
@RubenVerg A couple of people submitted +/0 1∘.=1 1⍉∘.> and similar, which imo is elegant, though it is somewhat wasteful, while +/1 0∘.=(⌊⍥≢↑⊣)≤⌊⍥≢↑⊢ is very clear.
 
ah, those are nice
kinda like (the expanded version of) mine more, tho
and everyone did the same thing in the one with find last, right?
unless someone wrote an explicit under operator which would be funny af
oh I'm really curious about 1.9 though, what did people do/what was the intended solution?
gotta say that last axis instead of first was really annoying but maybe it allowed for something I didn't think of
 
8:23 AM
@RubenVerg No. Never underestimate people's ability to come with with… interesting solutions. The longest solution was 40 chars (of which 12 spaces). Quite a few people used normal and rotated or shifted it appropriately.
@RubenVerg Nobody did, but someone did add a comment to the effect. (Not that comments are considered.)
 
@Adám I was about to comment "← under semantics dyalog gods please give us said operator"
removed it before submitting :)
@Adám "normal" meaning without reversing the array first?
@Adám hmm, can we get longest sol stats for all P1?
 
8:46 AM
@RubenVerg There's never a single intended solution. {⊃,/⌽¨⍵⊂⍨2|⍳≢⍉⍵} is clean but nested. {⍵⌷⍤1⍨⊂⌽⍒⌈2÷⍨⍳⊃⌽⍴⍵} is a nice flat solution. {⍉⍵⌷⍨⊂{⍵⌊(⍳⍵)+⍵⍴1 ¯1}⊃⍴⍵}∘⍉ manages without even a grade so probably O(n), just like yours. Btw, why did you use ⌈⌿ instead of ⊢⌿?
@RubenVerg Yes.
@RubenVerg 34 40 45 155 81 139 58 148 89 238
 
 
3 hours later…
11:40 AM
:64237126 Hello this was me. I am still having the issue with RIDE.
Its not really a blocker, because I can use the browser based mode. But I would've liked to use RIDE because of the dark mode, it really helps on my dry eye syndrome. I am pretty sure I am must be missing some dependency for ride, because I have no problems with Dyalog itself.
 
12:20 PM
@homeCorn Hi. I've seen both your RIDe repo issue, SE post, and this. I'll try to get someone who understands to look into it. Best thing might be to email support@dyalog.com so we can get in direct touch with you if necessary. Meanwhile, I'm pretty sure you can use the dark mode even in the browser, simply by chosing a dark scheme from the colour preferences.
 
@homeCorn Can you try RIDE_INIT=POLL:ip-of-host-machine:4502 instead of RIDE_INIT=SERVE:*:4502, and then in RIDE select a connection type of "Listen" (on port 4502), to see if you can make a connection the other way?
 
@homeCorn Also, can you confirm that some of your attempts have been made using an official release of RIDE, as opposed to ones that you built yourself?
 
 
1 hour later…
2:10 PM
@MortenKromberg I tried the reverse connection, and it seems that the connection is happening, but RIDE just stays blue. When I click on some menu option like Preferences, it give an error alert saying Unknown command: PRF
I cant install the deb or RPM directly because I am running on Arch. Arch AUR has both a Dyalog-bin and a ride-git pgkbuild, dyalog seems to be pulled directly from the deb and then processed. ride-git is just the master branch of ride. Interestingly, I tried building ride in macos (apple silicon) and having the same problems there.
I tried it on a fedora vm, and using RPM it seems to work beautifully. I will be using that for now, but I am really curious now what is causing this issue and wanna get to the bottom of it.
Finally I am finding the same issue wrt the docker image. I dont think this is an issue from the Interpreter side. Highly likely I am missing some dependency on the Ride side.
 
 
1 hour later…
3:41 PM
@homeCorn OK, thanks. We'll have a think and see whether we can suggest anything or reproduce the experiment. Can't promise anything about when we'll be able to do the latter.
 
 
3 hours later…
6:41 PM
@B.Wilson Your tasks 4 (from both phase 2 problems) failed on some cases.
 
 
2 hours later…
8:40 PM
@homeCorn Suggestion from a RIDE developer: in main.js, there's a line that opens the tools conditionally:
if (db.devTools)w.webContents.openDevTools();
remove the if () and it will always open them
that might give you an idea about missing files etc.
 
 
2 hours later…
10:34 PM
@Adám Ohhh. I think I know what happened on Phase 1. I ended up reading the FASTA format specs in an attempt to get a broader solution. The stop codon is generally encoded as '*', but tho contest's Rosalind example uses a bespoke 'Stop' word instead. Blah...
Not sure what happened with Phase 2, though. I went way out of my way to support negatives in the starts and movements, since the problem spec was silent on the matter. The submitted solution has a TEST function that demonstrates everything working properly in the checked cases.
Was particularly proud of my really general partition and decently fast makeChange. Sad I didn't get far enough for anyone to even see them.
Anyway, thank you for going out of your way to check.
 
@B.Wilson Your makeChange took about 0.8 s to finish our tests. Others' ranged from 25 ms to over 8 minutes!
 
10:50 PM
Ew... What?! Did my new solution not copy over??
       cmpx 'euro makeChange 200'
 5.5E¯2
Definitely not in the ms range though!! That's cool.
 
This was the total time for running a large collection of tests cases.
 
Yeah, 25ms is really nice.
       ⍴10∘⊥⍣¯1⊢0
 0
That doesn't look right, does it?
 
Why not? You need exactly zero digits to encode 0 (in any base).
      0≡10⊥10⊥⍣¯1⊢0
1
Cf.
      ⍬+.×⍬
0
is really just a fancy +.× which replaces the left argument with the reversed cumulative product (shifted so the rightmost element is 1, and the leftmost is lost).
 
11:12 PM
Oh, it's an artifact of the identity on +. How odd. I definitely don't think of the empty string as encoding 0.
I think of b⊥⍣¯1⊢n as "digits of n in base b".
Guess that only works on the natural numbers.
@Adám This doesn't work with negatives, right?
       10 10 10+.ׯ999
 ¯29970
       100 10 1⊥¯999
 ¯110889
       10⊥⍣¯1⊢¯999
 0 0 1
Uh... the +.× left argument should be 100 10 1 just like the example.
 

« first day (2400 days earlier)      last day (271 days later) »