« first day (1675 days earlier)      last day (3267 days later) » 
00:00 - 14:0014:00 - 00:00

12:32 AM
night
Anyone know why everytime I add a new Box to my grid in Javafx it messes up allignment of other things (buttons, text fields etc)
 
 
1 hour later…
2:02 AM
hi all
anybody there
need of an emergency help with JPA relationships
 
2:29 AM
o/
 
 
3 hours later…
5:46 AM
@0x2B show me your coddeeeeee....
 
 
2 hours later…
7:20 AM
hi im noob
 
can rename mysql table while inserting data to that?
 
@hossein write to statements in a single transaction
to>>> two
 
how can i do that?
 
set auto commit to false at the beginning
@hossein simple this > stackoverflow.com/q/6614544/4506140
 
 
1 hour later…
fge
8:33 AM
@hossein no; one operation is a DDL operation and the other is a DML operation
 
9:06 AM
Morning
 
Mooning
0
A: How do we quantify whether or not to promote this site from beta to production?

UnihedronI actually wouldn't mind if the site stays in Beta forever. Honestly, if this site was to make it into production, what kind of scope would it carry to make it valuable for non-SE members (since this is about testing the Stack Exchange site software and its limits / capabilities)? What site desig...

 
good morning
 
ASR
morning
 
fge
Moo
 
9:46 AM
~JavaBot at your service
 
**test
 
@Vogel612 ~response
 
very well
**tell Unihedron there is a new pull request
hmm
I think I killed the tell commands..
 
**test
 
@ItachiUchiha ~response
 
10:04 AM
Probably we're catching an ExceptionInInitializer Error in the tell-command
 
fge
@Vogel612 I have submitted comments on the Javabot PR -- I had some idle time :p
 
@Unihedron Should probably be unpinned
 
@fge Where were you yesterday? We had a (not so fun filled) hangout :P
 
@ItachiUchiha I finally won my arm wrestling match with passport
Was fun for me :P
 
10:20 AM
o/
 
@MadaraUchiha o_O ?
I thought you were struggling with NodeJS
 
@MadaraUchiha Ahh, I thought you are talking about Passport :P
!! wiki passport
 
A passport is a travel document, usually issued by a country's government, that certifies the identity and nationality of its holder for the purpose of international travel. Standard passports contain the holder's name, place and date of birth, photograph, signature, and other identifying information. Passports are moving towards including biometric information embedded in a microchip embedded in the document, making them machine-readable and difficult to counterfeit. A passport specifies nationality, but not necessarily citizenship or the place of residence of the passport holder. A passport holder...
 
fge
@ItachiUchiha sorry, I did see it but I was busy with work -- again
 
10:30 AM
@MadaraUchiha Hehe, I forgot... completed :)
 
derp moment when you write a for loop with int i in it... in JavaScript...
 
fge
Untyped languages suck :p
 
^^ that
 
It's... interesting
 
fge
Well, not that in Java for loops are limited to primitive values either; but at least your variables are typed, so you know what happens :p
 
10:33 AM
Also... wut, why is < an unexpected character in a for loop O.o
 
fge
Because JS's for statement doesn't work the same as Java's?
<-- doesn't actually know, just a hunch
 
@Gemtastic you must be doing something wrong...
 
Well, yes, but that error message...
 
fge
Well, show it -- and the relevant code as well
I'm not any ESPer, I can't guess :p
 
I don't want you guys to solve it, I just wanted to express my wtf moment
;)
 
10:37 AM
@fge I am not sure, if everyone would agree with you. If this was the case, Apple wouldn't have taken a turn to Swift ;)
 
Apple is apple
 
@deadlydragon00 hi, i was able to fixed that issue related to my html login page. I just turned into JSP and i had few mistakes in my Filter. Now it's working fine.
 
nice, but you can actually use html if you want, as long you do not use those namespace
 
@CrazyNinja AAAAHHHHHHH
~screams in terror JSP ~begins to uncontrollably sob
 
Hmm...
Well... now I know why it isn't working...
 
10:42 AM
@deadlydragon00 I feel better to stick to one favor, without mixing htmls and JSPs... anyways, thanks for your time on that day! appreciate it
Hi everybody!
I know, kind of awkward to talk about dead technologies here... (which i deal)
so, keep in low profile :D
 
for me it is a messy technology
 
fge
@ItachiUchiha I am perfectly aware of that fact :) This is my personal opinion ;) And I deal with a language which can be both to boot
(in my job)
 
retrospectives -_- ..... (drawbacks in agile :P)
 
fge
@CrazyNinja condolences; and it is a fact that "old" technologies are given the boot slowly but surely, but it is also a fact that this kick is somewhat overenthusiastic and doesn't account for the full use case of the old dog :) JSP however is phased out of the mainstream for good reasons
Primary example where the old dog still has tricks over the new one: SQL vs NoSQL; see the CAP theorem
But that's offtopic
 
thanks for that fact which i was not aware of
^ CAP theorem
 
fge
10:50 AM
Now, a quizz which has nothing to do with Java or even CS in general
 
𝐀𝐧𝐝𝐫𝐨𝐒𝐝 𝐒𝐬 𝐧𝐨𝐭 π‰πšπ―πš <---- WHAT HAPPEN TO THIS
 
fge
The Planck constant is named "h"; what does "h" stand for?
 
@deadlydragon00 Uni happened :P
 
18 hours ago, by Unihedron
// made "Android is not Java" bold in Unicode: 𝐀𝐧𝐝𝐫𝐨𝐒𝐝 𝐒𝐬 𝐧𝐨𝐭 π‰πšπ―πš
// very important update do NOT revert
 
oh
@fge h: is just the namespace
 
fge
10:51 AM
@deadlydragon00 no
 
no big deal
 
fge
@Vogel612 should have an easier time here since he's German; and so was Planck
 
@fge ehh? why Planck made this constant h???
I have no idea
 
fge
@Vogel612 yes, h is (big hint) the first letter of a German word
 
Hitler :P
 
fge
10:53 AM
Bonus question: what was Planck working on at the time? :p (OK, this one will probably be hard to find)
@ItachiUchiha no; that happened in the beginning of the 20th century
1905 to be exact
 
@ItachiUchiha that's Austrian...
 
fge
Oh wait, no, that's earlier than that
My mistake; it was at the end of the 19th century
But this constant, as of today, not only permeates the world of quantum physics as a whole, but also its limits
(this, however, was discovered a loooong time after this constant was formalized)
 
> h is for the German word Hilfsgrösse
 
fge
No
It's more simple than that
That is the explanation he gave when he presented the paper
Another hint: Planck didn't believe in the atom
OK, I'll let @Vogel612 translate
h stands for "hilfe"
 
ermagherd... Hilfsgröße
that's a crap word to translate.
well Hilfs is coming from Hilfe, which means help
 
fge
11:02 AM
@Vogel612 exactly
 
it's connected with Größe, which usually means Size / Greatness, but in this case I'd say constant would fit nicer
soo. basically: helper constant
 
fge
Not really
Recall that Planck did not believe in the atom
In fact he was working on the radial spectrum of dark bodies; and he believed, unlike Boltzmann, that entropy was a fundamental physic property of matter (Boltzmann believed in the atom)
 
'sup java folks!
 
good afternoon all
 
fge
And he believed that property to be a constant, linear value
However, the formula he found for explaining the observed spectrum implied quanta of energy
 
11:05 AM
Question. How can i create a template from a project (Eclipse)? Cant quite find what i need on Google.
 
fge
He didn't believe in that; espilon == h * frequency
But that was the truth
His formula worked; he didn't understand why
And he, himself, forgot about it; the physicist who dug up his paper to explain the photoelectric effect was none other than a certain Albert Einstein
And since then, h has permeated all of quantum mechanics (the Heisenberg indetermination principle being one example)
Not bad for a constant he didn't believe in :p
 
quantum mechanics is black magic.
 
@Worf no... just like regex isn't
but it's waayy more complicated than regex..
(in numbers that is)
 
@Vogel612 not sure
:D
 
anyways @fge I addressed all your comments...
 
11:14 AM
so guys, someone knowing ddd here?. say you have a class User. how would you implement its equals method?
 
depends on your requirements
probably you should implement comparable and leave equals to your IDE
just like hashCode, btw.
 
wat? i'm not sure if it should be return this.id === other.id or compare also the fields
i have the feeling that [insert languages here] need a .is() method (that is not reference equality)
 
.equals()
"hi".equals("hi")
true
 
"hi" == "hi"
 
true
 
11:19 AM
but only because all hardcoded strings are interned in the JVM
 
equals makes me think that values are being compared, not the identity
 
@Worf Identity is essentially reference equality when you work with objects in java?!
 
new User(10, 'Wes').is(new User(10, 'Worf')
new User(10, 'Wes') != (new User(10, 'Worf')
new User(10, 'Wes').equals(new User(10, 'Wes')
 
First would be false, second and third would be true.
 
all those evaluate to true
 
11:21 AM
wat
 
ADG
@Unihedron minor help. I learnt git from bash as you said not to use Egit
 
No, the first shouldn't because it's comparing different objects.
 
fge
@Worf no it isn't
 
@Unihedron are you assuming that based on what?
 
ADG
now I need to upload my changes to the github repo from the commit made.
 
11:22 AM
maybe because of the new?
 
ADG
I did git commit -m "message"
 
because afaik java doesn't have a .is method
 
@Worf I'm not assuming. You constructed the first User, then the second - if anything makes them equal, that would be black magic
 
@ADG did you already add the remote?
 
ADG
and now I need to do something like :
 
11:22 AM
@Unihedron you are talking of reference equality
 
ADG
git push -u origin
 
fge
It is simply a discipline where you have to fully integrate what Galileo said in the 15th century: the observable world can be explained by laws which contradict the observation
 
ADG
but some error happens
 
@Worf I'm talking about identity.
!!> [1, 2, 3] === [1, 2, 3]
 
@Unihedron false
 
11:23 AM
^ see, not identical
 
fge
But even with quantum physics, "contradict" here takes a new meaning
 
ADG
@Vogel612 yes I have made a remote
 
@ADG soo what's the problem?
 
ADG
@Vogel612 is git push -u origin correct?
DO you need to add id and password everytime?
 
no
 
ADG
11:24 AM
it says something like:
 
Did you ever configure global.user variables in git?
 
ADG
"warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

In Git 2.0, Git will default to the more conservative 'simple'
@Unihedron nope I just learnt git for beginers
 
@ADG What (on Earth) is "git for beginers"?
 
ADG
@Unihedron online tutorials
 
Link.
 
11:26 AM
public boolean is(object other){
	return other instanceof self && this.id.equals(other.id);
}

public boolean equals(object oother){
	if(other instanceof self){
		return this.name.equals(other.name) && this.surname.equals(other.surname);
	} return false;
}
forget about how java works for a second
 
ADG
@Unihedron why don't you teach what I need to do?
 
@ADG Because you should already had known.
This is beyond fundamental...
 
ADG
[sorry for the rudeness if any had crept]
@Unihedron so maybe I should look some other place to learn git :(
 
got my point?
 
ADG
11:28 AM
@Unihedron thanks uni :D
 
@Worf No, and I assume in order to get your point I have to throw away any kind of common sense I would use to compose a proper program that works.
 
@Unihedron now now
 
That's just an assumption :P
3 mins ago, by Worf
public boolean is(object other){
	return other instanceof self && this.id.equals(other.id);
}

public boolean equals(object oother){
	if(other instanceof self){
		return this.name.equals(other.name) && this.surname.equals(other.surname);
	} return false;
}
 
wtf is that even supposed to be?
 
@Worf: ^ This doesn't really make sense, if that's what you mean.
 
11:30 AM
instanceof self....
 
i don't know java.
 
Try writing pseudocode that isn't based on Java, that would help.
(Greatly...)
 
@Unihedron i told you once that you are a brilliant and talented kid but closed minds don't really go anywhere. especially if they are deeply unpleasant too
 
@Vogel612 I'm actually cloning that just now.
 
11:32 AM
hmm..
btw it seems that the response of a room changes when it becomes idle...
 
Why <br/><br/> instead of <p>?
 
and Junior hiccoughs on it
because I don't usually write that much HTML into javadoc.
linebreaks, tt, i, and that's it.
 
Isn't <tt> the shorthand for <code>?
 
yes.
but it works with multiline, which isn't true for {@code ...}
 
{@code
    foo
    bar
    foobar!
}
^ What do you mean? This works...
 
11:35 AM
<P> is for paragraph and <br/> is for next line
Minecraft is very creep at night if you have headphone!
 
... I have headphones and it really isn't creepy at all...
How exactly are you playing?
 
full sound
 
Did you ever build a shelter / craft a weapon / armor / fight things instead of dying to them?
 
with coffee
yeah
i watch at youtube
i never fight to zombie yey
 
@Unihedron I never got the point of minecraft
I got bored after 15 minutes of playing
 
11:44 AM
@MadaraUchiha I don't blame you. Me neither.
 
ADG
@Unihedron I can't find the relevant thing in the documentation
 
Ok, I'll just tell you directly then
unihedron@awesomecomputer:~$ git config user.name
Unihedron
unihedron@awesomecomputer:~$ git config --list
color.ui=auto
color.branch=auto
color.status=auto
user.email=unihedron@unihedro.com
user.name=Unihedron
credential.helper=cache --timeout=3600
unihedron@awesomecomputer:~$ git config --global user.name "Awesome Hacker"
unihedron@awesomecomputer:~$ git config --global user.email "wsm@hck.r"
unihedron@awesomecomputer:~$ git config --list
color.ui=auto
color.branch=auto
color.status=auto
user.email=wsm@hck.r
See?
(You can also edit ~/.gitconfig, but that's not as fun)
 
ADG
LOL
@Unihedron thanks
everything solved
 
12:02 PM
awesome
 
fork feeding :D
 
IIRC, that is on page one on every "install git" tutorial...
^ Since you poked me through the PR, here's how I write Javadocs @Vog
 
12:18 PM
hmm... bbl rewriting all the javadoc I can find in the bot
 
...
Yo Silver simul Chess960 20m+10s::10m anyone interested?
 
Question. When you create a Java EE project in Eclipse, how do you create a template of that project for quickly creating and setting up future projects of same kind?
 
Sorry, I don't use Eclipse, maybe someone else in thie room knows.
 
fge
How to NOT design an API: make several classes bear the same name, but in different packages :/
~sonarqube--
 
@Unihedron what do you use?
 
12:25 PM
@CristianMatthiasAmbæk intellij
 
@Unihedron Tried that, but wasnt very impressed all in all i must admit.
 
File [/axis2-web/listSingleService.jsp] not found
why not load wsdl if the url is correct!
 
@MirkoCianfarani hi localhost
We meet again.
 
fge
twitch File twitch
 
XD @Unihedron trying to execute firtWebService
 
12:36 PM
@Unihedron do you use community or ultimate edition of Intellij?
 
@CristianMatthiasAmbæk ultimate
 
Hi all, just a quick question, I'm about to start learning ANTLR for a project at work but I'm worried about my lack of Java skills. Can I get by with just cursory knowledge of the language as I haven't touched it in more than 4 years?
Thanks
 
but localhost not load wsdl
 
@Nobilis no
 
in EclipseIde exist
 
12:37 PM
@Unihedron In ultimate edition do you know how you get Java SE support? I see this no-where in projects.
 
@CristianMatthiasAmbæk Load the module.
 
Can't I just focus on building grammars in ANTLR and debugging them within ANTLR? I thought Java just what powers the framework. All the examples I've looked at haven't involved much Java, maybe the bare minimum to test the grammar which is fine.
 
fge
1:01 PM
@Nobilis Anltr grammars are not written in Java to begin with; they generate Java code however
 
Yes, that's why I'd like to think I'll be able to get away without much Java knowledge and only occasionally would have to look at the generated Java code for debugging purpose.
I want to focus entirely on defining grammars and whatever subtlety comes with that (resolving ambiguity etc.)
 
fge
Well then you can try my own project for that
 
Oh, cool, what is that?
 
fge
It is very different from antlr, though, since you define your grammars entirely in Java
The difference is what you expect to produce out of the parsing
@Nobilis this; however I do realize that at the moment it lacks documentation :(
 
Wouldn't I need good Java skills for that though which is what I wanted to get away from?

_This package allows you to write grammars entirely in Java. _
 
fge
1:06 PM
Well, you just have to define rules
Gee, I do really need to document :/
But basically that's very easy
 
ADG
how to make this:
 
ADG
into an array?
 
ADG
thousand numbers.
@Unihedron I cannot type thousand commas
 
1:09 PM
Thanks, I'll keep that in mind, but I think the projects expects a grammar definition in ANTLR so I might need to restrict myself to just that. But I've bookmarked grappa and will have a look at the projects using it, might come in handy elsewhere.
 
 Do not dump code, use Pastie.org, GitHub gists or Hastebin.com
 
ADG
@MirkoCianfarani sorry
 
add also pastebin.com
lol... was a suggest... nothing @ADG
 
ADG
@MirkoCianfarani would you help as to how to make it into an array
 
@MirkoCianfarani We just deleted that yesterday...
in Do not dump code, use Pastie.org, GitHub gists or Hastebin.com, yesterday, by Unihedron
-pastebin +hastebin plz poke me if you feel we should revert this
 
1:11 PM
(y)
shit not work emoticion XD
 
1:26 PM
i' m a java developer.
necessary to know about groovy grails
 
Cool.
 
1:38 PM
Is the room description supposed to be as it is right now? lol
"...And no, 𝐀𝐧𝐝𝐫𝐨𝐒𝐝 𝐒𝐬 𝐧𝐨𝐭 π‰πšπ―πš... "
 
wat
test test test test
Different unicode?
 
21 hours ago, by Unihedron
// made "Android is not Java" bold in Unicode: 𝐀𝐧𝐝𝐫𝐨𝐒𝐝 𝐒𝐬 𝐧𝐨𝐭 π‰πšπ―πš
// very important update do NOT revert
 
fge
1:53 PM
@MadaraUchiha different Unicode what?
 
So what you're saying, is that it's not supposed to just be non-descriptive boxes? Because that's what it looks like on my browser
 
@fge look at room description
 
fge
I saw
No idea how this was done but then I don't know how "CSS aware" the room topics are
 
@fge They are not.
 
fge
Then here's a mystery for you to solve, right? :p
<-- not the one who made it
 
1:56 PM
Lol so it is one of those things, that we're going to get more people asking Android questions, and it's just there so we can make them feel stupid?
 
1d6a8 𝚨
 
"OH you didn't see the unicode warning?, what are you, dumb?"
 
fge
@MadaraUchiha see, you solved it fast :p
@Dustiny certainly not; it is just to make Android devs aware of the fact than when asking questions about Android they should stick to problems which relates purely to the Java language/JRE
But then Android is retarted when it comes to the Java language alone
This is 2015 and Androind still doesn't have try-with-resources or multicatch as standard, for instance
 
@fge they have
 
fge
And that's without going into the missing APIs
@deadlydragon00 as standard? Link, please; also, link to AutoCloseable
 
00:00 - 14:0014:00 - 00:00

« first day (1675 days earlier)      last day (3267 days later) »