Top new questions this week:
|
This is a follow up to: struct sockaddr_storage initialization by network format string First of all thanks to @Haris, @Toby Speight, @G. Sliepen and @chux – Reinstate for their help. I learned a lot …
|
Learning coding with my daughter again. This is our first C++ program. I’m sure there’s much that could be improved on. Any comments gratefully received. ttt.cpp …
|
I have written a small class that works in extracting Snapchat usernames from common conventions of sentences, manipulating the positioning of certain characters to hopefully extract a valid username. …
c# |
|
|
asked by Sam Score of 7 |
|
|
|
I needed Nginx Docker image with additional modules (Lua and headers more) and Lua Prometheus lib. I did not want to use Openresty for that because its Alpine docker image weighs ~110MB, when Nginx …
|
The goal of this program is to convert the given weight of the user LBS or KG into the opposite of what they used ex: 180lbs will convert to kg …
|
I wrote a little library to generate wrappers for SDL2 in C++20 with the idea to build a simple video game with it afterwards, and was looking for some feedback on the code! The idea is not to create …
|
An embedded project my team is working on is having issues with sensor drift over time. To solve this, I thought it might work to use a high-pass filter, since the portion of the signal that we care …
|
Greatest hits from previous weeks:
|
…
|
I’ve recently made a calculator using Java and Swing. I’m okay with the results but I’m curious what are the major flaws I’ve made (assuming there are, because it is my first program making GUI). I …
|
I wrote this script for a proof of concept JavaScript password cracker: …
|
This is my basic currency converter for my intro to Java class. I’m supposed to be able to convert between Yen, Dollars, Pounds and Euros using static rates. It works, but I was curious to know if I …
|
Here is a very basic Snake game in C, which I just want to make better. The game is working perfectly but it is very annoying because when playing it, it is always blinking. I hope that somebody could …
|
Can the following code be simplified? I think that the program that I have created is very excessive and quite slow. The program runs fine, but I would like to understand if this could actually be …
|
I made a small text adventure. I’m not trying to make it appealing to anyone, but rather just to practice my Python skills. I am fairly new to Python and this was my next step after making a console …
|
Can you answer these questions?
|
Requesting for a code review for a scala implementation. Problem Given an expression string made of numbers and operators +,-,/,* , break it in a list of Integer or …
|
I’m trying to efficiently generate all pairs of factors of a number n. For example, when n=27, the factor pairs are (1, 27), (3, 9), (9, 3), (27, 1) The order in which the pairs are found is not …
|
Pretty new to React/Next.js. This is for a “back to top” button. Any thoughts on whether this can be improved? I haven’t really got my head around when …
|