@Phroggie The question is specifically asking if the code implements C++ move Semantics correctly, which is asking about a generic best practise. In addition it is clear through commented ellipses that there is code missing from each of the classes.
Why exactly do I need to keep justifying myself to you. Do you really want me off the site that badly?
GBP are "what are the best practices around X" questions. Asking if something follows best practices isn't a GBP, the question like the one being discussed can be example/hypo/stub.
@pacmaninbw You perform a moderator duty of notifying users the question are off-topic. I'm doing the duty of ensuring people aren't providing misinformation. When you incorrectly say UWYA is MRC and EHS is GBP then you're espousing misinformation.
Not an answer: I would not recommend if this is production code for maintainability and possibility of future bugs. This would fail our code review process from our senior developers. — snj59 secs ago
So i have a problem with MergeSort Algorithm. However, it is different from the conventional algorithm where the array is from 0 to n-1. In my main, there is a driver const int n = 10, and an array that allocates n elements ( a[n]). Then, it will call mergesort, but the parameters are a,0,n where...
Below is the problem, tried, for getting hands-on with recursion:
Alice has an even number of N beads, and each bead has a number from 1 to N painted on it. She would like to make a necklace out of all the beads, with a special requirement: any two beads next to each other on the necklace must s...
This is my .zprofile, it recently got nuked so I remade it. I made it clearer and better then my previous .zprofile and then I heard about this site so I want to know how can I improve this code.
# Setting PATH for Python 3.11
export PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH
I came across a piece of code that I thought was cool; but (to me), but at the same time it feels like using a side effect to achieve something and I am not sure if that's a good practice.
switch(suffix) {
case 'd': milliSeconds *= 24;
case 'h': milliSeconds *= 60;
case 'm': milliSeconds...
@CaptainObvious I've edited this to make it a review request. It seems that this code is maintained by OP, so I cast an undelete vote. There's definitely stuff that's reviewable (not just the fallthrough - there's also no checking whether regex match was successful or not).
Sometimes I stumble upon follow-up questions, where code is being posted again after having gone through a review (or two).
Examples of possible sets of follow up questions:
Find missing numbers - Find even more missing numbers - Even more missing numbers
Binary search tree - Another binary s...
This is the code for Pylect, a Python terminal I worked on a while ago which also caused my Desktop to get destroyed because of bad code. I use it infrequently but I would like a review for the code since this is a bit larger project that has span multiple months so there is some unclear bad code...
This is the code for Pylect, a Python terminal I worked on a while ago which also caused my Desktop to get destroyed because of bad code. I use it infrequently but I would like a review for the code since this is a bit larger project that has span multiple months so there is some unclear bad code...
One goal of doing PR is to be able to do code review and as a consequence, to fix things found during the review, new commits should be pushed and so PR include it (because a PR is based on a branch) — Philippe20 secs ago
@The_AH I've posted an answer. As the bottom of my answer says, I think you should try to take all the advice you get and apply the advice to .pylect.py. Then after a couple of days a 2nd post would likely be well received.
@Phroggie I see that's answer by Peilonrayz which you are and Phroggie is a sock/bot, it would been less confusing if you 1. posted that answer as Phroggie or 2. posted in chat as Peilonrayz. I recommend 2.
@Mast It normally takes days to get some votes, right?
I am going to wait for a few more answers because the project is big.
@The_AH As you may know from puzzling or other SE sites "......users who consistently provide useful content accrue reputation and are granted more privileges on the site" - From Why is voting important?
I have made a comment on the question, here is it rephrased for y'all: I made the code so I am not sure about which parts of the code doesn't make sense so I would like to be given parts of the code which don't make sense as in "why are you even doing X?".
@The_AH For the reviewers. You want answers, right? So think about what reviewers need to properly identify what's the goal of your program and the issues with your code.
I have a project I am working on, and I would like some, or all of it
reviewed, how can I ask for this review on Code Review in a way that
produces the best possible value?
This is not about a question being on-topic, or off topic. Rather, this is about making on-topic questions great questions...
So could anybody answer this question: I made the code so I am not sure about which parts of the code doesn't make sense so I would like to be given parts of the code which don't make sense as in "why are you even doing X?".
So "This is a terminal" should be expanded into "This is a terminal with x features and y fun features and z options and here's how you do option a, option b, option c..."?
Saying "for fun" is a deflection of the question. What purpose does/did the code serve? Why did you go with the design choices you made? Why are you playing with sys so much?
I mean, you got lucky that your question got answered in a day. Some questions take days, weeks, months or years to get answered. For a first question, you can get away with much more than you'll get away with on a second/third/fourth question.
Reviewing a question is sometimes a lot of work. There are answers I've spent 12+ hours on. So putting in a bit of effort on the question is expected.
First things first: you can get far better results by fine-tuning the arguments.
Yes, it goes over 52% at times and I'm sure it can go even higher. Let's take a look at what colours are caused by what.
ORE1X4
default settings
EAPX5J
Epoch 200 instead of 100
6DHKQJ
Dropout 0.9 i...
The simulations alone took 12 hours already.
Not to mention figuring out what to simulate, how to project the simulations and everything else that went into it.
After writing this answer, I was inspired to try to design a more elegant solution to the problem of printing binary trees. And what better tool with which to seek elegance than Clojure?
Overall design
The solution I ended up with involved creating, merging, and printing what I'm going to call ...
warning: cheesy meme with bad pun below - if you don't like those, then please skip it...
Question responses
Do I have too many / too few components? I am aiming to make several other games in Vue so I like to make things re-useable.
I think the current components are divided well. The existin...