Skip to main content

Questions tagged [broken-code]

3 votes
1 answer
121 views

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 ...
Ξένη Γήινος's user avatar
2 votes
0 answers
37 views

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 <...
AccidentalTaylorExpansion's user avatar
-2 votes
2 answers
152 views

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 ...
Ooker's user avatar
  • 201
6 votes
1 answer
110 views

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 ...
Marv's user avatar
  • 101
11 votes
4 answers
289 views

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 ...
MJ713's user avatar
  • 736
1 vote
4 answers
165 views

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 ...
MWB's user avatar
  • 259
-5 votes
1 answer
68 views

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 ...
Gabriel's user avatar
  • 629
2 votes
1 answer
76 views

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 ...
Raildex's user avatar
  • 283
12 votes
2 answers
223 views

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 ...
user11536834's user avatar
5 votes
1 answer
117 views

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 ...
porton's user avatar
  • 101
5 votes
0 answers
55 views

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. ...
alecxe's user avatar
  • 17.5k
9 votes
1 answer
290 views

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 ...
guest271314's user avatar
16 votes
1 answer
308 views

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"?
Mathieu Guindon's user avatar
14 votes
2 answers
463 views

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 ...
Phrancis's user avatar
  • 20.5k
9 votes
2 answers
196 views

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 ...
Olivier Grégoire's user avatar

15 30 50 per page