Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by radarek‭

31 posts
50%
+0 −0
Challenges Evaluate a single variable polynomial equation

Ruby, 29 bytes ->l,x{a,*b=l;a ?a+x*f[b,x]:0} Try it online

posted 3y ago by radarek‭  ·  edited 3y ago by radarek‭

Answer
50%
+0 −0
Challenges Generalized Sort

Ruby, 25 bytes Credits goes to @Shaggy and his JavaScript solution. ->a,l{l.map{a.sort! &_1}} Try this online! The other solution which not mutate original array

posted 3y ago by radarek‭

Answer
50%
+0 −0
Challenges Bytes to Segfault

Ruby, 14 bytes `kill -11 #$$` Try this online!

posted 3y ago by radarek‭

Answer
50%
+0 −0
Challenges Cumulative Counts

Ruby, 31 bytes ->a{a.map{$*[_1]=1.+$*[_1]||0}} Try this online! $* is a global variable, so calling this lambda multiple times (in a single process) would give wrong result. A 32 bytes vers...

posted 3y ago by radarek‭  ·  edited 2y ago by radarek‭

Answer
50%
+0 −0
Challenges Digit Sum Integer Sequence (working title)

Ruby, 36 bytes Infinite version: n=1;0while n+=p(n).digits.minmax.sum Try this online! (program is interrupted after it reaches the 128KiB limit of output)

posted 3y ago by radarek‭  ·  edited 3y ago by radarek‭

Answer
40%
+0 −1
Challenges Compute the determinant

Ruby, 35 bytes ->m{require'matrix';Matrix[*m].det} Attempt This Online!

posted 3y ago by radarek‭

Answer