« first day (2486 days earlier)      last day (45 days later) » 

12:00 AM
RELOAD! There are 6395 unanswered questions (90.1251% answered)
12:19 AM
Q: Attempt to calculate draws faster in VB.Net

Norisor MariusI created this calculation algorithm, unfortunately, it works a little hard for more combinations. how should it be improved for faster operation? Private Sub BttRemize_Click(sender As Object, e As EventArgs) Handles BttRemize.Click If CBRealTime.Checked = True Then Dim myP...

12:57 AM
I would suggest moving this to code review. You're not going to get help on that type of thing here. codereview.stackexchange.commwilson 55 secs ago
I'm voting to close this question as off-topic because SO isn't code review site. — martineau 49 secs ago
2:01 AM
Q: Translate the javascript into python syntax(or at least provide information as to how the script works in python terminology)

Alan TramI've been given the task of using this javascript to generate a json file by combining time stamps using something called "lower quality gentle api" to get these with scripts.txt. However, I've haven't had much experience with javascript so some explanation of the intent and intricacies of this ...

2:40 AM
Q: C++ Cycles Is a graph denoted by the adjacency matrix a cycle graph?

ImehCycles Is a graph denoted by the adjacency matrix a cycle graph? Input In the first line: a number of next lines. In a line (expect the first): a number of vertices and after space an adjacency matrix written from the left to the right and from the top to the bottom. Output 1 if a graph is a cycl...

1 hour later…
3:53 AM
I'm voting to close this question as off-topic because it belongs on Code Review. — Scott Hunter 11 secs ago
4:03 AM
Q: DND print script in html5

MEIi made a html script to quickly make a Dnd5 sheet, this was a project done over two weeks, i don't know what to say else then im learning js, css and html. i would love to learn how to make this better. <!DOCTYPE html> <html lang = "en-US"> <body> <h1> DND5 Quick Sheet </h1> <l><font size = "2">

1 hour later…
5:24 AM
Q: Using common code inside a Higher Order Component

Nihal SaxenaI have a common List in mind which looks something like this: it has one remove button one input in which user can enter the name of element and on clicking insert the element will be added in the list. For this i have added HOC like this: function ListHOC(Component, data, listName, placeh...

5:44 AM
Q: Implement N worker queue using Promises in JavaScript

Davit TovmasyanWrite a code that will process a list of strings. Processing will be a Promise and it will be resolved in 1-10 seconds for example. Workers should take no more than limit strings and once one of the workers is free it should take another string until the list is done. And detect the all done stat...

1 hour later…
6:59 AM
3 hours later…
10:29 AM
As the code works, try posting this in codereview.stackexchange.comRicardo Diaz 19 secs ago
11:15 AM
You really need to extract a minimal reproducible example and provide that along with your question. Odds are you would find the error yourself doing that. Also, consider putting your code on codereview.stackexchange.com once it works, because there are a few things that are not good C++. — Ulrich Eckhardt 22 secs ago
11:28 AM
Q: Wildcard Matching with DFS and FSM

huangbiubiuI'm trying to solve Wildcard Matching on Leetcode. I found a great solution using the Finite-state machine. The author builds an FSM and searches with BFS. I rewrite the solution with the same idea (FSM) but use DFS: class Solution: def isMatch(self, s: str, p: str) -> bool: # buil...

Q: Outlook - put all ungrouped contacts in a separate folder

vba-coderI have linked my icloud contacts to outlook, and wanted to display all contacts which had not been grouped. I wrote this sub for that: Option Explicit Sub Ungrouped() Dim NS As Outlook.NameSpace Dim c1 As Outlook.ContactItem, c2 As Outlook.ContactItem Dim iCloud As Outlook.MAPIFolde...

questions about codereview should be asked at Code ReviewJens 7 secs ago
11:59 AM
Questions about best practice are off-topic on stack overflow. codereview.stackexchange.com would be a better place to ask — jrswgtr 42 secs ago
I'm voting to close this question as off-topic because this question belongs on code review. — Seelenvirtuose 29 secs ago
2 hours later…
1:54 PM
2:41 PM
Really, do yourself a favor and write the code on your own. If you want to learn, I'm sure, you can do it. If you encounter a problem, feel free to write a new question here. If your code does, what it should, but you are not happy with it, you can post it on code review. Voting to close — user8408080 14 secs ago
3:09 PM
I'm voting to close this question as off-topic because it seems to be suited for codereview.stackexchange.comrkosegi 18 secs ago
Q: Circular buffer data structure

LexshardI am self taught and beginner in c++ programming , i tried to implement circular buffer data structure as an exercise and its corresponding iterator class, but undefined behavior is triggered , i cant find the solution, please help me to correct my code and to improve the quality of my codes. #i...

1 hour later…
4:15 PM
I have some code here that retries opening an SSH connection 100 times...
comment says "Wait for approx. 16 minutes"
I'm at iteration 57 and it's been close to two hours
4:31 PM
Q: config files for different development environments (Production, Dev, Testing)

mosheviI am following a guide that specifies how to manage different configurations (DB_URI, LOGGER_NAME, etc...) per development environments. I create a config module that is structured like this \my_project\config\__init__.py import os import sys from . import settings # create settings object co...

4:51 PM
Q: Directories arrangement - web project

Lyes CHIOUKHI am looking to reorganize the directories of a web project. I have two proposals concerning the storage of transverse functionalities (core). shared/ apis/ CORE/ guards/ CORE/ OR shared/ apis/ guards/ CORE/ What do you recommend?

Q: 17.67s Page Load Speed, with No Html Markup, No Javascript, No Css & no Librarys

Ryan StoneJust Started Building a Website Using PHP OOP, There is No Assets, No Librarys and No Css yet However Using https://tools.pingdom.com to test the Page load time it is taking 17.67s to load a blank page which is Definately Not Good. I have tried it with both localhost -> hosted on Namecheap & also...

5:11 PM
Q: Optimizing minHeap implementation

Not_FoundedI have implemented a java class for minHeap but it is not working as fast as I want . I want some help to change it to work faster in insertion or deleting the minimum node. Here is my implementation: public class MinHeap { private static final int d = 2; private int heapSize; priva...

5:43 PM
@Vogel612 It's been 90 minutes since then and we're at attempt 96
Q: Quick sort algorithm in Rust

SebastienI have written this Rust code to implement the quick sort algorithm. Could you review it and tell me if it is idiomatic or not? Especially about my use of the slices? fn quick_sort(array: &mut [i64]) { let n = array.len(); if n > 0 { let mut i_pivot = 0; for i in 1..n { ...

6:18 PM
As you have a working solution, would this be better fitted to codereview.stackexchange.com? — Nigel Ren 14 secs ago
6:32 PM
Q: Get Asset Returns for multiple Tickers and Holding Periods

Dumbledore__I've written some code that will take multiple stock tickers and calculate their returns over yearly, monthly, bi-weekly, and weekly holding periods. The results are written to an xlsx file. I'm seeking commentary on any general best-practices I've missed, or any possible simplifications. In p...

7:13 PM
Q: Generic linked list implemented in pure C

Martin ChekurovRecently i added such generic list in github and i would like to get some feedback. Here is a link to the code in github: https://github.com/MartinChekurov/Generic-Linked-List GenericList.c #include "GenericList.h" typedef struct GenListNode_t { void* data; struct GenListNode_t* pNe...

possible answer invalidation by DragonGamer on question by DragonGamer: codereview.stackexchange.com/posts/237735/revisions
7:33 PM
Q: Generic interface implementation with subclass arguments

cppcoderProcessor interface: public interface Processor<T> { public void process(T request); public Class<?> getRequestType(); } Processor implementation: public class TextProcessor extends BaseProcessor implements Processor<TextRequest> { @Override public void process(TextRequest reques...

7:56 PM
Is this a request for a code review? Your post does not contain a single questionmark — Mathias R. Jessen 6 secs ago
1 hour later…
9:14 PM
Q: Simple Binary Search Tree Class with Insert and Search Functions

Nothing_8484I am trying to learn to implement DSs in C++ and here is a simple implementation. Please review in terms of optimization, memory management, coding standards, etc #include <stdio.h> #include <iostream> class BstNode{ int data; BstNode* left; BstNode* right; public: BstNode(int data) { this->...

9:34 PM
This question is more suited for Code Review codereview.stackexchange.comfinefoot 53 secs ago
Q: Pyramid Slide Down solution with Dynamic Programming

Raahel BaigA function that solves the slide down problem. In summary, the task is to find the path from top to bottom of a triangular grid of numbers that has the largest sum. from functools import lru_cache def longest_slide_down(pyramid): @lru_cache(maxsize=None) def maxi(x, i): if i == l...

Q: aggregate sheets from many excel workbooks into one workbook

dactyrafficleI want to put the worksheets from several (2-5) excel workbooks (files) into one single workbook. The names of the workbooks are not standardized and so I opted for a dialog box to select the workbooks. Here is the code. It meets the basic requirement that all the worksheets (sheets actually) f...

possible answer invalidation by Norisor Marius on question by Norisor Marius: codereview.stackexchange.com/posts/237766/revisions
10:15 PM
Q: Simple BST implementation using C++ Struct

Nothing_8484I am trying to implement DSs in C++ and this is BST insert and search functions. I tried in two different ways, please review and see if one is advantageous over other. With pointer to pointer #include <stdio.h> #include <iostream> struct BstNode{ int data; BstNode* left; BstNode* right; }; ...

10:45 PM
You've not posted any code in your question. But having said that, if you're asking getting help improving working code, then the question may be better suited to the Code Review site. Do check their help link first though. — Hovercraft Full Of Eels 58 secs ago

« first day (2486 days earlier)      last day (45 days later) »