14:00 - 20:0020:00 - 21:00

2:06 PM
Hello o/

Hello \o
yesterday, by Mr. Xcoder
Old challenges or CMCs?

@Mr.Xcoder Lets mix it up and do some old challenges :P

Agreed.
numbers, arrays, strings or what else?

I'll look for , you look for ?

yes

2:09 PM

@cairdcoinheringaahing Umm, how does `13b1` return `111b`
Oh nvm
Be back in 3'
@cairdcoinheringaahing seems fun, rather hard though. Any algorithm in mind?

Split on numbers, then repeat each by the number of times :P

I do have something in mind, not very golfy though: Split by the runs of digits... Nope that wouldn't work :P
I have a feeling I won't be able to solve it :P

@Mr.Xcoder Yeah, the fact that numbers can be in it make it difficult. Do you want to pick a different one?

Yes, my brain is quite tired for such a difficult challenge rn

2:20 PM

Ok, let's try it
ಠ_ಠ I can type `ā`, `µ` and `Œ` from my keyboard, but I cannot type `Ṙ`

Why don't you create a better keyboard

Because I have to import a third-party on Mac ;-/

ಠ_ಠ This would be so much easier if the regex atoms were fixed/puleed

I think I have 18 bytes ಠ_ಠ
No I don't...

2:32 PM

It's not correct.
But I thought of split on spaces, take heads of each, then take the dequeue and filter for non-alphabet characters.
(and concatenate)
(the algo itself is correct though)
@cairdcoinheringaahing I have a solution, that unfortunately returns extraneous `0`s: `I' a l t, 0 s a s. H i m h, h i m s. W I g a s u - h m s! 0 0 T m o a p m o.`

@Mr.Xcoder Yeah, I had one that did that :(

We should just go ahead and collapse multiple spaces into each other.

ಠ_ಠ My current one returns `I a l t, s a s. H i m h, h i m s. W I g a s u - h m s! T m o a p m o.`

`I' a l t, s a s. H i m h, h i m s. W I g a s u -- h m s! T m o a p m o.`
Mine ^
Dang spaces
ahh I forgot to dequeue

2:46 PM
Is there both case alphabet in Jelly?

@user202729 You can do `Øa;Œu` I believe, untested.

18 bytes

ಠ_ಠ Clearly we're doing something wrong @Mr.Xcoder

I am very close...
I have to filter by identity ಠ_ಠ
21 bytes here.
Does anyone know how to shorten `¹Ðf`?
@user202729 What is the exact text yours returns for `"I'm a little teapot, short and stout. Here is my handle, here is my spout. When I get all steamed up - hear me shout! Tip me over and pour me out."`?

2:52 PM
`I' a l t, s a s. H i m h, h i m s. W I g a s u - h m s! T m o a p m o.`

21 bytes here

@cairdcoinheringaahing Md5?

@Mr.Xcoder `325f7a859080b3ca44a9085606331dcc`

Another test case: `abc+-×/def ghi` -> `a+-×/ g`

`E723B913030C5ABAE73A8F54BE12306D`

2:52 PM
20 bytes here

You changed the test case.

@user202729 Mine works

Mine returns `a+-×/ g`

Because the asterisk format as italic.

@user202729 Use \*

2:54 PM
19 bytes.

What about backtick? ``` ` ``` doesn't work.

19 bytes

(it also include the wrapper backticks)

Try backtick--slash-backtick-backtick

@user202729 You can test stuff here

2:55 PM
I've tested already but I can't get it right.

@user202729 Backtick, Slash, Backtick, Backtick
16 bytes.

Another test case: `abc def` -> `a d`

Mine returns `a d`
ಠ_ಠ

\o/ Mine works

@EriktheOutgolfer Although it is not directly related to jelly code, can you please add the Md5 hash tool to the resources and utilities list? It is very handy
@cairdcoinheringaahing @user202729 Fixed mine. 19 bytes again
Also I hate the fact that `ḣ1` cannot be shortened in my case.

3:00 PM
@Mr.Xcoder Can't it be `Ḣ`?

No.
@cairdcoinheringaahing It would return 0 that way :-/
Although I think I can reorder to save some bytes
Another 19 byter by reordering...
@cairdcoinheringaahing Fun fact: Mine still contains `¹Ðf`. Does yours do so too?

@Mr.Xcoder Yep

@user202729 Does your contain `¹Ðf`?

No, but it does contains `Ðf`

3:07 PM
Yes

Mine does

\o/ 18 bytes

I think I'll get 18 soon too
Reordering brought me 19 bytes as well sighs

ಠ_ಠ I realised my 18 bytes was wrong, then re ordered and got 18 bytes again with it working \o/

3:12 PM
```ḊŒuḟØA
Ḳµḣ1;Çµ€¹ÐfK```
(I think I can golf that easily, but fail to see how)

@Mr.Xcoder FWIW, `ØB` is a good way to generate all alphabet characters, as long as there are no numbers in the input

@cairdcoinheringaahing I don't think you may assume that.
(it wouldn't really be fair)

@Mr.Xcoder No, but you don't preserve numbers

oh yeah... DANG it

17 bytes

3:15 PM
17 bytes \o/

Should you preserve numbers?

@cairdcoinheringaahing Using my approach?

@user202729 No

(that is, should numbers be treated the same as alphabet or punctuations?

@Mr.Xcoder Based from yours, but my solution (if that makes sense)

3:16 PM
@user202729 as alphabet.
@cairdcoinheringaahing Oh you used my filter?

@Mr.Xcoder Huh?

So, 15 bytes

@cairdcoinheringaahing The `ḟ` or something else?
@user202729 sighs

@Mr.Xcoder Yes

14 bytes

3:17 PM
cough Mr. Xcoder, cough

Hint: I use `Ḣ` . Solution link below
https://tio.run/##RY2hDsIwGIQ9T3EkJJjBC@BQLFgSdJP90JF2bdp/S2YxWCSOBD2FmmZPMl6kdDXIu3z33YWUakMY@9dm7J/DY7uYjf370w3303D7Xrt9CCFfagioklkRmIQ1nAFeGscQVQHPpuY1duQIpYduIWOtKIP8V94m6CipQo4zxalScUpCU4HaYhVp4aBpMtc8B3Ao7ZRNQy4dRUUCkukH

@user202729 How did I not get that?
(ノ°Д°）ノ︵ ┻━┻

Now I have 14 bytes too, using user's approach

> using user's
:P

3:21 PM
Namely `Ḳ¬ÐfµḢ;ḟØB\$µ€K`

I say user gets to post?

Yes
Also `Ḳ¹ÐfµḢ;ḟØB\$µ€K`

@user202729 Good point, considering mine :P

@user202729 It's not, but I am too lazy to write 202729...

3:23 PM
@, u, Tab. (3 bytes)

Challenge, working together, get it below 13 bytes

Did you get it below 13?

No, but the CJam answer is

Unfortunately `Tị` doesn't work in place of `¬Ðf`.

@cairdcoinheringaahing It's like Java beats Python, right?

3:24 PM
@Mr.Xcoder Yep :P
Maybe the method here will help

Godammit... I rewrote it by myself with all things considered, and I arrived a @user202729's solution: `Ḳ¹ÐfµḢ;ḟØB\$µ€K`

Neither of `Ɠɠƈ` reads a word.

@user202729 No, but `K` splits on words
Ah, that's the difference. Extra spaces don't affect CJam's `r`, but they do affect Jelly's `K`

I don't see how that would help.

We need to handle the extra spaces with `¹Ðf`, but `r` does that automatically

3:30 PM
`¬` is listable, not what I expected. So I previously thought about how can `¹Ðf` equal to `¬Ðf`.
`ṆÐḟ` works too.

I think we can do it in less than 14 bytes though

`µ` can also be used to end a monad? You place a `µ` right before a `€`.

it starts a new monadic chain.
How to collapse adjacent " " easier... DAMN
Any ideas?
@user202729 I guess you should post it then. Also @cairdcoinheringaahing up for another one?

@Mr.Xcoder Sure, but I'm writing a challenge at the moment, so I may not finish it

@cairdcoinheringaahing Ok, I'll search for one and ping you when I do. Solve it when you have time (and alert me when you post that challenge) :p

3:42 PM
@Mr.Xcoder Will do

@cairdcoinheringaahing @user202729 I found one.

@Mr.Xcoder Honestly, is there any language Dennis can't do?

@cairdcoinheringaahing Nope.

The languages Dennis didn't learn.

3:47 PM
@user202729 Error 404

@user202729 Nice. We have a convention to mention the collaboration, even though you were the one to get the golfiest code. Can you please add that and maybe mention some alternatives? Like this answer, for instance: Done alongside caird coinheringaahing in chat.

@Mr.Xcoder Working on it

Me too

@Mr.Xcoder Edited.

Rounding is very annoying.
Thanks.

3:52 PM
"No more than 1" means "=1 is acceptable".

Rounding is still very annoying.
Because Jelly might round them as `[0.12, 0.12, 0.25, 0.5]`
If we could return exact percentages in the range [0, 1], 2 bytes :/

2 bytes? I can only get 5 bytes tio.run/##y0rNyan8///w9uDD009sN/r//7@hjqGOkY4JAA

@user202729 The percentages in the range [0, 1].
Like `[0.125, 0.125, 0.25, 0.5]`

I see an example output for that one be `[12,13,25,50]`.

I know. If we could.
Too tired right now, gtg o/ (@caird But don't hesitate pinging when you post it ;P)

3:59 PM
14 bytes

17 bytes here

Actually I'll keep on trying

Dennis is so smart (I read the solution only after I get 14 bytes)

4:04 PM
@user202729 What does `apply the inverse of` mean?

Where?

@user202729 Second last line of explanation (Dennis' answer)

10 bytes

`apply the inverse of H` means `apply Ḥ`

4:06 PM
@Mr.Xcoder No
My MD5 is `7f10d97d5c36c7461e49cbccf7ddfef7`

I have 12 bytes
Does anyone know a way to prepend a `0` other than `µ0;`?

@Mr.Xcoder If it needs to be on a new chain, then there isn't one
Otherwise `0;` would work

@Mr.Xcoder I decided to abandon the challenge given that it was one byte in Jelly :P

@cairdcoinheringaahing Can I know the byte?

4:12 PM
@Mr.Xcoder `y`
9 bytes here

@cairdcoinheringaahing ಠ_____________ಠ

How does it work?

@user202729 `y` is string translation, I'll just make a TIO example

I'll just give up my 11 byter: `0;+\÷S×ȷ2ḞI`

Never mind, I can't get it to work. The description is `y` Translate the elements of y according to the mapping in x.
@Mr.Xcoder Do you want a hint?

4:17 PM
yes
`+\` I think?

Use 2 quicks combined for the rounding

Quicks?!

No idea, pass

\o/ I have characters from Atoms, Quicks and Syntax pages :P
@user202729 Do you have a solution?

4:19 PM
@@cairdcoinheringaahing can you just spoil it please? I'm gonna have to go.

No, unfortunately.

@Mr.Xcoder Never mind, realised mine didn't work
It was `÷S×ȷ2ḞĊƭ"` and fails if the elements are at the same index bits (all numbers at odd indexes)

Yeah well, I'll just go ahead and post mine. If you find any other solutions, comment.

@Mr.Xcoder If you're going o/

@cairdcoinheringaahing Actually we can just do `0;+\÷S×³ḞI` and say it is a link (acts like a function so arguments are not used right)?
> ³ Return the third command line argument (first input) or 100.

4:25 PM
@Mr.Xcoder Hmm, I'd say that's sketchy. You'd have to ask Dennis

@cairdcoinheringaahing Posted.
in Jelly, 8 secs ago, by Mr. Xcoder
@Dennis Can `ȷ2` be replaced by `³` for `100` in Jelly. Of course, I'd say my program works as a monadic link, and can act as a function called using code, so that the input (third command line argument is empty). Do you think this would be allowed? For instance, I submitted the following code to one of my answers: `0;+\÷S×ȷ2ḞI`. Can I just say it's a monadic link, not as a full program, and use `0;+\÷S×³ḞI`instead?

No I'm not staying; Homework. o/

Will take a look when I have time though, good training session!

4:43 PM
@Mr.Xcoder hmm
but note that there's a very extremely rare case that there's a collision of two solutions

5:08 PM
in Jelly, 59 secs ago, by Dennis
@Mr.Xcoder Sure that works.
@cairdcoinheringaahing

@Mr.Xcoder Huh. TIL

@cairdcoinheringaahing It is like a function in any other language. Imagine `input()` yields `100` in Python if there is no input, and you use it inside a function.

5:41 PM
@cairdcoinheringaahing I'm back now, can train if you want to

@Mr.Xcoder Yeah, sure. Opening tabs

methinks that's absolutely necessary :P

What tag should we do?

number IMO. Also Brb (in about 2 mins)

Hang on, I have to go eat. Should be back in about 30 minutes :(

5:50 PM
@cairdcoinheringaahing I'll still be here. See you.

6:19 PM
@Mr.Xcoder I'm back :P 29 34 minutes.

Nice.
Be right back, phone call
@cairdcoinheringaahing Done :-)

@Mr.Xcoder Nice. I'm looking for a question to try atm

Me too

@cairdcoinheringaahing 10/10
@cairdcoinheringaahing Can you please look for a challenge for me? I wanna solve smth quite short in Husk

6:29 PM
@Mr.Xcoder Sure
@Mr.Xcoder This looks solvable

@cairdcoinheringaahing Taking a look, thanks
@cairdcoinheringaahing Definitely solvable
@cairdcoinheringaahing Can we please come up with a test case, those are way to big

@Mr.Xcoder try it with 100. It should return `2, 10, 99, 100`

@cairdcoinheringaahing 7 bytes.

ಠ_ಠ 15 bytes
16 if it has to be joined by newlines

@cairdcoinheringaahing Wait without `1`?
Oh yes nvm

6:44 PM
@Mr.Xcoder Yes

8 bytes
> Each base should be on its own line
@cairdcoinheringaahing We have to join by newlines... 9 bytes

What algorithm do you use? I generate it in all bases, then filter

@cairdcoinheringaahing Me too.

Mine is `bÐ€µỊẠ\$Ðfi@€µḊY` FWIW

ಠ_ಠ
Wow...

6:47 PM
So redundant?

@cairdcoinheringaahing Please note that `Ðf` generates the range automatically...
@cairdcoinheringaahing Yes... Kinda
(although mine is quite different nonetheless)

Do you use `Ðf`?

Yes, I do.
Tell me if you want more hints.
@cairdcoinheringaahing Note that mine doesn't contain `€` anyway.

ಠ_ಠ I don't have a solution and I'm currently facedesking ಠ_ಠ

Haha
Also I think you overthink it a bit, given your current solution.
(I do however use two interesting tricks)

6:59 PM
How long is your filter part?

Including `Ðf`?

7 bytes: 2 for `Ðf` and 1 for `µ` (so the check is 4 bytes essentially).
brb

So I'm guessing `<monad><monad>\$` where one monad is 2 bytes

@cairdcoinheringaahing No `\$`

7:03 PM
(ノ°Д°）ノ︵ ┻━┻

@cairdcoinheringaahing `<nilad><dyad><monad><monad>µÐf<monad><monad>`
Heh it works for 100 and other stuff I tested, hopefully it is valid and I didn't misread the challenge :D
@cairdcoinheringaahing Note That checking that the maximum digit in that base must be `1` is sufficient.

AAAARRRRRGGGGG!!!!! Jelly hates me in base conversion!!!!

I have my answer prepared :P `</joke>` Anyway I don't think it's golfable
@cairdcoinheringaahing why?

@Mr.Xcoder What I'm doing isn't working

@cairdcoinheringaahing Build an algorithm first and speak loudly (share your thoughts). ATM it's pretty clear you're heavily overthinking it.

7:10 PM
@Mr.Xcoder dyad is `b`

Of course.

Is nilad `⁸` or `³`?

Yes, the latter
And what monads check if the maximum digit in that base is 1???

GODDAMN CHAINS!!!!!!!!
9 bytes here

Yeah 9 bytes joining by newlines. Can I see?

7:12 PM
@Mr.Xcoder spoiler

@cairdcoinheringaahing Nearly the same.
> caird coinheringaahing is typing. :P

My very first attempt was ^^^^, but with `⁸` rather than `³`, because I normally use link argument rather than ARGV

@cairdcoinheringaahing Oh poor you :D
Can I post now?

@Mr.Xcoder Go ahead. Although, there should definitely be a "The amount of anger this incited in another user is waayy too much" in there :P

@cairdcoinheringaahing No, I think I will not include the "The amount of anger this incited in another user is waayy too much" part

7:16 PM
@Mr.Xcoder Yeah, better not :P

Although I will if you want we to :PPP

Why do I get the feeling you have a canned post that inserts `Done alongside caird coinheringaahing in chat.` into the post? :D

@cairdcoinheringaahing I don't actually. But that's my usual phrasing :P
And I cannot train anymore...

@Mr.Xcoder o/ Good session

Indeed. Bye \o
Random idea before leaving: if we keep voting for each other, it may be considered voting fraud: @cairdcoinheringaahing from now on, let's upvote only very nice approaches that we two get to post without CW. Agree?

7:21 PM
@Mr.Xcoder Oh yeah, didn't notice that. Good idea

And I cannot train anymore... was just for my parents to think I stopped
MOBILE FTW
:P

@Mr.Xcoder You can't really train on mobile :P
@Mr.Xcoder's parents Check Xcoder's phone :P /s

@cairdcoinheringaahing yeah BUT I can try some trivial ones shortly if you don't mind
@cairdcoinheringaahing no they don't, I don't allow them to :D

@Mr.Xcoder Do you have any challenges (CMC's or old)?

@cairdcoinheringaahing no because mobile.

7:34 PM
@Mr.Xcoder Hmm, yeah. Do you mind if I think of a CMC?

And BTW I might suddenly leave for ~5 minutes sometimes
@cairdcoinheringaahing I would be glad if you would think of one
opens tabs on mobile O_o
Hope we don't need many quicks

CMC: Given a list of numbers, `l`, and a positive integer `0 < x < 4`, reduce the list by addition, multiplication, division or subtraction depending on `x`. You may choose the mapping
(not really mobile friendly, sorry :(

Ok, sounds decent
@cairdcoinheringaahing I assume the list will not contain `0` in case of division

@Mr.Xcoder Yes, but it may contain any other integer
FWIW, the Levant version would be `'₋+×÷'/`

@cairdcoinheringaahing Would V work:
```+
_
×
÷
Ŀ/```
?

7:40 PM
@Mr.Xcoder Not quite, you'd need to tell Jelly which line to run (superscript 4) at the start of the main link

Oh yeah.. but that would do the job right?

@Mr.Xcoder Should do

@Mr.Xcoder Actually, for some reason, it doesn't

Anyway, this 12-byter works
```S
_/
P
÷/
⁴Ŀ```

7:43 PM
@Mr.Xcoder Yeah, I think that's the shortest code possible in Jelly. \o/ Levant wins by 5 bytes :P

Also Dennis says he'll write Jelly 2 somewhere in the (far) future

Yeah, I saw. Personally, I think he should change the hooked letters and bring in an extended set of commands

^
And actually use all the single-bytes available...
Sudden break incoming
@cairdcoinheringaahing Sudden break ends

@Mr.Xcoder While that's good news, I don't think you have to bold it :P

Ok, won't do.

7:58 PM
Should I think of a CMC?

Yes, or pick an old challenge
I'll try to think of CMCs too, but mobile tears apary my inspiration

14:00 - 20:0020:00 - 21:00