« first day (1486 days earlier)      last day (1753 days later) » 

5:01 AM
 
 
1 hour later…
6:10 AM
in Tavern on the Meta on Meta Stack Exchange Chat, 59 secs ago, by Unihedron
I had to approve for the awesome suggested edit comment: http://stackoverflow.com/review/suggested-edits/6193629
 
 
4 hours later…
9:41 AM
Morning!
 
Morning :)
 
10:04 AM
Morning! :P
 
10:58 AM
Ugh, someone spamming my Wordpress blog:
> Akismet has protected your site from 24 spam comments already.
And 1 comment in my spam queue.
Bam, deleted.
Cool, looking at the stats of my blog, I get many views from the link on my profile!
 
:O
offsite stalking :)
 
@Unihedron Up for a chess game?
 
@ProgramFOX Oh, sure! :P
 
Yay! :)
 
But first, let me push this one commit ;)
Ok, I'm back!
 
11:08 AM
And... challenged!
 
I almost declined. They should really swap how they put the buttons and have "view challenge" on the left instead of being on the right.
wants to recommend ux.SE to lichess devs
 
Wait, I did Three-check, not a normal game...
 
Oh.
 
Okay, did it better this time ;)
 
would it be ok to add a comment to an answer which is in the VLQ Pipe invite the reviewers to take a look on the question too. It's a tool requesting answer, everyone looks on the answer, no on on the question stackoverflow.com/a/26841626/1699210
 
11:20 AM
@bummi That's what comments are for.
I'll leave this here:
In-development Java library for developing chat bots: JChatExchange
 
 
2 hours later…
1:18 PM
It is so sad, I could flag this response stackoverflow.com/a/1685331/1699210 as VLQ and it will be deleted and again no one would see that it is an answer to a recommondation question. I already did add a comment on this answer stackoverflow.com/a/26841626/1699210
 
@bummi I voted to close the question.
 
Thanks, how could we make people aware to look at the question, it's always the same thing :(
have to off for a while cu
 
The question is also displayed in the review queue, it's the reviewers who don't pay attention.
see you!
 
 
1 hour later…
Anonymous
2:49 PM
@Unihedron have you downvoted here ?
 
Anonymous
0
A: how do i stop looping?? it keeps on going forever

JoinerYou are using a while (true) {} without exiting it, which can be done via break command. Scanner input = new Scanner(System.in); System.out.print("Enter the minimum number: "); int min = input.nextInt(); System.out.print("Enter the maximum number: "); int max = input.nextInt(); while (true) { ...

 
@Joiner I didn't even see it until now, but it sure looks downvote-worthy.
 
 
1 hour later…
Anonymous
4:05 PM
@Unihedron why
 
@Joiner why what
 
Anonymous
@Unihedron here
 
@Unihedron He wonders why his answer is downvote-worthy.
 
Hold on, I left my downvote-worthy definition entry somewhere.
 
Anonymous
the code posted on the original answer was wrong
 
4:08 PM
^ cv-pls (if you want) Gone
 
Anonymous
but i improved it
 
Anonymous
and now it works
 
Anonymous
so why have you downvoted, too ?
 
@Joiner Why did you say I have downvoted? I didn't.
I said your answer was downvote-worthy.
 
Anonymous
so why
 
4:09 PM
2 mins ago, by Unihedron
Hold on, I left my downvote-worthy definition entry somewhere.
 
@Joiner because break in a while loop is bad if the condition to exit the loop can be in the while statement.
It makes the code hard to follow
 
Ok, here:
 
Anonymous
@rene i tried to put value < min || value > max in the while loop condition
 
Anonymous
but i could not ask the first user input
 
Remember: I'm not a java dev....
 
4:20 PM
Sorry, sidetracked.
Can you develop it such that it is reasonably maintainable?
Is it future proof?
Is it supportable with basic usages?
If to any of the three questions I'd answer "no" with your code, it's downvote-worthy.
 
Anonymous
@rene you are checking the value two times
 
Yes, I' am
 
Anonymous
this is bad..
 
so is breaking...
Take your pick
 
Anonymous
@rene my code is breaking, too
 
4:24 PM
Gentlemen
May I also suggest using:
System.out.printf("You did it, %s is between %s and %s!\n", value, min, max);
instead of that long concatenation sequence you have?
 
sure, you're the master
 
Eh, actually no one is the master when it comes to JAVA. I just do regex.
 
That is my final take on it...
 
lol
 
Anonymous
4:33 PM
you forgot int when you declare value
 
Anonymous
i wrote this code, too
 
Anonymous
but i changed it because
 
Where's value?
 
@Unihedron line 7
 
Anonymous
System.out.println("Oops, %s is not between %s and %s.", value, min, max); is called at the start
 
Anonymous
4:35 PM
and this is bad
 
@Joiner You might have confused the while-do loop with the do-while loop.
 
Anonymous
more thank using while (true)
 
This is a while-do loop, so if the condition is false at first, it simply passes.
 
@Joiner No, while(true) is not better because then you have to break.
 
Anonymous
i see a while loop
 
4:36 PM
@Joiner Yes, but not a while (true) loop.
 
break is a control flow that tells the jvm to terminate end-thru-start, so with a simple while-do with no control flow, the code is more maintainable in general.
Having breaks and early returns are also not good because the flow is overly linear.
 
Man, my first java program since ages: ideone.com/xxfIGz
 
5:05 PM
Yay, a like on the blog post I posted today :D
 
@ProgramFOX linky?
 
tl;dr: Proper python syntax, liked
 
Thanks!
 
The take-away: scope in Python van bite you...
 

« first day (1486 days earlier)      last day (1753 days later) »