« first day (2535 days earlier)      last day (1779 days later) » 

00:00
possible answer invalidation by GollyJer on question by GollyJer: codereview.stackexchange.com/posts/240364/revisions
RELOAD! There are 6487 unanswered questions (90.1125% answered)
0
Q: A game implementation in Python

coder1532I have the following Connect 4 implementation. Is there a way to refactor it and maybe make it better. It's a fully working solution. However, I see that the correct result is not returned in certain cases like the following. In this case 1 should have won since there are four_in_a_row from the r...

00:32
Since it works and you have a questoin how to approve this code, it is better to ask this on codereview.stackexchange.comcolidyre 18 secs ago
00:43
0
Q: A* pathfinding for integer Vectors

UrbsThis class is for calculating the shortest path in a 2D World (without minding obstacles). I'm using the A* algorithm and 2D Vectors (from the SFML Framework). It is working but takes (a lot of) time for higher amount of coordinates. It takes 4 seconds to calculate the path from one edge of the...

01:02
0
Q: Storing numbers from a file into a 2-D array

KodiakThis code will read in double values from a file and store them in a 2-D array. I'm practicing using only arrays (not ArrayLists). The maximum number of lines that will be stored is 10, 10 values max per line. Values in the file are separated by a single white space character. Any feedback would ...

01:35
If you want this to be fast, don't use BCD / base 10. I wrote a CodeReveiw.SE answer about this: BigInt class in C++Peter Cordes 10 secs ago
 
2 hours later…
03:14
0
Q: Tkinter GUI for running HPLC pumps, real-time data visualization

teauxfuWhat I made I used Tkinter to write a GUI to run some HPLC pumps for my work. The application sends some messages to the pumps via serial connections, reads a response, then logs data to a csv file. I use Matplotlib to plot the data in real time, and to let the user plot several sets of data a...

03:36
Perhaps it would be better to address this into code review — andreis11 33 secs ago
This question belongs to the CodeReview website. — Laurent LAPORTE 20 secs ago
04:30
0
Q: SUDOKU! Backtracking, Constraint Program~ Would appreciate tips & polishing

barn animalI wrote this code for Sudoku solving, it utilizes backtracking & constraint programming. Initially, my satisfied() function took ALL the time. I made it much quicker, take a look. In general, I just want overall tips to polish the program, speed up any slow functions, etc, general feedback, etc. ...

 
2 hours later…
06:25
If your code runs correctly, your question is off-topic for Stack Overflow, but would be a good match for codereview.stackexchange.comThierry Lathuille 45 secs ago
06:41
0
Q: React virtualized list dynamic width/height

ElmoI'm using react-window to virtualize a list. My list is supposed to fill in the container's completely and the container's width and height are 30vh and 100vh. Since the dimensions are dynamic and react-window requires me to provide constant dimensions, I'm hooking into the onresize event and upd...

07:00
0
Q: Create UIView programmatically in Swift

sasquatchI am generating View and setting constraints programmatically in UIViewController import UIKit import SnapKit class LoginViewController: UIViewController { lazy var topImageView = UIImageView() lazy var centerStackView = UIStackView() lazy var phoneTextField = UITextField() lazy...

What if the node after which you want to add the new node has a duplicate in the list? You should reconsider your approach. A clear approach is codereview.stackexchange.com/questions/104940/…Arvind Kumar Avinash 35 secs ago
07:56
0
Q: Roman Numbers in Java

chrysaetos99The Problem I wanted to create a program that is able to convert roman numbers to arabic numbers and vice versa. Roman numerals consist of the following symbols: | Symbol | I | V | X | L | C | D | M | |--------|---|---|----|----|-----|-----|------| | Value | 1 | 5 | 10 | 50 | 100 | 5...

08:35
I'm voting to close this question as off-topic because it should be asked on Codereview.stackexchange.com — Marcin Orlowski 24 secs ago
09:31
Aside from the answers already mentioning header guards, maybe post the code of your files, if they are not too big. There are many mistakes to make which aren't exactly intuitive to understand. For example, you don't want to implement functions in headers, except if they are declared inline (although that would result in a compile time error rather than a runtime bug). Note that especially for a beginner, it is beneficial to post your code on CodeReview to improve your style. — Aziuth 47 secs ago
 
1 hour later…
10:46
0
Q: Correct way to unit test express API

Felix WielandI wrote an express API for a document management service (repo to be found here) and even tho I understand the importance of uni testing I never quite managed to wrap my head around how I would test an API like this. But now as I would like to attract some contributors I started to write some tes...

 
2 hours later…
12:39
hey
0
Q: Checking which polygon a set of coordinates lie inside is very slow

TomSelleckI have a massive set of latitude, longitude pairs. I also have a list of GeoJson formatted locations. I want to find out which location each pair of coordinates lies in. I have some code to do this, but it's super slow and won't work against my dataset in it's current format: # Load Dataset CHI...

13:26
0
Q: Asynchronous TCP/UDP Socket Server & Client

Mikołaj LenczewskiFor a personal toy project i've implmented both TCP and UDP servers and clients in C# with a focus on performance, using the Socket class and the SocketAsyncEventArgs pattern (the socket.XXXAsync methods), and would like some feedback about how to improve my existing code. So far the servers are...

13:58
First, SO is probably a poor fit for your question. We debug code here, design advice like this seems off topic. Second, usually it's poor practice to extend Thread. You should put all of your functionality in the task (the Runnable or Callable) and use generic threads. But unusual requirements could lead to custom threads, so who knows. I'd suggest you post your CustomThread class to Code Review. — markspace 41 secs ago
Hi, I normally think in code, not diagrams, and then Code Review might be more suitable. But I don't see why you'd have to extend Thread. What is the requirement you are trying to solve by that? Not seeing any code, I think Verfahren should be an interface that extends Runnable. Also, Verfahren and CalculatePi look "upside down" for me: CalculatePi sounds much more specialised than "Verfahren" to my (German) ears. — Axel 27 secs ago
Thanks for you asnwer Axel. I tried to implement the Methods that every child class has to have anyway. So if something extends Verfahren or CustomThread it automatically has implemented Methods which are generall and not to override because there cant be a specification. But anyways thanks both of you for recommending CodeReview — ProfMaschina 58 secs ago
0
Q: Asking for Fibonacci numbers, up till 50

ThangNguyenI am learning Python, and this is one of the program assignments I have to do. I need to write code to prompt user to enter Fibonacci numbers continuously until it's greater than 50. If everything correct, screen show 'Well done', otherwise 'Try again'. While my code is working correctly, I wou...

Here's a better place to ask this question : codereview.stackexchange.comElazar 9 secs ago
14:21
> Still, I have a question: How is, asking questions, on a site which focuses on questions, not a right?
-8
Q: Claim: Asking questions on a Q&A site should not be a privilege, but a right

Anatoly WeinOne down vote, then one vote up sum together at zero. Yet this counts as a failed question. I have ~ five questions, two upvoted, one zero-voted, two downvoted, and when I have a question.. Well, I don't have any way to ask it. Still, I have a question: How is, asking questions, on a site which ...

0
Q: Python: SQL Alchemy. Managing a many-to-many self related table

GRSI am building Twitter. People can follow each other, and hence I have 2 tables, users and followers. My current problem is that I feel like I'm doing too many SELECTs before doing anything useful. Is it common to have a SELECT on users to find the current user each time? I have: models.py c...

0
Q: Abstract Superclasses to sum up Methods

ProfMaschinaI wanted to ask if somebody has a good advice for me in structuring my program. As you can see in the Picture all my Threads are extending the CustomThread Superclass and every "Verfahren" ist extending Verfahren and implementing the Interface CalculatePi. The CustomThread implements the interfac...

14:38
> questions-asking as a right is simply a must-have.
Hmmm
@Peilonrayz Sometimes people post questions that are so odd it's hard to tell whether they truly believe what they wrote down or not.
@Mast Pretty sure they do. I don't think they understand asking questions is ok, but asking garbage gets you the door.
I'm voting to close this question as off-topic because this is more suited to Code Review. — Adrian Mole 7 secs ago
15:15
-2
Q: Check two databases and delete duplicate record from one database in Python SQLite3

pylsokolI'm a newbie in python and sql... So I just can't understand why it doesn't work. I have two databases temp.db and prime.db. I need to find duplicate records and delete them. Program has to check the value of the one column login in both databases and if it finds duplicates only in this column lo...

I'm voting to close this question as off-topic because it belongs on Code Review. — ChrisMM 15 secs ago
15:36
Perhaps you'll like to ask at codereview.stackexchange.com to review your code. — zixuan 14 secs ago
@Mast @Peilonrayz How many questions does it take to get banned?
@pacmaninbw IDK, I almost got a Q ban after like 11 IIRC form around ~7/8 years ago.
I think it gave me a warning when I was going to post a question that I will soon no longer be allowed any more posts. But they may have scrapped that.
You should ask at [Code Review](codereview.stackexchange.com). — zixuan 43 secs ago
I get a warning sometimes when I flag a question after a declined or disputed flag.
Welcome to Stack Overflow. This is primarily opinion-based, and therefore off-topic here. Please read about what's on-topic in the help center. (Though you should search for "PEP 8", Python's official style guide.) You might also want to look at Code Review, though please read their help centre to make sure you stay on-topic there, too. — Chris 19 secs ago
@zixuan No. Code Review requires the code to work. — Peilonrayz 24 secs ago
15:45
Oh, I've never come across that
This question belongs on another site in the Stack Exchange network: codereview.stackexchange.comLaurent LAPORTE 35 secs ago
Well then that's the OP's fault. He/she should have clarified, — zixuan 5 mins ago
I made a bad recommendation, but it's OP fault. WTAF.
0
Q: Simplified Pig Latin translator in APL

RGSI wrote a simplified pig latin translator in APL and I would like some feedback on it, as I am not sure my implementation is neat enough. The simplified pig latin translation follows the following rules, where only 'aeiouAEIOU' are considered vowels: one-letter words have 'way' appended to the...

16:22
0
Q: What can be improved in this Codeigniter 3 CMS (blogging) application and how?

Razvan ZamfirI am working on a basic blog application with Codeigniter 3.1.8 and Bootstrap 4. The application has users (authors) and posts (articles). Every article: has an author, belongs to a category, has a default (generic) main image that is displayed unless the author assigns a specific image to it....

16:32
@Peilonrayz That must be a fun chat session...
@DerKommissar Yeah, I can only image the fun I'd have if I weren't avoiding it ;P
I'm gonna keep my mouth shut because I have absolutely nothing that isn't blatantly offensive to say about that particular user lmao
Well, less so the user than what they did / how they acted.
Lol, I'm starting to think SE's having that effect a lot lately...
I don't have a lot of patience lately...it is not necessarily SE lol
1
Q: Scraping Instagram - Download posts, photos - videos

AlexDotisPython script that can downloads public and private profiles images and videos, like Gallery with photos or videos. It saves the data in the folder. How it works: Log in in instragram using selenium and navigate to the profile Checking the availability of Instagram profile if it's private or e...

16:54
@pacmaninbw The user has 10 questions in total and actually got a similar warning that I got.
May have more than 10, but IDK. 6 deleted + 4 non-deleted = 10.
17:33
@DerKommissar Do any of us? We can't go out and do things and there is nothing to relieve tension.
You can't even go out to belt some idiot who's being offensive.
17:51
0
Q: Async file copy/move

Phate01My effort to write async methods for copy/move a file in C# public static class FileHelper { private const int _FileStreamDefaultBufferSize = 4096; private static bool HasNetworkDrive(string path) { try { return new DriveInfo(path).DriveType == DriveType....

18:13
1
Q: Capacitated Vehicle Routing Problem with Time Windows [C++]

Inter VeridiumSummary: This code, although admittedly it's not the most optimal both in terms of performance and solution efficiency (for this task, genetic algorithms and certain rating heuristics are more applicable), resolves the Vehicle Routing Problem. This particular toy problem set have several addition...

0
Q: dumb::vector - a class for students to use when they are expressly forbidden from using std::vector

JohnFilleauI see a lot of questions on stackoverflow by students looking for help on their homework questions. Some of these homework questions use manual memory management. Lots of naked pointers to heap allocated memory being passed around. No object owns these pointers. Most of the questions with manual ...

 
1 hour later…
19:20
0
Q: Modern C++ Linked List

Brandon MoretzI have been using this quarantine time to learn "Modern C++" (constructs, move semantics, smart pointers, etc, etc) via implementing basic data structures from scratch. As a first step, I've put together a simple (but, hopefully somewhat complete) linked list as one of the foundational pieces. l...

19:42
0
Q: A Coffee Machine OOP Program

MahdeenSkySo today i recently learned the basics of OOP, and tried to apply them to make this project, but i am still a beginner, so if you would be kind to give me some tips and tricks and other advice on how i can improve the looks, runtime, ease of readability, or take full advantage of OOP! class Coff...

20:04
You could use RegEx as shown in this posting to parse the string into an array of quoted/unquoted strings. Then just process that array applying your additional constraints. — TnTinMn just now
20:30
possible answer invalidation by Peilonrayz on question by MahdeenSky: codereview.stackexchange.com/posts/240413/revisions
@Duga ```
21:11
-1
Q: Inverted V process tree

balexandreIt's been a while I program in ANSI C, and helping my brother with a school project I ended up revising my C gift (or lack of) :) the idea was to create an inverted V process using fork() and I ended up with the code that you can find in GitHub I was wondering if there's an easy way of accompli...

21:58
this question is more suitable for codereviewHooman Bahreini 43 secs ago
This question is more suitable for codereview.stackexchange.comHooman Bahreini 17 secs ago
After moving this post to codereview, update the variable names in English — Martheen 1 min ago
22:18
Hi @Pysnek313 , this looks like it could be more in the scope of Code Review. However I will try to help. First of all I don't understand what the problem is exactly, you wrote However, when I examine the new CSV file that I want... none of the descriptive information from the SKU CSV's is merged onto the new file. Does this mean the new merged csv file is empty? Second a short remark please refrain from using abbreviations such as SKU as it is unclear what that means for many readers. — Björn B 50 secs ago
22:35
You can do this using collision detection. You can check some samples here "2D colliding disks in JavaScript (ideal billiard balls)" and here "Collision Detection". — Christos Lytras 13 secs ago
23:04
@CaptainObvious Poster has the code in a GitHub repository and doesn't want to post it here.
@pacmaninbw Unless you have already closed, please close for the "authorship" close reason.
23:24
@Peilonrayz Already closed for context.
0
Q: Could anyone say if this is a reliable shuffling code?

LombardoI am trying to prove the famous "Monty Hall Paradox": "The Monty Hall problem is a probability puzzle named after Monty Hall, the original host of the TV show Let’s Make a Deal. It’s a famous paradox that has a solution that is so absurd, most people refuse to believe it’s true." More informatio...

@pacmaninbw I guess that's good since they updated their question :)
@Peilonrayz And I retracted my close vote.
Ah, I didn't know if you thought there was another problem ^^
In comments I generally say what I mean.

« first day (2535 days earlier)      last day (1779 days later) »