« first day (4010 days earlier)      last day (9 days later) » 

12:16 AM
REFRESH! There are 6230 unanswered questions (91.9706 answered)
 
 
1 hour later…
1:26 AM
0
Q: PostgreSQL Search Feature

BobThe Problem I am developing a search feature in PostgreSQL that involves a collection of JSONB documents stored in a table, which have been standardised. The goal is to enable clients to perform keyword searches across all documents. The Code The function is expected to accept a search query and ...

 
 
4 hours later…
4:59 AM
You need to ask it then on : code review siteDeath-is-the-real-truth 39 secs ago
no need to ask on code review site as well. perfectly fine code — Death-is-the-real-truth 52 secs ago
 
0
Q: Get the contents of a table cell for all selected rows

LBFI have a table of user info. When you click the button, I want to get the email address from each selected row, output into a comma-separated string. <table> <tr> <td><input type="checkbox" class="selector"></td> <td class="name">John Doe</td> <td class="country">Australia</td>...

 
5:21 AM
Thanks both. The tables will likely have about 100-150 rows. Does that change things? I posted here: codereview.stackexchange.com/questions/291760/… assuming this post should be deleted/closed? — LBF 57 secs ago
 
5:46 AM
possible answer invalidation by Peilonrayz, Peilonrayz on question by LBF: codereview.stackexchange.com/posts/291760/revisions
 
@Duga TOCTOU
 
possible answer invalidation by Peilonrayz, Peilonrayz on question by LBF: codereview.stackexchange.com/posts/291760/revisions
 
@Duga User spent 30 minutes having a back and forth about the solution with the OP on SO. Doesn't put anything in the answer. Can someone else handle
 
possible answer invalidation by Peilonrayz on question by LBF: codereview.stackexchange.com/posts/291760/revisions
 
6:44 AM
0
Q: Spring Data JPA OneToMany relationship

Arshad AliI have an Web Application where I have to develop functionality like: I have Entities as: @Getter @Setter @ToString @RequiredArgsConstructor @Entity @Table(name = "contacts") public class Contact { @Id @GeneratedValue(strategy = GenerationType.UUID) @Column(name = "id", nullable = fa...

 
 
2 hours later…
8:46 AM
possible answer invalidation by Mah Neh on question by Mah Neh: codereview.stackexchange.com/posts/291740/revisions
possible answer invalidation by Mah Neh on question by Mah Neh: codereview.stackexchange.com/posts/291740/revisions
 
@Duga Rolled back with comment.
 
possible answer invalidation by Mah Neh on question by Mah Neh: codereview.stackexchange.com/posts/291740/revisions
possible answer invalidation by Mah Neh on question by Mah Neh: codereview.stackexchange.com/posts/291740/revisions
If you have a working solution you should ask over at Code ReviewFilburt 38 secs ago
 
 
1 hour later…
10:23 AM
Asking about working solutions should be over at Code Review - this site here is for problems with code that isn't working. — Filburt just now
 
11:15 AM
"What do you think of the code? Would you change anything?": this kind of question is off topic here. If you want a code review you may check out Code Review, but make sure to follow their guidelines before posting. — trincot just now
 
0
Q: Gaming Emulator - Packet Serialization

aslHere is a packet serialization system. It takes the class of the message its sending, uses reflection to fetch the property's and auto maps it to byte stream equivalent as if we had written it ourselves. It just provides a much cleaner way to serialize outgoing data especially when using collecti...

 
 
1 hour later…
12:41 PM
possible answer invalidation by Death-is-the-real-truth on question by LBF: codereview.stackexchange.com/posts/291760/revisions
possible answer invalidation by Death-is-the-real-truth on question by LBF: codereview.stackexchange.com/posts/291760/revisions
possible answer invalidation by Death-is-the-real-truth on question by LBF: codereview.stackexchange.com/posts/291760/revisions
 
@Duga I doubt that is answer invalidation since the author of the answer is the editor.
Monking
 
possible answer invalidation by Death-is-the-real-truth on question by LBF: codereview.stackexchange.com/posts/291760/revisions
 
1:38 PM
Extra information: The allocator has been reviewed twice by people at codereview.stackexchange.com. It is only today that I thought I'd compile it for BSD variants. — Harith 54 secs ago
 
2:20 PM
This question is likely better suited for codereview.stackexchange.comrob 31 secs ago
 
2:42 PM
0
Q: Solving the Towers of Hanoi problem in Python by using 3 stacks

SHOVALI am attaching my code to solve the Hanoi problem.What do yot think? would you chancge something? I am attaching the instructions for solving the problem, does the code solve the question? In the role of the 3 towers, 3 cartridges will be used: s1,s2,s3 which initially the numbers 1,2,3,...,n (th...

 
3:28 PM
0
Q: basic rock paper and scissors v2

Mah NehI tried to implement what I understood from previous advices here. use more functions improve the logic of "play" allow wrong user input indent to 4 spaces and remove () Mind that I only have access to google colab so I cant benefit from formatting tools or tests. I also added comments and type...

0
Q: Multiple key swap algorithm

tzoniI have a dictionary with key - data pairs. My data comes from excel sheets. When I create the dictionary my objects are placed in order by their keys ex. 1 -> data of sheet1, 2 -> data of sheet2 ... When I physically reorder my sheets ex I move sheet1 to the last position I want to reconstruct th...

 
4:14 PM
0
Q: Poker bets on Python

Cat metI'm writing poker for my bot in discord. So far I'm presenting an incomplete version of the project, which is only a betting system. The development took a lot of time, so I decided to ask for help. Perhaps something in the project structure could be optimized. import sys, os; sys.path.insert(0...

 
4:47 PM
Monking
 
5:22 PM
0
Q: rock paper scissors game in console

user24687626I've made a simple rock paper scissors game using javascript. Any feedback appreciated. This is a first project I've done with almost no help let computerScore = 0; let humanScore = 0; function getComputerChoice() { let computerChoice = Math.floor((Math.random() * 100)/40); //generates a numbe...

 
5:45 PM
0
Q: Application that interacts with a remote GitHub repository with retries

InianI came up with the logic for an app that talks to a remote GitHub repository using below. I tried to stick to Go best practices and approaches, but would like to identify bottlenecks and adopt better Go practices wherever applicable package main import ( "context" "fmt" "log" "ne...

 
6:09 PM
 
6:51 PM
@RMunroe LOL
 
This belongs on codereview.stackexchange.com — Tijil Saka 56 secs ago
No, @TijilSaka, Code Review requires actual finished code with its original comments and everything, not a stripped down example that's suitable as a SO minimal reproducible example. — Toby Speight 19 secs ago
 
7:16 PM
-1
Q: How can I get each of my objects to "bounce" off one another when they collide (the objects just clutter up together)? Rock Paper Scissors Simulation

Tijil SakaHere is my program that has a run method which runs the simulation. import java.util.*; public class Game{ public static int size; public int numObjects; public static int speedX; public static int speedY; ArrayList<Rock> rockArrayList = new ArrayList<>(); ArrayList<Paper>...

 
@TobySpeight "with its original comments and everything" is not true. "Posting excerpts from your project is fine, as long as we have enough context to give you the best advice possible." - 200_success. — Peilonrayz 37 secs ago
@Toby choosing the site should not be a matter of requirements... if you have a programming related question, then StackOverflow, if you want code review then CodeReview (obvious?!) — user85421 57 secs ago
 
7:38 PM
0
Q: How to fill missing data in between available data with default value?

OokerMy raw data has values on some random times: const rawData = [ {hour: 3, value: 3} , {hour: 5, value: 9} , {hour: 10, value: 5} , ] as const I would like to fill all missing hours as having value 0: const processedData = [ { hour: 3, value: 3 }, { hour: 4, value: 0 }, { hour: 5, val...

 
8:17 PM
@Barmar Perhaps it will, but it doesn't have to. A simple change to the code guarantees it and avoids code review ridicule. — Retired Ninja 50 secs ago
 
 
1 hour later…
9:26 PM
Perhaps Code Review is a better place for this type of question. — HangarRash 46 secs ago
if you post on Code Review please read the help center pages like How do I ask a good question? - in its current form this post might be considered off-topic because there is little context about what the code does and how the function is used, plus the title is about CR goals instead of describing what the code does — Sᴀᴍ Onᴇᴌᴀ 38 secs ago
Does your class work as you expect? Then you should ask for suggestions on Code Review. — Yksisarvinen 57 secs ago
 
9:45 PM
@Chris "A map as a vector of pairs is not going to be efficient" Bold claim. For small amounts of data having the whole container in a single cache is often much better than O(log n) operations. And please don't do code review in comments - this is not for comments are for. — Yksisarvinen 57 secs ago
 
10:36 PM
possible answer invalidation by tzoni on question by tzoni: codereview.stackexchange.com/posts/291770/revisions
possible answer invalidation by tzoni on question by tzoni: codereview.stackexchange.com/posts/291770/revisions
possible answer invalidation by tzoni on question by tzoni: codereview.stackexchange.com/posts/291770/revisions
possible answer invalidation by tzoni on question by tzoni: codereview.stackexchange.com/posts/291770/revisions
possible answer invalidation by tzoni on question by tzoni: codereview.stackexchange.com/posts/291770/revisions
 
11:26 PM
@Duga Closed the question MRC. My VTC was the 3rd VTC. Question should not have been answered.
 

« first day (4010 days earlier)      last day (9 days later) »