« first day (2381 days earlier)      last day (1628 days later) » 

12:00 AM
RELOAD! There are 6231 unanswered questions (90.0952% answered)
 
12:33 AM
This might be a better question for: codereview.stackexchange.comPaul T. 32 secs ago
I'm voting to close this question as off-topic because belongs on codereview.stackexchange.com. — Paul Evans 53 secs ago
Ok, thanks I'll post it on codereview, thanks for the recomendation @Peter, I'm just passing recently from C to C++, so I don't know too much it. — Alexander 21 secs ago
 
12:52 AM
0
Q: Hide row based on value in given column is inconsistently working

KerryBusiness process: This spreadsheet is used by physicians to track follow-up call attempts and completions for recently seen patients. One sheet pulls in all recent appointments from our EHR. Each physician has their own sheet that filters the appointments to display only theirs. Each physician'...

 
1:33 AM
-1
Q: Data structuring in C++

AlexanderI am creating a program in C ++ that allows to have a CRUD with all the information regarding artists with their songs, their parts, etc., for this I am using structures, lists, and I wanted to ask if you can give me a critique on how I have structured the data. I also have another question. Can ...

 
1:53 AM
1
Q: Calculate the sum of interior angles of a polygon [Rev #2]

Mode77#include <stdio.h> #include <string.h> #include <stdbool.h> /* Keep string constants of the questions. */ const char* howManySides = "How many sides does the shape have? "; const char* askAnotherShape = "Would you like to find interior angles for another polygon? (0 or 1) "; /* Table of poly...

 
 
1 hour later…
2:54 AM
-1
Q: JavaScript passing arrow function callback as argument to another arrow function

RyanI am currently trying to refactor my code as I fetch data in a lot of functions (I would like to keep my code DRY). So, I created a function fetchData and all it does is fetch data from an API. I have a searchProducts function where the fetchData function will be passed in as a callback (argumen...

 
 
4 hours later…
7:00 AM
0
Q: I made binary tree search for string. But it didn't work as well as i thought

kswHere is my code. I want month(string) to Binary search tree form. I think put string in Node didn't work. I'd appreciate any feedback that will help me improve. typedef struct Node { Node *prev; string months; Node *next; } Node; class BinaryTree { private: Node *root; pub...

 
 
1 hour later…
8:01 AM
0
Q: Simple Email Subject Filtering (python)

spenceThis challenge took me forever. I spent a lot of time messing with regular expressions, but couldn't get it to work. I ended up coming up with this abomination. If anybody wants to take the time I'm interested in simpler ways to accomplish this task. (I'm a brand new pythoner) def is_stressfu...

 
 
1 hour later…
9:10 AM
possible answer invalidation by Mast, Ɓukasz D. Tulikowski on question by Val198765: codereview.stackexchange.com/posts/232110/revisions
 
@Duga One is the invalidation, the other is the fix.
If a user gets enough edits rejected, they'll be notified, right?
 
 
1 hour later…
10:43 AM
0
Q: Ubuntu 18.04.3 ASCII strings length with embedded VT100 control codes

Shift_LeftAs my applications rely on VT-100 emulation, I found that I had to do quite a few workarounds to determine the number of visible characters in a string with embedded VT-100 control codes. So that led to the design of this 73 byte snippet. Function would be called as follows; xor edx, ed...

 
11:24 AM
0
Q: Complexity of bubble sort

SummerI have a simple integer sorting problem at hand and to solve it, I am planning to write a variation of bubble sort. It seems to be working fine but I am not sure about it's complexity in big-O. What it could be ? public class TempBubbleSort { static Integer[] myArray = {10,9,8,7,6,5,4,3,2,1}; ...

 
11:40 AM
possible answer invalidation by K. P. on question by K. P.: codereview.stackexchange.com/posts/232112/revisions
 
11:54 AM
@Duga shrug
 
12:34 PM
@AriCooper-Davis Considering the code doesn't work as intended, it's absolutely unfit for Code Review. Now the question was posted & closed there. Please consider carefully before directing unsuspecting users to sites you don't know the scope of. — Mast 10 secs ago
 
12:45 PM
0
Q: 2048 graphic game

MironThis game is made for JFrame. You can control using the arrows. The numbers in the cells are the degrees of the number 2. It is possible to change the initial position of the window, its size, and the number of rows-columns(they are equal) in the field. You can also change the width of the frames...

 
1:39 PM
Also, if you are stuck you can search on the internet for how to offset letters in a string in Python, to find code examples such as thisDarrylG 59 secs ago
 
1:51 PM
This kind of question is often better suited for codereview.stackexchange.com. It looks like you're asking for help along the lines of what they list in their "What topics can I ask about here? " page. — Dan Getz 40 secs ago
 
2:02 PM
Monking
 
Monking
 
0
Q: Linux HDD/CPU Temperature Logging Bash Script to run every minute in crontab

brandontaz2k2I wrote a simple script to log HDD and CPU temps to a log file. If those temperatures reach a threshold, it will shutdown the server. I also made the script make sure the log files don't get over a certain file size. Any ways to improve the code would be greatly appreciated, as I am a noob to pr...

 
2:27 PM
0
Q: .NET Core 3.0 solution - splitting or merging

DanilI`m designing a .NET Core 3 application which contains: REST API Frontend (a Vue project) Some kind of task scheduling and processing services. Each has own little HTTP API for monitoring Each will start in separate docker container. First approach (that was in previous version) - one proje...

 
2:43 PM
shouldn't this question be moved to codereview.stackexchange.com? — Junius L. 10 secs ago
 
3:07 PM
Got my first Steward badge for the close votes queue.
2
 
3:29 PM
0
Q: Simplified Linked List Implementation in C++

M.arsI'm learning C++, data structures and algorithms and I have implemented a (Doubly) Linked List class for practice. Some STL functionalities are deliberately missing for now (e.g. some functions overloads, rbegin/rend/crbegin/crend, relational operators and many others). I would like to know if my...

-1
Q: how to find Substring without builtin function in javascript?

bijoyI am trying to rebuilt Substring function. here is my code.it doesn't work when passed single parameter and also when num1> num2 .Can anyone tell me where should i change? here is my code...... function myFunction(num1, num2) { var str = "This is a string"; var subString = ""; var len...

 
 
1 hour later…
4:30 PM
0
Q: First E-Mail Automatisation Project with smtplib but did not use MIMEMultipart. Any good?

Al NikolajThank you for taking your time to review the following code. The goal of the project is to automate sending the same e-mail to a list of people with the same text (except the salutation "Dear Name of Person") with an HTML signature and a PDF attachment. For this purpose, I have: An Excel list...

 
 
2 hours later…
6:15 PM
tip: you should probably ask your question on code review SElovelace 5 secs ago
 
6:32 PM
-1
Q: Symfony 4 translate Entity fields

YrtymdI have been developing multilanguage website based on Symfony4. Structure of one of the tables: +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+-----------...

 
6:46 PM
This looks to me like something for the code review stack exchange — JVApen 45 secs ago
 
0
Q: Speed up python program for computing shortest paths by 100+ times

James DanowskiThis code inputs a weighted edgelist, positive and negative sentiment seed words, and a target word. The program computes the sum of the weights along shortest paths from the seed words to the target and from the target to the seed words, as it generates 9 output values. The program is very slo...

 
 
1 hour later…
8:14 PM
0
Q: Reuse the value of previous type instead of None

robots.txtI've created a function in python to print some information through it. I'm trying to supply list of alphabets to the function along with the type those alphabets fall under. When I execute the function, It checks whether the value of the type is None. If it is None, it executes the except block...

 
Why does it need to be shorter? What have you tried to shorten it? If you have working code then perhaps Code Review would be a better fit. — jonrsharpe 53 secs ago
 
8:34 PM
You might be better off on CodeReview with a question like this. — Joelius 29 secs ago
 
0
Q: Creating a simple game using classes Python

Aino PukaralammiThis is one of my first Python codes with classes and I'm having a hard time understanding why these two methods called "count_mean" and "hit_rate" won't work. Basicly there's two players Matti and Teppo and they're throwing a brick to get points. They aim to get 50 points, if they get over tha...

0
Q: Recursion on graphs - networkx VS adjacency lists with native lists and sets ( python )

user305883hope someone can help me out in reviewing this code to make it faster. My goal is to create a graph recursively: query for a node and its neighbors from a db (not present here) add it and its neighbours to a graph until you find a target, recurse (1, 2) for each neighbour I also set a contr...

 
 
1 hour later…
9:36 PM
-1
Q: How do I inspect the iOS code and give feedback

ShivaI have been given position to review the iOS source code. So end of every sprint, I would be reviewing the source code written by developers and giving them feed back and if everything is perfect then I would be authorising the source code approval. So I'm trying to find a reference document w...

 
 
1 hour later…
10:57 PM
-1
Q: Proper imports and exports for nodejs and the browser

AppDeveloperEdit I see a negative vote, How can I improve this question? The Library is meant to be re-used for both the browser and the nodejs runtime environment, publishing this code for a code review to make it better and concise. Import nodeJS convenience_product.js let MyLib; // import for eithe...

 
11:18 PM
0
Q: Writing a test to validate that the repo is formatted

BomazI have a short test to validate that all commited files in the repo are formatted. I'm new to go so not sure what the best wat to do it is. The error handling in particular is rather gruesome as it takes up roughly half of the lines. How can it be improved? package pack import ( "os" "...

 

« first day (2381 days earlier)      last day (1628 days later) »