« first day (3957 days earlier)      last day (43 days later) » 

12:13 AM
REFRESH! There are 6482 unanswered questions (91.6411 answered)
Q: weekly calendar date algorithm

Sayamanlet currentWeekNumber = 1; // Initial week number function getWeeklyDates(year, month, weekNumber) { const dates = []; // Set the first day of the month const firstDay = new Date(year, month - 1, 1); // Calculate the offset to the first day of the week (assuming Sunday is the ...

1:15 AM
How do I enable a dark theme? I don't see that button on Code Review. SO has it. Does it mean the feature doesn't exist yet?
@SergeyZolotarev Only SO has dark mode.
1:55 AM
Q: Taking array of numbers, having a max weight, and distributing excess weight to ln max weight numbers

Bob LinuxThe goal is to take an array of numbers, have a max weight (saying 40%), and if any number above the max_num = sum * weight is present, remove the excess and distribute it over the sum of numbers that are below max_num based on their own weights. The code is designed to be able to take a sum of a...

2 hours later…
3:50 AM
Q: An Updated recursive_transform_reduce Template Function with Unwrap Level Implementation in C++

JimmyHuThis is a follow-up question for A recursive_transform_reduce Template Function with Unwrap Level Implementation in C++. To fix the issue mentioned in G. Sliepen's answer, I updated the test cases and recursive_transform_reduce itself. Please check them again. If there is anything I missed, pleas...

2 hours later…
5:44 AM
6:01 AM
If you have a working code that you need more pairs of eyes on it, then you might consider asking on codereview.stackexchange.com instead, but check their rules before asking there. On SO this kind of questions are off-topic, unfortunately. — Cristik 27 secs ago
2 hours later…
8:01 AM
You might be interested in codereview.stackexchange.com. — deceze ♦ 48 secs ago
8:44 AM
Your code need a lot of enhancement, I recommend you to post this code on code review website to know how to improve this code and make it better — Ibram Reda 11 secs ago
3 hours later…
11:53 AM
Q: Generic stack implementation (revision)

HarithThe below post is a follow-up of Generic stack implementation. Below follows a header-only implementation of a generic stack. After incorporating @Coderodde's advice into the code, I am left with: #ifndef STACK_H #define STACK_H /* To use, do this: * #define STACK_IMPLEMENTATION * before you ...

Q: Powershell script that directly executes python script

Max AzatianWrote this script after having some problems with clients on Win10 and consequent necessity to ship ultra-bloated .exe file of Python project over the Web to them. This is my first try to write Powershell scripts (mostly used Linux & Shell scripts before), thus I guess code is not optimal and/or ...

12:39 PM
Q: Using Multi Executors Asynchronously to Write and Read Replies from TCP/IP Socket using Java

T. KhanThis is my first time coding for the socket communication so you might see a beginner level's approach. Please bear with it. I am trying to send and receive data from a device (devices in next step) through socket communication. the device receives commands and replies back in a second. I am usin...

1:13 PM
developers that forget stuff. that's a much bigger problem and this can't be resolved by some magical configuration setting. Code reviews, testing, education, that kind of things are needed to solve this issue. — Frank Heikens 25 secs ago
1 hour later…
2:34 PM
Q: Code for an application that replaces semicolons in a file with Greek question marks

Baba20A friend of mine directed me to a variety of programming memes regarding the Greek question mark (;) and its similarity to a semicolon. This inspired me to create an incredibly cursed project (ironically in Python) that converts semicolons into Greek question marks in hopes of inducing as much pr...

3:20 PM
Q: Tiny CRC32 hash library in C++ using Boost.CRC

Neel BasuI was previously using Boost hash. But I need to serialize and store those hashes inside the archive which should be loaded latter. Boost hash implementation has changed considerably since 1.74 to 1.84. I don't want to lock with a specific boost version. So, I am moving to Boost.CRC and implement...

possible answer invalidation by Toby Speight on question by Baba20: codereview.stackexchange.com/posts/290862/revisions
possible answer invalidation by Toby Speight on question by Baba20: codereview.stackexchange.com/posts/290862/revisions
4:00 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 29 secs ago
Q: Guidance on Swift Code Structure with Combine for Download List Implementation

Bam BouI've been working on a Swift project that involves a seedbox app for my nas, and I would appreciate some feedback on the code structure and especially on the placement of my observer. I've implemented a DownloadListViewModel and a corresponding DownloadViewController to display the list. The Down...

@MortenBork Did you mean code review maybe? They posted on meta, where it won't be on-topic or well-received. — Aaron Bertrand 33 secs ago
And explain what problem you are having. If you're simply asking for a code review then use codereview.stackexchange.com. — jarmod 27 secs ago
4:29 PM
Q: Show how close a user is to being unsung

CrSb0001So this morning, I decided to create a SEDE query that answers the age-old question "How close am I to being Unsung?" because I recently polished up my first SEDE query and I realized that I had enjoyed learning how to code in SQL. I have tested that the code works as intended1, however there I w...

4:57 PM
5:35 PM
If your code runs without error and produces the correct result then you'll get better feedback on performance, style, technique if you repost your question over at the Code Review StackExchange. — Woodford 32 secs ago
6:11 PM
Before you post at Code Review, be sure to read A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. question titles should simply say what the code is for, as the question is always, "How can I improve this?". Be sure that the code works correctly; include your unit tests if possible. You'll likely get some suggestions on making it more efficient, easier to read, and better tested. — Toby Speight 52 secs ago
6:57 PM
7:09 PM
Q: RANDEVU - Rust crate implementing a simple algorithm I invented

TypicalHogI've created a simple algorithm which I've implemented in Rust and published it as a crate on crates.io. https://crates.io/crates/randevu While I do think my code is pretty clean and idiomatic, I would like to know if there are any suggestions on how to improve it further, including tests and doc...

3 hours later…
9:48 PM
For a question here, please include the code inline in the question. Also see How to Ask and take the tour. Make sure your code is reduced to a minimal reproducible example, so everyone can reproduce it. Once you have working code (create tests to ensure that perhaps), you could get a review at codereview.stackexchange.com, see their site guidelines first though. — Ulrich Eckhardt 27 secs ago
1 hour later…
11:00 PM

« first day (3957 days earlier)      last day (43 days later) »