« first day (1664 days earlier)   

12:00 AM
RELOAD! There are 4721 unanswered questions (90.3847% answered)
 
 
1 hour later…
1:09 AM
0
Q: setting label in Java button listener

Danny Boris OvHow can I avoid so many if statements? //Radio Button toggle if (five.isSelected() == true) { one.setSelected(false); private class JButtonListner implements ActionListener { //As my code has 4 options (1,5,+,-) to change the label, i have done 4 if else statments. is it poss...

 
 
1 hour later…
2:26 AM
0
Q: simple login user authentication

user4221591I've created a simple User Login page. Here User is authenticated [username, password] and if it is a valid user, values like username, name and role of the user is stored in the Session. And according to the role of the user, the user is redirected to different pages. This is a simple code, bu...

 
 
1 hour later…
3:31 AM
0
Q: using python 3 stacks to ensure symbols match in correct pairs and the types of symbols match as well

Ewurama Minka Akuokodef spc(sym): stk1=myStack() stkall=myStack() sym=sym.split() for i in sym: if i not in stk1: stk1.push(i) else: stkall.push(i) print(list(stk1)) print(list(stkall)) for j in stk1: for k in stkall: if j==k: ...

 
4:00 AM
possible answer invalidation by Jamal on question by stephenlcurtis: codereview.stackexchange.com/posts/173481/revisions
@HovercraftFullOfEels I found the multithread code here: codereview.stackexchange.com/questions/112949/… so I guess it's the prime numbers? — Amee Jay 30 secs ago
 
4:18 AM
0
Q: Computing mean and median

Muhammad KamalI have written a program to compute mean and median. Please review my code and give suggestions. Note: I am self learning programming by reading "Programming: Principles, and Practice" by Bjarne Stroustrup. Currently, I am on chapter 4. #include <iostream> #include <vector> #include <algorithm>...

 
if your code works, i can only repeat my suggestion that you ask the question on Code Review. See, for example, codereview.stackexchange.com/questions/150436/…rici 40 secs ago
 
5:11 AM
If you're looking for a review of working code, check out codereview.stackexchange.com - but don't cross-post (delete the question here) and make sure to read their help center to ensure you're on-topic there too. — Blorgbeard 59 secs ago
 
5:32 AM
Monking
 
6:10 AM
Monking
 
0
Q: Java: Find a substring which could be rearranged to palindrome

eshi14Problem statement: To find maximum length substring in an input string which could be arranged into a palindrome, only even length palindromes are expected. Input is one line String which contains only integers. Output is the length of the substring which could be arranged in pallindrome. Eg. I...

 
6:25 AM
0
Q: simple Tic-tac-toe in python 3.6.3

khashayari'm self learner python trying to improve my skills by writing some simple programs in different ways, i wrote a Tic-tac-toe using functions instead of while loop, i know it might not be a good idea in python my questions are:1) how to write a check win function, using loop? 2)how to write a tie...

 
possible answer invalidation by Jamal on question by Manya: codereview.stackexchange.com/posts/181050/revisions
 
7:08 AM
You may have better luck with questions like "are there more efficient ways" on the dedicated code review site, codereview.stackexchange.comvektor 37 secs ago
 

« first day (1664 days earlier)