« first day (1556 days earlier)      last day (1103 days later) » 

12:18 AM
@rak1507 sorting the words into order by your prime hash feels like there's a pattern in them, though it's not obvious. How about reordering the primes array so the higher values correspond with the letters with a higher Scrabble score, then would the sort be words ordered by relative Scrabble score?
 
not necessarily, because aaaaaaaaaa would be 2*10 (1024) whereas z would be 101, and they both have the same scrabble score of 10
 
12:41 AM
what are the differences between SE and codidact?
 
@rak1507 good point, fixed 9 letters so there can't be z alone; but there will be that effect whatever different primes are chosen for the 1point letters
 
right, true
was just an example
 
@Jonah SE is written in .Net/Windows with SQL Server backend with closed, proprietary source code; Codidact is written in Ruby on Rails with source on Github. SE is a decade old, Codidact is a year old, give or take. Codidact was started by people who left SE (Monica Cellio, for example) to try and build a different style of community (less hostile?). There's post on their Meta with some discussions of things they will try to do differently: meta.codidact.com/?sort=score
 
@TessellatingHeckler Thank you.
 
1:27 AM
@rak1507 You should post the merge two strings question here. Search for duplicates coming up empty...
 
 
2 hours later…
3:16 AM
That merge strings problem was oddly tough in J. 28 was the best I could get: Try it online! [,]}.~0>./@,(+/**/)/.@(=/|.). @Bubbler Do you see a better way?
With most of the other approaches I tried the boxing/unboxing kills you.
 
3:31 AM
@Jonah I just got 23 bytes using boxes: Try it online!
 
I'm not going to look yet :). I'm in the middle of one last attempt. Will look at yours after.
Eh, I was on the right track but didn't quite get there: [,]}.~1+((e.<\.)~<\)i:1:. Thanks for your solution!
 
That's pretty close, at least :)
Equivalent of mine after some transformation is [,~]{.~((e.<\)~<\.)i.1:
and swapping args
 
I really wish there was a nicer way to transform left and right args in J with different verbs. You must chose between parens and dyadic hooks and @[ + @]. A lot of boilerplate either way.
 
 
2 hours later…
5:19 AM
@Jonah what does set -o vim do?
 
Who will do this in APL?
2
Q: Base-ically god

okieStory The god of base is opening heaven’s gate for mortals to join the base party. You, as one of the believer, wants to follow his step to ascend to heaven. But not everyone can get in. The god posts this question to let you prove you are worthy of his party. Task You will get 2 inputs First be...

 
@Adám mystery
 
5:31 AM
@Adám guess who did it
 
@Razetime Bubbler.
 
no it you
 
boo deleted
 
It had a mistake.
 
5:36 AM
Maybe I shouldn't try to rush for a trivial answer :(
 
@Razetime Let's you use vim in your terminal, basically. To browse history and edit previous commands. Life changing. One of these days I'll add a proper profile....
 
i just typed it in and I was wondering what it did
 
Now press escape, and eg k will go "up" and j will go down your previous history. / will search it. and $ will go to end of line, w advance by word, etc. all the normal vim stuff.
 
interesting
 
 
2 hours later…
8:05 AM
@Jonah The default behaviour of bash (and zsh and others) is to use Emacs keys. Is there a reason you prefer the vi keys?
Is it just because you use vi for everything else, so they keys are more natural, or is there some actual ergonomic benefits? The default emacs keys require less keypresses to do the same thing.
 
 
1 hour later…
9:16 AM
I just discovered that I can turn off cursor-blink in RIDE. How did I miss that for a year+?
 
 
1 hour later…
RGS
10:23 AM
@rak1507 Turns out it doesn't work 😂 (yet)
 
lol I finished that question with relatively "normie" programming
but if it works it works so ¯_(ツ)_/¯
 
I just thought of an extension to ⍴. I can specify one of the values in the left argument as null, and it would automatically compute the correct value based on the size of the right argument. In other words, to reformat A into a two-column array, I'd do: ⍬ 2 ⍴ A
 
This is to avoid having to type (2÷⍨≢A) 2 ⍴ A
Now I ask, is my idea naive?
 
@EliasMårtenson Dyalog may or may not get something similar, but instead of , it'd probably be ¯1 or ¯2 or something
also Extended
 
10:36 AM
That's good too. If Dyalog is going to implement it, I want to use the same syntax.
OK, that's precisely what I wanted to do.
So does it work with any negative value, or just -1?
 
@EliasMårtenson some numbers may require the size to perfectly match, some might truncate or pad. Which is which is a good question
 
I was going to have it round up.
 
that's ¯3 there
 
Hmm. I really don't like to have magic numbers for different operations (same reason I don't implement the circle operations, instead using actual words). Perhaps I should use a symbol. Like 2 3 :fill 5 ⍴ A and 2 3 :truncate 5 ⍴ A
 
also BQN
 
10:42 AM
Ah you can do that because of the cleverness of ‿
 
(for APL, i of course prefer and erroring when not exactly divisible. Shorter and I've never needed anything else)
 
11:01 AM
@dzaima thanks.
I might go for that.
 
11:27 AM
@Jonah post it where, SE?
@RGS :) you inspired me to try it, and I thought I had something good-ish, but mine doesn't work either, I wonder if we made the same mistake
 
11:44 AM
Announcement: 2020 Problem Solving Competition – Phase II highlights has been published. Reminder: Only three months left to enter the 2021 round.
2
 
that 51 rotate is really neat
I wonder who's solution the Problem 8 one was
 
RGS
12:20 PM
@rak1507 maybe :p
 
1:14 PM
@Adám previous year's part 2 looks a lot more gruelling than the current one
 
@Razetime Yeah, we are trying to make it easier to allow more to participate.
 
I see.
@dzaima this is beautiful
 
1:45 PM
@Adám :D cool -- thanks for letting me do it.
 
 
2 hours later…
3:28 PM
@ngn Is there some kind of interface with ngn/k and DyalogAPL?
 
@kimmolinna You mean integration of the two? No, none.
 
ngn
@kimmolinna no
 
Well, I guess you could run ngn/apl inside the HTMLRenderer object of Dyalog APL.
 
ngn
@Adám /k, not /apl
 
why you would want to interface two different array languages is beyond me
 
ngn
3:38 PM
legacy?
 
@ngn Oh, oops.
 
ngn
@Adám []na might work
is there any chance of dyalog apl ever being released for freebsd? (unrelated to the above)
 
 
1 hour later…
4:52 PM
@rak1507 I know somehow DyalogAPL and k is mainly a database for me. I have done ipc interface for kdb+ but I'd like to use open source systems even at home.
 

« first day (1556 days earlier)      last day (1103 days later) »