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 dzaima‭

15 posts
88%
+13 −0
Challenges Output 256 in many different ways

Challenge Write as many functions, programs, or snippets of code, that result in 256. Your score is the number of separate solutions submitted in an answer. The challenge? The characters used in ...

12 answers  ·  posted 3y ago by dzaima‭  ·  last activity 2y ago by snail_‭

87%
+12 −0
Meta How do we handle standardizing things?

Code golf, being about exploiting things, often brings about many questions about edge cases. Since we don't want each challenge to have to deal with all problems again and again, it makes sense to...

2 answers  ·  posted 3y ago by dzaima‭  ·  edited 1y ago by General Sebast1an‭

87%
+12 −0
Meta Do we require codegolf challenges include example code?

Don't require example code In general, I believe the decision should be on the challenge creator. Requiring it would be useless for certain types of challenges (kolmogorov-complexity or similar), ...

posted 3y ago by dzaima‭

Answer
85%
+10 −0
Challenges Create an Alphabet Diamond

Challenge Output the following text: A ABA ABCBA ABCDCBA ABCDEDCBA ...

11 answers  ·  posted 3y ago by dzaima‭  ·  last activity 2y ago by General Sebast1an‭

81%
+7 −0
Meta Default Rules: Extensions

The answer header must specify the minimum implementation & environment required If there are multiple implementations of a language and an answer depends on features of one, it must be specif...

posted 2y ago by dzaima‭  ·  edited 2y ago by dzaima‭

Answer
77%
+5 −0
Challenges Print the Great Numeric Pyramid

Canvas, 19 bytes ‾-{{╷¹²-m‾-¹-m] *]/ Try it here! ‾-{{╷¹²-m‾-¹-m] *]/ Program, ascii-fied for monospacing ‾- push 28 { ] for 1…28 (pushing counter & s...

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

Answer
77%
+5 −0
Challenges Diagonalized alphabet

Canvas, 17 11 bytes Z2n⤢J{×7«mT Try it here! Z The alphabet 2n split into pairs: ["AB","CD","EF",…] ⤢ transposed: ["ACEGI…","BDFHJ…"] J remove and pu...

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

Answer
71%
+3 −0
Challenges "Hello, World!"

SOGL, 10 bytes ╥‰~⅜,(ε ‘ū Try it here! Built-in compression of "hello"; ", "; "world"; "!", with first letters of words uppercased.

posted 3y ago by dzaima‭

Answer
71%
+3 −0
Challenges Prime Difference

Dyalog APL Extended, 14 bytes {¯4⍭4⍭⍣(⍵≤-)2} Try it online! {¯4⍭4⍭⍣(⍵≤-)2} Monadic dfn 2 start with 2 ⍣ Repeat 4⍭ the function "next prime" ...

posted 3y ago by dzaima‭

Answer
71%
+3 −0
71%
+3 −0
Sandbox Draw a line over ASCII

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

71%
+3 −0
Challenges Cumulative Counts

BQN, 5 bytes 1+⊒ Try it here! 3 characters, but, as there's no SBCS codepage for BQN, it must be counted as UTF-8. Two of the three characters are just adding one to the built-in that almost ...

posted 3y ago by dzaima‭

Answer
70%
+5 −1
Meta What are the rules of programming language compliance?

If there exists something (reasonable) that can run it, it's valid. This includes obscure, non-standards-compliant compilers (though this should be specified in the answer if needed). So any poste...

posted 3y ago by dzaima‭

Answer
66%
+2 −0
Challenges 1, 2, Fizz, 4, Buzz!

Canvas, 24 bytes zz+¹┘%!* ‾U{ŗ3Fi⁸5Bu⁸+nO Try it here! Explanation (ASCII-fied for better monospacing): zz+¹┘%!* Helper function ⁸; Expects stack to be [modulo, string] zz+ append "z...

posted 3y ago by dzaima‭

Answer
66%
+2 −0
Sandbox Create an Alphabet Diamond [FINALIZED]

posted 3y ago by dzaima‭  ·  edited 10mo ago by trichoplax‭