« first day (3682 days earlier)      last day (339 days later) » 

12:10 AM
REFRESH! There are 7311 unanswered questions (90.5084 answered)
 
1:06 AM
0
Q: Program that takes a file, analyzes it, and prints out data information

antipodallyGiven a file that contains data which each line looks like this: (1664488476.413165) 721#BA02000000000000 Here's the format: (timestamp in seconds with decimal) message_id#message_contents Write a program that takes in this file, analyzes it, and prints out this information: Number of seconds th...

 
 
2 hours later…
3:29 AM
This may be more appropriate on Code Review. — larsks just now
 
 
1 hour later…
4:58 AM
That's the point, this is not the place to discuss your solutions, for quite a few reasons. There used to be even a Stack Exchange site for code review, that would fit better but I don't know if anyone would be there to really help. — TA_intern 39 secs ago
 
 
2 hours later…
6:58 AM
This Stackoverflow site is for (specific) questions and answers. For a code review, I recommend you to turn to the StackExchange Code Review site. Anyways, for multi threatening wpf minimal reproducible example for Windows PowerShell see: Write PowerShell Output (as it happens) to WPF UI Control. — iRon 55 secs ago
 
0
Q: Sharing a global enum accross 15 nano service independently deployed

Alexander PetrovI have a mono repo with multiple nano services integrated with Kafka. The system data vesel is JsonMessage. This Json message is exchanged via these nano services. Same keys are used as element in constructing a key accessing data carried by these messages in a Redis cache. A global dictionary of...

 
 
3 hours later…
10:23 AM
0
Q: SQL: updating a variable number of columns in a row

o0o0oData coming from HTML form: several inputs that need to be entered into the database, any of which may be empty. How do you solve this task? My approach: check params, null if empty, than execute one query using a stored SQL procedure. DELIMITER ;; CREATE PROCEDURE `my_proc`(IN new_param_1 VARCHA...

 
 
2 hours later…
12:30 PM
0
Q: Efficiently creating an array from a filtered sheet

Andi AllanI recently needed to make an array from a filtered sheet. Because the filtered results will be in multiple areas, the code I found online all referred back to the sheet in loops. I believe I have come up with a much more efficient approach, which has only four calls to the sheet for any size of f...

 
12:43 PM
No @PepijnKramer , broken code is not ready for review until it's fixed. — Toby Speight 54 secs ago
 
1:12 PM
possible answer invalidation by Fabio on question by Fabio: codereview.stackexchange.com/posts/285268/revisions
possible answer invalidation by Fabio on question by Fabio: codereview.stackexchange.com/posts/285268/revisions
possible answer invalidation by Fabio on question by Fabio: codereview.stackexchange.com/posts/285268/revisions
 
Monking
 
1:34 PM
If you want a review of this code snippet, perhaps codereview.stackexchange.com would be a better forum. There are issues here (the use of statics, for example; we’d generally use associated objects to associate these properties with a particular view instance), but that is all unrelated to memory issues. — Rob 16 secs ago
 
@Duga Rolled back and commented.
 
1:55 PM
There are no obvious memory issues here. If you want a code review, as there are issues here (a property to install a gradient; the use of statics; etc.), perhaps codereview.stackexchange.com would be a better forum. — Rob 36 secs ago
 
2:36 PM
0
Q: Calculating Parking Fees with error messages

JenHere's the description: Please write a Java Program for managing parking fees. each hour is $3. The invoice has to contain: ID, amount, and subtotal. The maximum fee of the day is $30, and give out a 5-dollar coupon. The total parking Cars has to >0. If the entered cars is less than 0, the error...

 
2:47 PM
possible answer invalidation by Toby Speight on question by Jen: codereview.stackexchange.com/posts/285320/revisions
possible answer invalidation by Toby Speight on question by Jen: codereview.stackexchange.com/posts/285320/revisions
 
0
Q: What do you think about Money class and a few questions

lesterI have recently created the Money class with a helper class Currency. What do you think about the following code? I created unit tests for my class using very nice pytest library. Is it a good idea to put code tests in the if __name__ == '__main__' or should I always use dedicated libraries like ...

 
 
3 hours later…
5:34 PM
0
Q: Thread-safe resource disposal

BasilevsI've been using Guava Closer for non-trivial resource life-time management. It is not thread-safe, and occasionally there is a need for a multi-threaded resource allocation. I could not find a library solution, so I've wrote one myself. I've done my best to handle exceptions and concurrency and m...

 
@Duga No problem.
 
Better to post this type of question on codereview.stackexchange.comtinman 6 secs ago
I’m voting to close this question because this type of question belongs on codereview.stackexchange.comtinman 9 secs ago
 
5:55 PM
Monking
I won't be doing any moderation related actions per Monday.
What the other moderators do and the rest of the community does, is up to them.
Unfortunately, it has come to this.
I'd rather have a few weeks of damage to clean-up than no sensible place to come back to at all.
 
6:51 PM
0
Q: Lightweight general-purpose graph library in C++

BobrayAs a personal side project I started building a graph library in C++ (I know, very original). The code is open source, but for the purpose of this question I will provide the relevant details and the to-be reviewed code below. Architecture overview What I want to achieve The goal of the project i...

 
7:23 PM
 
8:07 PM
0
Q: First app with JS in OOP

Szymon MińkoI've already started to creating apps in JS with OOP. I made simple TicTacToe Game in OOP and I want to ask you to review my code and point out everything that I can change about OOP. What is bad practice and what should I pay attention for? Thank you! class Game { constructor(figures, boxes)...

 

« first day (3682 days earlier)      last day (339 days later) »