« first day (2879 days earlier)      last day (2079 days later) » 
00:00 - 12:0012:00 - 22:00

12:00 AM
"You are very powerful, provided you know how powerful you are." -Yogi Bhajan (source)
 
12:14 AM
I think I got it.
 
12:26 AM
@Annabelle the way you are initializing and adding elements to the list is strange to me. Why don't you just use java.util.Arrays.asList(T... a) instead?
 
Oh cause I didn't think of it honestly. I'll fix that. But I'm more wondering on how to fix this issue.
:/
 
12:43 AM
morn!
 
user8622974
morn!
 
morn
 
@Tavo Omg it's Tavo!
@Annabelle well, it's probably because it's using the int primitive type instead of the Integer type. Also, I'd use elem.getClass().isAssignableFrom(Integer.class) instead of elem instanceof Integer (I don't know if this will fix it though)
 
1:26 AM
@Annabelle It's because you have Object thing = scan.next(); and scan.next() returns a String.
 
Ok thanks :)
 
Also, numbers that are less than -2147483648 or greater than 2147483647 can't be of the Integer type
 
2:00 AM
If you'd want it to work with outrageously large numbers like septingentillion, you'd have to use something like BigInteger
 
 
2 hours later…
4:04 AM
 
Zoe
4:43 AM
XD
Morning o/
 
5:12 AM
ayo
I forgot the key to my locker :)
So I don't have two screens :)
 
Zoe
5:28 AM
Aw
 
@geisterfurz007 just hack it
 
Brilliant! Should've thought about that earlier. Thanks :)
kicks locker
 
Zoe
sudo hack locker
I is pro
 
Zoe
5:40 AM
@geisterfurz007 wouldn't it be more efficient to pick the lock?
Or just remembering the key? :p
I'll shut up now ^^"
 
:o
I have my lockpicking set with me :D
Will prolly look kinda strange if I start fiddling around with tools on my container.
Even worse if I actually get to open it xD
 
Zoe
6:01 AM
Lol
 
6:40 AM
howdy y'all!
 
OMIGOD!
Hey Tavo :) LTNS!
 
erhmaghed!
defo. I've been on hols for a while
how's things?
 
Good. Kinda :D First day at work after 3 weeks vacation and I forgot the key to my locker so I am missing my docking station which is kinda annoying. And my sleep cycle is just a teeny-tiny bit messed up :')
How you doin'?
 
Zoe
Hiya Tavo!
 
hey Zoe! how's things?
@geisterfurz007 if it helps, I didn't bring my pass today either, so every time I need to go to the loo I need to sneak out with someone and I kinda look like a pervert
on the other hand, I'm doing pretty well. People held the fort quite well and nothing is on fire
I'm taking my time to catch up
 
6:46 AM
@Tavo lmao
That helps indeed :')
 
@Tavo Why do you need a pass for that?
 
I work in a secured area
pass to go in, pass to go out
 
What if there's a fire and you can't find your pass?
 
That's unfortunate.
 
there's an emergency door, but the alarm will ring if I use it
 
6:49 AM
How do you know it rings? Did you try it?
 
a friend tried :P
got scolded by building management
 
Now I have to imagine Jenna joining a new office, hitting all buttons and door knobs to see if the alarm really works :D
4
 
I actually lol'd to that
 
@geisterfurz007 I usually make sure nobody's watching before doing that though
 
Big brother always watches you.
*alarms starts ringing*
- Jenna rushing around the corner yelling "Wasn't me, I promise!!"
 
7:05 AM
If there is no authentication token found, send a 401 or 403?
 
I'd go for 403
 
Or 400 even?
Oki, thanks :)
And if the token cannot be validated, 401?
 
yup
401 is that your credentials are not valid
 
Excellent, thanks :)
 
I'd say that if you don't have credentials it's not a 401
actually, I just double checked: 401 Unauthorized response should be used for missing or bad authentication, and a 403 Forbidden response should be used afterwards, when the user is authenticated but isn’t authorized to perform the requested operation on the given resource
so it's 401 for both
 
7:09 AM
Oh, ok. Thanks for double checking :)
 
Zoe
@Tavo Aw, you know. Boring xd
How're you?
 
I'm well. Doing some code review right now, which I hate. But apart from that, slowly coming back to work
 
7:43 AM
hi peeps
 
Oh, it's Tim Castelijins
 
Good day
 
that is what they call me
 
Zoe
Hiya Tim
 
We're sorry, your call cannot be completed as dialed. Please hang up and try again.
 
7:46 AM
zoe, thanks for your tips left and right. Bot is doing really well now
 
Zoe
No problem ^^
What does it do again? ^^"
 
next step is to let it update itself so my lazy ass doesn't have to ssh into the server to do it
 
It hacks into the UN
 
not an awful lot :) functionality is listed under this anchor github.com/TimCastelijns/Room15Bot#usage
it took me some effort to make it stable, our room did a good job of spamming testing it
 
Oh, so it's a spam bot
No?
 
7:52 AM
I think not
 
I think it needs more features
 
OMIGOD another one :D
Hey Tim!
 
I currently have no great ideas for new features
 
I mean my bot can do all sorts of things
@Pseudohuman moon phase in Timbuktu at 8:46 AM CST April 11, 1872
 
| waxing crescent moon
13.26% illuminated
 
7:58 AM
is it on github?
 
@JennaSloan What the fuck? xD
 
@TimCastelijns Yeah, it's here: github.com/Jenna3715/ChatBot
@geisterfurz007 It can tell you about all sorts of things
 
I know! But why would you want to know the moonphase in Timbuktu at 8:46 AM CST April 11, 1872?
 
looks at src, cries in kotlin
 
@geisterfurz007 Why not?
 
8:08 AM
Because that is probably one of the most irrelevant pieces of information in existence?
 
more relevant than the moonphase in 1871 I would say
 
Well, for messages that it can't understand, it queries wolframalpha.com
 
@TimCastelijns Debatable.
 
undeniable
 
Undeniably debatable.
 
8:15 AM
@Pseudohuman what is the airspeed velocity of an unladen swallow?
 
25 mph (miles per hour)
(asked, but not answered, about a general swallow in the 1975 film Monty Python and the Holy Grail)
 
I have new respect for Pseudohuman.
 
that's nice
 
@Pseudohuman weather in Java
 
temperature | 90 °F (heat index: 92 °F)
conditions | few clouds
relative humidity | 43% (dew point: 64 °F)
wind speed | 17 mph
(1 hour 19 minutes ago)
(using weather station WARR: 191 mi E and 1900 feet below center of Java)
 
8:22 AM
@Pseudohuman tim castelijns
 
@TimCastelijns I do not understand.
 
I would refuse to answer that as well, lulz
 
@TimCastelijns Wietlol
 
wow, mean! flagged!
 
wow, flagged! mean!
 
8:23 AM
I didn't even say fuck in that message...
 
> fcuk
 
flagged >.>
 
deggalf
Iambackboyz
 
@Wietlol that's a brand
 
no, that is a quote
 
8:25 AM
quoting a brand can cause you legal issues
 
I got flagged for ranting about some code here and I had a single message that read "fuck". Suraj suggested to just use fcuk because technically it is a brand :')
 
@Pseudohuman fcuk
 
I don't think that would save you from the wrath of the diamond ops
 
@JennaSloan French Connection United Kingdom
 
don't be weak, just say fuck
 
8:28 AM
up you go
I spend too much time on 9gag...
 
up, up, up the stairs we go
 
Hello everyone!
 
@thisisyash Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
@TimCastelijns just take the elevator
 
no elevators to cirith ungol as far as I know
 
8:29 AM
yo
wassup everyone ?
 
@TimCastelijns I like that reference
 
@tim
 
@TimCastelijns That's the motivation I needed. yells FUCK in office
 
@TimCastelijns hi
 
@thisisyash just chatting. What about you?
 
8:30 AM
Nah, don't just ping people please @thisisyash :)
 
i am in my office.. fucking bored
@geisterfurz007 ok dude
 
lol
not sure if trolling or just...
 
This isn't trolling
This is yash
 
no, this is Patrick
 
haha... yeah.. this is yash
 
8:32 AM
I mean, you are Patrick
 
How do you know my name?!? :D
 
missed opportunity for 300 reference
 
hey @wonds!
 
Hello @Tavo
 
@TimCastelijns Spongebob references are better
 
8:33 AM
Now if ballBreaker joins as well...
 
he is probably sound asleep
it's like 4am in Canada
 
its 2pm over here
 
that's like India
 
it's like 3:33 AM here
 
8:34 AM
@JennaSloan I always wonder how are you still awake at these times
I stayed awake for like 36 hours this weekend (long haul flight) and I was knackered by the end of it
 
Sometimes I question whether or not I'm actually awake
 
I think I code in my sleep too
 
yeah..i usually get dreams of my code
it happens.. naturally..when you are exhausted with code
 
That's basically the Tetris effect.
 
8:37 AM
yeah... may be
 
I had to make a rule for myself to not do any programming at least in the two hours before bed time, or I'd have a good chance of dreaming of code listings.
very tiring actually :/
 
how many hours do you code a day ?
 
10 ish
 
Code in the sense of bashing my keyboard while having the IDE focused?
Prolly 5 or 6. Maybe a little more, dunno.
 
Is there any other way to code?
 
8:39 AM
yup. You can think for a while and then start coding
works wonders
 
you guys are cool.. i dont find enough time to code.
 
If you count research, compiling and testing into that, I would have spent more time for that.
 
write on paper, scan, convert image to text
 
With code you wrote.
 
@TimCastelijns million monkeys
 
8:40 AM
@TimCastelijns nub
20.ish
 
I can do as much as 12 in a day if it is the weekend and I'm on a roll... On work days, amusingly, it will probably be around 7-9.
 
if I manage 3, I'm a happy man
 
ofcourse 20.ish human hours
also... 50% of the time, we aren't actually coding
we are just searching how to code
 
yeah.. most of the time we spend on debugging tooo
 
yea, but that is still coding imo
but we can spend hours simply looking for a good library without writing any actual code
for example... now
someone thought it was a good idea to put calculations in an excel file
and hand us the excel file expecting it to be "run"
 
8:43 AM
yeah
 
just run it lol
 
Ideas why my webservice doesn't send any response at all? The application server runs and the webservice is deployed :/
It's hosted on a local wildfly.
 
check server logs bro
 
do you send a request?
 
There is literally nothing after the entry that the gradle artifact has been deployed-
@Wietlol Yes, with postman.
 
8:55 AM
what does it poop out?
 
does it recieve the request?
 
@Wietlol It doesn't look like it.
Could not get any response
There was an error connecting to localhost:8080/TiefbauWebservice/rest/rubbish.
 
ok so the server is unreachable
 
> There was an error connecting to localhost:8080/TiefbauWebservice/rest/rubbish.
-_-
 
is it listening on port 8080
 
8:56 AM
Yes.
 
is it though?
 
does localhost:8080 work?
 
at least an "Unauthorized" or something
 
or 404
 
8:57 AM
or 42
 
I can open the same path in the browser and get informed that no authtoken is found.
Which is 401, yeah.
 
it is unlikely that you can reach localhost:8080, but not localhost:8080/something/else
 
does "localhost:8080/TiefbauWebservice" work?
I think you may not use that part
but instead localhost:8080/rest/rubbish
 
Why the fuck does changing the environment in postman fuck up everything?
 
because when you change the environment, postman has to migrate
 
8:58 AM
Also why is it always a problem with the tool if I ask something >.>
The only thing I did is define a variable in the environment...
 
well the problem is probably with you but we don't want to hurt your feelings so let's blame the tool
 
Sounds good to me!
 
@geisterfurz007 so far I have seen you blame several problems between keyboard and chair on the tooling, I have no problem hurting your feelings ;)
 
No seriously though: I change to the environment -> Problem connecting.
I change back to no environment -> Request goes through.
@Gimby I always do that but don't tell anyone.
 
"I don't understand how my tooling works" problems
Why are you changing the environment?
I didn't even know such a feature existed, it was "not my problem" invisible until you so rudely made me aware of it.
 
9:06 AM
you don't have to use postman bro, can write a short python script or something if you have issues with postman
 
Because I defined a variable in that environment so I don't have to keep it somewhere else.
I define the variable globally and it works. This is kinda 'tarded.
Whatever. Tooling is too intelligent for me :3
 
you can also define variables in python, very nice huh
 
you can also define variables in brainfuck
wait...
 
You can also define variables in kotlin
Tim and Wietlol start drooling
 
You can also define variables in FORTRAN
 
9:10 AM
@geisterfurz007 yea boi zucc's code is 100% kotlin
 
Also assembly
 
Good, good. Some of my code seems to be working. A miracle!
 
Heyho guys,
Just gotta make something clear to me.
In the IBM Designer one can integrate Java into IBM Notes Databases.
In the "Java Compiler" settings one can set the "JDK Complience" to 1.6

Does this really mean I am working with Java 1 here or is there something I am missing?!
 
@Squirrelintraining Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
1.6 refers to java 6
which is almost as old as java 1
 
9:16 AM
Thanks for clearing that up for me :)
Welp default is Java 1.5
 
@Squirrelintraining hya
is C-harp migrating to Jaba?
Xariez was here also
 
@Wietlol No, one can't simply integrate a .dll into IBM Notes as just write some java hackery.
 
Doesn't "compliance" refer to backwards compatibility?
 
In the case of IBM Notes, it referes to "Pain in the ass"
 
9:25 AM
naturally, java 6 is quite old
 
something, something, you
 
Zoe
@Wietlol Done with the music and changing to coffee? :>
 
Does it make sense to use a webrequest filter to decode the jwt and place the claims in the request object directly so I don't have to have it parsed over and over again?
 
You have never touched Lotus Script apperently.
If you would, you'd be happy for Java 1
 
I dont like coffee
@Squirrelintraining I touched Haskell, does that count?
 
9:29 AM
NO
Haskell is love, Haskell is life - Kendall
 
Is there anyone having knowledge in NLP?
 
I have
 
Zoe
@Wietlol guessing Java says the same about you ;p
 
how do you think I work in this chatroom?
@Zoe I like very specific coffee
 
Zoe
<Insert some caffeine is a drug message here> :p
 
9:39 AM
Ì am like Java, I like any coffee, as long as you are specific about it
 
Ì tho.
 
@geisterfurz007 You basically self-answer that ;) Flip it! Why wouldn't it be?
 
Because I throw stuff in the request object that doesn't really belong there? Then on the other hand I don't put it in additional headers, so I guess it's fine.
 
10:03 AM
@geisterfurz007 some
 
:D Ignore that message ;)
Ok, I must be blind... If I use my filter, I can use ContainerRequestContext#setProperty to do nice things™ (save the claims in the request context). But I can only inject HttpServletRequest or Request into the method and I cannot seem to find the method to get me properties back.
 
10:24 AM
getAttribute
Of course!
Because I set properties but get attributes.
Time for lunch for sure after that one...
 
Hey guys
 
@Amal Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
morno
 
user8622974
morno
 
morno
 
10:27 AM
I have a problem to solve
can u help me
 
Can you say hello first
 
I said hey guys :p
 
Wasn't here back then
Thus you never greeted me
 
LOL hello then
 
Hello, how may I assist you?
 
10:28 AM
This dance asks every performer to follow a precise sequence of steps:

• Stage 0 : First, get away from obstacles by setting up your starting point at position 0

• Stage 1 : Take one step forward (+1 step)

• Stage 2 : Take two steps backward (-2 steps)

• To follow, the steps as well as the direction you will have to take in your next move will each time be obtained thanks to a specific calculation: the number of steps you took on the previous stage minus the number of steps you took on the penultimate stage.
 
Is that your homework?
 
I should write a function witch return the position at the end
yup
 
cool, what's the issue?
 
I didn't know from where I should start
 
at position 0 I guess
 
10:33 AM
yes can you help me writting the function
 
I can write it for you
Help how do I get a link to a common snippet site
There you go - this is without comments, so you can have a little challenge understanding it - but I guess that helps
No guarantee that it works, but it does what I understood it should do.
 
Thank you verry much
 
no problemm im bored annyway
 
anyone knows an excel library that can read and edit excel files?
with formulas
 
Wietnosry
 
11:05 AM
@Wietlol I'm not sure of JExcel can do formulas, Apache POI can.
 
posted on September 10, 2018

archive - contact - sexy exciting merchandise - search - about ← previousSeptember 10th, 2018nextSeptember 10th, 2018: RIDDLE WEEK continues here! It'll be three comics about riddles, which kinda form a week if you squint sufficiently hard. HERE WE GO!!– Ryan

 
/no
 
@unknown Meh... You shouldn't tho.
 
What is the java.lang.stackoverflowerror means
 
11:16 AM
I'm sure you'll find an answer to that on stackoverflow.com
in case you haven't heard of that website before
 
In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This kind of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to just "the stack". Although maintenance of the call stack is important for the proper functioning of most software, the details are normally hidden and automatic in high-level programming languages. Many computer instruction sets provide special instructions for manipulating stacks. A call stack is used for several related...
 
I'm trying to return node contains a caracter
here what i done
I got the error at return this.right.find(v);
 
Zoe
11:35 AM
Why is it always homework? xd
 
sounds like recursion
 
Zoe
^
 
yeah... recursion
 
11:49 AM
Oh
my
god
My educator asked me to help her, lulz
And I could :o
proud
 
@Gimby Apache POI takes 16-20 seconds to load the file
that is not acceptable
other libraries do so in ~0.5s
 
:'( I'm suffering :p
I solved
but there is an other problem
This dance asks every performer to follow a precise sequence of steps:

• Stage 0 : First, get away from obstacles by setting up your starting point at position 0

• Stage 1 : Take one step forward (+1 step)

• Stage 2 : Take two steps backward (-2 steps)

• To follow, the steps as well as the direction you will have to take in your next move will each time be obtained thanks to a specific calculation: the number of steps you took on the previous stage minus the number of steps you took on the penultimate stage.
 
@Wietlol yep and it eats monstrous amounts of heap space, I try to use JExcel if I have to do anything Excel. But I try not to have to do anything with Excel spreadsheets to begin with.
 
I have process time out
as an error
 
11:58 AM
not having to do anything with excel is beyond our power at this point
 
Paste site please.
 
00:00 - 12:0012:00 - 22:00

« first day (2879 days earlier)      last day (2079 days later) »