2018
Sep
1
awarded  Yearling
2017
Sep
1
awarded  Yearling
2016
Sep
24
comment ASCII Odd/Even Cipher
You can write as shown below: ->s{p s[-i=-1]+s.bytes.each_cons(3).map{|x,y,z|i+=1;a=i%2>0?x|z :y%2>0?y|x :y|z;a>126?' ':a.chr}*""+s[-2]}
Sep
24
revised String Distance
deleted 1 character in body
Sep
24
revised Is it a balanced number?
added 23 characters in body
Sep
24
revised Is it a balanced number?
added 205 characters in body
Sep
24
awarded  Commentator
Sep
23
answered Substring Chainification
Sep
23
comment Base Conversion With Strings
How about use s=d[z%t]+s;z/=t instead of z,m=z.divmod t;s=d[m]+s?
Sep
23
comment String Concatenation
@m-chrzan Great! I added your answer.
Sep
23
revised String Concatenation
added 210 characters in body
Sep
23
comment String Concatenation
@m-chrzan Oh, I didn't observe carefully the question. Thanks!
Sep
23
revised String Concatenation
deleted 53 characters in body
Sep
23
answered Is it a balanced number?
Sep
23
answered The Base in the mix
Sep
23
comment List all ordered partitions of n
@Cyoce If we use .flatten 1, but .flatten(1), syntax error occurs, doesn't it?
Sep
23
answered String Concatenation
Sep
22
comment List all ordered partitions of n
@ m-chrzan Thanks for your advice! I edited that.
Sep
22
comment List all ordered partitions of n
@TimmyD I added an ungolfed code and the usage.
Sep
22
revised List all ordered partitions of n
deleted 2 characters in body