« first day (4178 days earlier)      last day (60 days later) » 

00:20
REFRESH! There are 5682 unanswered questions (92.6855 answered)
 
2 hours later…
02:29
0
Q: Code for smart CSS rounding using JavaScript

yurichI wrote a project that allows you to make CSS rounding more consistent and, in my opinion, nicer. Here's full GIT repo with an example and a README.md: https://github.com/YurichBRO/smart-rounding. I would like you to find any flaws and bugs in my code. I'm not sure whether this code is optimised ...

 
3 hours later…
05:14
@TheodorZoulias I wanted to rather give feedback and not turn this answer into full implementation together with code review.. But corrected that as well, but i think that should fall on OP to have those details figured out — Michał Turczyn 20 secs ago
 
2 hours later…
06:52
1
Q: Create pure interfaces for impure functions in common code

sputnickBackground I work on a code base that relies heavily on a great many global variables which are populated at runtime (configuration values, statically-allocated array pools, etc.). Each of the applications compiled from this code base include an globals.h header which define the necessary global ...

 
3 hours later…
09:26
Monking
 
4 hours later…
13:05
0
Q: Only factor data can be used in association rule mining// only numeric data can be used in clustering

user287136Please help me check the codes of the below homework in Rstudio, thanks Based on the winequality-red dataset, remove the last column (quality) and treat the remaining columns as input features. Then, respectively perform K means and K medoids to conduct clustering. Use NbClust package to help you...

 
1 hour later…
14:11
0
Q: Optimization of image uploading and message sending logic in Next/Firebase chat application?

AndrianI'm building a chat application using Next and Firebase, and I've implemented a feature that allows users to send text messages and images. However, the image upload process is slow, causing delays in sending messages. Code: const ChatInput = ({ chatId }: { chatId: string | undefined }) => { co...

14:25
Monking
 
1 hour later…
15:41
Monking
15:57
Monking
16:45
 
3 hours later…
19:18
0
Q: Can the streamreader logic be improved?

craigI have a Powershell function that communicates over TCP to a Zebra printer: function Out-ZebraPrinter { param( [parameter(ValueFromPipeline)] [string]$Command, [string]$IpAddress ) try { [System.Net.Sockets.TcpClient]$client = [System.Net.Sockets.TcpCl...

 
3 hours later…
22:13
0
Q: STL style iterator template for arbitrary trees in C++20

bescIn different code bases I regularly encounter tree data structures of different design and usually need to traverse it at some point. I finally got tired of writing yet another iterative traversal by hand. While that’s not too complicated, it’s still relatively easy to mess up. Also such basic al...

22:35
0
Q: Web Server in C++

Loki AstariPlanning on writing a set f blog articles on how to write a webs server. So each phase will have a new version of the server with extra features. But starting very basic and working up to a reasonable (not apache good) server written in C++ that people can take and play with. Version 1: Hello Wor...

23:19
0
Q: Web Server in C++: Threaded

Loki AstariPlanning on writing a set of blog articles on how to write a webs server. So each phase will have a new version of the server with extra features. But starting very basic and working up to a reasonable (not apache good) server written in C++ that people can take and play with. Before I go and sho...


« first day (4178 days earlier)      last day (60 days later) »