« first day (3609 days earlier)      last day (402 days later) » 

12:07 AM
REFRESH! There are 7371 unanswered questions (90.3992 answered)
 
 
1 hour later…
1:25 AM
I’m voting to close this question because it is about working code, and is a better fit for Code Review. — cdhowie 39 secs ago
 
1:59 AM
@cdhowie This is a how to question and it would not be well received on Code Review. — pacmaninbw 33 secs ago
 
 
3 hours later…
5:06 AM
0
Q: Calculator (Java/Beginner)

dddleoI finished my first calculator using Java! I try to apply Object-Oriented Programming! I'll add my gitHub link if you're suited to viewing code on gitHub. Here is a link to my GitHub Calculator Project dvdev04-github-calculator I enabled the calculator to calculate data type of Double, so it can ...

 
5:32 AM
0
Q: IPv4 filter in Java

coderoddeI have a simple class for representing IPv4-addresses via int values, and a simple IP-address filter that works like a set of IPv4-addresses. io.coderodde.util.net.IPv4Address.java: package io.coderodde.util.net; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * This class ...

 
 
1 hour later…
6:49 AM
0
Q: Preventing insertion of same codes into usage table

StackeritoThere are 2 tables: codes and usage. I need to get a list of codes from codes table, do some calculations, then insert them into usage table. But I need to make sure that the same codes aren't inserted more than once in different requests to usage. But since I can have multiple inserts of the sam...

 
7:15 AM
1
Q: Ada access type and generics

AdaenthusiastThis post is linked to Ada: Convert float to decimal I have produced Ada codes which uses the Euler algorithm Euler method to solve an ordinary differential equation. The codes were initially based on Ben Ari's Ada book: Ada for Software Engineers 2nd ed. 2009 Edition Section 13.6 in which Ada co...

 
 
5 hours later…
12:41 PM
Kat, this belongs on Code Review. StackOverflow is for specific questions. I'll respond if you post it there. — GordonAitchJay 13 secs ago
 
12:58 PM
Welcome to Stack Overflow! Before you post at Code Review, be sure to read A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. question titles should simply say what the code is for, as the question is always, "How can I improve this?". Be sure that the code works correctly; include your unit tests if possible. You'll likely get some suggestions on making it more efficient, easier to read, and better tested. — Toby Speight 22 secs ago
 
 
2 hours later…
2:33 PM
@pacmaninbw It's a best practices question, or a "please improve my code" question, which is exactly what code review is for. — Finomnis 58 secs ago
 
 
1 hour later…
3:44 PM
Since this is working code and there is no problem with it, this is more a question for Code Review than Stack Overflow. — Rabbid76 27 secs ago
 
4:30 PM
@JeffreyR.Carter Thank you. The post is now on Code Review: codereview.stackexchange.com/questions/284114/… on how to make the codes better in terms of the Ada language. This was a suggestion from trashgod to put the codes there. — Adaenthusiast 29 secs ago
 
4:46 PM
Hi, I actually didnt know about Code Review. I'll post it on there. Sorry if it was inapropriate. Thanks a lot! — kripi 51 secs ago
If you're looking for improvements on already working code, ask at codereview.stackexchange.com please! — πάντα ῥεῖ 25 secs ago
 
5:04 PM
Welcome to Stack Overflow! Before you post at Code Review, be sure to read A guide to Code Review for Stack Overflow users, as some things are done differently over there - e.g. question titles should simply say what the code is for, as the question is always, "How can I improve this?". Be sure that the code works correctly; include your unit tests if possible. You'll likely get some suggestions on making it more efficient, easier to read, and better tested. — Toby Speight 52 secs ago
 
0
Q: Shrinking my pygame code about accelerating sprites

kripiI did a test program that simulates acceleration and I'm wondering if my code could be shorter given that there's quite a lot of repetition ( especially in the acceleration class ). import pygame import math pygame.init() display = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() ...

 
Monking
 
Thanks, that's a lead. I'm going to take a look at that reddit thread, see if there's something there. I'm looking for a document I can cite in code reviews, because I've been applying this principle for a while but if I've got nothing to back it up, I might need to only keep it to myself or argue with my team to adopt it. — LoneCodeRanger 20 secs ago
 
 
1 hour later…
6:17 PM
@jwezorek I was told this as part of a code review — JM0 8 secs ago
 
6:51 PM
0
Q: Fast approximate sin/cos function in Rust

ryburgerOver the past month or so, I’ve been trying to create an extremely fast, platform agnostic, auto-vectorizing sin/cos function for fun. I initially started with sleef-rs’s fast sin function, and decoupled it from the library, made it more extensible, and optimized it further. During my optimizatio...

 
7:29 PM
If your looking for commentary or suggested improvements to your code, check out codereview.stackexchange.com/help/how-to-ask instead. — JNevill just now
 
 
1 hour later…
8:35 PM
Unless you have been tasked to create an OO solution, your use of it here complicates things I think. That aside, if you want a critique or recommendations for working code you might have more luck at codereview.stackexchange.comJonSG 43 secs ago
 
8:46 PM
If the code works and you're looking for advice on improving it, Code Review is the appropriate place. But see codereview.meta.stackexchange.com/questions/5777/… first. — Barmar 50 secs ago
Welcome to Stack Overflow! If the code works and you're looking for advice on improving it, Code Review is the appropriate place. But see codereview.meta.stackexchange.com/questions/5777/… first. — Barmar 41 secs ago
 
9:52 PM
0
Q: Develop a service that runs through docker-compose that stores population data in postgres and displays regional totals on the screen using Python3

lr_lennokI'm looking forward to criticizing the code. This is the first time I've done this with a docker docker file FROM python:3.11 WORKDIR /project COPY requirements.txt . RUN pip3 install -r requirements.txt COPY . . CMD [ "python3", "print_data.py" ] docker-compose version: '3.9' services: d...

 

« first day (3609 days earlier)      last day (402 days later) »