Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hey that was great. Took a while to understand what was being asked though, I'm not very good at reading long descriptions.
I've found bitwise operators really useful in the past for storing booleans and it was fun working out how to do this one.
This part should be made clearer with relevant example tests described properly
Yep, if the message is shorter than the pixels, the remaining pixels should be untouched.
Updated the full tests suite to use the same tests from the sample tests
the sample tests should be present at the beginning of the full tests suite.
Note for further authoring work: never build a test suite without hardcoded tests. The interest of fixed tests is that they are reliable. If you give only random stuff, the user cannot debug the kata in a comfortable way.
Cheers
hi,
same kind of problems than in part 1, about the tests and initial solution :
cheers
approved.
I made some changes to the description on my way.
Cheers
I removed it and put lorem ipsum text there instead for both Go & Python
I just looked at the tests and I have mixed feelings about that very long text. I understand the fun in it, but since 99% of the users won't ever see it and that it makes loading the solutions, discourse and forks pages very slow, I think it's better to remove it or at least to make it shorter. If you need an input that long, better to generate it with some code.
Hi :)
(msg: str, pixels list[list[int]])
Bitmask Array
section about thinking of it as bitreplacing
Hello
example and updated the tests to matchThanks for all your feedback!
Cheers
ps: Hope you give Part 2 a try :)
edit: I'll make some time to apply some of the same feedback on Part 2 as well
hi again,
If still needed, you can dm me on discord yes, no problem.
Cheers
Okay, I cleaned up the extra diagrams and added some more emphasis on
insertion
, and noted that thebitmask
array is applied bit-by-bit to each color value one at a time.If this still isn't good enough maybe we can text chat on Discord? I see you in the mods section so I can send you a DM if that's ok?
ps: ha, I finally saw the relevant information, I was missing the
insertion
thing. so just highlight this somehow, and add the info that the result of the insertion is limited to the 8 lowest bits of the result (not sure how to express that)now that I saw this, I realize I just missed the info right from the beginning, which means your description sucettes from the "flood the user syndrom", let's say ;) It is just a matter of clarifying some sentences/ info, and removing useless info that are distracting the reader more than anything.
edit: well, it looks like it's still something slightly different... actual specs, please...
Loading more items...