« first day (3690 days earlier)      last day (325 days later) » 

12:10 AM
REFRESH! There are 7300 unanswered questions (90.5260 answered)
 
12:47 AM
@PeterCordes FYI there is cross-posted version of this question, you can weigh in there too — harold 1 min ago
 
 
2 hours later…
2:27 AM
0
Q: Backtracking graph algorithms for a word puzzle in Python

WilliamMorrisMotivation Recently, Buzzfeed released a browser-based puzzle game called "Pyramid Scheme." It is available at the following link. The puzzle in an initial state looks like this: To solve the puzzle, you have to find sequences of adjacent nodes in the pyramid that form valid words (3 letters lon...

 
 
4 hours later…
6:19 AM
0
Q: Automate the boring stuff with python - Comma Code

Jarne VercruysseComma Code Say you have a list value like this: spam = ['apples', 'bananas', 'tofu', 'cats'] Write a function that takes a list value as an argument and returns a string with all the items separated by a comma and a space, with and inserted before the last item. For example, passing the previous ...

 
 
3 hours later…
9:03 AM
Sounds like perhaps a question for codereview — mplungjan 49 secs ago
 
 
3 hours later…
12:23 PM
@mplungjan Any question requesting alternate solutions is off-topic on code review. — pacmaninbw 48 secs ago
 
 
3 hours later…
3:15 PM
>[,omg
Monking
 
 
1 hour later…
4:31 PM
@Peilonrayz In reference to your comments on [this question](https://codereview.stackexchange.com/questions/285452/count-the-number-of-mismatches-between-two-arrays) please explain what you are trying to tell me, I don't understand and I see it as a personal attack.
The first rule of optimization is don't optimize. When you do optimize a program, profile it so that you know where the bottlenecks in the code are. You also need to know where in the program you are spending the most time. If you optimizae a function where you don't spend a lot of time, you may not be providing a significant ti
I've been programming in various versions of the C programming language since 1983. I have written programs that ported to 3 different computers from 3 different hardware vendors (VAX 11-C, Motorola 68000 and Sparc).
 
@pacmaninbw How are the comments a personal attack? You voted to close the question and stated things which don't seem true (1st comment). The 2nd comment is just stating how I see the actions you've taken -- not answering my questions and brining up a separate close reason.
 
@Phroggie Are you Peilonrayz in disguise? There was not enough code to properly optimize the code which is MRC.
 
@SᴀᴍOnᴇᴌᴀ .
@pacmaninbw "To be able to optimize code we need to see many of the function to see where the bottlenecks might be." Why are the users below able to do so then? "We need to see more code to understand the problem you are trying to solve so that we can make meaningful suggestions." Do you not find the answers below to have meaningful suggestions? — Peilonrayz ♦ 16 hours ago
If "There was not enough code to properly optimize the code which is MRC." then the answerer's wouldn't be able to.
 
@Phroggie One of the answers provided some good information in a limited way. The answer that got the most up votes was not a code review, it provided an alternate solution.
I did not consider the most upvoted answer a good answer.
@Peilonrayz Why don't you ask [G. Sliepen] why they voted to close the question as well. They are an expert in C and C++ programming as well.
I'm going to log out for a while to cool down.
 
4:52 PM
@pacmaninbw G. Sliepen didn't post a comment, so AFAIK I can't ping the user in the comments. I posted a comment directed at Peter Cordes too.
@PeterCordes "It's not a good code-review question since what they actually want is different code, not commentary on this code." Can be a little gray around performance questions, and vectorization is somewhat debated. But I do find the argument to be much more compelling. — Peilonrayz ♦ 15 hours ago
You should be able to see Peter posted an answer on the meta, and I posted some comments on Meta too.
 
"The recommended way is clearly to do the code review before merging." This might be your recommendation but there is nothing "clear" about it. In fact that would slow down a process that should be trying to go as fast as possible. — David 23 secs ago
 
 
4 hours later…
8:52 PM
0
Q: Recursion problem if first element of array is equal with others elements

mcccuklevHello I want to ask how to improve this code is it good written or something is for changing please let me know and is it bad thing to use arguments to store some info like in my occasion the argument value? Here's The Problem -- > To write a recursion that will receive an array of integers as an...

 
9:18 PM
0
Q: Optimizing Django / Wagtail Queries for a Blog

user3605767I'm using Django and Wagtail 5.x to build a blog. At this point, I'm trying to increase my understanding of query optimization and decrease the number of necessary db queries by implementing select_related. To my knowledge, I can use select_related to essentially chain related queries. In other w...

 
10:09 PM
0
Q: Tampermonkey Note Taker for Google Docs Version 3: Part 1

Martin YorkPrevious Versions of this Question: V1 V2 OK. Not much response on the previous questions (but it was a lot of code so that may have effected it). I have quite a lot of changes since then so worth another go. I have reached a point where the code is now in github and Greasy Fork. I am breaking ...

 

« first day (3690 days earlier)      last day (325 days later) »