« first day (1968 days earlier)      last day (2035 days later) » 

12:00 AM
RELOAD! There are 5624 unanswered questions (89.8601% answered)
 
12:36 AM
0
Q: Refactor Node.js similar controller methods

Sam WithersThis is a controller from an Express app that lets users view and manage articles. There are at least a couple of issues I'd like to address... The program displays a list of articles in a sidebar that appears on each page. Right now, the app queries the database for article names, caches them, ...

0
Q: String to binary converter

Mr Pro PopI did research about binary counting, and wanted to make an application in Java that converts a string to binary code: /** * This class converts strings by looping through the characters, gets the * decimal code for each, then divides the number by 2 untill the quotient is 0 * * @author Mr...

 
12:58 AM
@matt: I have posted this question in codereview.stackexchange.com. — ArtBajji 16 secs ago
 
1:08 AM
0
Q: Checking if a Chess square is guarded

ArtBajjiI developed a Chess game using Swift. The heart of the engine is where I evaluate whether a square is protected enough for a move. I maintain an array of array of Chess pieces that attack any particular square after each move. Example: White to move. Please check the attached image. In this c...

 
 
1 hour later…
2:10 AM
possible answer invalidation by Prashin Jeevaganth on question by Prashin Jeevaganth: codereview.stackexchange.com/posts/204175/revisions
 
3:02 AM
0
Q: Node.js: User model and DB insertion queries

OguntoyeI have written the following user model for an app I am working on to encapsulate some raw SQL queries and insert rows into a PostgreSQL database. I need some input on how I can refactor and extract to make this more modular, slim and dry. Also, I am thinking of returning the created DB object ...

 
 
2 hours later…
4:50 AM
possible answer invalidation by Heru-Luin on question by Heru-Luin: codereview.stackexchange.com/posts/104817/revisions
 
0
Q: Project Euler Problem #4 -Palindrome numbers in Pascal

INeedAnswersEveryone has made Project Euler Problem #4 in many language but Pascal. So I have these lines of codes here: cant pass test case 2. How do I improve my code?

 
 
2 hours later…
7:06 AM
0
Q: Concurrent usage of resources

Dmitry VolkovPlease take a look at the following code. This is my attempt at understanding concurrent applications. class Program { static void Main(string[] args) { var consumers = new List<Consumer> { new Consumer(1000), new Consumer(900), new Con...

 
You can ask this kinda question on codereview.stackexchange.comKanon Chowdhury 28 secs ago
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comLazar Ljubenović 27 secs ago
If you want us to fix your code, tell us the issue. If you want us to review your code, ask this question on [Code Review](codereview.stackexchange.com) — JBDouble05 7 secs ago
 
7:51 AM
@JBDouble05 Since the code isn't working the way it should, it has absolutely no business on Code Review. Don't mention it. Please take a look at their help center. — Mast 20 secs ago
 
8:54 AM
Monking
 
Monking
 
0
Q: Python 3 - currency converter - CLI and API interface

ciso112first time asking a question here. I made a simple application as a task for a position of a junior programmer, but it did not work out the way I hoped. Nevertheless, I would definitely be interested in code improvement suggestions (sorry for not being more specific, I did not get any feedback by...

 
 
1 hour later…
10:15 AM
> Wrap-around find/replace: We’ve made significant improvement to the find/replace experience in Notepad. We added the option to do wrap-around find/replace to the find dialog and Notepad will now remember previously entered values and the state of checkboxes and automatically populate them the next time you open the find dialog. Additionally, when you have text selected and open the find dialog we will automatically populate the search field with the selected text.
Coming to you in Windows 10 17666.
Took them long enough.
 
10:37 AM
-1
Q: efficiently check if integer is within limits in python

codingnoobI am looking for a more efficient way than bruteforcing my way through in the following problem in python 3. Given integers= [5, 8, 7], lowerLimits = [3, 7], and upperLimits = [9, 7] I want to check how many of the integers are contained in each interval (inclusive). In this examples: intervals ...

 
 
1 hour later…
11:41 AM
@CaptainObvious Code not working as intended.
 
11:58 AM
Monking
 
12:20 PM
Is this an advertisement or a question? If you have working code and you would like it to be reviewed/optimized, then you will receive a more comprehensive response at CodeReview. I urge a migration. — mickmackusa 36 secs ago
I'm voting to close this question as off-topic because this question belongs on another site in the Stack Exchange network -- CodeReview. — mickmackusa 27 secs ago
 
12:48 PM
Is anyone here good at the graph database Neo4j?
 
1:09 PM
No
 
1:58 PM
Your code works, so this question is off topic here, try Code Reviewstrava 32 secs ago
 
2:25 PM
0
Q: CLI helper in rust

Timon de GrootBefore I get started, this is my first hands-on experience with Rust. The program actually works and I really like how it functions. I'm just very interested in what code improvements I could do. I wrote an application in Rust to help me manage my php environments. The binary can be run like: ...

 
2:41 PM
-1
Q: Python - requests proxy is not working

MeggieI encountered some problem with python requests package. I am trying to connect to a proxy with an IP address in another country to retrieve the website's content in different places. However, when I use the code below, the website is showing the same content as I visit it in my current physic...

 
2:57 PM
0
Q: RxJava flow with multiple producers/consumers

xalzI'm trying to use RX to implement PC structure with multiple producers/consumers support. I found the following example and tried to use very similar approach based on BlockingQueue. The problem is that I'm getting BackbressureException: Queue is full?!. I investigated FlowableObserveOn code whic...

 
3:14 PM
0
Q: No frameworks game

NilosI am working on a small game for a test, in which I can't use a structured framework/library like Angular/React, I am using javascript to generate most of the markup, I split the sections in templates (really just js functions). For the testing of the DOM I am basically executing the functions an...

 
possible answer invalidation by ferada on question by ciso112: codereview.stackexchange.com/posts/204222/revisions
possible answer invalidation by Mr Pro Pop on question by Mr Pro Pop: codereview.stackexchange.com/posts/204212/revisions
 
 
1 hour later…
4:35 PM
0
Q: C++ In Order Traversal of Binary Tree

Mitchel PaulinThe challenge was to create a function which performs an in order traversal without using recursion. What I came up with was to use a stack and some clever popping and pushing. I was wondering if there was any way to improve the following solution. Specifically a better way to implement my if(s.e...

 
Monking!
 
5:37 PM
Are you getting an error? Or is this just a CodeReview request? — RiggsFolly 43 secs ago
 
 
1 hour later…
6:45 PM
@Duga Looks fine
@Duga Should probably be rolled back to rev 4, but I'm on my way out.
@EthanBierlein Monking!
 
7:01 PM
lol
"For example, here's an animation from Wikipedia showing how random points in space chosen with a linear congruential generator end up falling into a fixed number of hyperplanes"
That's not the most easy sentence to understand
 
 
2 hours later…
8:55 PM
I'm voting to close this question as off-topic because it belongs to Code Reviewdesertnaut 13 secs ago
possible answer invalidation by Mr Pro Pop on question by Mr Pro Pop: codereview.stackexchange.com/posts/204212/revisions
@desertnaut why would this question go to code review? My code is NOT working code, it is wrong code. Here are some excerpts from code review help centre : "In short, questions seeking open-ended feedback on real working code that you own or maintain are on-topic for Code Review." and "Code Review is for open-ended questions about code that already works correctly (to the best of your knowledge). Questions seeking help about debugging or understanding code are off-topic for Code Review, and may be on-topic for Stack Overflow." [codereview.stackexchange.com/help/dont-ask]enigma6174 41 secs ago
@desertnaut why would this question go to code review? My code is NOT working code, it is wrong code. Here are some excerpts from code review help centre : In short, questions seeking open-ended feedback on real working code that you own or maintain are on-topic for Code Review and Code Review is for open-ended questions about code that already works correctly (to the best of your knowledge). Questions seeking help about debugging or understanding code are off-topic for Code Review, and may be on-topic for Stack Overflow [codereview.stackexchange.com/help/dont-ask] — enigma6174 22 secs ago
@desertnaut OP is right. See also codereview.meta.stackexchange.com/questions/5777/…. Bottom line: refuse the temptation to dump questions there. Even optimization/improvement questions aren't necessarily to be moved there, and the code in this question is both buggy and missing an MCVE. It should stay (open or closed). — Andras Deak 56 secs ago
 
9:28 PM
0
Q: F# Blockchain Implementation: Block and Blockchain

KapolSome time ago I started writing a blockchain implementation for learning purposes. I used this article as reference. Originally I wrote the code in C# but recently I have rewritten everything to F#. Please review my F# code, although feel free to comment on C# as well if you feel like it. Hopefu...

 
9:39 PM
@Mast Handled, thanks.
 
10:05 PM
You have not wasted your time. I am not smacking you down. I'm refererring you to a BETTER audience. The reviews that you receive over there (I am member over there) are far, far more comprehensive that than this community where people like to answer with a two-line no explanation snippet. Copy your entire post and paste it at CodeReview. This is the best path for you and your team. — mickmackusa 48 secs ago
 
11:05 PM
0
Q: How safe is my Pagination code?

Susi$pageUN = $conn->query("SELECT slug_link FROM bn_publicacao WHERE entry_type = 'pagina' and id = 2")->fetchAll(); $maxlinks = 4; $pagina = (isset($_GET['pagina'])) ? (int)$_GET['pagina'] : 1; $maximo = 12; $inicio = (($maximo * $pagina) - $maximo); $stmtPG = $conn->prepare("SELECT * FROM ...

0
Q: Python 3:Guess the number game attempt (Automate the Boring Stuff) ch3.p74

user180326RE:Automate the Boring Stuff with python Chapter 3_Guess the Number_Page 74 I've been tring to make a simple 'guess the number game from this book' I've tried to make little use of the global variables, and tried to segment my program. It this any good or is it stupid? Please critique. Feel fr...

 

« first day (1968 days earlier)      last day (2035 days later) »