« first day (4149 days earlier)      last day (62 days later) » 

12:19 AM
REFRESH! There are 5944 unanswered questions (92.3632 answered)
1:07 AM
0
Q: Multi Step Record Creation Form with Validation Using Formik, Yup, and MUI

OnlitThis component is a multistep popup form designed to handle job vacancy creation. It uses MUI for the UI, Formik and Yup for form handling and validation. The form is divided into 4 steps: Job Details, Compensation, Skills & Requirements, and Process & Reapplication for a simple user experience. ...

 
3 hours later…
4:07 AM
-1
Q: Find the maximum possible score in a two player card game when both optimum players can see the whole deck [Interview, C#]

Prank SterI was asked this question and I couldn't solve it. Here is the problem. There are N cards, each numbered randomly with a number between -K...0...K. Two players can see the entire deck at all times but each player can draw the top 1, 2, or 3 cards only, at each turn. Can't pass. Both players play ...

4:28 AM
Monking
 
8 hours later…
12:55 PM
SO isn't the right place to ask open-ended "what is the best practice" questions. I could critique this code in many ways, but that would be if it was posted on the Code Review Stack Exchange. — AKX 21 secs ago
 
1 hour later…
2:11 PM
0
Q: Command-line parser for multiple subcommands

SchiliveExplanation I have done another command-line parser here -- I am kinda obsessed. It was really verbose for the user of the parser, it grew complicated quickly with option parsing and a regular command-line parser. This one should have them all, be easier to add and change things, and be more read...

 
1 hour later…
3:35 PM
@MikkoRantalainen I just want script doing nothing if there no file changes, I'am using git-diff-index, can you review my script please ?codereview.stackexchange.com/q/293672/286272Anas 39 secs ago
1
Q: using git autobackup with shell script

AnasI have php website, for prevent hacker modify any file and inject backdoor, i want use git as file tracking solution, this is my shell script: #!/bin/sh msg_i(){ echo "[I] $1" } msg_e(){ echo "[E] $1" } if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then msg_e "Not in a gi...

3:56 PM
Monking
 
3 hours later…
6:40 PM
0
Q: C parser for reading 3D ASCII scene files

M. SaintourensI have been interested in the project of writing a parser that reads ASCII files for a long time, mostly for educational reasons. My idea was not to use tools like Bison or Yacc but to write a hand-written parser. I finally gave it a try with the objective of reading a file representing the descr...

Regarding "pythonic", there are some things you could improve here, but unrelated to Pandas. You could ask on Code Review if you want, but read their their How to Ask page first since they work differently. — wjandrea 52 secs ago
This question might be better asked (and answered) at codereview.stackexchange.com. — choroba just now
7:35 PM
Monking
8:09 PM
0
Q: C# Filters "Letters Out" Numbers Only (1-20)

H. CahillMy code filters any VarChar entered into a console application, followed by a governor of 1 - 20 as acceptable code. I have had help from the Stack Overflow question "4804968." I copied some helpful code to parse a string to an integer only if it is genuinely an integer while holding only whole n...

@CaptainObvious was posted on SO staging ground where community users closed as off-topic and mentioned CR
8:32 PM
@choroba my bad, thanks for letting me know! New to stack exchange and wasn't aware there was a special place just for code review. Thanks again! — bio_boy 13 secs ago
8:54 PM
0
Q: Calculating probability of offspring having dominant phenotype given a random mating - Mendel's First Law

bio_boyI'm a beginner to python and have been working through the Rosalind problems. If you're unfamiliar with Rosalind, they're a website where you can practice bioinformatic coding through problem solving. Anyway, the challenge was to take three integers (k, m, n) which represent the number of homozyg...

0
Q: Use of std::future vs. std::thread in grep clone

ArvindI wrote a grep clone recently. It does a recursive search of a string query through all files of a specified directory. The core of program is the function shown below. /** Do recursive search of query string in files under the given directory. */ void Search::searchFiles() { std::vector<std...

 
1 hour later…
10:13 PM
Not really a question for Stack Overflow. If you want working code reviewed look at Code Review. Check their help centre before posting. — Tangentially Perpendicular 1 min ago

« first day (4149 days earlier)      last day (62 days later) »