Questions tagged [broken-code]
The broken-code tag has no summary.
                36 questions
            
            
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                121
            
            views
        
        
            
            
        Would a question asking an unimplemented feature about a fully working script be on-topic here?
                    Two days ago (or yesterday depending on your timezone) was π-day. So I thought it was a good day to calculate π.
I used Machin-like formula to calculate π, in homage of William Shanks, who calculated ...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                37
            
            views
        
        
            
            
        Turn off code detection inside MathJax expressions [duplicate]
                    When you type MathJax expressions, it will often trigger the error:
Your post appears to contain code that is not properly formatted as
code.
Examples of MathJax that could trigger this would be <...
                
            
       
        
            
                -2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                152
            
            views
        
        
            
            
            
        I try to refactor a working code and it's doesn't work. Would adding the failed attempt be on-topic?
                    Below is my draft:
I have a working code to have 2 search bars with dropdown suggestions, selectable by both mouse and arrow keys in TypeScript and Fresh/Preact. In there I have to explicitly declare ...
                
            
       
        
            
                6
            
            votes
        
        
            
                1
            
            answer
        
        
            
                103
            
            views
        
        
            
            
        Is the Code Review SE the right site for checking if the code of my Arduino project minimizes the risk of overheating as much as possible?
                    In a project of mine I use temperature sensors and an Arduino to dimm a light bulb to keep a box warm (in a certain temperature range above room temperature). I want others to look at my code if it ...
                
            
       
        
            
                11
            
            votes
        
        
            
                4
            
            answers
        
        
            
                285
            
            views
        
        
            
            
        Is code "working as intended" if significant portions are hardcoded?
                    I was looking at the question How to output to an XML file in Python?, and to me it clearly seems to be off-topic, but I wanted some second opinions.
In a nutshell, the program takes data from an ...
                
            
       
        
            
                1
            
            vote
        
        
            
                4
            
            answers
        
        
            
                163
            
            views
        
        
            
            
            
        Is undefined behavior (for C/C++ code) off-topic here?
                    This site states that correctness in unanticipated situations is explicitly on-topic here.
If you have a working piece of code from your project and are looking for open-ended feedback in the ...
                
            
       
        
            
                -5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                63
            
            views
        
        
            
            
            
        Are translating questions on topic?
                    I'm attempting to translate the Matlab code in this answer to Python. I'm halfway done, but I've never really written Matlab code and I'm having trouble finishing the final function.
Can I ask for ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                70
            
            views
        
        
            
            
            
        Are "review and guide me" on topic?
                    I am writing a pooled memory management. It works to some degree. You can allocate and deallocate
but it is missing some crucial parts like avoiding/reducing fragmentation and safety checks.
I ...
                
            
       
        
            
                12
            
            votes
        
        
            
                2
            
            answers
        
        
            
                219
            
            views
        
        
            
            
            
        Reviewing non-working code when author thinks it's working?
                    I came across a pretty simple question where the author explicitly states:
  The function returns the correct output, and all known edge cases have been accounted for.
I took this at face value and ...
                
            
       
        
            
                5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                112
            
            views
        
        
            
            
        Review one-by-one feature?
                    I am writing a library. It is mostly ready, but there are known bugs and ToDo stuff (including for example missing const specifiers for member functions which do ...
                
            
       
        
            
                5
            
            votes
        
        
            
                0
            
            answers
        
        
            
                53
            
            views
        
        
            
            
        Is a question on topic if the code works locally but errors when submitted to a coding site? [duplicate]
                    This is about a recently posted question: Codejam 2018 - Getting confusing runtime error
The OP claims it works for him locally, but generates a Runtime Error on the Google Code Jam website itself.
...
                
            
       
        
            
                9
            
            votes
        
        
            
                1
            
            answer
        
        
            
                281
            
            views
        
        
            
            
            
        Posting a question where part of the code contains a known bug
                    There is a particular requirement that has two versions. The first version has proven to be more challenging than the subsequent version to both describe the specification and compose; and also ...
                
            
       
        
            
                16
            
            votes
        
        
            
                1
            
            answer
        
        
            
                296
            
            views
        
        
            
        PSA: Excel going "Not Responding" isn't broken code
                    Some VBA questions mention the host application (e.g. Excel) is going "not responding" while their macro is running.
Is it ok to vote to close these questions as "broken code"?
                
            
       
        
            
                14
            
            votes
        
        
            
                2
            
            answers
        
        
            
                460
            
            views
        
        
            
            
            
        Code that handles n% of test cases but not all
                    I've started noticing recently questions like this one (66%, not well received) or that one (50%, well received) where the author states something like this:
  I am trying to solve this problem on ...
                
            
       
        
            
                9
            
            votes
        
        
            
                2
            
            answers
        
        
            
                186
            
            views
        
        
            
            
        Why was my edit to fix an answer rejected, even though it was approved by the author?
                    I suggested an edit to this answer.
The edit came after I suggested the said changes in the comments (with 4 upvotes for the comment) and the author of the post told me it's better if I do it. So I ...
                
            
       
         
         
         
         
         
         
         
        