« first day (3980 days earlier)      last day (31 days later) » 

12:16 AM
REFRESH! There are 6395 unanswered questions (91.7594 answered)
 
 
2 hours later…
1:56 AM
@CaptainObvious Call me grumpy, but that should've been closed instead of answered. I'll accept invalidation on that answer since the answer is premature.
 
 
1 hour later…
3:15 AM
This is way too open-ended a question for StackOverflow. If you give us a specific piece of code and ask for help, we can probably do that, though a better place would be codereview.stackexchange.com. — Louis Wasserman 14 secs ago
Unfortunately, this type of question is off-topic for Stack Overflow. If your question was more specific and included code samples, those at Code Review might help. But, there would be good reason to not post your company's real-life code. — Old Dog Programmer just now
 
4:13 AM
Asking for a complete refactor is too broad of a question to suit Stack Overflow's Q&A guidelines. If you have working code, you might post it on Code Review. — mickmackusa 1 min ago
 
 
2 hours later…
5:50 AM
@jadhachem No it is not. Code Review is for concrete code from a project, which this is not. — CPlus 7 secs ago
 
 
2 hours later…
7:23 AM
0
Q: Steamlined way of reading a file with zig

HackermanI have a file with a bunch of primes. For this purpose we can say that the contents of this file called "primes" are as follows: 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,2...

 
7:46 AM
0
Q: Python : Argparse take default value from json file if not passed in command line

upkarpython : Argparse takes the default value from the JSON file if not passed in the command line I have a script with command-line arguments that I need to modify. I want to make -x, -s, and -e mandatory, while -m should be optional. If -m is not passed, it should take the value from a JSON file. E...

 
 
5 hours later…
12:52 PM
This question might be better suited for codereview.stackexchange.com rather than stack overflow since rather than facing a programming error you are trying to optimise your code (i.e make it better) — Karan Shishoo 44 secs ago
Probably this question about code performance should belong to Code ReviewCharley 32 secs ago
@KaranShishoo This is a How to question which is off-topic on code review. — pacmaninbw 5 secs ago
 
0
Q: ASHv2 implementation from scratch - the host

Richard NeumannI am currently implementing the EZSP and the underlying ASHv2 protocols in Rust with the intention to use them on an embedded smart home gateway to control ZigBee devices. In this review I present you the ASHv2 host, which constitutes the external interface of the ASHv2 library and is being used ...

 
1:27 PM
Welcome to StackOverflow! We have another site, Code Review that is intended for these kinds of questions. — gmdev 20 secs ago
 
1:37 PM
@Duga: That question can be migrated from SO to CR. Any objections anyone?
 
2:05 PM
Now added to CRtoolic 38 secs ago
 
-1
Q: Creating a sort function

SHOVALWrite an efficient function in the Python language called SmartSearch, this function will receive a sorted arr array of integers of size n containing at the beginning m "significant numbers" and the rest of the numbers are "fictitious numbers" whose value is 9999. The function also receives a num...

 
2:27 PM
@CaptainObvious Authorship, code was modified by another user on SO.
 
@pacmaninbw You know the correct name is Author or Maintainer right?
 
Yes, look at the SO question, at least a quarter of the code was not written by the author/maintainer. It is homework.
@Phroggie ^^
@KaranShishoo This is a How to question which is off-topic on code review. — pacmaninbw 2 hours ago
 
@pacmaninbw "at least a quarter of the code was not written by the author/maintainer" Where?
 
Look at the second edit.
The test for 9999
 
By Karan Shishoo?
 
2:31 PM
Yes
 
Are we looking at the same edit?
 
I'll remove my downvote and comment.
@toolic apparently I'm having a bad day, the code was there, just not properly formatted.
@Phroggie I can't remove my down vote, it was too late.
 
@pacmaninbw I have edited the question. You can now.
 
Got it, thanks.
 
@pacmaninbw: Don't beat yourself up... that was a tricky one to see.
 
3:25 PM
If the code works and you're looking for advice on improving it, Code Review is the appropriate place. But see A guide to Code Review for Stack Overflow users first. — Barmar 23 secs ago
 
3:39 PM
I got no objections, so I flagged this for migration from SO to CR: stackoverflow.com/questions/78232030/…
 
@toolic Sorry I meant to look earlier but got caught up in something. I can't see the post don't have 10k on SO so can't comment
):
 
@Phroggie yeah, the OP deleted probably to avoid more downvotes. But, the user did create an account today on CR.
 
Seems promising then :) As I wonder how many flags SO mods have in the dashboard still...
 
If your code works, it might be better for Code Review. Check out their requirements before posting. — Old Dog Programmer 5 secs ago
@OldDogProgrammer "the code failed for 1 test class :( resulting in the error" so the question shouldn't go on Code Review. — Peilonrayz 20 secs ago
This is more the style of a code review process. For stack overflow Q&A please try to stick to a specific problem that would be common to any "assignment" for example. Maybe reduce the errors to a specific problem that was unclear to you and answer why it was unclear and clarify in the answer. — Eaton Emmerich 59 secs ago
@TylerH We don't see where title is defined, or any of that, how this code is used, etc. Code Review is for complete programs. — CPlus 32 secs ago
codereview.stackexchange.com is for code that works, but needs improving. stackoverflow is for code that is broken — flackoverstow 6 secs ago
@OldDogProgrammer Sorry I failed to read the title. You are correct, the question seems fine for Code Review. — Peilonrayz 33 secs ago
 
3:54 PM
@Peilonrayz, from the question header, it failed because a test case exceeded a time limit, not necessarily because of a bug. — Old Dog Programmer 3 mins ago
 
4:06 PM
@TylerH "concrete code from a project" seems to be a quote from Code Review's help center. You are correct, the argument is unclear. Unfortunately the hypo/example/stub + GBP close reason commonly causes people to be unclear. If you are curious I'll try to be clear in why the question is off-topic for CR. Rather than trying to mind-read, I personally believe the question falls under the Generic Best Practice reason. Where the user is asking for the best way to approach a specific problem -- 'how can I check if a number is within a set of numbers'. — Peilonrayz 47 secs ago
 
4:33 PM
0
Q: If my try to improve a working code result broken, would asking it here on topic?

OokerBelow 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 individual hooks and containers for different lists. [Pieces of working code] In an attempt to m...

 
4:55 PM
Monking
 
5:30 PM
@Charley Not really. This question is fine here with additional profiling informations so to make it more reproducible (since the OP only focus about speed and not a general review). See Performance question - Stack Overflow or Code Review?Jérôme Richard 25 secs ago
 
5:48 PM
@Feeds Started leaving a comment and got a bit out of hand. From mobile, so if anyone finds something odd in there that's probably why.
 
 
2 hours later…
8:08 PM
Apparently it wasn't clear enough. That's tomorrow's problem, no time/opportunity today.
 
8:18 PM
 
 
1 hour later…
9:48 PM
0
Q: Is this centre of mass thought based TSP solution a good way to approach the TSP?

tumrThis is the code that I tried to approach to the traveling salesman problem in a new way. As you can see, it does not give such great results. Can I get this idea further, or should I quit to approach this problem from this way? So the thing that I tried there is using centre of mass to calcula...

 
10:11 PM
Why don't you show the code of the TextBox , the adorner and how you set things up? Right now this is a quiz show. Please post something meaningful for a code review. — BionicCode 22 secs ago
 
 
1 hour later…
11:27 PM
If you want help improving working code, you should post that complete working code on CodeReview.SE. If you do decide to do so, please delete the question here. — NathanOliver 46 secs ago
 
11:55 PM
@Duga IDK looks like a GBP
 

« first day (3980 days earlier)      last day (31 days later) »