« first day (3502 days earlier)      last day (508 days later) » 

12:07 AM
REFRESH! There are 7612 unanswered questions (90.0303 answered)
possible answer invalidation by Tab on question by Tab: codereview.stackexchange.com/posts/281676/revisions
possible answer invalidation by Tab on question by Tab: codereview.stackexchange.com/posts/281676/revisions
 
 
2 hours later…
2:37 AM
@Duga Commented and rolled back.
 
0
Q: Display room name from dictionary of rooms

user267608I am developing code for a text based game as an assignment. I've worked out all the code I need to make it functional with one exception. When displaying to the player which room they are in, the output displays the nested dictionary for that room, rather than the name of the room itself. My ...

 
2:56 AM
First off, please don't post pictures off code. Copy and paste it into the question with the appropriate formatting. Next, you are far better off posting this type of question in Code review codereview.stackexchange.com. This forum is more about trouble shooting than optimisations — Hursey 6 secs ago
 
3:32 AM
0
Q: C++ Hangman Game, class organization

Yann Depledti have recently created a Hangman Game in C++ and I would like your feedback on any improvements that can be made to this Hangman game I have written especialy in class organization. Here is the code : https://github.com/ydepledt/Hangman. (for now code function only for french words because i hav...

 
 
2 hours later…
5:51 AM
Monking
 
 
4 hours later…
9:26 AM
possible answer invalidation by Toby Speight on question by 404 Name Not Found: codereview.stackexchange.com/posts/281669/revisions
possible answer invalidation by Toby Speight on question by 404 Name Not Found: codereview.stackexchange.com/posts/281669/revisions
 
10:51 AM
If the code is working you should post in codereviewGuy 41 secs ago
 
@Duga Code fence
 
@Guy, the question needs work before it's suited to Code Review. You should have pointed the asker at A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. we need a good description of the purpose of the code to give context, and question titles should simply say what the code does (the question is always, "How can I improve this?"). It's important that the code works correctly; include the unit tests if possible. — Toby Speight 30 secs ago
 
11:53 AM
Welcome to SO. Please go through this tour as it will help you understand how this website operates. Please ask one question per post and keep in mind that this is not a code review site. — vitruvius 20 secs ago
 
12:28 PM
0
Q: How to optimise this cosine similarity loop and function in Python?

DavidI need to find cosine similarities between two lists of different sizes. I have this code but it is running for about 20 minutes, where the first list has 40 000 words and the second list has 400 words. Is it possible to speed this up? I have been trying different approaches instead of using vect...

 
 
1 hour later…
1:45 PM
0
Q: Random with reproducible sequence

TewrAn algorithm for making different choices is using a single random instance per "call" in is running in production. The algorithm does nothing confidential but the randomness is important. If I want to reproduce the exact same sequence in a test given a specific input, just using new Random() giv...

 
2:07 PM
codereview.stackexchange.com Might be better for this type of question. Stackoverflow is for specific questions about errors, not “why does my code do this?” — SupaMaggie70 b 11 secs ago
 
 
1 hour later…
3:28 PM
No @SupaMaggie70b, Code review questioners are expected to know why their code is written the way it is. Asking for explanations is specifically outside scope of CR. — Toby Speight 29 secs ago
 
Ryan Donovan on December 05, 2022
Suddenly losing a job can be personally destabilizing. But lots of us have been there and gotten through it.
 
3:46 PM
For code quality questions please use codereview.stackexchange.com. — Marcin Orlowski 13 secs ago
 
4:18 PM
@Marcin, the question needs work before it's suited to Code Review. You could have pointed the asker at A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. we need a good description of the purpose of the code to give context, and question titles should simply say what the code does (the question is always, "How can I improve this?"). It's important that the code works correctly; include the unit tests if possible. — Toby Speight 21 secs ago
 
4:37 PM
@PeterCordes: I wrote a AArch64 SIMD version here. It's not completely optimized, e.g. I had overlooked that there are immediate forms of SHL and BIC, and I guess I never went back to update it. — Nate Eldredge 53 secs ago
 
4:59 PM
Monking
 
If you want feedback on working code, try codereview.stackexchange.comchepner 11 secs ago
 
5:50 PM
If you would have included a minimal reproducible example it would be easier to address your issue. All you need to provide in this case seems a window with a menubar and what kind of message you want to send to the console. That been said, your question is somewhat in a grey zone and you might consider asking your question with a full code on Code ReviewThingamabobs 31 secs ago
 
Multiple users on Code Review have gotten caught writing generated answers. Please be extra vigilant in the review queues.
9
While using a generator to assist with writing an answer itself it not a problem, the content of their answers did not hold up after scrutiny. Multiple parts were complete nonsense that looked like a proper story at first glance. A currently very popular tool for this, is ChatGPT. At this point in time, we are spending some serious time checking answers that look believable but are not.
Stack Overflow has outright banned the tool. Feel free to flag any such suspicious answers for moderator attention.
 
0
Q: Ignore parts of code conditionally in Python

JED HKI would like to know if there's a way to make Python ignore certain parts of code within if so I don't have to write the else part. For example, I'd like to make it so that here: if x == 3: y = 1 + 2 + 3 b = 2 + 4 + 8 if x was 2 (or anything other than 3) then the Python would do: if x =...

 
6:51 PM
0
Q: Do i overcompicate my code?

QLEDHDTVim kinda new to the python and programming in general. Lets imagine i have a simple task: given 3 numbers from user input, i need to count negative ones and print the result. Considering what i know about python at this moment, i can solve it like this: class ListTooShort(Exception): pass de...

 
 
2 hours later…
8:35 PM
 
 
2 hours later…
10:15 PM
0
Q: Calculate number of max and min outliers from data.frame

JamesI am working on a problem where I need to get specific information for min and max outleirs. This is in relations to the ggplot library. I will be getting all my information from ggplot_build object. To create the data yourself this code would work: boxplot = ggplot(mpg, aes(class, hwy)) + geom_...

 
 
1 hour later…
11:32 PM
0
Q: Java Mastermind Code from codebreaker pov, that has a player determined colour limit and amount

matthewkissackI am making a code that lets you play the Mastermind game from the codebreaker perspective, however the amount of colours, and limit of colours in a sequence is player determined. I am currently struggling with reading in an array that contains the codebreaker's guess, and then comparing it to an...

 

« first day (3502 days earlier)      last day (508 days later) »