« first day (1615 days earlier)      last day (3328 days later) » 
03:00 - 18:0018:00 - 23:00

3:59 AM
Oh so quiet~
 
4:28 AM
Morning
 
Morning
I'm using a debugger.
 
I should learn how to do that :P
 
IDE debugger?
 
4:45 AM
Well, I've just never used it
I read the errormessages written to console :P
 
Thats bad!
 
Well, it's worked so far
 
It makes yur life easy
 
But yeah, as I said; I should probably learn to use the debugger
 
5:02 AM
well you should..
Are you still lurking with Netbeans?
 
yup
I keep ending up in int despite trying intelliJ
 
I have fallen in <3 with IntelliJ. Though, I am still trying to learn the Keyboard shortcuts, I think it is really intelli-gent ;)
 
It might be, I just didn't fall in love with it on my own
 
I hard to try pretty hard myself ;)
 
yeah. I might fall in love with it when I get to use it free of stress
 
5:37 AM
@ItachiUchiha Good Morning ?
I copied my certified jar it to one of our customer servers and it is being prevented from running by java security. Is there anything about the signing or manifest that is specific to the development server
 
@Second icon and title on the windows now ;P
 
fge
6:12 AM
Moo
 
6:49 AM
Awesome! GitHub just approved my discount request.
@ItachiUchiha There's an Eclipse keymap, which you should use if you're used to eclipse. :p
 
fge
Discount request?
 
@uni I am aware of it..
 
> Powerup get!
Hey (me), we have awesome news...

We've upgraded you to a Micro plan, which will be free for the next two years. After that, you'll get an email saying that your coupon is expiring. You can reapply for another coupon if you still have academic status. We don't have any collaboration limits, so any group projects you may encounter can be hosted via your account. If you need help getting started with Git and GitHub, check out:

https://help.github.com/articles/what-are-other-good-resources-for-learning-git-and-github
That's really cool actually. xD
 
7:27 AM
@Unihedro Congrats :D
 
8:16 AM
@Gemtastic that's nice, but did you push it?
 
@SecondRikudo Push what? Yes it should be on github if it's the title you mean
 
Great :)
 
I also set the icon; simple enough with the logo :P
 
heh
Your commit messages are not detailed enough.
> Fixed the login, made a temporary fix with hardcoded admin password on
But I see changes done to the search as well.
Do you use the IDE's git abilities?
 
@SecondRikudo It's because I don't remember everything I did :P
 
8:19 AM
@Gemtastic But that's why you have tools to help you!
 
@SecondRikudo No I'm using the command line
 
Great
Before you commit
git status
Shows all files that were changed.
 
I always do git status before and after git add
 
I like to also call git diff to explicitly see the changes, if I can't remember.
If you've done a lot of work, and haven't committed, nothing says you need to commit everything at once!
git add file to add just one file
git add -p file to add just specific changes in that one file.
 
@SecondRikudo I know, but it's the classic work work work and Stress stress stress
I just push it so I can shift 'tween the laptop and the stationary atm
 
8:21 AM
@Gemtastic not knowing what you worked on yesterday doesn't contribute to stress stress stress :D
 
@SecondRikudo Wait, did you use "doesn't" as you intended now?
I leave notes to myself in the code
 
@Gemtastic "not knowing doesn't help", yeah.
 
And I have a txt file that tells me where I was
 
@Gemtastic That's good, but that should be your commit log.
a txt file and notes in your code should be for things you still have left to do
 
@SecondRikudo that sounds better
@SecondRikudo Yes, and that's what I use it for.
 
8:23 AM
@Gemtastic But how do you know what was already done? :)
 
I will be better at this when I do my android project
@SecondRikudo Nothing's completely done now I think
 
If you're like me, you go into a 2-6 hours spree of coding and just forget to commit in the middle, just code code code
 
@SecondRikudo That's what I do.
I get completely sucked into it
 
Which is fine, because there are tools to help you with keeping your log organized
 
To @fge's dismay yesterday as I was coding when he had some time to tutor me
 
8:25 AM
Have a look at the commit log here
 
also, hilariously I get to school on the first day we'll have a written test XD
I know nothing about android
 
I downloaded android studios. That's it
 
I'm gonna see if my classmates wants to give me a crash course of the basics.
 
8:26 AM
I think just 1 or 2 are actual new code written
The other 11-12 are me breaking down two commits labeled "LOW BATTERY, EMERGENCY COMMIT"
 
good morning ;)
 
(Rewrote history there)
@Vogel612 meowrning
Although I can forgive you in this case @Gemtastic
All of these methodologies we employ (good commit messages, tests, strong code structure, etc) are there to keep the time-to-feature curve as linear as possible, and as shallow as possible
You don't really care about that (yet)
 
I do, but I don't have the time to implement it.
I'm so stressed D;
But it's fun so it's ok
I just feel crappy about missing the deadline
 
@Gemtastic vOv don't worry about it too much
 
I've also learned so much I just wanna scrap it and start over XD
 
8:38 AM
@Gemtastic that's a fun stage to be in
I remember that stage
Where you start a project, and want to scrap it within a week because you know things have changed, and now you know better.
 
"A coder’s adrenalin rush"
 
@Unihedro :D exactly
You know shit is serious when the battery light starts turning on and off
 
@SecondRikudo On my nokia, it means that I have about 12 hours left before phone goes down
:P
 
I have a nokia brick. I like bragging about it having over 5000 hours of standby time, but I really only use my Android now.
 
Chuck Norris once roundhouse kicked a nokia. It gained infinite acceleration and got frozen in time for all eternity.
3
 
8:48 AM
so it didn't break...hmm....typical
 
@SecondRikudo Agreed :)
The good thing about this course is that it's an introduction to android. Requirements: Make an app that uses at least one of the phone's sensors.
 
@SecondRikudo there's still people calling it from time to time.. but nobody ever picks up
 
It can be as simple as you can make it
I could start building on it today even. I'm not gonna, but as soon as my carshop is done I'm digging into it deep!
Read ALL the tutorials!
And I have an old slow android phone. I could try making something using its sensors...
(Since emulators apparently are bad at emulating the sensors... I don't know but that's what they said 10min ago)
 
Hi, any Lucene / Elasticsearch users here? Will this query return the results based on boolean matching or on boolean matching and similarity? ((user:1) AND ("python")) OR ("python" AND visible:true AND (NOT user:1))
 
fge
Uh
I don't undertsand SQALE very well
 
9:06 AM
Elasticsearch sucks
 
written test, score: 0
I could make some wild guesses on five questions :')
 
@Gemtastic You got the result already?
 
@SecondRikudo I'm just pretty sure I'm wrong
 
:(
 
fge
@martynas well, what does the documentation say?
 
9:15 AM
Unless android studio uses Maven and Gradle, then I got that one right
 
not much
alright so
it looks like it returns results based on score :)
 
fge
9:58 AM
Uh
You can use strictfp on interfaces??
 
I don't think so...
 
fge
OK, so Wikipedia is wrong
You can on classes, however, which I didn't kno
s,$,w,
 
Dev
i have two arraylist list1 and list2, both having some common element, i want to remove list2 elements from list1. and i am using list1.removeall(list2). but its not working
can anyone guide?
 
fge
@Dev it means that your elements don't correctly implement .equals()/.hashCode()
 
Dev
then how to resolve it
 
10:03 AM
@Dev Tell us more than "its not working".
 
fge
Well, implement .equals() and .hashCode()
 
Dev
well i tried to add my list in collection like
else if(dbUrl.equalsIgnoreCase("img")){
String _imgUrl = xpp.getAttributeValue(null, "url");
image_List.add(_imgUrl);
Collections.addAll(image_List);
db_connector.InsertImages(_imgUrl);
}
 
fge
Eh, strings?
 
Dev
yup
 
fge
Then you are doing something else wrong
 
10:04 AM
@fge This is the issue 60% of the time, but contextually that's not the problem.
 
fge
Also, this code does not compile
Oh, err
Yes it does but it won't do anything
--> Collections.addAll() <--- here
That adds nothing to image_List
 
You just realized? xD
 
Is this the secret lobby where all the cool guys attending to?
 
@MuratK. No.
The "cool guys" are at the Lounge.
Serious business and constructive conversations here. :)
 
fge
10:07 AM
@MuratK. define "cool"
 
No idea, I just found out there is a chat on stackoverflow :D
 
Welcome aboard. :P
1 message moved to Trash
 
fge
Well, I'm not cool, I'm old :p
 
Where is the lounge?
 
@Dev the addAll() calls add nothing to the lists. The first parameter is the collection where you want to add stuff, followed by the added items - and you have only one parameter. If you want to add the items of a collection to another, simply use collection1.addAll(collection2).
 
fge
10:28 AM
Yay! Another star for throwing-lambdas!
 
Congrats!
 
10:54 AM
OMG Doclets are so awesome!!!!!!
 
fge
11:08 AM
Oh?
 
Also, I can't believe I totally missed the answer during my searches yesterday, tools.jar is not loaded in javac by default, with Maven I'd have to use this.
 
fge
Eeek
30 lines of XML for that!
~maven--
 
<arg>-doclet com.unihedro.artefact.jchatexchange.doclets.TestDoclet</arg><arg>-docletpath .</arg>
Ugh, I'm starting to build up the rage from having to deal with maven files again. xD
Arghhh...!!!
 
fge
11:27 AM
Switch to gradle
Problem solved
PostgreSQL rocks
 
fge
11:53 AM
Hehe
Making excellent progress on my work, and having the time to help future Sonar language developers to boot
 
12:19 PM
Hello to all
 
@Unihedro lolz, they will harass the new guy :P
@MuratK. Be Careful!!
 
@ItachiUchiha That's what all "cool guys" do, they bully people because they feel insecure.
I hate to label them, but hey.
 
12:36 PM
hi everyone
gd evn to all
i want to find the highest salary in my table
 
fge
Good for you :p
 
the query i have written like this
select * from (select * ,rownum rn from (select salary from Employee1 order by salary desc))sq where sq.rn=1
 
Thanks for sharing.
 
fge
@Cool eh? That's overly complicated
 
FROM keyword not found where expected
 
fge
12:38 PM
select max(salary) from Employee1
 
fge
Job done
 
@ItachiUchiha I am :o
 
fge
Even select disctinct max(salary) from employee1
 
i want to display all the values
 
fge
12:39 PM
After all, table names are case insensitive by default
All the values of WHAT?
 
table
 
fge
There is only one max salary, right?
 
that is fine fge it is working
 
fge
Please step back and state the problem, not what you understood of it since the latter seems to be incomplete
 
i have name and address
also
 
12:40 PM
28 secs ago, by Cool
that is fine fge it is working
 
to retrive
 
fge
I knew it... You didn't tell the whole story :p
Also, just for the record, why ask this in a Java channel since this is a pure SQL problem as far as I can see?
 
yes
for that only i was trying using subquery
select * from (select * ,rownum rn from (select salary from Employee1 order by salary desc))sq where sq.rn=1
 
fge
DO NOT use rownum
That's useless here
Also, what if several employees have the same salary?
(highest)
 
i am doing a small query
not implementing in real time just for self study
 
fge
12:46 PM
select name, address from employee1 where salary = (select max(salary) from employee1)
 
What are you trying to accomplish?
 
fge
No need for such hacks as the row number provided by some db implementations or even limit
The query above will return the names and addresses of all employees whose salary is the highest
And you are of course guaranteed to have one entry
You may have more
Also, uhm
(i must look like a $.02 advertiser, I don't know why)
 
Welcome to season one of JooQ Solves Everything!
 
fge
@Sword "you should do this anyway" -- NOT
The default behaviour makes sense; however it is not documented, and that's a pity
 
1:00 PM
yes @fge
it is giving the highest salary
 
this looks awesome.. watch in either 720 or 1080p 60fps
 
thanks @fge
 
fge
@Unihedro anything SQL based, 95+% of it, certainly
 
@Sword Meh. xD
 
select * from Employee1 order by salary desc where rownum=1
 
fge
1:07 PM
Argh, no!
Don't use rownum damnit
 
why it is telling command not properly end
select * from employee1 where rownum=1
 
fge
OK, sorry but that will be yelling in its purest form
 
then it is working
 
fge
DO NOT USE ROWNUM FOR THAT
 
ok
fine
 
fge
1:09 PM
Do you know the consequences of your query?
If not, I'll tell you
 
ok
i dont know
newly i am doing
 
fge
This query will retrieve ALL COLUMNS FROM THE TABLE before "filtering" on the row number
Which is downright ridiculous
 
ok
means u want to tell i shouldnot use rownum
 
fge
Whereas if you do, as I suggested: select name, address from employee1 where salary = (select max(salary) from employee1), the relational filter here will guarantee that only the necessary rows are returned
 
ok
 
fge
1:11 PM
Now, in your employee table, there may potentially be several entries with the max salary, right?
 
yes
it can be
 
fge
So, what do you want to do in this case?
 
LOL
Hey, dont remove that post
 
Welp. :P
3 mins ago, by Cool
i dont know
 
suppose i want to retrive the second highest salary then
 
fge
1:13 PM
Don't deviate from the problem then
 
in that case
 
fge
And actually describe your problem
You don't make any sense
 
@fge There's no problem. xD
 
fge
(yes, I'm brutal)
 
You're wasting your time. xD Not that I'm one to speak.
 
fge
1:14 PM
What do you want? What is the business requirement?
@Unihedro go code HTTP/2 :p
 
@fge Suspending it for MoreCollectors probably :)
 
fge
Ah no, HTTP/2 is more important :p
 
Important how? :p
 
thanks @fge
 
fge
It's the future, and "anyone" can do more-collectors, not so with HTTP/2 :p
 
1:16 PM
for ur time
 
fge
I presented you with a challenge to the height of your ambitions, don't shy away from it :p
 
Hehe. xD
 
1:30 PM
Some one is there for help me!!!!!!!!!!!!!!!!!!!!!!!!
I m stuck in GrayLog framework...
 
I think you have to write in capslock to get attention
 
Morning, Java!
 
:(
 
fge
Ooh, graylog
That recalls memories
Hello @Michael
 
yeah
 
1:34 PM
@Unihedro MoreCollectors?
@Michael Mrng~ :)
 
@ItachiUchiha New project idea I actually like :D
 
Ahh.. Tell me about it :P
 
@fge hav u work on??
 
Morning, Jerry!
 
1:57 PM
@Unihedro where is the mudkip??
 
@Sword ... no
 
fge
@Darshan wut?
 
wAy
2:17 PM
Someone here with netbeans-platform knowledge?
 
i m unable to configure graylog on servre level
 
@wAy, If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM! Don't ask if people are awake, or in the mood to help. Just ask the question straight out. To disable this message use ~welcome=false.
 
wAy
k, will do so. ~welcome=false
 
Eh, the command sequence requires you to put ~ in front.
 
wAy
How can I had a filter to the netbeans-platform standard Save as dialog?
~welcome=false
 
2:21 PM
a small help with this.. Does this timer look correct?? after slowing down the car should accelerate after 2 secs..
public void scheduleVelocityReset(){
        final Runnable increase = new Runnable(){
            public void run(){
                mainCar.update(Gdx.graphics.getDeltaTime());
            }
        };
        final ScheduledFuture<?> velocityHandle =
                executor.schedule(increase, 2, TimeUnit.SECONDS);
        executor.schedule(new Runnable() {
            public void run() { velocityHandle.cancel(true); }
        }, 2, TimeUnit.SECONDS);
    }
 
Which version of Java again?
 
1.7
 
2:37 PM
@crl Didn't work. :(
 
 
2 hours later…
fge
4:39 PM
Comments welcome!
 
You know what's boring as hell?
performance-testing a stored procedure...
manually that is.
 
fge
@Vogel612 performance testing of what?
 
5:05 PM
hi
 
5:17 PM
@fge postgres function
hiya @JavaFan
@Sword wtf? no this doesn't look correct
did you already set the velocity down?
 
hello
 
fge
@Vogel612 eh? Uhm, what for?
 
I want to program jogl with netbeans, I found opengl pack but it seems old(back to netbeans 6), isn't there a newer pack ?
 
@fge stop
don't go there
 
HAMMERTIME!
 
5:24 PM
I already feel bad enough
 
@Vogel612 I hope you will be fine with us
 
@JavaFan sorry to tell you and not meaning any offense, but... You'd probably be unable to help anyways....
 
I looked on the web for opengl netbeans 8 but all results talk about 7.1 or lower, it seems there isn't any newer package, how do I use jogl manually ?
 
@niceman I might be unable to help you, but I want to ask you have you tried Eclipse?
 
fge
OK, I won't dig in ;)
 
5:29 PM
@JavaFan that doesn't solve the underlying problem, namely the inability to use an IDE...
@fge thank you very much
 
well no, hmmmm but I like netbeans for java more
 
fge
Use IDEA
 
isn't it commercial ? I mean it's not free, the price is an issue for me
 
I said that because Eclipse has too much greater capabilities
in comparison with Netbeans
 
@niceman there's a community edition
and that's free
so... the price is a non-issue
 
5:32 PM
@JavaFan like what ? I didn't try Eclipse so I can't say which is better, when I said I like netbeans more, it's just a feeling
@Vogel612 hmmm does it integrate with jogl 2 easily ?
 
@niceman I don't even know what that is, but considering it's a library (from what I gather) the IDE should be irrelevant
since all IDE's I've used (Eclipse and IDEA) have an outstanding ability to integrate libraries
and that is also true for netbeans
which you seem to be unable to use, considering that adding a library is like... 10 clicks (including keystrokes) at max
/rant
 
@Vogel612 jogl is opengl in java, integrate means "can install opengl templates and use it on applets/swing easily"
 
I worked with Netbeans and I was happy with it, now I use Eclipse because I can download a lot of softwares with it.
 
T.T
 
@Vogel612 maybe, I haven't tried it yet to answer
 
5:37 PM
7
Q: How do I set up Java Opengl on eclipse?

r1nzlerso I'm just getting into Java Opengl, and I use eclipse as my IDE. I checked the Java Opengl website, but it doesn't really help you to install it. Can anyone give me some steps on how to install Java Opengl so that it can be used in eclipse? I'm using windows 64 btw.

 
@JavaFan thank you
 
that person is biased
2
Q: How to install jogl in NetBeans?

LordPeterI would like to make the game in java in OpenGL, but... how to install JOGL in NetBeans? I can't find link to download this. Do I need to install it?

^ google is your friend
argh... SOMEONE STOP ME
 
@Vogel612 I didn't find that result when searching
 
JOGL is pretty terrible anyway. If you're making a game, you want a game engine. — Stefan Kendall Jun 9 '11 at 18:10
it's like... the fifth google result
 
@niceman my pleasure
 
5:39 PM
and if you only want SO results: add site:stackoverflow.com to the search terms
 
@Vogel612 well we're not making a game, it is a physics simulation project
@Vogel612 does it have issues not related to games ?
@Vogel612 it seems IDEA has issues with jogl : stackoverflow.com/questions/16125929/…
 
I want to use Pattern.compile to out print the numbers between  id= and ',' window.open('http://saudisale.com/arPrivatePage.aspx?id=21871638','_blank','channelmode =1,scrollbars=1,status=0,titlebar=0,toolbar=0,resizable=1');
Could someone thankfully helps?
Pattern.compile(what to put here);
 
5:54 PM
what is window.open ? can you show an example of the output ?
 
It's a javascript subcode
the output should be 21871638
 
I think javascript has regex, doesn't it ?
 
may be, but I work with JAVA
String str = " window.open('http://saudisale.com/arPrivatePage.aspx?id=21871638','_blank','channelmode =1,scrollbars=1,status=0,titlebar=0,toolbar=0,resizable=1');";
		Pattern pattern = Pattern.compile("");
		String[] result = pattern.split(str);
		System.out.println(Arrays.toString(result));
 
do expect many kinds of input ? other than the url you said ?
 
I made my considerations
the difference in the number only
 
fge
5:59 PM
@JavaFan use URI, extract the query string, and match it against Pattern.compile("\\id=(\\d+)") (use .find()`), then extract the first group
 
03:00 - 18:0018:00 - 23:00

« first day (1615 days earlier)      last day (3328 days later) »