Conversation started May 11, 2021 at 0:00.
May 11, 2021 00:00
Welcome to the first Monthly Mini Golf! During this event, we'll post 18 CMCs (Chat Mini Challenges) for you all to solve. The first 5 will be posted at the start, and additional ones will be added every 5 to 10 minutes. If you have any questions, don't be afraid to ask. Good luck!
CMC: Given three points in the plane, determine if they are on the same line
CMC: Take an array of numbers. Take the sum, but where every second item is negated.
CMC: Subsequences, going out from the center ('ABCD' -> ['BC', 'ABCD'], 'ABCDE' -> ['C', 'BCD', 'ABCDE'])
@RedwolfPrograms vtc as dupe
CMC: Given a string, generate all permutations of all prefixes of the input.
@lyxal Internet lol
CMC: Cartesian square with no cartesian product/power/square built-ins
@RedwolfPrograms Scala: _.inits.map(_.permutations)
May 11, 2021 00:01
thx
@RedwolfPrograms Vyxal, -s, 3 bytes: ⁽Nẇ
@cairdcoinheringaahing can't be done for -1<=n<=2; x=abs(n) works for all other integers
@RedwolfPrograms Scala: x=>for(a<-x;b<-x)yield a->b
@RedwolfPrograms Haskell: foldr1(-)
May 11, 2021 00:03
@RedwolfPrograms APL, -/ (stolen from Delfad0r's)
@RedwolfPrograms Vyxal, 11 bytes: (x|?(←x n",
@RedwolfPrograms JS, 39 bytes: n=>(t=i=0,n.map(x=>t+=x*(++i%2*2-1)),t)
@cairdcoinheringaahing you can post your "output an integer x such that [n+x, n-x, n×x, n÷x, n*x] are all unique integers" one now
@RedwolfPrograms Neil already "cracked" that one :P
@RedwolfPrograms Retina 0.8.2, 15 bytes
in MMG Drafts, 2 hours ago, by Redwolf Programs
Draft: Given an integer n, output an integer x such that [n+x, n-x, n×x, n÷x, n*x] are all unique integers (* is power)
@RedwolfPrograms Jelly, 4 bytes. Kinda cheaty :P
May 11, 2021 00:06
Just found out that nil is not equal to nil in Pip. What is this nonsense :(
@RedwolfPrograms can this be a matrix of pairs or must it be a flat list of size N^2
Either's fine
This is a CMC :p
@RedwolfPrograms Haskell: f x=(,)<$>x<*>x
aight. in that case, yuno with 4 bytes, ドゥマメ、 (ドゥ is encoded as 1 byte BTW)
May 11, 2021 00:08
@RedwolfPrograms Can it be a 3d list?
@RedwolfPrograms Jelly, 2 bytes
@RedwolfPrograms Vyxal, 3 bytes
TIO doesn't have .flat >:|
@RedwolfPrograms Jelly, 6 bytes. Outputs a trailing newline
In other news, I'm an idiot
@RedwolfPrograms Jelly, 4 bytes
May 11, 2021 00:12
@RedwolfPrograms Js: x=>[...Array(s=(x.length+1)/2|0).keys()].map(n=>x.slice(s-n-1,s+n+1))
@cairdcoinheringaahing You're not an idiot, you're caird coinheringaahing.
@RedwolfPrograms Haskell: f(x:y@(_:_:_))=f(init y)++[x:y];f e=[e]
@RedwolfPrograms Pip, 11 bytes: PMa@<_M\,#a
@user If that weren't so motivational, I'd kick you :P
@RedwolfPrograms JS, 65 bytes: d=>[...d].fill(d).flat().map((_,i)=>[d[i%(l=d.length)],d[i/l|0]])
May 11, 2021 00:13
@RedwolfPrograms Next lot now?
CMC: Collapse all identical characters
CMC: Given a multidimensional array, return how many dimensions it has
@RedwolfPrograms sed -E, :;s/(.)\1/\1/;t
@cairdcoinheringaahing I did partially mean it in a motivational way - you're not an idiot, at least on CGCC
Haskell: length.fst.span(=='[')
Takes input as a string, since Haskell does not support nested lists
@RedwolfPrograms Jelly, 4 bytes
May 11, 2021 00:14
@user You do seem to be an idiot in real life, though, since you're still awake :P
@user Yeah, that tracks :P
@RedwolfPrograms JS, 31 bytes: s=>s.replace(/(.)\1*/g,r=>r[0])
@RedwolfPrograms APL: :P (Wezl pointed out it's really ≢⍴)
@user Fails for Heeeellooooooo, WWWWWoorrlllldd!!!!
Should output Helo, World!
May 11, 2021 00:15
@user isn't that match shape not shape?
Oh right
@Wezl ? I'm not sure what match shape is
@RedwolfPrograms tinylisp, 44 bytes: (d f(q((A)(i(e(type A)(q List))(a(f(h A))1)0
@user ≢⍴
@Wezl Oh right, I didn't read the CMC too closely :|
@RedwolfPrograms JS, 21: f=d=>d[0]?f(d[0])+1:0
May 11, 2021 00:17
@RedwolfPrograms vyxal, 3 bytes
@RedwolfPrograms would ŒḊ be valid? jelly
@user You can post the S combinator one whenever you're ready
Redwolf is outgolfing me :p
@hyper-neutrino probably would
May 11, 2021 00:17
in MMG Drafts, 40 mins ago, by Redwolf Programs
Draft: Shortest S combinator: Given a binary function x, a unary function y, and a value z, output x(z)(y(z)), or x(z, y(z))
The clockwise vs. anti-clockwise one is good to post now too
@user Js (x,y,z)=>x(z)(y(z))
Ninja'd :p
@user Scala: y=>z=>_(z)(y(z)), only marginally less trivial than JS
May 11, 2021 00:20
@user Where does _ come from
@user s, unlambda, one byte
@Ausername It basically turns the function into y=>z=>x=>x(z)(y(z))
ngn
ngn
@RedwolfPrograms should i post it?
wouldn't x(z,y(z)) be shorter
@Wezl Very funny.
May 11, 2021 00:20
@ngn Sure, go ahead
or is that not allowed if your language supports currying
@user Oh so language quirk
@hyper-neutrino It's not in the spirit of SKI
fair enough
@Ausername Well, feature, but yeah
May 11, 2021 00:21
@user tinylisp, 18 bytes: (q((x y z)(x z(y z
@hyper-neutrino I mean, you can do it if you want, I just preferred it with currying
ngn
ngn
53 mins ago, by ngn
Draft: given three points in the plane (not all on the same line) determine if they describe a circle in a clockwise or anticlockwise direction using any two distinct return values
ninja'd >:-(
That's going to be a tough one
May 11, 2021 00:21
i got the 2,1 for dyad and monad confused, lol
@user {x[z;y z]} in K
ngn
ngn
@Wezl {x[z]y z} (assuming x is dyadic)
interesting, did not know...
Fun fact: you can find out what deleted messages said if you have their reply id (which you can get if someone has replied to the message) by going to https://chat.stackexchange.com/messages/{id}/history
steals for new language
May 11, 2021 00:23
Resume CMCing :P
ngn
ngn
@Wezl passing fewer args than needed causes currying
Circle is x^2+y^2=r^2 right?
@cairdcoinheringaahing That's...not good
@ngn oh right, knew that, just needed smart
upvotes ngn's smart
2
May 11, 2021 00:24
Just realised I can get gold badge noow, hold on
ngn
ngn
@Wezl old trick. not mine.
@user That's assuming mods haven't purged the history. Otherwise, deleted chats are still supposed to be available, but not easily
Like deleted answers, but a lot harder
wait, you can?
doesn't work when i try in incognito
Might need 10k+ network wide
ah
welp. looks like i need to be more aggressive with purging content
@ngn I think _€ZÆm$æA/€ṢƑ works
(jelly)
May 11, 2021 00:26
Anyone with <10k network wide, try going here to test it (real link)
Python 2: lambda a,b,c:((b-a)/(c-a)).imag>0
Although I'm not sure if I understood this challenge correctly.
Takes input as complex numbers
WOOHOO FIRST GOLD BADGE!!!
@cairdcoinheringaahing I just saw god of meme
ngn
ngn
@hyper-neutrino how does it work?
@ngn The points are all part of the circle's outer edge right?
May 11, 2021 00:27
@cairdcoinheringaahing 404
ngn
ngn
@RedwolfPrograms yes, they lie on and determine its circumference
Ok, so it's 10k+
(Sorry for kinda derailing the CMCs)
@ngn the clockwiseness is preserved if you compare them to any point inside the circle, and the average should always be inside the circle, I think. so i take the difference to the average, then arctan each, then check if it's sorted
@Wezl Appending matrices is good to post now
@cairdcoinheringaahing Doesn't work for me, and I have 10k+ network-wide, so I guess it's 10k+ on a specific site?
May 11, 2021 00:28
<10k votes userscript is OP
@user It might even be RO specific then
@hyper-neutrino Oh that's smart
@Wezl ?
4 hours ago, by Wezl
Draft: Append two matrices [[0,1],[4,5]], [[2,3],[6,7]] => [[0,1,2,3],[4,5,6,7]]
@cairdcoinheringaahing That makes more sense
May 11, 2021 00:28
I'm over here solving super complicated equation things
When I could just be hyper-neutrino
@Wezl ;" I think
@Wezl Haskell: zipWith(++) (I think, haven't tested it)
haven't tested or opened tio even
ngn
ngn
@hyper-neutrino hm.. i'm not sure that's 100% correct
May 11, 2021 00:29
@user Ninja'd :)
@user :O so you're the one who's ninjing me
@Delfad0r and you too >:/
@Wezl python, lambda x,y:[a+b for a,b in zip(x,y)]
@Wezl Mwahaha
That moment when you won't be able to CMC for half an hour because road travel
o/ for now
@Wezl JS, 34: a=>b=>a.map((d,i)=>d.concat(b[i]))
@lyxal o/
May 11, 2021 00:30
@Wezl APL, 1 byte: ,
@Bubbler Ninja'd :P
@hyper-neutrino is offended
@RedwolfPrograms I think this is correct for collinear points in Pip, 14 bytes: {$=Y$AT_-BMPg}
@RedwolfPrograms Yeah, TNB's been in timeout before
@user tbf I was testing it when you ninja'd me
May 11, 2021 00:32
@cairdcoinheringaahing You're good to post the cartesian to polar now
ngn
ngn
@hyper-neutrino what you should really check is the parity of the sorting permutation. but there's a simpler way.
in MMG Drafts, 3 hours ago, by Redwolf Programs
Draft: Given a Cartesian coordinate point, output its polar form
@RedwolfPrograms Python 2: lambda a,b,c:((b-a)/(c-a)).imag==0 (actually one more byte than the ccw circle one ^^)
@Wezl Racket, maybe something like (<unicode lambda symbol>(a b)(map cons a b)?
@ user (map$append) in unreleased-unfinished haskell-lisp thingy, and ...(map append... in lisps
May 11, 2021 00:33
@Wezl yuno, 2 bytes: ヴェタ (ヴェ is one byte) - language feature postdates challenge
ngn
ngn
@ngn hint: sgn(det([[x0,x1,x2],[y0,y1,y2],[1,1,1]]))
@hyper-neutrino VTD for loophole violation :P
@ngn wdym by parity?
@Bubbler shhhhhhhhhhhhhhhhhhhhhhhhh
@cairdcoinheringaahing JS, boring 39 bytes: x=>y=>[Math.hypot(y,x),Math.atan2(y,x)]
ngn
ngn
May 11, 2021 00:35
@ngn can you confirm that this is the correct interpretation of the circle challenge?
@hyper-neutrino lol that's interesting
does jelly have neither a bultin for pol/rec conversion or hypot
Don't think so
Anyone going to be offering bounties on this MMG?
May 11, 2021 00:35
oh right. i'm dumb
I'll offer +100 to first, or second if someone else volunteers for first
@RedwolfPrograms okay anyone want their question to act as a proxy :P
Although actually determining what counts as first is the tricky part lol
also yes, i am using this as an opportunity to pick up new language features to implement. yes that is loophole violation more or less :P
May 11, 2021 00:37
Maybe no bounty :p
@user We can do the interleaving one now
@RedwolfPrograms transpose|flatten, takes input as an array of lists, Jq (also insert corresponding Jelly 2 byter here)
@cairdcoinheringaahing Pip, 12 bytes: PRT$+g*gbATa
TBH I don't think we need a bounty. If we have this as a regular thing, we can point to it as a place for trivial challenges that would be better off not on main, and we can use these as an activity booster (not that we need it but ¯\_(ツ)_/¯)
Agreed I guess
I'll post for user since I think they said they were getting dinner
4 hours ago, by user
Draft: Interleave n lists (too dupe-y?)
Not sure if it's guaranteed they'll be the same length
Although if people want to award bounties for good answers to these, I'm absolutely not opposed to that :P
@RedwolfPrograms Jelly, one byte
May 11, 2021 00:39
@cairdcoinheringaahing J, 9 bytes: |,r.inv@*
JS, 34: l=>l[0].flatMap(i=>l.map(l=>l[i]))
@RedwolfPrograms finally implemented in yuno (so technically loophole violation) as ッパマッペ (which is 3 bytes)
@RedwolfPrograms jelly: Z I think (edit: taking a list of lists)
that only works on two
you'd need ż/ or something like that, no?
May 11, 2021 00:40
Oh right
Z works if you take input as a list of lists
if it's supposed to interleave a list of lists into a flatlist then ZF but if a list of cols is acceptable then Z is correct
@cairdcoinheringaahing J built-in, 2 bytes: *.
@RedwolfPrograms Given list of lists, 3 bytes in Pip: WV_
This is actually a really good event for someone planning a language :p
May 11, 2021 00:42
@Wezl ...I forgot about that :P
@DLosc Given multiple lists as arguments, 5 bytes: {WVg}
@RedwolfPrograms in yuno (postdates)
ngn
ngn
@Delfad0r intuitively, it appears so. with ..-a you translate to one of the vertices of the triangle, with division you subtract the headings of the two sides, and the result's imaginary component tells you which was to the left and which to the right
1 hour ago, by user
Draft: Replace "keyboard" with "leopard" on a webpage or in a string (xkcd)
@RedwolfPrograms yes, i am shamelessly creating built-ins to solve most of these as we speak :P because i only am using like 10% of my codepage right now
May 11, 2021 00:43
Hehe, I have -8 notifications on Codidact
@RedwolfPrograms I love that xkcd =D
JS, obvious: s=>s.replace(/keyboard/g,"leopard")
@RedwolfPrograms python, lambda x:x.replace("keyboard","leopard") (much creative, very wow)
This one's more of a joke I think, not much golfing potential :p
@cairdcoinheringaahing grins so broadly it overflows, corrupts australia, and proves HQ9+'s turing completeness
May 11, 2021 00:44
@RedwolfPrograms Case sensitive, though?
@RedwolfPrograms Dyalog APL, 21: 'keyboard'⎕R'leopard'
I'm going to try doing it in a way that preserves the capitalization :p
Using lookahead to factor out ard happens to take one more byte :P
@RedwolfPrograms wow this is just a contest comparing regex boilerplate (which python loses of course)
@RedwolfPrograms Js: k=>[...Array(Math.max(...k.map(l => l.length))).keys()].map(x=>k.map(m=>m[x]&&t.push(m[x])),t=[])&&t (takes array oof arrays)
May 11, 2021 00:46
@Ausername Why not just l=>l[0].flatMap(i=>l.map(l=>l[i])) :p
@RedwolfPrograms Shouldn't it be flatMap((_,i)=>?
Oh, yes it should
@RedwolfPrograms Lol
That is some pretty good golfing though, even if the approach wasn't the shortest :p
Actually yours works with different sizes arrays unlike mine
JS array methods are OP, except when it's not
May 11, 2021 00:50
@Wezl Well in that case, Retina 16 bytes ;)
f=l=>[...l].sort((a,b)=>b.length-a.length)[0].flatMap((_,i)=>l.map(l=>l[i])).filter(x=>x!=[][0]) works but is probably longer than necessary
lookahead still takes +1 in retina ;-;
It exactly ties with doing it using Array and Math.max lol
@RedwolfPrograms We'll see.
I think having themes is a really great idea, opinions on caird's suggestion?
May 11, 2021 00:53
theme:
@lyxal You're good to post your you're not <x> one now
i think themes would be cool. maybe we can put them as answers under the meta post
Doesn't look like lyxal's here atm
May 11, 2021 00:55
2 hours ago, by lyxal
Draft: I'm <x> -> You're not <x>, you're <y>
@RedwolfPrograms k=>[...Array(Math.max(...k.map(l=>l.length)))].map((_,x)=>k.map(m=>m[x]&&t.push(m[x])),t=[])&&t saves a few bytes
25 mins ago, by lyxal
That moment when you won't be able to CMC for half an hour because road travel
@RedwolfPrograms Is y a second input?
Presumably
May 11, 2021 00:56
Nah, y should be your username
is input exactly I'm <x> or do we need to find it and if so how far should we match
vtc as unclear xd
@cairdcoinheringaahing must suck for you :P (or maybe not, if you use jelly's compression of your name lmao)
I'll take over as lyxal (69 funny number, rickroll haha frick): Given a string in the form I'm <x> output You're not <x>, you're <y>, where y is your username. x will contain any ASCII charactrs
I do a great lyxal impression, no? :P
JS, 49: t=>y=>`You're not${t.match(/ .+/)[0]}, you're `+y
ṫ5“You're not “, you're ”j“hyper-neutrino in jelly, probably compressable
@RedwolfPrograms Vim, 28 bytes: c3lYou're not<esc>Ji, you're
May 11, 2021 00:59
@Redwolf That was a bit more interesting to golf than I expected
Imaginary brownie points if your language allows to reuse You're and you're
@cairdcoinheringaahing "Just one KotH" :p
wait ṫ5“You're not “, you're hyper-neutrino”j is shorter i'm dumb
@OldSandboxPosts You told me just one koth when I was testing earlier!
May 11, 2021 01:00
@cairdcoinheringaahing Vim, 33 bytes: c3lYou're not<esc>A, you're DLosc
1 hour ago, by user
Draft: Vigenere cipher
@OldSandboxPosts Oh yes, I need to work on the controller :/
@RedwolfPrograms VTC: It's a mega challenge I'm too lazy to look up what it is
ṫ5⁶;“4ƘBaẹ⁾ɓẓf»;;⁶;“ẏwȯ¤"ɗṁɱtj)» for 32
my name compresses pretty decently
We need to run the answers of this on the recent messages :P
Ash's dictionary had a list of CGCC users :p
ngn
ngn
May 11, 2021 01:03
@Bubbler not really
abc
abc
@RedwolfPrograms t=>`You're not${t.match(/ .+/)[0]}, you're abc` Outgolfed lol
Hardly golfed when it loses functionality :p
You don't get a hole in one for knocking the ball into a lake :p
abc
abc
@RedwolfPrograms Ok, actual golf: since the match is greedy and coercion from array into string removes the brackets, [0] is unnecessary
Oh, nice
Wait wait wait
abc
abc
May 11, 2021 01:07
What
"I'm joking".match` .+`
Does this work for anyone else?
abc
abc
Yup
I did not know match cast it to a RegExp
This is good
abc
abc
So 44 bytes
(this post can be VTD'd even though it's at +4)
ngn
ngn
May 11, 2021 01:09
@ngn shorter: {`c$65+26!y+(#y)#x}
Let's have another round of CMCs
@RedwolfPrograms Pip, 19 bytes: {z@$+:z@?g}MZab@,#a
@Bubbler wait what lol. okay cool. well now i can delete it without it being mod abuse :P
1 hour ago, by user
Could you also add Draft: Given a multidimensional array (guaranteed not to be jagged), determine its shape?
@RedwolfPrograms 4tta[Y_o_ukyore no_t ]ta[, _y_o_ukyore _h_ype_r-ne_u_trino]pa in yuno
guess how many bytes
abc
abc
May 11, 2021 01:10
@RedwolfPrograms Shape?
60?
@abc Dimensions
ninjad
35, because it's latin encoded for the actual program 4ッタ「Youキョレ ノt 」タ「、 youキョレ hyペrーネutリノ」パ
and ッタ、キョ are both one byte
@RedwolfPrograms Lol, someone is spamming APL built-ins as CMC
APL , J $ because why not
abc
abc
May 11, 2021 01:12
No†e †ha† I will keep doing †his.
@hyper-neutrino You can post the rows/columns sum/product one now
@hyper-neutrino Yeah, no that's mod abuse in my book
CMC: Take an arithmetic operator in the form of a blackbox function (one of addition, subtraction, multiplication, or division), and return one of +, -, *, or / depending on what it is
5 hours ago, by hyper-neutrino
Draft: Given a matrix of numbers, return the sums of each row and the products of each column (as two lists or something like that)
Regardless of whether we think it's a dupe or not, if it has multiple pending RO votes, the appropriate thing to do is let things play their course. If the challenge gets reopened, a meta discussion might be in order. Unilaterally (or almost unilaterally) deleting it isn't cool
May 11, 2021 01:14
Fair enough. I mean, here my deletion counts as a singular vote though. I can open it to meta if that'd be fairer.
@RedwolfPrograms tinylisp, 76 bytes (probably would be shorter using library functions)
@hyper-neutrino Additionally, I can't even VTuD, as you deleted it
@abc 3/1 = 3*1 = 3
oh wait, I didn't consider that. sorry
(forgot my delete isn't just 3 delete votes)
abc
abc
@Bubbler @Bubbler Oops
May 11, 2021 01:15
anyway, I undeleted it, which also clears the previous deletion votes. might put it on meta pre-emptively in case it gets reopened
@hyper-neutrino I think if it's left alone until if/when it gets reopened, that's probably fine
now that i think about it it doesn't make sense to delete something with 4/5 on RO even if by normal vote
if it gets reopened there will probably immediately be a lot of answers so a meta discussion would cover future cases more than this challenge. which may be fine, but there are probably a least a couple saved answers for this challenge
If no one votes to reopen it within 14 days, then the votes decay and problem solved. If they do, time for a proper discussion :P
well it only needs 1 more, lol
My CMC is suprisingly hard lol
May 11, 2021 01:17
You could lock it if/when it gets reopened, just to prevent new answers while being discussed
@RedwolfPrograms f=>'.-...+*'[f(3,2)]||'/'
Division makes it frick
Would 2,1 be shorter?
Wait no
Divisible
abc
abc
@Bubbler @Bubbler Nice! I was messing with simiilar.
Without /, f(1,1) is shortest
Yeah, / messes things up
May 11, 2021 01:19
@RedwolfPrograms Pip, 15 bytes: {"+/-*"@(a5;3)}
Alternatively: f=>'.-+/'[f(1.5,.5)]||'*'
Oh, that's a good pair of numbers
Turns out to have same bytecount
Maybe .5,.5 is better?
Wait no
my headphones either got slightly unplugged or the driver glitched or smth but it started making weird staticky noises and echoing strangely, and for whatever reason when i paused my music it kept making sound
kinda spooky
May 11, 2021 01:21
your headphones are haunted, burn them :P
@DLosc 14 bytes: "+/-*"@{aV^53}
Chances are they came into contact with SQL
Burn them immediately
@cairdcoinheringaahing 10/10 good job
Howdy
May 11, 2021 01:23
@lyxal frick, only 10/10 not 69/420? I failed as a crewmate, hella sus. Let me just go commit frick and die
13
please don't make me read those words again
2
Hang on, pinning that message :P
@cairdcoinheringaahing I'd give that a 6/9, not as accurate
omg ro abuse !12
this event is nearly ending...
May 11, 2021 01:24
Oh cool, I can still star it :P
@lyxal But I even used your catchphrase :P
the event schedule isn't that strict, we can keep going :P it's scheduled for 90m just as a rough estimate
seems to be slowing down significantly now
How many CMCs are left?
@RedwolfPrograms f=>'../-.+..*'[f(8,2)/2] now one byte shorter!
Nice!!!
5 hours ago, by Matthew Daniels
Draft: take an input, then for each word, set their letters in alphabetical order keeping their repetitive ones, then output the whole thing.
4 bytes in Jelly
KS€K but the first two characters have underdots
May 11, 2021 01:25
i probably have the exact same thing as you :P
abc
abc
a=>'+/-*'[a(5,3)%4|0] Shorter still
yep i do
3 in Vyxal
No wait 4
@abc That's super smart
abc
abc
Thx
May 11, 2021 01:26
@RedwolfPrograms Split on words and vectorise sort (vyxal)
@RedwolfPrograms "Alphabetical order" means sorting a before B? Cuz that's gonna be annoying
I think so
Frick
More bytes than 4 then :/
That's rather apioformic
Ash had two bytes alpha sort :p
May 11, 2021 01:27
Creates userscript that swaps caird and lyxal
」 スマソ」 ジョ for 8 except almost none of those are actually implemented lol
not alpha sort though :c thanks for the built-in idea though :P
I believe KOuP€K should work, but the first K has an underdot, the O is the OE ligament and P is actually a capital thorn
Maybe next event uni doesn't interrupt
Mostly-ascii-only Jelly golf is weird :P
Looks like you really need a Jelly keyboard layout :P
May 11, 2021 01:30
@RedwolfPrograms Pip, 14 bytes: aR+XW{ALC_SKa}
Unofficial CMC: Alpha sort an array, assume it has no numbers or symbols
this is why my language supports all ascii input :P
Doesn't work with upper/lower
are you sure that's alphabetic sort
how should upper/lower be sorted
stable?
@DLosc Would be aR+XWSS_ if guaranteed all the same case
May 11, 2021 01:31
@RedwolfPrograms You mean abcdeABCDEabcde gets sorted into aAabBbcCcdDdeEe?
 
Conversation ended May 11, 2021 at 1:31.