« first day (37 days earlier)      last day (271 days later) » 

Leo
9:25 AM
@MartinEnder I've found an ordinal mode way to split a string on the stack in half: ..Y;m;!?z?
 
ah, very nice :)
 
Leo
Basically, Y gives us a string with half the length, m truncates the old one to this length (so we get the first half), and z drops the first half from the full string, getting us the second one
Making it work correctly with odd length strings might be too hard
 
and making it work with ' in the middle of the code ;)
 
Leo
well, I don't know how to deal with that in any case :D
 
I think the only general solution is to pull the next character into the first half and then pad the second half with an additional space
 
 
4 hours later…
Leo
1:52 PM
Toeplitz challenge solution. I'm particularly proud of how I managed to use j in ordinal mode :)
I'll post it as soon as I have some time to explain it adequately (and maybe golf it better)
 
that looks pretty good
I haven't tried golfing mine yet
I wanna try another approach though where I don't read them one line at a time
 
Leo
I understand just now your solution, I like how you used Z!
 
2:08 PM
looking forward to your 9-byte Cardinal solution :P
hm, I wish I had a good alternative for &w...k that can also do 0 repetitions
 
 
1 hour later…
Leo
3:25 PM
@MartinEnder better to avoid it, codepoint input would be expecially awkward in this challenge :P
nice idea with the tape, by the way!
At least one byte can be golfed by letting the IP bounce
 
 
2 hours later…
5:33 PM
@Leo oh cool, I tried something similar but couldn't get it work out. I like how the ] is actually necessary to make the ! not mess stuff up
 

« first day (37 days earlier)      last day (271 days later) »