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 »

Activity for dzaima‭

Type On... Excerpt Status Date
Comment Post #283620 There probably should be an even `n` test-case to make sure it's clear that those happen. (important as even/odd lengths mess with palindromization)
(more)
over 2 years ago
Edit Post #283575 Post edited:
over 2 years ago
Edit Post #283575 Initial revision over 2 years ago
Answer A: 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 specified. Otherwise, it can just specify the language. That specification can be done mostly in any form, as...
(more)
over 2 years ago
Edit Post #281299 Post edited:
Fix header
over 2 years ago
Comment Post #282932 @#54151 Comments with shortened code are usually made with the intent of updating the answer (while letting the author review the changes). When updating the answer, you'd write `language, <strike>oldCount</strike> newCount bytes` in the header.
(more)
over 2 years ago
Comment Post #282903 golfed to [97 bytes](https://tio.run/##Lc2xDoIwEADQX2k63UUpSoxRtBDC4u5ggnFoSkVM5cjRMPjzlcH5De9tZjNZ7seQzIfoXRBMQWgRSResC1LsRm@sg/Rukm@VNI@0Wy92DdwPnXoyfeqX4ZpaB0BnLRtZHjf5Nsuw0ECalP1zFQBXjCXllGR7xGhpmMg75amDJQV5cd6TuBH7ViLsEE/xBw), also with a proper format, separating implementation and invocation.
(more)
over 2 years ago
Suggested Edit Post #281299 Suggested edit:
Fix header
(more)
helpful almost 3 years ago
Comment Post #279408 hm, I guess it could make sense to just not get rep from meta answers at all. Don't know what's better though. I guess most posts are ones where votes on answers just mean public consensus, for which getting rep doesn't make sense.
(more)
almost 3 years ago
Comment Post #282491 It's listed as the language "C (clang) + BMPL". The leaderboard counting it under C is a problem though.
(more)
almost 3 years ago
Comment Post #282491 Pretty much nothing in this answer applies to libraries but not golfing languages. Golfing languages can too "cheat" by having builtins that immediately solve the challenge, and golfing languages are (at least in their start) used by just one person. Adding a library to C results in a new language...
(more)
almost 3 years ago
Comment Post #279743 HTML can be used, but I don't think you'll get beyond 2 solutions.
(more)
almost 3 years ago
Edit Post #282158 Post edited:
almost 3 years ago
Edit Post #282158 Post edited:
almost 3 years ago
Edit Post #282158 Initial revision almost 3 years ago
Answer A: Diagonalized alphabet
Canvas, 17 11 bytes Z2n⤢J{×7«mT Try it here! ```text Z The alphabet 2n split into pairs: ["AB","CD","EF",…] ⤢ transposed: ["ACEGI…","BDFHJ…"] J remove and push the first item: ["BDFHJ…"], "ACEGI…" { for each character of "ACEGI…" ...
(more)
almost 3 years ago
Comment Post #279770 Well, you'd also need `|` + `-` + `/` and `|` + `-` + `` \ ``
(more)
about 3 years ago
Edit Post #279770 Post edited:
about 3 years ago
Comment Post #279770 @Razetime Diagonal lines can't really be overlapped, which is the whole point. Like, there's no character for `/`+`|`
(more)
about 3 years ago
Edit Post #281376 Initial revision about 3 years ago
Answer A: 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 solves the challenge too.
(more)
about 3 years ago
Comment Post #280729 In an unfinished [completely random file](https://github.com/dzaima/Canvas/blob/master/files/implemented.md#palindromizator-defs) where it definitely doesn't deserve to be, with an unreadable description (where the described "basic overlap", "background overlap", and "mirror vertical" aren't even us...
(more)
about 3 years ago
Comment Post #280729 Hint: all palindromization builtins repeated twice disables the fancy mirroring
(more)
about 3 years ago
Edit Post #280673 Post edited:
about 3 years ago
Edit Post #280701 Initial revision about 3 years ago
Question Create an Alphabet Diamond
Challenge Output the following text: ```text A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEFEDCBA ABCDEFGFEDCBA ABCDEFGHGFEDCBA ...
(more)
about 3 years ago
Comment Post #280673 (obligatory regular alphabet kolmogorov-complexity challenge)
(more)
about 3 years ago
Edit Post #280673 Initial revision about 3 years ago
Article Create an Alphabet Diamond [FINALIZED]
Challenge Output the following text: ```text A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEFEDCBA ABCDEFGFEDCBA ABCDEFGHGFEDCBA ...
(more)
about 3 years ago
Comment Post #280083 [67](https://tio.run/##SyzI0U2pTMzJT///v1rjUe9UDY20R13THvWuUnd0dXJzdncBUS7qmjpFj3r2Gho9apt4aL0ZkDR91LtFXVdd81HvZpDgo96tmjqP@qYmPurZ/qh3haG2waPOBWmP2iYcWm@sXQSkjQ9PV89Uf9TRBVRZ@x8k86i371FX86PeNUCTgKpAhvRNDQ5yBpIhHp7B/9MU1F0VfBOz8ovUuYBsN93gjMSiAgXfzDyoiJOuW05iCVQAAA) by mostly not changing the algorit...
(more)
over 3 years ago
Comment Post #279778 So, just reverse vertically & swap `/` and ``\``? Still ends up [looking ugly](https://dzaima.github.io/paste/#0M1RQUHjUs13BCEobQ2kTKG0Kpc0UoAxzGMMCxrCEMQyANBeMEx8fD6YVFPTBdAxUHEYDQQ0qA6gDlQE3C07rQ@kYNBrDLAwGhln6cH4MGk3YLITfFLDSyPJwAewiAA). (and regardless, this should be fully specified in the chall...
(more)
over 3 years ago
Comment Post #279778 How does a vertically mirrored 5 look like?
(more)
over 3 years ago
Comment Post #279779 Yep, seems fine now. (fwiw you could save a `0` with `←←…←←333`)
(more)
over 3 years ago
Edit Post #279770 Initial revision over 3 years ago
Article Draw a line over ASCII
Challenge Given a multiline string, list of lines, a character matrix or equivalent, and a description of a line, draw a line made out of either `'|'` or `'-'` over it. The given text will consist of characters `" -|+"`. A `'-'` drawn over `'|'` or vice versa makes a `'+'`, and drawing over a `...
(more)
over 3 years ago
Comment Post #279743 @Lundin The importing of the library, if required in the code, is required in the answer. (reasoning being that the import probably requires using `.` in each answer anyways, and if it doesn't, it's polluting the global scope with arbitrary functions which I definitely wouldn't allow)
(more)
over 3 years ago
Edit Post #279747 Post edited over 3 years ago
Suggested Edit Post #279747 Suggested edit:
convert expressions to codeblocks to keep them on a single line
(more)
helpful over 3 years ago
Edit Post #279684 Post edited:
over 3 years ago
Edit Post #279743 Initial revision over 3 years ago
Question 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 one solution must not appear in any other solution. That is, there is no character used in more than...
(more)
over 3 years ago
Edit Post #279684 Post edited:
over 3 years ago
Comment Post #279684 @Hakerh400 good point, I'll mention that solutions must be at least 1 character long.
(more)
over 3 years ago
Edit Post #279684 Post edited:
over 3 years ago
Comment Post #279684 UTF-8 is used there just as an example. Golflangs usually have custom encodings for themselves, where each character is a unique byte.
(more)
over 3 years ago
Edit Post #279689 Initial revision over 3 years ago
Answer A: 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), and boilerplate on simple ones. Furthermore, such an example solution couldn't showcase all options...
(more)
over 3 years ago
Comment Post #279684 @JoKing fwiw, unary actually only scores 1 as it only allows zeroes in its source. Lenguage is the one getting 256. Don't think it's worth it doing anything about this.
(more)
over 3 years ago
Edit Post #279684 Initial revision over 3 years ago
Article Output 256 in many different ways [FINALIZED]
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 one solution must not appear in any other solution. That is, there is no character used in more than...
(more)
over 3 years ago