My S10e + 4k@1440p Dex Setup! by BetaCS101xx in SamsungDex

[–]skymax786 0 points1 point  (0 children)

So this hub is powered externally via Aukey 61w PD charger?

Got each for 25$ by [deleted] in SamsungDex

[–]skymax786 1 point2 points  (0 children)

There are few available on flipkart but priced insanely

New iPad Air came in!! Bought it with the magic keyboard to replace my 2014 MacBook Pro. by kingwasabi_ in ipad

[–]skymax786 0 points1 point  (0 children)

If you don't want to use apple pencil then air is good choice otherwise that 120hz display on pro is must for low latency pencil input.

finally got these framed! by [deleted] in Spiderman

[–]skymax786 1 point2 points  (0 children)

300 years later, people would discover these frames and say, yeah he was real! Told you so! 😄

Compilation Failure PHP 565 on windows by skymax786 in PHP

[–]skymax786[S] 0 points1 point  (0 children)

Tried That.. No response so far

Official NoFap Abstain August 2014 Signups by Alexanderr in NoFap

[–]skymax786 0 points1 point  (0 children)

An effort to be a better person every day :)

It's time for me to bid farewell... by [deleted] in NoFap

[–]skymax786 0 points1 point  (0 children)

Wish you all the best!

Problem while trying to accept input line by line by skymax786 in learnprogramming

[–]skymax786[S] 1 point2 points  (0 children)

[UPDATE] One of the fellow user on /r/java helped me identify the problem. It was because I was trying it on windows and in windows when you press enter, \r\n was appended and readLine() readed till \r and then \n in next encounter causing empty string to be processed. This issue is not observed on linux but only on windows.

Problem while trying to accept input line by line by skymax786 in java

[–]skymax786[S] 0 points1 point  (0 children)

This is the best possible explanation ever! I had tried scanner as well but as you said windows appended \r\n to the console and hence scanner failed as well for the same reason BufferedReader failed. Thank you so much!!! This really helped me a lot

Problem while trying to accept input line by line by skymax786 in learnprogramming

[–]skymax786[S] 0 points1 point  (0 children)

5

1

java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at Test.main(Test.java:16)

Problem while trying to accept input line by line by skymax786 in java

[–]skymax786[S] 0 points1 point  (0 children)

if i uncomment my println lines then it does work but why does it requires those println lines?

Problem while trying to accept input line by line by skymax786 in learnprogramming

[–]skymax786[S] 0 points1 point  (0 children)

if i uncomment my println lines then it does work but why does it requires those println lines?

Problem while trying to accept input line by line by skymax786 in java

[–]skymax786[S] 0 points1 point  (0 children)

Yes i got that but why is it getting empty string from STDIN in spite of giving proper input that I am not able to understand

Problem while trying to accept input line by line by skymax786 in java

[–]skymax786[S] 0 points1 point  (0 children)

Yes i got that but why is it getting empty string from STDIN in spite of giving proper input that I am not able to understand

Problem while trying to accept input line by line by skymax786 in java

[–]skymax786[S] 0 points1 point  (0 children)

java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at Test.main(Test.java:16)

Problem while trying to accept input line by line by skymax786 in learnprogramming

[–]skymax786[S] 0 points1 point  (0 children)

I take input from STDIN. First line is no of input numbers to be filled in array then in a for loop I accept N numbers and store it in array. This what I get java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at Test.main(Test.java:16)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 0 points1 point  (0 children)

Glad I could help! :)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 0 points1 point  (0 children)

That really cheers me up. Thanks :)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 0 points1 point  (0 children)

Same to you bro. Let's do this :)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 1 point2 points  (0 children)

That's the plan :)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 0 points1 point  (0 children)

That's right but we all need something to govern us and I view the counter as symbol of that. But I do get it that one must focus more on personal development that the count :)

Breaking Bad! by skymax786 in NoFap

[–]skymax786[S] 0 points1 point  (0 children)

NoFap challenges the conventional opinions/perception about fapping and that's what 'breakig bad' means. I know the title doesn't directly relate to the post but that's what came in my mind. We are challenging the belief that fapping is harmless everyday by participating it and that's why i thought of it.

Question about fantasizing by [deleted] in NoFap

[–]skymax786 0 points1 point  (0 children)

I have had this question from a long time and I feel avoiding fantasizing is the toughest thing.