Top new questions this week:
|
This is a very simple code that expresses a function in terms of Trigonometric Fourier Series and generates a animation based on the harmonics. I would like to know some ways to improve the …
|
I am writing my simple shared pointer. I am asking to review existing functions (understand that my implementations is not full, e.g now operator*) Review please …
|
Context This program has been created to “fix” files originating from Cobol databases. In Cobol, files extracted via something called a “copy” have the same number of characters …
|
I am trying to see if there is a way to improve my code this program ask for 3 number and calculate the what type of triangle it is …
|
I’m currently following Java moocfi Helsinki course. This is my current assignment : In this exercise we are going to create a program that allows for searching for recipes based on their name, …
|
I’m currently learning Vue JS and I made a simple app that pulls information from API and displays facts about a country given a 2-letter country code. I’m looking for feedback on how to improve the …
|
The ‘skeleton’ of the game works, making it playable, so I’m mainly just looking for renditions and feedback on both the code, and the actual game. Here’s the things I’m already working to fix/add: …
|
Greatest hits from previous weeks:
|
…
|
I am making an app and I want somebody to check my code to maybe make it shorter, fix bugs, or add some things. …
|
To learn more about OOP, @nhgrif challenged me to implement a Shape abstract class (more details in code remarks below. Here is how I did it. Any and all advice appreciated! Shape.java …
|
I am trying to optimize an object filter function. Given an array of keys, I need to filter an object. I feel that creating a new object each time may degrade performance. Is there a way to mock the <...
|
I am a self – taught coder, and have been learning Java / C# for the last 2 1/2 years (inconsistently). I have recently created a snake game in Java with the help of an online tutorial. I have …
|
Can anything be improved in this code? …
|
For homework, I have to code a program in Python that effectively simulates a bank ATM. …
|
Can you answer these questions?
|
I need to create a container for instances of torch.Tensor of different shapes, where I can call them by their name. It is a use case for a dict except that: I don’t want to rely on the heavy syntax …
|
I want to have a input element for currency where there is a currency icon always at the center (but it adjusts according to the number of digits) Something like: This is what I’ve come up with: <...
|
I want to have a layout for desktop screens, so mostly wide screens with 4:3 or 16:9 aspect ratio. The layout is made out of 2 sections: right and left. The left section takes 2/3 of the width and the …
|