« first day (171 days earlier)      last day (2198 days later) » 

5:07 PM
Anyone around for some training?
 
 
1 hour later…
What tag should we look for?
 
Whatever you prefer
Be right back.
 
ok, I am fine with it.
Done, ready for some challenges :-)
@cairdcoinheringaahing How about this one?
Also no Jelly answer.
 
6:41 PM
@Mr.Xcoder Yeah, looks good
 
@cairdcoinheringaahing Oh no we need cyclic successor :'-(
or maybe we don't
 
@Mr.Xcoder Well Cthulhu would do well with this one :P
 
@caird 11 bytes :'-(
Actually....
 
16 bytes, but it doesn't handle cyclic successor yet :(
 
You'd be surprised how easy it is to handle the cyclic stuff
Now 10 bytes
 
6:50 PM
8 bytes
 
@caird How do you take input? as a list?
 
@Mr.Xcoder Yes
 
For now I have ZO€_/€%26E but I have some golfing ideas...
9 bytes lol: ZO_/€%26E
@cairdcoinheringaahing Code points or alphabet values?
 
@Mr.Xcoder For what?
 
Oh you don't use either of them?
 
6:54 PM
Oh, you mean for checking. Code points (a lot shorter)
 
@Mr.Xcoder Hey, one of my old ones! :)
@Mr.Xcoder Could you spoiler those in the future?
 
@DJMcMayhem Yup. I like answering your old challenges, they're fun
@DJMcMayhem Sure.
 
@DJMcMayhem Yep :P We're only doing ones from 2015 or earlier :P
 
@cairdcoinheringaahing 8 bytes
@DJMcMayhem Wanna join us?
 
6:56 PM
You should do this one in Jelly:
44
Q: Build a triangle without any triangles

DJMcMayhemAs a little kid, I liked to play with these toys a lot: They probably intended for these to be used for art, but I always used them for math! Fractals, patterns, etc. One time, I was given this challenge: Build a triangle without using any of the green triangle tiles. This challenge stum...

 
@Mr.Xcoder Mine is totally different :P
 
@DJMcMayhem oh no no no no... I remember that one, it's afwully hard in jelly.
 
Huh. Why so?
 
@DJMcMayhem I'll just copy the CJam answer :P
 
It's very hard to alternate those lines and center it.
@caird 7 bytes here.
 
6:58 PM
OK, I've got an easier one you could do (also with no Jelly answer ATM)
28
Q: Where should I put my mirror?

DJMcMayhemThis is a mirror: |. I just found out that you can stick a mirror in the middle of a string if the string can be mirrored on itself! For example, the string abccba. If you cut it in half the two halves are mirror images of each other: abc <--> cba So, we can stick a mirror in the middle of t...

I'll join you for this one
 
7 bytes with my version, 7 bytes with your method too.
 
(with yours, changed slightly)
@DJMcMayhem Looks fun, I'll try it after we finish this one.
 
@DJMcMayhem for this does the output have to be 2 distinct values or can it be any truthy and any falsey value?
If the latter, 6 bytes
 
7:04 PM
I think the latter
 
6 bytes.
 
6 bytes then :P
 
5 bytes then
 
@Mr.Xcoder How can I remove n characters from a string of variable length? (from front or back)
 
7:05 PM
No... Actually 6
@DJMcMayhem Example?
@cairdcoinheringaahing Can you please post both as a CW?
 
"hello" --> <1><dyad> --> "hell" or "ello"
 
@Mr.Xcoder What's your byte count?
 
Yours.
 
Or <dyad><1>
 
@DJMcMayhem What do you mean by or?
 
7:06 PM
@Mr.Xcoder Mine is 5 bytes.
 
I mean I don't care which
Either one is fine
 
@DJMcMayhem Head or tail should work
 
@DJMcMayhem Try
@cairdcoinheringaahing Just post yours then.
 
But that returns the removed characters, not the original string with the characters removed
 
@Mr.Xcoder Should I add yours as alternative?
 
7:07 PM
Oh yeah Sorry
@cairdcoinheringaahing Yes.
 
@DJMcMayhem may work (haven't tested)
 
I don't think so
 
@Mr.Xcoder What is yours? :P
 
@cairdcoinheringaahing Nope
 
@cairdcoinheringaahing Come on just open the links above ಠ_ಠ
 
7:08 PM
@Mr.Xcoder You haven't linked to your 6 byter
 
Wait, let me find it again.
@DJMcMayhem try
 
That works, but I just realized my approach is wrong
Oh vell
 
I have some ideas
We are most definitely gonna use ŒḂ
 
Aww, are you two starting without me? :(
 
You'll catch up pretty fast, you know I am very slow.
 
7:15 PM
@Mr.Xcoder Sure </sarcasm> :P
 
TIL that a footer consisting of ÇŒṘ helps dramatically...
 
That feels waaaay too long
 
I have 15 bytes.
 
7:21 PM
ಠ_ಠ
12|21
 
ಠ_ಠ It doesn't handle the "Can't happen" case
 
Hold on, I am making a test Suite and then I'll golf mine.
Mine does.
 
Yeah, mine doesn't either
 
Pff...
 
Mine is horrible, ugh
So how can I shorten ẆŒḂÐfµLḂ$Ðḟ?
 
7:25 PM
Now... What? I tested it 2 mins ago and it worked for the empty string.
Now it doesn't
 
@Mr.Xcoder That's Jelly for you :P
 
Huh?
 
@Mr.Xcoder Works one second, then doesn't the next :P Or is that just for me?
 
@DJMcMayhem I'll let you think about it more before spoiling.
 
7:30 PM
ಠ_ಠ We all must fix our flawed approaches
Also mine is flawed badly for odd-length strings
 
19 bytes, works with everything
 
@DJMcMayhem BTW that seems pretty optimal now :P
 
Haha
It seems like it should be shorter as a helper link though, I just don't know how to chain two conditions
 
I have 21 bytes using DJ's method
 
wait 21 or 19?
 
7:36 PM
21 with DJ's, 19 with mine
 
I have 21 too, do we have the same solution?
 
Try sha
 
20 now (I'm working on DJ's)
 
How do you safely get the lengthiest element?
 
@Mr.Xcoder Tail
 
7:37 PM
Oh then mine would be ~22
@caird This kind of tail right:
?
 
@Mr.Xcoder No, monadic
@DJMcMayhem what's the MD5 hash of yours? My version of yours is 9135b81f8cad5eae2f042e75a9991d27
 
WAIT. If ours all errored for the impossible one, then it would be valid because STDOUT is empty and STDERR doesn't matter right?
 
@Mr.Xcoder I think so, but you'd have to ask DJ, it's his challenge :P
 
I have 19 bytes BTW
 
@cairdcoinheringaahing Just a sec, I lost it
 
7:39 PM
@cairdcoinheringaahing No, that's default.
 
@Mr.Xcoder With erroring?
 
but if you're <21 bytes, they're not the same
 
@cairdcoinheringaahing yes.
 
Just out of curiosity, what error are you causing?
 
In fact none...
@DJMcMayhem Would it be allowed to output 0 instead of ""?
 
7:40 PM
@cairdcoinheringaahing 7174461C51FC16CDC13312BE67B8942F, so not the same
Mine doesn't work for edge cases either way though
@Mr.Xcoder If I wrote that challenge today, I'd say absolutely, but with the way it's currently stated, no.
 
Danggggg
@cairdcoinheringaahing Can I see your 19-byter please?
(spolier)
 
@cairdcoinheringaahing Ooooh. You only have one filter instead of two
 
@DJMcMayhem Yeah, I use a ternary if for the other one
 
It works for all cases but outputs 0 for empty ones...
It would be 18 19 bytes....
 
7:44 PM
Oh, and j”| is so much better than Ṫ”|;UŒB
 
Yeah I do use that too
 
OK, gtg
 
ಠ_ಠ Why doesn't this filter
Never mind, I got it
\o/ 17 bytes
 
Why in the world does []Ṫ output 0?!?!
 
7:48 PM
@Mr.Xcoder From the source code: call = lambda z: iterable(z).pop() if iterable(z) else 0
 
ಠ_ಠ Dennis
 
I love the fact that removing one µ can cause my whole program to crash :P
Also, \o/ for being able to put comments in the input
 
@cairdcoinheringaahing BUFVHLUDSFKUYC,.DBUGFOACKSJ , Now it outputs | for the empty string...
And 17 bytes
 
@Mr.Xcoder Yeah, I had that problem
 
And how did you handle it?
 
7:56 PM
By adding 5 bytes to my program :P
 
ಠ_ಠ
Ok gtg now.
 
Mine was spoiler and outputs |
 
Careful, Dj may come back
 
@cairdcoinheringaahing What was that? I just got pinged
:P
 
7:59 PM
FWIW, mine was this
 
You really have a superping for anything that contains "DJ"?
 
Anyone mind if I post ^^?
 
Go ahead
 
No objections
 
8:10 PM
o/ y'all (if anyone's still here)
 

« first day (171 days earlier)      last day (2198 days later) »