• JS Node 12. should be enabled

    • Python new test framework should be used

    • Ruby 3.0 should be enabled

  • For Rust the test case test::correct_size was misspelled as test::coorect_size.

    Trivial but kind of funny and ironic.

  • This comment is hidden because it contains spoiler information about the solution

  • How does the number to character convertion happen? Is it ASCII or Unicode?

  • Nice kata. However I think the description is misleading when saying Smallfuck terminates when [...] All commands have been considered from left to right. Indeed, for example in case the code is [>*] and the tape contains only '0', all inner commands are ignored. At first I understood I needed to check that every code's cell was executed at least once before ending, and it's not the case. IMHO description would be clearer if it said that the program terminates when code's pointer (sorry if pointer is not the correct word) goes out of bound, just like for the tape.

  • This comment is hidden because it contains spoiler information about the solution

  • Description has : "pop front - Remove an item to the back of the deque (and return it)."

    this should be

    "pop front - Remove an item from the front of the deque (and return it)."

  • I am working in a python translation but i'm having problems with the expected results.

    test.assert_equals(html_special_chars("<h2>Hello World</h2>"), "&lt;h2&gt;Hello World&lt;/h2&gt;")

    changes to

    test.assert_equals(html_special_chars("<h2>Hello World</h2>"), "<h2>Hello World</h2>")

    every time I save the translation.

    Any clues?

  • I pass all test_cases successfully,however after trying to attempt,compiler shows the next warning that leads to abortion.
    What am i doing wrong?

    double free or corruption (out)
    ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f294086da10 bp 0x7ffc8c9815c0 sp 0x7ffc8c981370 T1)
    ==1==The signal is caused by a READ memory access.
    ==1==Hint: address points to the zero page.
    ==1==WARNING: invalid path to external symbolizer!
    ==1==WARNING: Failed to use and restart external symbolizer!
    #0 0x7ff45c353a0f (/lib/x86_64-linux-gnu/libc.so.6+0x40a0f)
    #1 0x7ff45c39c966 (/lib/x86_64-linux-gnu/libc.so.6+0x89966)
    #2 0x7ff45c3a39d9 (/lib/x86_64-linux-gnu/libc.so.6+0x909d9)
    #3 0x7ff45c3aaf69 (/lib/x86_64-linux-gnu/libc.so.6+0x97f69)
    #4 0x429a1a (/workspace/test+0x429a1a)
    #5 0x426f1e (/workspace/test+0x426f1e)
    #6 0x426a27 (/workspace/test+0x426a27)
    #7 0x42662b (/workspace/test+0x42662b)
    #8 0x42d8f5 (/workspace/test+0x42d8f5)
    #9 0x425cdd (/workspace/test+0x425cdd)
    #10 0x7ff45c334bf6 (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6)
    #11 0x404619 (/workspace/test+0x404619)

    UndefinedBehaviorSanitizer can not provide additional info.

  • Please use new python test framework.

  • Doing the NASM version

      The expression (as strings) (actual) == (expected) is false.

    It's not very helpful feedback while doing random testing.

  • ---JS version---
    Some how this test -> [should be pure, i.e. not mutate the original array] , do not work properly.
    I have returned new array, and the first test in this subject is the same as third, but the answer of the third is different from the first.
    Any suggestions?

  • How can check the output I failed?
    I do not see the code input.
    I only see the tape input and the output.

  • At least the tests for Go only test for ASCII characters. But the kata gets only tricky if also other chracters are checked for their case, e.g. "ä" versus "Ä".
    Otherwise it is really trivial.

  • In Rust I pass 5 tests and then timeout, it doesn't look like it's my code since I start my implementation printing a line, and there are no danling lines.
    Further more the test suite gets a compiler warning:
    warning: variable does not need to be mutable
    --> src/lib.rs:457:11
    457 | let mut cell = &mut canvas[cy][cx];
    | ----^^^^
    | |
    | help: remove this mut
    = note: #[warn(unused_mut)] on by default

  • Loading more items...