« first day (2961 days earlier)      last day (1041 days later) » 

12:02 AM
RELOAD! There are 7634 unanswered questions (89.4146% answered)
 
 
1 hour later…
1:17 AM
possible answer invalidation by L. F. on question by tommsch: codereview.stackexchange.com/posts/262935/revisions
 
@Duga syntax highlighting != ai
 
2:13 AM
0
Q: PHP binding data in stored procedure

Art AntonioI'm using this kind of data binding in PHP, is it safe? $sql = "CALL registerUsers(?, ?, ?, ?, ?, ?, ?)"; $stmt = $conn->prepare($sql); $stmt->bind_param("sssssss", $_usr_code, $_usr_eml, $_usr_name, $_usr_pass, $_fileName, $_usr_type, $_usr_role); $stmt->execute();

 
2:38 AM
0
Q: Possible improvements to window swallowing program?

EmperorPenguin18I have written a small program that swallows windows. It works in X.org using the xcb library. This is my first rust program but I have lots of other programming experience. Any general improvements are great, but a specific problem I've been having is that if the program exits too quickly (child...

 
 
2 hours later…
4:34 AM
 
5:14 AM
codereview.stackexchange.com is right place to ask this question. — gaurav 26 secs ago
 
 
2 hours later…
7:11 AM
0
Q: Genetic algorithm to guess coefficient of a polynomial

Roni SaibaI have tried to code a genetic algorithm to guess the coefficients of a degree 4 polynomial. The information initially provided is values of y = f(x) for different x using the original polynomial. I then generate 100 polynomials with randomly selected coefficients. These polynomials are then rank...

 
This is off topic here since you are asking for a code review — David Heffernan 51 secs ago
 
 
1 hour later…
8:41 AM
Monking
@RMunroe Excel is not a database.
 
9:40 AM
0
Q: how to avoid nested asynchronous subscriptions in RxJS?

azerafatiI got this two subjects that both have a delay and I need the second one to be subscribed when the first one is completed, asynchronously. Both subjects only emit once (http requests) and I'm trying to avoid nested subscriptions but I can't figure out an optimal solution. What I've got so far: St...

 
10:30 AM
0
Q: C# Asynchronous Lock class

jay kI'm wrote Asynchronous Lock provider for reducing lock that breaks async keyword. All tasks with async and await keywords are chained by GetAwaiter().OnCompleted(Callback) on I know. But some cases are not, for example: lock keyword, EventObject.Wait(), Mutex like objects... etc. So, I think that...

 
11:20 AM
-2
Q: Anyone please assist me in building a javascript code for getting a POST request

GS ManderI am currently in a situation where I need to enter my Date Of Birth in a website which I filled during registration process. Maybe, I had put a wrong DOB during signup process. I don't have any other option rather than trying all possible dates. I learnt a little bit of javascript myself and I f...

 
11:50 AM
Monking
 
 
1 hour later…
12:59 PM
0
Q: Data optionally observable

AmaI have a controller whose role is to persist some data into an external resource (could be a file, database, or anything else). This class takes generic objects, which may implement INotifyPropertyChanged, or INotifyStateChanged, or none of them. Note the later is a simplified version of INotifyP...

 
1:24 PM
If you don't know whether your code is written correctly, test it. We expect this before you post. If you need code review, then post to CodeReview.StackExchange.com -- neither of these requests is appropriate for Stack Overflow. — Prune 10 secs ago
 
Ryan Donovan on June 12, 2021
In the fourth lesson of the series, we’ll talk about the matrix representation of the linear regression problem. In the process, we’ll discuss the basics of matrix multiplication. We’ll also see how this mathematical understanding can prepare us to make sense of error messages that we might encounter when fitting a model in Python. Hereā€¦
 
1:54 PM
That's not a question for Stack Overflow. Did you mean to post this on Code Review? — mkrieger1 14 secs ago
 
@Mast mumble mumble renaming genome descriptors to avoid Excel jank
 
@RMunroe Ah yes, good ol' Jilly Juice
 
 
2 hours later…
3:52 PM
0
Q: Program to continuously check availability of internet connection c#

user14773854I have a C# program to check if a hard coded host is available and if not, waits 5 seconds then checks again (this is a loop). How can it be enhanced? using System; using System.Net.NetworkInformation; using System.Windows.Forms; namespace trial17 { public partial class Form5 : Form { ...

 
4:32 PM
possible answer invalidation by azerafati on question by azerafati: codereview.stackexchange.com/posts/262966/revisions
possible answer invalidation by azerafati on question by azerafati: codereview.stackexchange.com/posts/262966/revisions
 
@Duga Answer might've been premature.
If anyone that actually understands Rxjs would take a look, please.
 
0
Q: Adding multiple items to a list in flutter

JaredI'm new to coding in general and I am working in flutter right now. I've successfully been able to add single string objects into a list but I'm having issues adding an object with multiple strings into a list. I'd love some guidance if anyone's able to help! This is my model import 'dart:convert...

 
 
1 hour later…
5:56 PM
0
Q: Scalable and Optimised group chat system

William DanielsI have a simple chat system. I have built this to scale so I would appreciate optimisation tips or alternative table structures too. This does not include the pub/ sub queue system. Users | id | name | createdAt Conversations - 1 Conversation has many messages & many participants | id | lastMess...

 
6:10 PM
This is better posted on Code ReviewMegaIng 30 secs ago
 
 
1 hour later…
7:11 PM
0
Q: Is there any way to make this code better? Data-Science, Data Visualization (python)

Govinda RegmiI am trying to create a function which can visualize(compare) two items of 'Platform', 'Genre' and 'Publisher' according to the 'Global_Sales' in different 'Year'. The DataFarame looks like: Code: `def compare_two(by, first, second): """ by: Genre or Platform or Publisher first: ...

 
@Mast pretty sure that that counts as broken code
 
8:00 PM
0
Q: Particle swarm algorithm with multiple threads

Mark LumarI wrote a simple multitthreading program which does particle swarm optimization. Optimization itself and some corresponding functions were taken from https://nathanrooy.github.io/posts/2016-08-17/simple-particle-swarm-optimization-with-python/. This is my first attempt to write multithread Python...

 
@Vogel612 Thank you.
 
This might be better suited for codereview.stackexchange.com. — Rob 46 secs ago
possible answer invalidation by Deduplicator on question by tommsch: codereview.stackexchange.com/posts/262935/revisions
 
8:25 PM
0
Q: Is there a better way to copy dynamic data from one sheet to another in google sheets script?

DBWeinsteinI'm pulling data in from an API and putting it in the top two rows of a sheet. This script is to copy the data from the "pull" sheet into a daily sheet. The rub is that the data may change and I want to dynamically copy the data over; i.e. if the column header exists, put the new data in the bo...

 
8:50 PM
0
Q: Image Processing Histogram Equalization in C

JimmyHuI am attempting to perform Histogram Equalization on V channel in HSV color space. The experimental implementation base.h /* Develop by Jimmy Hu */ #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define MAX_PATH 256 #define...

 
9:16 PM
Maybe with a reproducible example (e.g., a small simulated dataset that can grow and PUClic being defined), you may get more responses. Regardless, this may be better at Code Review or consulting with someone who can refactor your code. I am removing data.table tag as this is more of a question of "How do I improve performance of this function" rather than something dealing with data.tableCole 27 secs ago
 

« first day (2961 days earlier)      last day (1041 days later) »