« first day (3863 days earlier)      last day (89 days later) » 

12:29 AM
This isn't a very good fit for Stack overflow as there's no software problem to solve. It might be something to run through the folks at Code Review to see if they poke holes in it or offer improvements. And yes, I deliberately linked to their asking questions help page because you'll want to read it before posting to make sure the question meets their requirements and expectations. — user4581301 just now
 
1:10 AM
0
Q: Is this iterative inorder traversal algorithm well-known?

MaxI was concerned about the approach in Morris traversal algorithm and came up with simpler solution that uses parent pointers in nodes. The constraints were following: Time Complexity: O(n) Space Complexity: O(1) Implementation: iterative Node structure: class Node: def __init__(self, data, ...

 
REFRESH! There are 6795 unanswered questions (91.2111 answered)
 
 
3 hours later…
4:39 AM
0
Q: How to optimise the performance of this SEDE query

Yulia VThis query selects the number of SO questions, the number of views and the number of unanswered questions for each tag in key_word_table. It works fine when it works, but it times out with the error message Line 0: Execution Timeout Expired. The timeout period elapsed prior to completion of the o...

 
5:25 AM
0
Q: Print a hollow Rhombus

Gagandeep Singh[![I am beginner in java, here is my code public class FirstProg { public static void main(String[] args) { int n = 5; for (int i = 1; i <= n; i++) { for (int j = 1; j <= n - i; j++) { System.out.print(" "); } for (int j = 1...

 
5:52 AM
Monking
 
 
1 hour later…
7:06 AM
At a glance, it looks like there are a lot of style issues in the code (repetition of the same statement, nested if..else, iteration instead of parameterization, type issues, fuzzy logic). No wonder this goes awry at some point. I would start by fixing those issues. If it helps you, I can write out an answer with some pointers, but you might be better off asking at codereview.stackexchange.comMoritz Ringler 38 secs ago
 
 
6 hours later…
12:37 PM
Monking
 
1:08 PM
0
Q: Managing users via SQLAlchemy DB model

MichaelI am currently in the process of writing a system application that will be operated by multiple users. This will require individual users to access the application while limiting access to those that shouldn't be using it. The application will have several areas of access, which all users will no...

 
1:56 PM
Not sure where to put this but I have been given rights to review posts and correct them as needed (something done on my posts a lot, lol). So where are the rules for how to do this, is there a FAQ somewhere that I can review?
 
2:19 PM
0
Q: Is this a correct implementation of sort, filter & pagination with Spring JPA?

amolI am trying to implement sorting, filtering & pagination in an API. The thing is getting data from DB is a bit challenging. I need to use native query to get data. Now native query can support pagination using Pageable as function argument but it cannot support Search & filter using Example match...

0
Q: Parse two-digit numbers from text

Richard NeumannI am participating in this year's Advent of Code for fun. Challenge 1.2 states: The newly-improved calibration document consists of lines of text; each line originally contained a specific calibration value that the Elves now need to recover. On each line, the calibration value can be found by c...

 
2:34 PM
This may be better suited to codereview because your code works, it's just slow. — kindall 1 min ago
 
3:02 PM
@DanM What do you mean by "I have been given rights to review posts"? "where are the rules for how to do this" I'm not really sure what you mean by "this" "review posts and correct them as needed"? The rules are rather simple write one improvement to the post in an answer, to make sure your answer isn't deleted point to a "what" and say "why" the improvement is better. E.g. "You can use the builtin sorted rather than writing your own sort function."
If you'd like more advice you can read our help center: codereview.stackexchange.com/help/answering
 
3:29 PM
@Phroggie IMO DanM means privilege do use the review queue
 
It seems to me this question is more suited to be asked in the Code Review Forum. Code Review is a question and answer site for peer programmer code reviews. Please read the relevant guidance related to how to properly ask questions on this site before posting your question. — itprorh66 just now
 
@Heslacher FWIW the lowest review queue is 500 rep, DanM is 121.
Hmm, perhaps DanM mistook Code Review's primary chat for Super Users'
 
Maybe DanM confused about getting the privilege yesterday on superuser
 
Yeah, probably
@DanM Here is a link to the Super User main chatrom: chat.stackexchange.com/rooms/118/root-access
 
3:51 PM
0
Q: By creating an architecture, it is better to have many classes that handles different scenarios, or a single one that handles all?

Paul Marcelin BejanI have created a component called Sniper that handle a request and return a response public interface Sniper<REQUEST, RESPONSE> { RESPONSE fire(REQUEST request) throws FunctionalException, TechnicalException; } This method is able to handle all scenarios: passing a request and returni...

 
@Phroggie Probably, they got 500 there.
 
4:50 PM
Monking
 
 
3 hours later…
7:43 PM
0
Q: Advent of code 2023 day 1 mostly in Bash

janosIt's that time of the year again! Although there's no more Winter Bash, we can still have all the Bash we want in winter ;-) Part 1 To paraphrase the description: For each line in the input: Find the first digit. Find the last digit. Form a 2-digit number by concatenating the first and the last...

 
> we can still have all the Bash we want in winter
Don't need the tags to figure out what language that's written in.
 
Talking about certain languages... Writing PowerShell scripts in Azure DevOps pipeline scripts in .yml format is a nightmare too
 
@skiwi Why are you doing that?
 
@Mast It's the best solution..
I learned that "$jsonobject.property" in powershell prints something like "@{a=1, b=2}.property"
Learned it the hard way..
The correct way is "$($jsonobject.property)"
 
8:01 PM
@skiwi Have you tried the -f format operator?
Works somewhat similar to Python f-strings.
 
Haven't tried that kind of stuff
 
and if ($var -eq "value") is.. ugh
 
Yea. Whenever I run into external BS, I throw HTML, JS and Python at it till the problem goes away. Websites, Excel, JSON, ticket systems, doesn't matter. No idea if that works with Azure pipelines though.
The only powershell I use is small oneliners to find certain files.
But, yes, sometimes you have to work with crap.
You don't happen to have any Maximo experience, do you?
 
 
2 hours later…
9:45 PM
Maybe it could work in theory, not sure how good it integrates with Python though
@Mast Given that I don't know the name, I suppose not
 
 
1 hour later…
11:11 PM
0
Q: Asynchronous OOP-based networking using the Epic EOS SDK

AlexovskyThere is also a limitation from the Epic EOS SDK in the absence of thread safety, all "C" calls can only be made from one thread. And from the thread where the SDK was initialized. Based on the answer @G. Sliepen in my previous deferred-networking-eos. This is not an answer to its own question, b...

 

« first day (3863 days earlier)      last day (89 days later) »