« first day (4067 days earlier)      last day (29 days later) » 

12:15 AM
REFRESH! There are 6139 unanswered questions (92.1056 answered)
2 hours later…
2:34 AM
2 hours later…
4:42 AM
You are asking for way too many things in one post. You seem to be asking for 1. a code review, which is not on-topic for Stack Overflow, 2. the difference between the two ways of consuming a task group, and 3. the difference between the two ways of measuring time. — Sweeper 46 secs ago
6 hours later…
10:23 AM
Q: Simple C++ Packet Class for Sending and Receiving Data

sdlkfjcxvCurrently learning C++ and needed a way to send data from one place to another, so I wrote this simple packet class which does the following: Create a packet with a key and some data Convert that packet into a byte buffer that I can send somewhere Parse that buffer back to the key and data main...

10:44 AM
Q: Python Simple checking string function

Tamagil Tamagilthe task was: Enter a list of keys with different meanings (numbers, words, symbols). You need to check if there are two words in a row in this list and display them on the screen. If there are no such pairs, then you say the phrase “Not enough words!” code: def solution(): x = input().split(...

11:05 AM
Q: RTK Query with Firestore onSnapshot not updating in real-time

AndrianI'm using RTK Query to fetch cart items from a Firestore collection. My goal is to get real-time updates using Firestore's onSnapshot method. However, I don't get real-time data after its changes by adding items to cart or deleting for instance instead I need ot refresh the page. Here is the code...

11:29 AM
@SᴀᴍOnᴇᴌᴀ I've waking up between 3AM and 4AM every day this week.
1 hour later…
12:49 PM
Q: A web page for running AI vs. AI Connect Four matches with selection of algorithms and search depths

coderoddeThis time, I have prepared this page where a user may select what AI bots will be run in the game of Connect Four. The entire repository is here. Code index.html: <!DOCTYPE html> <html> <head> <title>AI vs. AI playing Connect 4</title> <meta charset="UTF-8"> <meta name="...

2 hours later…
2:56 PM
If it's working, you should probably ask for a code review at codereivew.com - One optimization would be to only make one allocation instead of rows + 1 allocations. — Ted Lyngmo 44 secs ago
You could improve the part that deletes the files, but apart from that this method seems fine. Did you have something in mind? Like, what specifically do you want to improve? Stack Overflow is for specific questions; if you want a code review, there's a separate site for that: Code Review, but first read their How to Ask page since they work a bit differently. — wjandrea 39 secs ago
I was thinking about avoiding the use of the array. -- Yeah, I started with Code Review, but couldn't post my question, as I was stopped by a message asking to answer a captcha, but without any captcha in view. — macxpat 37 secs ago
3 hours later…
6:27 PM
6:41 PM
Q: Auth0 Credentials Manager in Android app

KevinI am building an Android app that communicates with a REST API using Retrofit2 and uses Auth0 for authentication. The Android app needs to store access token from Auth0 and use it to authorize its requests. For storing, refreshing and retrieving credentials I am using Secure Credentials Manager f...

2 hours later…
8:22 PM
If you were looking for feedback on the code you've written, you might want to check out code review. — Steve Summit 22 secs ago
8:47 PM
Q: Tic Tac Toe CLI in Clojure

cgoatesI wrote a command line tic tac toe game in Clojure. I've broken this post into three sections: Feedback Requests, Gameplay, and Code Feedback Requests I'm looking for feedback on: How "idiomatic" my code is How I can make the error-checking code in -main less deeply nested (sort of like a "guard...

1 hour later…
10:04 PM
General code review questions should not be asked here, they may fit on codereview.stackexchange.com. — Chayim Friedman 2 mins ago
2 hours later…
11:37 PM
Q: "Polite" internet connectivity check on separate thread

Jason CI wrote this class that checks for internet connectivity on a background thread. Targeting Python 3.10. It has two main design goals: Minimize the time get_state() (gets connectivity state) takes to run. Be polite to the test server ( in this case): Stop hitting it if nothing appears inte...

« first day (4067 days earlier)      last day (29 days later) »