« first day (1188 days earlier)      last day (1763 days later) » 
06:00 - 16:0016:00 - 00:00

16:01
The Dyalog Problem solving problems are most excellent practice. And fun.
I'm finding they get easier with the years, but hopefully that's me improving rather than them actually being easier.
My solutions for 2017 tio.run/##JY/…
16:32
@RGS Yes.
IsPrime←{2=+/0=⍵|⍨⍳⍵}
@JeffZeitlin Yes, that's pretty much the canonical answer.
Unless I miss something, that's going to be O(n) for calculation time.
Is there any way to do better?
16:51
@JeffZeitlin Yes, a proper sieve.
RGS
RGS
@Adám my APL kernel doesn't connect :'(
I already have the option of creating a notebook with the "Dyalog APL" kernel but once opened, the kernel doesn't start
Hm.
I don't even know where to start trying to debug that.
RGS
RGS
C:\Users\rodri\anaconda3\python.exe: No module named dyalog_kernel
Ah yes, I've seen that error before.
RGS
RGS
says the terminal running the notebook thingy
17:00
@RichardPark May have some ideas.
RGS
RGS
Do you think it may have anything to do with the fact that I installed anaconda and didn't make it the default for python 3.7?
I can't rule it out. Tbh, I never really understood how Python picks up its modules.
RGS
RGS
hm alright; so should I wait for Richard's help?
I think that'd be wisest. Of course, you can already now plan then contents.
RGS
RGS
I think I'll try reinstalling and leaving that option I mentioned on; should I "uninstall" your dyalog kernel? Or can I just uninstall anaconda, install again and then install the kernel on top of that?
17:05
@RGS I think just reinstalling on top would do. You can look at the installation batch file. It is really simple.
@RGS Do you only have anaconda installed or do you have a separate python as well?
RGS
RGS
I have a separate Python @RichardPark
but I just solved it
maybe not in the best way, but I solved it
@RGS Manually copying files around?
RGS
RGS
yes, the dyalog_kernel into the "correct" site-packages folder
@RGS Yes I've used that "trick" before
RGS
RGS
17:12
I installed some random package with anaconda's pip
Can we somehow add that to the bat?
RGS
RGS
checked the folder into which the things were going
and copied the dyalog_kernel to that folder
@Adám I would guess so, I just performed one extra copy&paste
@RGS Feel free to PR.
RGS
RGS
(proof it works :P)
Yay.
RGS
RGS
17:13
@Adám sure; should I add the line or replace the one that seems wrong?
@RGS I think add, as I remember us having trouble with this before, so we might need to have both destinations to make it work universally.
RGS
RGS
Alrighty
@Adám Yeah it bascially just attempts to copy to all python installation folders we've thought of
RGS
RGS
PR submitted
 
1 hour later…
RGS
RGS
18:46
@Adám I just want to say I'm sad tomorrow is not an APL Cultivation day
19:21
@RGS thanks :-)
RGS
RGS
@Adám when I'm done with the notebook and I want you to have a look, what should I do? Host it on GitHub?
19:47
@RGS Sure, that'd work, or you could make it a PR on the existing collection.
RGS
RGS
@Adám ah of course
 
2 hours later…
ngn
ngn
21:22
@JeffZeitlin miller-rabin is a simple and efficient primality test that doesn't require sieving
RGS
RGS
22:18
@Adám I also PR'd the notebook I created. Let me know of all the feedback you have; from major problems/adjustments needed to the minor details.
Also, how did your yearly appraisal go..?
23:10
@dzaima another one, imo much worse/annoying than the others, but for the exact same reason
06:00 - 16:0016:00 - 00:00

« first day (1188 days earlier)      last day (1763 days later) »