« first day (2817 days earlier)      last day (2128 days later) » 

12:00 AM
"Where there is ruin, there is hope for a treasure." -Rumi (source)
 
 
1 hour later…
1:15 AM
morning
 
user8622974
morning
 
Morning.
 
 
2 hours later…
3:22 AM
morning
 
Morning.
 
user8622974
morning
 
3:59 AM
morning
 
user8622974
morning
 
Morning.
 
4:50 AM
morn
 
user8622974
morn
 
morn
 
5:08 AM
morning
 
Morning.
 
user8622974
morning
 
6:00 AM
posted on July 10, 2018

 
6:15 AM
Apparently OO is a thing with Javascript
 
sure it been there for long time now
 
And I have a lot of question about how it works
Apparently, you can modify the constructor of an instance. Like, what the hell
 
you will have better chance of getting help here
 
I don't know if it will make sense as for why it works the way it is now the more I learn or use Javascript
@SurajRao just a little rant of mine
 
Goooood, good! Let the anger flow!
 
6:20 AM
My question is more like why it exists
 
It's super versatile! You can use if for desktop applications, dynamic websites and even apps!
 
@geisterfurz007 One of the reasons I want to learn it (my current internship demands that I know it so I have to). It always awes me whenever I saw those animated and interactive one-page websites.
Like, what kind of sorcery is this!?
 
It's awesome right? I think it's either React or Angular but not 100% sure.
 
But still. Coming from Java, how OO works on it is outlandish for me
@geisterfurz007 I've heard about MEAN. MongoDB - E? - Angular - Node
 
been in that phase..
 
6:26 AM
I'm surprised you can do that much with Javascript
 
prototype inheritance is one weird concept
 
I 100% agree. However with TypeScript or Flow (not sure which one) in combination with Babel makes up for it. At least for ReactNative I have component classes that extend a React class.
 
@SurajRao yeah-yeah that one
 
Jun 26 at 10:15, by geisterfurz007
https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f what a great read!
 
@geisterfurz007 thats syntactic sugar for the regular JS OOP..
 
6:29 AM
@geisterfurz007 I can feel the pain on my brain
 
Mhm :)
 
github.com/verekia/js-stack-from-scratch helped me get into a bunch of js environment tools .. (though didnt complete all of it)
 
I'm going to use one by one when I really need it. That hackernoon article gives me an insight
 
USM
6:50 AM
Started working on Intellij , just because it has black UI theme... is it good for eyes?
 
just because it has black UI theme if thats the only reason... you can change the theme for any IDE there is
and I find dark themes easier to view over long periods of time
 
USM
@SurajRao i started having blur vision , is it good to continue with dark theme?
@geisterfurz007 what is the conclusion of the first click?
 
Do I care? I just dumped you the links like you dump your questions :)
 
USM
You are all horrible.
 
7:01 AM
You get what you give.
 
USM
Suggest me sir.
I am having blur vision ..
:(
 
If you can dump your questions here, you can dump your questions to google. If that continues, I will start kicking you. I have no problem with discussions, with a nice chat, Java questions, etc. I have a problem with people dumping random stuff here, using the chat as google and overall being close to being a dick. Last warning.
2
 
@AceVez E - Express a backend framework running on Node
@USM Sry.. Cant give medical advice.. maybe consult a doctor?
 
@geisterfurz007 oooh, I came too late it seems
 
Had to log out and in again, hmmmmmmmmmmmm?
 
7:15 AM
0.o?
did you kick yourself?
 
It's all you! I knew it all along! You are all other people here! gets tinfoil hat
 
i dont think tinfoil wil stop me now
tinfoil? tin foil? wth
i thought only dutch had word composition
(quite a fabulous feature of the language)
I would enjoy programming in it :D
naming convention, camelCase... aka, everything lower case in dutch since the entire source code is one word
 
@Wietlol ?!????????????!!!!!!!!!!!
Kühlschranktürscharnier!
 
pfft is that the best you can do?
roltrommelhuisvuilophaalvrachtwagenbandventieldopjefabriekstorenrookmilieuvervui‌​lingsaandeelspercentage
readable? nah
fabulous? hell yea
 
DonauDampfSchiffFahrtsKapitänsMützenEblemsFarbFabrikLieferantenSpeditionsVorstan‌​dsVorsitzendenTochter
 
7:26 AM
roltrommelhuisvuilophaalvrachtwagenbandventieldopjefabriekstorenrookmilieuvervui‌​‌​lingsaandeelspercentagefactor
 
USM
@geisterfurz007 Are you out of your mind?
 
DonauDampfSchiffFahrtsKapitänsMützenEblemsFarbFabrikLieferantenSpeditionsVorstan‌​‌​dsVorsitzendenTochterSpielZeug
 
@geisterfurz007 That got flagged. (FYI)
 
Figured, thanks :)
 
To be honest, I understand why, as well. Better not call someone "close to being a dick".
 
7:30 AM
Denoting a chatroom as search engine is not quite polite either but noted.
Well not quite denoting but using as.
 
honestly using a search engine for medical related advice isnt a good idea either.
 
USM
@SurajRao Haha , that is true sometimes,..
 
"Q:Papercut, what to do" "A: You gonna die"
 
7:46 AM
@USM If you want something good for your eyes, get blue filter glasses/lens
btw o/ channel
 
user8622974
o/
 
o/
 
Man, these bots
 
Horrible, isn't it?
 
7:49 AM
they make the train longer than it should be
 
Agreed
 
morno
 
user8622974
morno
 
morno
 
morno!
 
7:51 AM
hey @gei
 
morn
 
USM
@ItachiUchiha u mean anti-glare glasses??
 
Nope
 
USM
They are two different things?
 
Anti glare lenses are lenses with optical coating to reduce reflections from front and back surface of lens, whereas blue cut lenses blocks blue light from visible light from reaching our eyes.
 
8:05 AM
@ItachiUchiha I have one of those. The one that turns darker when exposed to light
Pretty cool
 
@AceVez Nope, that is different as well. Its called "photochromic lens"
 
@ItachiUchiha I mean my glasses does both. At least that's what it said on the brochure.
I guess they're "photchromic blue cut lenses"
I think
I remember they have another models that block blue light without the photochromic effect. And guess what I chose
 
Zoe
Morning
 
user8622974
Morning
 
Morning.
 
8:13 AM
All 3 lenses have different purposes:

* Anti Glare - reduces glare and halos around lights at night and eliminates unattractive reflections on your lenses. So good if you have to drive at night :)
* Photchromic - Turns dark to block sunlight. Good for a sunny day :)
* Blue cut lenses - Blocks blue light which has been proved to damage eyes. Mostly useful if you spend too much time in-front of a TV/Computer
 
So there is no hybrid?
If there is no hybrid, I'm duped
 
USM
It is both blue cut lenses and anti glare
 
@AceVez There are hybrids, sure
 
Phew Glad to hear that
 
8:36 AM
"... blue light which has been proved to damage eyes", and yet it's the primary color in most default Windows desktop backgrounds.
 
It's obvious! Windows wants us all dead! grabs tinfoil hat again
Also good morning Jenna :)
 
@JennaSloan does "blue light" there means the light that represents the color blue? or just a layman term?
 
@AceVez I believe "blue light" refers to light with a wavelength of about 470 nanometers.
 
@SurajRao That is a nice collection indeed! And shows the same craziness with the packages like the hackernoon article.
 
9:06 AM
@geisterfurz007 Did you miss @wonderb0lt ping?
 
howdy!
 
1 hour ago, by geisterfurz007
morno!
 
man, I've missed the channel
 
I greeted @ItachiUchiha :)
TAVO!
EEEEEEEEEEEEEKS!
\o/
 
stupid work keeping me away from here
 
9:07 AM
@Tavo We have missed you :P
 
:_)
 
How is life at the new workplace?
 
What that lad in red and yellow says ^
 
Zoe
Hiya @Tavo!
 
busy. Very busy
but life in Singapore is good
@Zoe poke
 
9:08 AM
Nice!
 
how about you?
@Zoe I like your new avatar
 
Life's been good. I had plans to visit Singapore in August but stupid work had to poke and cancel my plans :(
 
stupid work!
 
Zoe
@Tavo Thanks ^^
 
I hate work! \o/ Took 2 weeks to even get a meeting to decide in the technology to use for my apprentice project \o/
 
9:09 AM
let me know if that changes. We should grab a beer!
@geisterfurz007 lisp :P
 
((better)((not)))(no)
 
lol
I actually laughed
oh man, I've really missed this place
btw, do any of you know Tim Biegeleisen?
 
Not in person but the name is familiar. Isn't he one of the high rep memebers on SO?
(Maybe even works there, not sure)
 
@Tavo Sure thing
 
yup. He is applying for a position to work with me
I was like O_o
 
9:14 AM
Woah!
 
Woah, our own Tavo gets to work with Tim ;)
 
9:31 AM
defo. How can I get to be this guy's manager? He can manage me with one hand while he codes with the other!
but I could learn a lot from him though
 
Should I use the "EDIT3" as the answer of my own question? I got it from my own test but I'm not sure if it can be used as an answer.
 
He be like "What?! 1400 reputation? I got over 120 times that! Where can I sign for the contract as a boss?"
To be fair though: I have more rep as well aaaaand am a complete noob.
@AceVez javascript room please :)
 
@geisterfurz007 sorry. It didn't mean to be language specific. More on SO's rule about answering my own question.
 
Oh!
If it solves your problem, nothing should prevent you from posting it as answer. You can still upvote anything that helped you on the way to the answer box :)
 
@geisterfurz007 So "it's not working because this makes that not works" kind of thing can be an answer?
 
9:37 AM
@geisterfurz007 you are not one of the top 10 contributors to SO either :P
 
@Tavo TAVO!
 
USM
I just checked Tim's profile, he answers every hour in a day, woah , he is better much better than most of us here who unnecessary behave like a boss.
 
howdy!
 
Sure! Ideally there would be a section with a potential workaround but a partial answer is considered fine:
 
Why does the JAR runnable always have a much larger frame than the Eclipse compiler? Can't they make it equal size?
 
9:39 AM
@geisterfurz007 thank you
 
@Tavo TAVO!
did I just send my message twice?
 
I have no idea, but SO chat said it was retrying
 
Second try seems to have succeeded as well ^^
 
> Step 1, Send message.
Step 2, Go to step 1.
 
@Nathan777 ?
 
What Wietol said made me think of that video
 
Click the little arrow next to your name in Itachis message ;)
He was referring to something else you mentioned earliert
 
 
1 hour later…
11:12 AM
Oh, what I meant is that when I make a JAR runnable, my program screens are much larger than when I compile it through Eclipse
 
11:39 AM
> Eclipse
ew
 
> Wietlol
ew
Now what?
 
> geisterpunz007
ew
 
Be constructive or leave it
 
how can I be constructive?
noone asked a question
 
A dry comment - no problem if you help after that.
2 hours ago, by Nathan777
Why does the JAR runnable always have a much larger frame than the Eclipse compiler? Can't they make it equal size?
Nathan sure did.
 
11:40 AM
ow, ok
@Nathan777 there must be a... difference
 
there is nothing that comes to my mind
but any additional information would be welcome
such as, which ui framework you used, how you set the sizes, what you base the frames on
etc
 
12:00 PM
Scientists believe that the Milky Way is one of the older galaxies in the universe. It was formed about 13.6 billion years ago and is almost as old as the universe itself, which formed about 13.7 billion years ago. (source)
 
12:14 PM
why i am not getting the response in JSON when i am trying to get the exception response, however I am gettin the message in xml format
Exactly similar class i have created for DataNotFoundExceptionMapper and it is returning the result in proper json format
GenericExceptionMapper this will give proper nice message in JSON format for any exception other than DataNotFoundException
this is the result <?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorMessage><documentation>http://www.google.com</documentat‌​ion><errorCode>500</errorCode><errorMsg>HTTP 404 Not Found</errorMsg></errorMessage>
the message is correct but it is in xml format, why it is not producing in JSON format
 
@diwakarbhatt try content type headers
 
it is said to application/json
set*
still it is not producing the json
but for *DataNotFoundException it is producing json
here is the class
 
Zoe
//pastesite diwakarbhatt
 
user8622974
@diwakarbhatt Please use a paste site when pasting long code snippets and stacktraces
 
@Alisha ok
 
user8622974
12:28 PM
@diwakarbhatt How can I //help?
 
here is the two classes:
one is **DataNotFoundExceptionMapper**
https://paste.ofcode.org/38sqp9GDyQGyUMwLF4W5diJ

and the other one is **DataNotFoundExceptionMapper**
https://paste.ofcode.org/39WuZdwibPvvJfFzLUhymux
the first one i.e. DataNotFoundExceptionMapper produces the JSON format
sorry i have copied the same code
 
DataNotFoundExceptionMapper
vs
DataNotFoundExceptionMapper
how does this not make sense to me?
 
second one is GenericExceptionMapper
sorry i am wronglt typed
first one is DataNotFoundExceptionMapper
second one produce the json exception but first one producing xml one
 
try
content
type
headers
 
headers are set to application/json
 
12:36 PM
can you show the responses?
 
yes
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorMessage><documentation>http://www.google.com</documentat‌​ion><errorCode>500</errorCode><errorMsg>HTTP 404 Not Found</errorMsg></errorMessage>
 
try removing differences
 
its a string, i dont think that is the issue
this is the output of correct one
{
"documentation": "http://www.google.com",
"errorCode": 404,
"errorMsg": "Message with id 5 not found..!!"
}
i can share screenshot
 
changing status codes, changing the generic part, changing registration of its handling, etc
 
if u want?
 
12:45 PM
when they are equal and the issue still remains, you just crossed out most of the causes
 
if the issue is removed, you should find out when it got removed
 
Zoe
o/
 
user8622974
\o
 
\o
 
12:46 PM
@RishiGautam hya
 
Hello @Wietlol
 
How can I //halp?
 
Zoe
xD
 
after long time in chat room @Wietlol feel gud
 
0.o?
iDunno what you mean
why Dun i no what you mean?
 
12:49 PM
i got the solution
here is the link
 
content type header?
 
but strange thing is why the piece of code is not required in other class
i have added .type(MediaType.APPLICATION_JSON) this line in code
 
aka, content type header
 
yeah, but the question is why it is not required in other class as both classes are handling exception in exact same way
 
a request can specify its request content type
a request can specify its desired response content type
a response can specify its response content type
I dont know why it is not required in the other
 
12:53 PM
only difference is the exception type
 
that is why you should still look for the differences
 
there is no difference apart from the generic type
in one is <Throwable> and in other <DataNotFoundException>
i will try to figure out :)
but anyway thanks all for your efforts and help
 
USM
1:14 PM
hello michael
 
 
2 hours later…
2:56 PM
posted on July 10, 2018

In this episode we interview Janine Patterson on her talk of "Integration Test Coverage with JaCoCo" and dive into the nuances of Units vs Integration tests. We dive into Gherkin sentences as we use Cucumber, and challenges of integration tests (hint... use Docker). We also dive into the best way to execute these (Spring Runner). In all, if you were interested in upping your integration testing

 
 
1 hour later…
4:26 PM
@JennaSloan However, there is not standardization as to whether or not 0 is included in the set of natural numbers, thus, that magically formatted Z+ is more correct.
How did you get that beautiful Z+?
ℤ⁺
ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺‌​ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ‌​⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺‌​ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺ℤ⁺
So pretty.
 
@Ungeheuer like this
 
5:01 PM
Hello!, does anybody knows how to format an old date, in which the year comes in 2 figits? for example 37 which it is suppoused to be 1937
 
Try yy as year format
 
Zoe
5:24 PM
IIRC it doesn't know which to use of 1937 and 2037
 
It better should because if not the jvm would be in an undefined state in that case.
 
Zoe
6:02 PM
Nvm, it was 2038, not 2034. Both are in range
 
 
2 hours later…
7:41 PM
Does calling toString on a LinkedList automatically add [ ] brackets to the print statement?
 
/javadoc List#toString
 
Which one do you mean? (type the number)
1. javax.validation.constraints.Null.List#toString()
2. javax.validation.constraints.NotNull.List#toString()
3. javax.validation.constraints.Size.List#toString()
4. javax.validation.constraints.DecimalMin.List#toString()
5. javax.validation.constraints.Min.List#toString()
6. javax.validation.constraints.DecimalMax.List#toString()
7. javax.validation.OverridesAttribute.List#toString()
8. javax.validation.constraints.AssertFalse.List#toString()
9. javax.validation.constraints.Future.List#toString()
 
java util. Dude Oak! Take the ones that makes sense first! :D
@Michael FR: Sort the packages alphabetically :)
I thought there would have been something in the docs to give proof but there doesn't seem to be.
The easiest thing to answer your question would be to try it out ^^
I think so though as it should be the same for all Lists.
 
I see the java crowd are morning people
 
@mtbrands ideone.com/LF6vQe It looks like it :)
 
7:47 PM
Im looking at some code and printing the list puts it in brackets but I can't find the origin of those, i havent seen it before.
 
@ThePeskyWabbit I should sleep for abuot 50 minutes already :D
 
Sorry that was too easy too test
Should have done that
 
No worries! I have caught myself doing that often as well :)
 
I was like, lets take a good google before i ask somewhere :D
 
Gotta go catch some sleep now ^^ Have a good day/night y'all o/
 
7:50 PM
Thanks, good night!
 
8:39 PM
@geisterfurz007 you left your computer on
 

« first day (2817 days earlier)      last day (2128 days later) »