Activity for dzaima
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #291910 |
Post edited: |
— | 5 months ago |
Edit | Post #291910 |
Post edited: |
— | 5 months ago |
Edit | Post #291910 | Initial revision | — | 5 months ago |
Answer | — |
A: Fibonascii Squares BQN, 29 28 bytes ```bqn (⍉≍""){⍉⌽𝕩∾˘𝕨⥊˜⋈˜≠𝕩}´⟜⌽'@'+↕ ``` Try it here! Explanation: ```bqn (⍉≍""){⍉⌽𝕩∾˘𝕨⥊˜⋈˜≠𝕩}´⟜⌽'@'+↕ # a function taking a single argument ⍉≍"" # a 0-by-1 matrix (⍉≍""){ }´ # right fold with the initial value of the 0-by-1 ... (more) |
— | 5 months ago |
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) |
— | about 3 years ago |
Edit | Post #283575 |
Post edited: |
— | about 3 years ago |
Edit | Post #283575 | Initial revision | — | about 3 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) |
— | about 3 years ago |
Edit | Post #281299 |
Post edited: Fix header |
— | over 3 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 3 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 3 years ago |
Suggested Edit | Post #281299 |
Suggested edit: Fix header (more) |
helpful | over 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) |
— | over 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) |
— | over 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) |
— | over 3 years ago |
Comment | Post #279743 |
HTML can be used, but I don't think you'll get beyond 2 solutions. (more) |
— | over 3 years ago |
Edit | Post #282158 |
Post edited: |
— | over 3 years ago |
Edit | Post #282158 |
Post edited: |
— | over 3 years ago |
Edit | Post #282158 | Initial revision | — | over 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) |
— | over 3 years ago |
Comment | Post #279770 |
Well, you'd also need `|` + `-` + `/` and `|` + `-` + `` \ `` (more) |
— | over 3 years ago |
Edit | Post #279770 |
Post edited: |
— | over 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) |
— | over 3 years ago |
Edit | Post #281376 | Initial revision | — | over 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) |
— | over 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) |
— | almost 4 years ago |
Comment | Post #280729 |
Hint: all palindromization builtins repeated twice disables the fancy mirroring (more) |
— | almost 4 years ago |
Edit | Post #280673 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280701 | Initial revision | — | almost 4 years ago |
Question | — |
Create an Alphabet Diamond Challenge Output the following text: ```text A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEFEDCBA ABCDEFGFEDCBA ABCDEFGHGFEDCBA ... (more) |
— | almost 4 years ago |
Comment | Post #280673 |
(obligatory regular alphabet kolmogorov-complexity challenge) (more) |
— | almost 4 years ago |
Edit | Post #280673 | Initial revision | — | almost 4 years ago |
Article | — |
Create an Alphabet Diamond [FINALIZED] Challenge Output the following text: ```text A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEFEDCBA ABCDEFGFEDCBA ABCDEFGHGFEDCBA ... (more) |
— | almost 4 years ago |
Comment | Post #280083 |
[67](https://tio.run/##SyzI0U2pTMzJT///v1rjUe9UDY20R13THvWuUnd0dXJzdncBUS7qmjpFj3r2Gho9apt4aL0ZkDR91LtFXVdd81HvZpDgo96tmjqP@qYmPurZ/qh3haG2waPOBWmP2iYcWm@sXQSkjQ9PV89Uf9TRBVRZ@x8k86i371FX86PeNUCTgKpAhvRNDQ5yBpIhHp7B/9MU1F0VfBOz8ovUuYBsN93gjMSiAgXfzDyoiJOuW05iCVQAAA) by mostly not changing the algorit... (more) |
— | almost 4 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) |
— | almost 4 years ago |
Comment | Post #279778 |
How does a vertically mirrored 5 look like? (more) |
— | almost 4 years ago |
Comment | Post #279779 |
Yep, seems fine now. (fwiw you could save a `0` with `←←…←←333`) (more) |
— | almost 4 years ago |
Edit | Post #279770 | Initial revision | — | almost 4 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) |
— | almost 4 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) |
— | almost 4 years ago |
Edit | Post #279747 | Post edited | — | almost 4 years ago |
Suggested Edit | Post #279747 |
Suggested edit: convert expressions to codeblocks to keep them on a single line (more) |
helpful | almost 4 years ago |
Edit | Post #279684 |
Post edited: |
— | almost 4 years ago |
Edit | Post #279743 | Initial revision | — | almost 4 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) |
— | almost 4 years ago |
Edit | Post #279684 |
Post edited: |
— | almost 4 years ago |
Comment | Post #279684 |
@Hakerh400 good point, I'll mention that solutions must be at least 1 character long. (more) |
— | almost 4 years ago |
Edit | Post #279684 |
Post edited: |
— | almost 4 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) |
— | almost 4 years ago |
Edit | Post #279689 | Initial revision | — | almost 4 years ago |