« first day (3127 days earlier)      last day (881 days later) » 

12:00 AM
REFRESH! There are 7930 unanswered questions (89.2652 answered)
 
12:55 AM
 
1:26 AM
Stack Overflow is not a code review or critique site. You may be able to get more help at either Code Review or Information Security, but please make sure you take their tours and read through their help centers first to ensure that your questions are on-topic. — MattDMo 20 secs ago
 
1:40 AM
@SᴀᴍOnᴇᴌᴀ I did that for a while. But I find having an if <statement> else <statement> ( if foo: bar = True else: bar = False contrived examples are contrived) to more clearly indicate flow. Having an entire if elif chain not end in an else also looks a bit off
 
 
3 hours later…
4:34 AM
 
4:44 AM
There are actually a lot of inheritance happening in my code and if people will look at the base class comment that's fine, however it seems pretty bad to put the same comment in every class that inherits "Bar" and another side is that code reviews become much harder as the reviewer will need to manually check every single line to make sure no app is used. If something prevents this from happening automatically can be implemented a lot of risk can be avoided and time can be saved. — cr001 12 secs ago
 
5:03 AM
This seems like a question that should be asked to: codereview? — Paul T. 16 secs ago
 
5:34 AM
0
Q: System.Reflection.TargetInvocationException - Exception has been thrown by the target of an invocation

EvanI'm working on a project for school using Xamarin. I'm not super familiar with Xamarin so I will try my best to explain my issue. My App has a Courses Page and a Add New Courses Page. When clicking on Add New Course I get the error: System.Reflection.TargetInvocationException - Exception has been...

0
Q: I have implemented few functions in C language that manipulate strings

AmitI have implemented few functions in C language that manipulate strings. These functions are not present in the standard C library. Can someone please review the code. The code is below: string_library.c #include <stdio.h> #include <stdlib.h> #include "string_library.h" /* * get_input_from_s...

 
5:56 AM
Ask it on Code review site codereview.stackexchange.comvitaliis 22 secs ago
 
6:11 AM
Monking
 
possible answer invalidation by tdy on question by Cian: codereview.stackexchange.com/posts/254551/revisions
 
 
2 hours later…
8:21 AM
possible answer invalidation by Toby Speight on question by Giogre: codereview.stackexchange.com/posts/270354/revisions
 
8:59 AM
0
Q: Filter Options in React

JosephI have several products. A product can have 1 or more images. In each image, we have content slot. I don't want duplication per content slot in a product. My code works fine. I'm just wondering what will be a better way to do this or improvement on my code? Codesandbox is here CLICK HERE <Aut...

 
 
1 hour later…
10:02 AM
If your code actually works but you are concerned only by performance, then this question would rather be for the site codereviewCid 17 secs ago
 
10:16 AM
0
Q: Reuse Vector after for-loop with `iter_mut()`

picklepickI'm learning rust (coming from C++) and playing around with different small algorithms to understand the ownership & borrowing concepts better. Currently, I'm having difficulties finding the idiomatic way to reuse a Vector after iterating over it in a for-loop. This is the (very verbose) code I c...

 
 
1 hour later…
11:33 AM
0
Q: Updating an array inside a document using Mongoose and ExpressJS

MhfThe following is a put controller I wrote to update a document. What I am updating is a particular array in the Model: The issues array. The schema for the Model is given below. It works and updates the issues array of the document.: If the array gets very big, would using the updateOne method b...

 
 
2 hours later…
1:18 PM
@Duga that’s ok
@Duga that’s ok
 
2:13 PM
This should be posted at codereview.stackexchange.com. — chepner 36 secs ago
this isn't a question, this needs to be posted at codereview.stackexchange.com. — Rydex 45 secs ago
If youe code is working you should use code review in stack exchange — Ptit Xav 46 secs ago
 
3:07 PM
0
Q: SQL (ODBC) bind to C++ classes row-wise (follow-up)

OwnageIsMagicThis is follow-up on SQL (ODBC) bind to C++ classes row-wise The main idea behind this code is to minimize number of ODBC API calls, because profiler shows significant amount of time is spent in intermediate layers (not waiting for IO). ODBC supports bulk processing, but it requires all buffers t...

 
3:33 PM
0
Q: Getting values from a given level of a nested collection

KonradThis question is a supplement to my previous question: Counting 'absolute' nesting levels of an iterable. I would like to expand functionality of counting nests in order to get values from given nest. I created 2 examples: dct_test = { "a": {1: 2, 2: 3, 3: 4}, "b": {"x": "y", "z": [1, 2, ...

 
3:45 PM
What have you tried so far? This question might be a better fit for code review, where you can get tips and feedback on the code you have written so far. — SirDuckduck 59 secs ago
 
3:58 PM
No @SirDuckduck, broken/unfinished code is not ready for review until it's fixed. — Toby Speight 8 secs ago
Before you post at Code Review, make 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 does, 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 32 secs ago
 
 
1 hour later…
5:04 PM
Monking
 
6:00 PM
If you want feedback on your search tree implementation, then I'd suggest posting on Code Review. As for your question, it seems too general for StackOverflow. What specific problem are you having trying to write a balanced tree implementation? — K. A. Buhr 42 secs ago
 
@SᴀᴍOnᴇᴌᴀ In some type of programs, like continuously running applications, I can imagine it has a certain charm.
@RMunroe A biography of a fictional character is technically non-fiction. It's a factual account of events, the events being fictional is irrelevant.
And yes, the audio of that video is horrible.
 
6:33 PM
0
Q: Timeclock Breakdown Reporting

lzoeschI wrote a time clock management system for my employees. I have written a report that will breakdown all entries between a date range, and a class. It will then go through each period of time (i have set for 1 month). In each month it will sum all sub classes and bring a total for a the class and...

 
7:06 PM
This is off topic here. If you have got the application working you could likely post it over at codereview.SE (with the code in the question: read the site welcome pages first). — 2e0byo just now
 
7:51 PM
0
Q: Suggestions required for TODO in react

user749598I am new to react and I tried to implement a TODO application using react state and props. I need somebody to just review the code and suggest improvements in the code. Currently I have not added any CSS to it, I am focusing more on react practices. code sandbox link- https://codesandbox.io/s/ado...

 
 
1 hour later…
9:13 PM
I’m voting to close this question because it belongs on codereview.stackexchange.comgre_gor 51 secs ago
 
9:34 PM
0
Q: OCaml implementation of two-sum

pbmstrkI'm implementing some simple algorithms (e.g. two-sum) in OCaml and am unsure why my OCaml solution is running much slower than the equivalent Python version. My OCaml version: open Base let two_sum_hash lst target = let rec loop tbl counter = function | [] -> failwith "No sum found" ...

 
9:47 PM
@Peilonrayz Can you review? it's thursday.
 
10:00 PM
0
Q: finding a value in circular two dimensional array

user252016 given a number and two dimensional array the method will check if the number is in the array the array is quadratic circular size n x n and each quarter of the array contains bigger numbers that the previous quarter(picture added) the code i wrote: public static boolean search(int matrix[][], i...

 
I added an update to your answer with half a code review from the demo you provided. Cheers — H3AR7B3A7 9 secs ago
This question belongs to CodeReview or SoftwareEngineering rather than here. For sure the technique you are using is unsafe (I second tagged unions or _Generic from C11); also the naming (e.g. capital letters for types) is far from idiomatic C. — alagner 11 secs ago
for future coding reivew questions Code Review might be better place to ask — chickity china chinese chicken 55 secs ago
Oh, Yes, Rui. I just read Duncann's answer and it is definitely the way to go. Not nearly as fancy as an answer, but the best advice ever. Why patch some bad code with additional code, when we can just make it cleaner from the start? It is a bit hard to get a working answer like that though, for SO, as the OP may have to share the entire script, and we do not want to change SO into a code review forum. Thanks for the references. — GuedesBF 59 secs ago
 
10:29 PM
@Fmbalbuena Sorry, starting to wind down for the day. I'll review your post tomorrow for sure
 
@Peilonrayz ok i still remembering.
 

« first day (3127 days earlier)      last day (881 days later) »