« first day (1690 days earlier)      last day (3473 days later) » 
04:00 - 19:0019:00 - 00:00

04:15
good mornin to all
05:08
Morning
good morning @Unihedron
Morning!
Morning!
05:35
Morning!
06:22
morning
Imma Hi
Imba Hi
06:58
Hi
gninrom
hello~!
Oh look who's here :D
Hey @LeeJeong
im still alive~! ;)
and I heed @Gemtastic's advice.. it was nice talking with my partner in a very honest manner.. we have more problems solved. i was scared of her before.. but i was surprised how calm our conversation was.
Happy to hear things are panning out nicely for you :)
07:11
thanks @wonderb0lt. you are from europe? what time is there now dude
@LeeJeong Yes. 9am
I bragged how much of good ears and advises the international community was to her.. and told her about the Bun Culture thingy
Morning
07:32
@Vogel612 o/
Can anybody take a look at this?
0
Q: Access roles from multiple applications

EratesI have a Glassfish 4.1 server running a custom Realm to authenticate via database and if that fails, via LDAP. This authentication works. I have 2 applications running next to each other. SSO is enabled and works. Default principle to role mapping is enabled for the database users. Each applicati...

07:48
morning!
crl
crl
Guys if I put some private variables in a servlet, are they global for each client or specific for each connection?
08:02
guys, are you aware that modal windows in IE are not supported anymore from version 10 and above?
hello~~~
08:17
@LeeJeong "modal windows"??
also... what does this have to do with java?
@crl The way I understood it... for each connection..
stuff global for each client should be stored in the session or in cookies.
modal browser window.. hehe.. just tryin to ask here about javascript. haha is @MadaraUchiha present?
get to the js room, will ya? also it's possible to create a DIY modal...
use an overlay over the body and the modal over that overlay
aye sir, im already in the JS room now. thanks for the suggestion~! :)
crl
crl
08:33
@Vogel612 I guess so, it's just a friend who made some nasty code with servlets and variables set and get from the doGet and doPost
Morning people!
I asked a question earlier and no response, it was a java ee 7 question
not sure if this is a dedicated chat for java se
anyways I'll ask it if you may be able to answer it
It is a dedicated chat for Java, period!
@ItachiUchiha ...... uhmm.
If someone know the answer to your question and wants to answer it, they will
I want to run an sql file on deploying of a java ee application
I have a roles table and want it to be populated with the necessary rows
I know that once the application is up and running I wont need to be so concerned about this but it keeps some interesting application uses in mind
crl
crl
08:48
@Vogel612 answer is servlets are not thread-safe, so it's a bad idea to reuse variables between the servlet methods
@ItachiUchiha how to remove git from a folder? I mean, after we execute 'git init', now i want to remove that tracking for that folder.. What is the command for this?
Remove the .git directory
@ItachiUchiha i can't see that file. I'm using ubuntu
It is a hidden directory
use $ ls -lrt
$ rm -rf .git
@ItachiUchiha Wow! you saved me today! thanks
09:02
yo
I got new glasses, they're fancy
Yo!
I want to see them
@ItachiUchiha why rt?...
I'd use ls -lA
@Vogel612 No special reasons, it just pop'd out of my brain
@Vogel612 What's the difference between those two? by the way, ItachiUchiha's one works well
A stands for "show all contents, except . and ..
l stands for long
09:08
@Vogel612 thank you
r reverses the order when sorting
t stands for: "sort by modification time"
for more info: man ls
@Vogel612 It says everything !
thx cpt. O
you now can use one of the most basic functions of a Linux-Based OS...
the man command
Congratulations!!!
09:28
OMFG... best bugreport ...
"Since upgrading to chrome 43.sth the dropdown on site ... is slow"
the crazy thing: I can repro...
the madness... the dropdown has 9k options..
@Vogel612 who wouldn't want to have options? :P
then again it instantly opens in ff 38 and chromium 41....
09:44
hi, one question
I have an array like this: ["one","two"], but I want one like this: "one", "two". How can I do that? If I do array.toString().replace("[", "").replace("]", "").trim() the result will be: "one, two"
AAAAAAAAAAAHHHHHHHHHH
you don t understand vogel?
09:59
what was the result after you wrote what you wrote?
"one, two" and not "one","two"
/javadoc array.replace
@sharongur Sorry, I never heard of that class. :(
/javadoc string.replace
@sharongur Sorry, I never heard of that class. :(
10:02
/javadoc String.replace
/javadoc String#replace
Which one do you mean? (type the number)
1. java.lang.String#replace(char, char)
2. java.lang.String#replace(CharSequence, CharSequence)
@sharongur Use Class#mehodName
ty @ItachiUchiha :)
anyway @Goldbones if thats always the case regardless of the array length, why not just get rid of the first and last cells of the array?
10:05
and if it gets a bit more complicated let us know and we'll try to ask
just get rid of cell number (0) and number (array.length)
to help*
10:28
/summon 19132
Grrr... Oakbot died
11:13
oakbot doesn't have summon AFAIK
/listcommands
no wai...
/help
Commands=====================
/about     Displays information about this bot.
/define    Displays word definitions from the dictionary.
/help      Displays this help message.
/http      Displays information about HTTP status codes and methods.
/javadoc   Displays class documentation from the Javadocs.
/shutdown  Terminates the bot (admins only).
/tag       Displays the description of a StackOverflow tag (acts like a Computer Science urban dictionary).
/urban     Retrieves definitions from urbandictionary.com
/wiki      Displays a one-box for a Wikipedia page.

Listeners====================
mention   Sends a reply message when someone mentions the bot's name.
there we go..
@TheLittleNaruto ^^
Thanks :-)
Can we summon it in other room ?
no clue... why ?
@TheLittleNaruto You'll have to ask @Michael manually.
I assume you're looking to have it join the Java and Android Era?
11:17
Just wanted to have a bot in J&E room.
Yea, Uni
@Unihedron ~prod: JCE
@Michael Heya :-) You're around ?
@Vogel612 k
ASR
ASR
I have a String like
content=" <?xml version='1.0' encoding='UTF-8'?>
	<root>
		<static-content>
			<![CDATA[<style type='text/css'>
				<div>
					my name is sudheer kumar, how are you?
				</div>
			]]>
		</static-content>
	</root> ";

Now I need only inside <div> content("my name is sudheer kumar, how are you?").
Parse it.
11:37
don't think of that String as a String..
because it isn't... it's an XML Document..
a String simply isn't an appropriate programmatic representation of an XML Document
@Vogel612 Parse it with regex.
 
1 hour later…
13:08
Nothing like wasting sick days, then when you actually need one not having any..classic.
@Dustiny What kind of companies limits your sick leaves?
As long as you have a medical certificate, we get infinite sick leaves here.
It's a salary job with 5 paid sick days, so I'm not sure if I could still get off sick but just not get paid for it, I dunno
A ton of places have that here
13:28
@Dustiny 5 sounds very little
we are limited to a non-certified number here as well, but I think it's around 15-20
13:39
Day 3 of Spring LDAP config hell. sigh
Anyone have any experience with it?
@Tavo Wow that's quite a bit
@Dustiny it's the British weather. Makes people sick :P
I hear that all the time.. Britain and their weather lol
Most people I know only have 5 as well here, but you're right it's very little
Nice, I only get 7 at my job, which I guess is more than some people get here in the states?
13:43
That makes a lot of sense though lol
My boss is pretty okay with it though, they're quite lenient since we're such a small company (8 of us)
I guess most places don't want to give out a ton because it could be abused and just used as vacation days since it's not certified with a doctors note
Especially in consulting it's just pure overhead
it's rarely abused. Although it's true that most people will use more than one day due to hangovers or tiredness
:P
@Dustiny consulting is exhausting. I like the thrill, but hours are far too long...
I decided to give up on it, too old
last consulting job, I was doing around 10-12 hours a day
Huge WTF in Java programming with URLs: (via @lukereeves) http://t.co/lW7XbKC9m0
3
"Not granted any authorities" - make it stahp!
HAMMAHTIME!
can anyone see @Unihedron link? It's broken for me
@Unihedron ERR_SPDY_PROTOCOL_ERROR
13:51
@Tavo yes I can
Interesting
@Unihedron ta
@Tavo Yikes, I'm at 8.5 hours a day but it's one of those things that's "If something comes up you will stay later and do it" so I've had a few 12 hour days
but I think the management is pretty good so we usually don't take on more than we can chew, and manage the time well
@Dustiny that's extremely rare, lucky you
13:55
Yeah I definitely got lucky there. The president and CEO is also our chief engineer which is pretty key.. so theres no management disconnect
fades
@Dustiny - pretty similar for my company. There's only roughly 15 of us, I work directly under the owner
How he hasn't fired me for taking so long on getting this server configured, I have no idea, but that's besides the point!
@Woodrow The ghost of woodrow strikes again
@Nexion Hehe you're too irreplaceable!
@Dustiny why is @Woodrow a ghost? O.o
I hope so!
I'm one of few that knows how to actually do some of what I'm working on. And I have this uncanny ability to find obscure API's that save our tails during crunch time.
14:01
@Nexion That's always a key ability! Or programming something in such an obscure language they basically HAVE to keep you around lol
@esme_louise He faded away into the void
@Dustiny I must learn this skill!
Now if I can just get LDAP to stop being such a finnicky little....
@Dustiny or you're the only one willing to put uo with 10 years of crap coding...
!!! I actually have Authorities! Just... not the right ones.
@Nexion That didn't make much sense. Maybe you meant: d, ^, π, !!
14:04
@Vogel612 Basically you want to rip your hair out everyday?
yes... I am not surprised my senpai is almost bald.
@Vogel612 - As long as he notice's you, that's all that counts, right?
hmm.... well. it depends
haha "NOTICE ME SENPAAAII"
sometimes I want to make changes not to be noticed by senpai..
like.. fixing the indentation of a file...
or... extracting a separate class for stuff
14:07
Cmd-Shift-F for life!
Ctrl for non-mac, but ya
@Nexion I was wondering what cmd was until I realized...mac..
Morning, Java!
SHIVERS
Morning @Michael
14:08
I much prefer developing on Mac, honestly.
@Nexion developing with java on mac... no...
Linux is pretty good, Windows is horrid.
What's wrong with developing java on a Mac?
scratch that: developing with java 6 & tomcat & garbled encodings on mac.... no
also apple and java....
Well I'm on Java 8, use Jetty locally, always use UTF-8, and my prod servers are on AWS EC2
and windows-style paths hardcoded throughout the codebase
@Nexion lucky you
14:09
I get the windows hatred, but don't entirely support it myself
As much as I love Macs, I hate OS X's mouse acceleration.
I'm so used to Windows' xD
I just stick with the track pad.
Used to it by now
Gestures are my friend.
@Michael Mouse provided with Mac sucks
Java 6, ant, tomcat, UTF-8 & CP-1252 & ISO-whatever and rawtyped java T.T
on a windows prod server...
@ItachiUchiha Agreed. xD
14:10
@Michael Yeah I can't get over the track pad weirdness myself...
@Michael Yeah that's my thing too, after using something for 15+ years I know all of the intricacies of it
@Vogel612 - gags you poor soul.
I'm actually thinking of buying a Windows computer for when I buy my next computer...
Does Java 6 even have enhanced for loops? Haha.
The only thing that sets Mac apart is its Unix command line.
Otherwise, Windows has better software.
@Nexion Yes.
14:12
Windows has better FREE software*
A lot of the Mac development software now is actually really solid, if you want to shell out the cash for it.
Which, in my case, means "Bossman! Will you buy this product for me?"
Well, I only develop in Java, so I have no need to use XCode or nothin'
@Michael True that. Windows is not made for development environment. It has better things as a home PC. Better Gaming support xD
gag XCode.
Plus,. admittedly, Office is pretty nice.
A bigthing with windows in my company is windows server and the fact that every single client uses windows
14:13
@ItachiUchiha Yes. Better gaming support is a plus for me. :D
Don't forget Gaming
I REALLY hope Windows 10 improves their CLI over all.
Office for Mac sucks.
Which I'm sure is Microsoft's intention...xD
@Dustiny - isn't that part of why you develop in Java, so it doesn't matter where you develop and run on? =P
@Nexion They were added in Java 7
14:15
@Nexion Yeah, but not everything we do is Java, just one of our clients is Java (my main one)
@Vogel612 Got it. Thanks.
But our biggest client (toronto transit commission and BP [largest nuclear power plant in the world]) are not
>.> why is this only getting some of my groups?
@Gemtastic Don't you have ATMs in Europe? xD
@Michael it's not called ATM...
14:17
What's it called?
but yes we have... they usually are sitting in banks..
in germany we call them "Geldautomat"
money-machine, basically.
lol money machine
no fancy acronym
Sounds like something a 4 year old would say. xD
but it's more expressive than ATM IMO...
14:18
haha
I <3 the name
ATM stands for "American transfer money", right?
nope? enlighten me then
Automated teller machine
AFAIR
!!wiki ATM
ATM or atm may refer to: Automated teller machine, a cash dispenser or cash machine Atmosphere (unit) or atm, a unit of atmospheric pressure == Computing == ATM (computer), a ZX Spectrum clone developed in Moscow in 1991 Adobe Type Manager, a computer program for managing fonts Alternating Turing machine, a model of computation used in theoretical computer science Asynchronous Transfer Mode, a telecommunications protocol used in networking == Organizations == ATM FA, a football club in Malaysia Abiding Truth Ministries, a nonprofit organization in Springfield, Massachusetts Angkatan Ten...
14:19
@ItachiUchiha Awww come on!
/wiki ATM
ATM or atm may refer to: Automated teller machine, a cash dispenser or cash machine Atmosphere (unit) or atm, a unit of atmospheric pressure == Computing == ATM (computer), a ZX Spectrum clone developed in Moscow in 1991 Adobe Type Manager, a computer program for managing fonts Alternating Turing machine, a model of computation used in theoretical computer science Asynchronous Transfer Mode, a telecommunications protocol used in networking == Organizations == ATM FA, a football club in Malaysia Abiding Truth Ministries, a nonprofit organization in Springfield, Massachusetts Angkatan Ten...
lel...
@Michael It just crossed my mind, after I pressed Enter :/
that's the same article, right?
also: see the third image? That's a german one..
OakBot > CapricaSix
14:20
it says "Bankautomat" ... basically... bank-machine
Btw, my friends in android room wanted to use Oakbot for their room with android API.
@Michael :)
@ItachiUchiha Yeah, I saw. Working on it.
You saw?
cc#d
Did someone ping you?
14:21
This room?

 Android Era with Kotlin and Java

Important: Read dos and don'ts here: androidera.github.io . Ma...
Ahh, yeah
Yeah, someone pinged me.
Ahh, alright!
I thought they can fork your repo and make the necessary changes. Why are you working on it?
@ItachiUchiha Huh? I thought they just want OakBot in their room?
Are they adding a /summon command?
/shutdown
Shutting down. See you later.
14:24
@Michael yes they do. No, they are not adding any commands as such.
OakBot Online.
I am not aware of any such /summon command
@ItachiUchiha Oh. Well, as it stands now, I have to add the room ID to a .properties file, then restart the bot.
Ahh I see
So they need a separate bot, if they need to add the android src files?
Hmm, no. I could probably add them to OakBot.
I would need to source code though.
14:26
because the jar structure is different?
No, because I wrote a custom Javadoc doclet to extract the Javadocs directly from the source code.
I can't extract the javadocs from the javadoc HTML page reliably, because the HTML code changes depending on many factors.
that seems kinda eeek-ish...
So you run this doclet against the source code and it generates a ZIP file, which contains a collection of XML files that contains the parsed javadoc information.
OakBot then uses that ZIP file as the source of its javadoc information.
Since Android is Java code, I don't see why I couldn't add it to OakBot.
@Michael I hope you are looking for this
I have a list of users inside of an ExpandableListView, for now I have 2 groups of list, now I'm trying to create an ArrayList that will add data as I click on the users, so if have 2 groups of users and I click on each one I should have 2 positions in my array, one for each group containing its respective users, how can I achieve that?
14:31
I gotta run. Catch ya later
@ItachiUchiha Cool, thanks. Cya!
This is silly. It's more work to get this running locally so I have to push to our QA box every time I make a tiny change..
Luckily I have it scripted down to only pressing 4 buttons do a deploy, but still.
@Nexion "only pressing 4 buttons"
umm... deploys for testing should be single-step...
It's 3 more than I want, I know =(
so.. you fire one script and there you go
14:39
I haven't resorted to that level of lazy yet. Mainly because I need to run scripts and commands over SSH, and not sure how to do that in one script.
For clarity, by 4 buttons I mean "Up-Enter change tab Up-Enter"
well...
you can run ssh commands by using... ssh...
surprising, right?
Hahahaha
Let me rephrase - I've been too lazy to write it.
> ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D
[bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R
[bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel:tunnel]
[user@]hostname [command]
14:41
@ItachiUchiha I don't think that's what I'm looking for. I don't see any of the android API classes!
Off to lunch. Bye Java!
14:59
@Michael I will have to consult someone who works with android.
I am completely out of ideas why this is failing so miserably....
My LDAP query for authentication is grabbing two of the six groups that it should.
15:18
I hate when you're using EJB's and you forget to throw an exception at a business layer that's very obscure and buried.. so the exception doesn't make it fully back to the client side
Spent an hour trying to figure out why my error dialog box wasn't popping up lol
15:47
Kind of a noob mistake, but its annoying to find
Least you havent spend 20+ hours on the same bug =P
Haha I have before
I spent 2 months on the same bug last summer at a different job. I've mentioned this a few times in here, but it was a guy's code he wrote his ph.d on
he had varibles like: xxxyz, xxyyz, xyyzz, xxxyzz, xxyzyz, etc lol. Mistakenly put an xxxyzz instead of xxxyyz
I wasn't even happy when I found that bug either. And it wasnt runtime breaking, but functionality breaking and my boss didn't allow me to install a debugger onto the supercomputer network so... basically I wanted to die everyday
How do I test if a Stream possesses an infinitely streaming property?
I'm thinking .skip() a large arbitrary value, then .limit(2) and assert that .count() == 2
Do you know a nice guide for how you package a jar with a (postgreSQL) database?
I realized I only know how to deploy MySQL on tomcat with a war :P
16:23
@unihedron if I want to delete a message of mine, do I have to flag it for moderator? or can I just ask you to do it
Not really sure on the protocol
Also... I hate it when I don't get enough information about something and I have to look stupid asking >_<
lol I feel you there
fge
fge
Moo
@Gemtastic the only stupid questions are the ones you don't ask
@fge Well, there's an API I should know of, but noone ever did and now it's being assumed I know exactly what it is :S
fge
fge
16:44
And how does that make it stupid to ask a question about it?
16:57
G'morning
@Gemtastic Stop with that attitude, really.
Me and people much smarter than me have made idiots of themselves in front of some very big names, and we really don't give a flying fuck.
@MadaraUchiha I've got LOTS of stupid questions for you :D
Friend of mine was told to go and learn how to use google by Brendan Eich (author of JavaScript)
Who cares
Well, I am learning how to use google :P
Also someone pinged me here earlier today
Was at a conference
fge
fge
It wasn't me
:p
<-- so busy with work that he has only done minimal work on his projects for nearly two months
17:02
It wasn't me either. I've been too busy today to even come here passed breakfast :P
I never claimed it was lol
@LeeJeong did you manage?
@Unihedron Didn't I tell you about that like ages ago?
17:14
Anyone good with LDAP search queries?
fge
fge
Uhm, well, the vocabulary is rather simple
What's the problem?
17:34
@fge is there a way to know the correct parameters to use for sql server connection?? i always run into this problem..
My LDAP group-search-filter is only returning one Group ou
fge
fge
@LeeJeong meh, that depends entirely on the RDBMS engine, there's no magic bullet
@Nexion and your query is...?
@fge MS SQL Server
I've tried many. Right now I have `(|(|(|(objectClass=*)(objectClass=groupOfUniqueNames))
(objectClass=groupOfNames))(objectClass=group))`
I've also tried just objectClass=*
I clearly have multiple groups..
fge
fge
Err wait
Are you aware that you can do (|(cond1)(cond2)(cond3)(etc))?
17:41
Ah, neat. Let me try that
fge
fge
Also, this query as far as I can see would basically return everything the DN you connect with is allowed to see
Though, the objectClass=* should take care of that.
fge
fge
Note: "allowed to see"
Are there permissions for different OU's for each DN?
fge
fge
Are you sure you connect with a DN which has sufficient privileges to return all you want?
Erm, I can't recall
17:41
It's the admin account, I would assume so.
fge
fge
But you do have a credential/authorization system
I have specific credentials that I log in with to access LDAP, yes.
If that's what you mean
fge
fge
Gee, it's been years since I've been doing anything LDAP
My memory is way too rusty
http://www.commitstrip.com/en/2015/06/09/deadlines/
CommitStrip - Blog relating the daily life of web agencies developers
“Deadlines”
CommitStrip
1433871562
@fge you have any idea with MSSQL? every MS products is such a headache
fge
fge
17:45
Sorry I don't
I avoid anything MS
But then a quick search about "sql server jdbc url" should give you hints
Logged in as the rootDN, for some reason can't see the other groups...
But I can in Apache Directory studio...
fge
fge
18:09
@Nexion if you use OpenLDAP try and use the ldapsearch command
man it
That's what I'm doing right now.
fge
fge
I recall somehow that there is a flag which you should set in order to retrieve entries "out of" your own namespace or something
Yeah, when I'm doing a search all I'm getting is the element at the base that I'm specifying
fge
fge
Sorry, can't help you more, have to work
04:00 - 19:0019:00 - 00:00

« first day (1690 days earlier)      last day (3473 days later) »