« first day (1577 days earlier)      last day (3361 days later) » 

fge
12:00 AM
As I'm working on it, my memory is fresh
 
Yay! Please do!
Start from the very beginning of what it is, for someone who really knows nothing. The recording will be priceless to everyone like me
 
Yaay!
 
12:12 AM
You cleared up a lot of things for me and now I have a fun idea!
 
fge
Screen capture is going to be "fun" to do
 
It seems that Java already have a Robot that can do that
I just have to figure how to mix it with JavaFX
It's probably nothing fancy, but it will help me a lot when I wanna make a tiny cutout from my screen
I hate having to open paint and move stuff about so it's only the part I want
 
fge
But does it do sound?
 
Oh, no my little thing isn't for recording video
It's for making little pictures out of parts of your screen
It feels like a big enough project for me
 
fge
Ah OK
 
 
1 hour later…
1:25 AM
hi
Please post more code so we can reproduce. — Jean-François Savard 4 hours ago
 
The mating call of a programmer?
 
fge
o.O
 
They wanna reproduce
 
fge
Yeah, I understood the pun, but, err
 
1:43 AM
It's late and I'm starving and I can't find the way of doing what I want to do...
 
Eat chocolates!
 
If I had I would
I ran out of cacao making that kladdkaka so I can't bake anything either :/
 
xxx
hello anybody there?
 
yes
 
xxx
I have a small problem with ResultSet
public String test(int accno) {
String message="", query="";
try{
new com.mysql.jdbc.Driver();
Connection mycon = DriverManager.getConnection("jdbc:mysql://localhost:3307/bank", "root", "1234chiku");
Statement st = mycon.createStatement();
query = "select count(*) from account where accountno="+accno;
ResultSet rs = st.executeQuery(query);
if(rs.next())
{
query = "select balance from account where accountno="+accno;
rs = st.executeQuery(query);
if(rs.next())
message = "Your account balance is Rupees " + rs.getInt("balance");
In this, if I give an account number that doesn't exists, the else part doesnt execute
account numbers from 101-105 are accepted
If I give 109, it returns an empty string rather than "Account number 109 is invalid"
What am I doing wrong here?
anybody there ??
:(
I need help very badly
 
2:36 AM
Hi all
I'm getting 404 error from Dropwizard even though it shows up in the Path when running it
This is to do with PUT request to the resource
I've checked the URL
 
3:36 AM
good morning..
 
hello
 
hey..
 
4:30 AM
@gem still awake?
 
yes
Did you want something? @ita
 
nope, just asking
 
:P
 
I don't know if I should think you're cute, silly or both
 
4:36 AM
why is that?
 
I like randomness
It's funny
 
And pinging someone for no reason feels pretty random :P
@ItachiUchiha Lots of fiber! It's good for you!
 
yeah, for my body which is lacking nutrients
 
With enough google fiber, the very fiber of your existence will merge with the internet
Oh well... going to bed now
 
4:43 AM
> The mating call of a programmer?
^^ heights of randomness
@gem gn
 
what does the vertical dotted line mean?
 
It means I have copied something that someone else had said
 
and how do you insert that
?
 
> followed by whatever you need to say
 
> hey
ohhk.. got it..
installing java in linux via rpm is easier??
I see 2 setups, tar.gz and rpm
 
4:57 AM
rpm
 
found the instructions for installation on their site as well..
what does this mean , i got this in the terminal
_RPM should not be used directly install RPM packages, use Alien instead!_
rpm: However assuming you know what you are doing...
 
what are you trying to do?
 
install java..
-1
Q: RPM should not be used directly install RPM packages

jchnxuwhenever I use rpm -ivh, this shows. What's the risk? man says: rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, ...

ohh i s\ee
ubuntu is debian
 
will need to convert it to debian
using alien
 
5:12 AM
deb are available
+ afaik rpm can be installed by ubuntu as well
 
the 2nd answer in the above link says using rpm is a horrible solution i.e diff packages..
 
strange mine does
i am on ubuntu 14.04
 
did you use alien?
 
nope
 
i downloaded the tar.gz ..
 
5:36 AM
and I can install intellij anywhere i want to?
 
fge
Moo
 
intellij for linux comes in a tar ball. you can't install it
you un-tar it and use it
@fge Meh.
 
yeah.. i am running the .sh file
it gives me the foll error:
ERROR: Cannot start IntelliJ IDEA
No JDK found. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
I need to set it as an environment variable now
 
set the JAVA_HOME
 
JAVA_HOME=/usr/lib/jvm/jdk1.7.0
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
this is one answer i found
my java is present in home/user/java/jdk-1.7.5
 
5:47 AM
i thought you just installed 8
 
no , android is best supported by 7..
 
fge
Android? Meh
 
so what should the path be for JAVA_HOME?
 
Hey can anyone help me?
I need help colliding two rectangles
essentially, i need them to always be just touching, but instead one rectangle sinks into the other
join.me link join.me/767-089-658
 
wow that is one clean pastie
 
fge
5:52 AM
@Barakados why don't you just use Arrays.toString() in main()?
 
I'm lazy, and didn't think of that
pl;us the issue is in collideRect class in rectangle
 
collideRect is a method
 
yeah
sorry i've been up for so long tryna solve this
level1.txt is simply
player 300 600 bob
wall 0 775 800 795 floor
and i'm using lwjgl 2
so if you want to reproduce it you can
 
you should probably put that on SO
as I am too tired / lazy to debug all that
 
i did
 
6:02 AM
and did they close it with -ve votes?
 
no
 
then someone will answer it
 
it's literally in one method
 
i'm still stuck on the environment variable part
 
@Barakados No that is not. I need to get through the entire code to check what exactly is going wrong
 
6:07 AM
what's the environment variable
 
JAVA_HOME
 
fge
@Swordy how are you stuck with that? Where do you set it? In .bashrc?
 
i dint touch anything as of now. I downloaded the targz and extracted it . now how could i get intellij running?? ./idea.sh returns -- "No JDK found. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation."
i followed the instructions given here :javaandme.com
 
29 mins ago, by ItachiUchiha
set the JAVA_HOME
 
for the last part..
@ItachiUchiha yes i did.. u mean the text editor right??
sudo gedit /etc/profile ??
 
6:10 AM
you need to edit ~/.profile
 
fge
Not /etc/profile
 
~~//2
 
fge
That affects everyone's profile
And edit .bashrc if you use bash
 
~~//~~\\~~
 
on terminal type vi ~/.profile
copy you JAVA_HOME path and export it
save it
 
6:12 AM
done..
 
type source ~/.profile
 
What is the java home path ?
 
Meh.. I am windows currently, for testing my MediaPlayer
@Swordy done?
 
the location of jdk1.7.0 / bin ??
 
6:13 AM
If anyone solves my bug I will add them to the credits
 
java_home never points to the bin
path points to the bin
@Barakados lolz, school assignment credits?
 
ohk..
 
no
not at all
 
I can literally do nothing else with my game until it's solved
 
6:14 AM
android game?
 
No....
 
so i have my jdk in " myname/java/jdk-1.7.0_75/ "
 
I would use grid based collision, but I am planning to add moving platforms
 
fge
@Barakados well, try TDD
 
6:16 AM
lolz
 
fge
I'm not joking here
 
what's tdd
 
fge
It can help, especially in such cases
Test Driven Development
 
what test engine should i use
 
fge
Scrap your collision code, write a test that fails, run it, it should fail, fix code, rerun the test, it should pass, refactor, rerun the test, goto 1
TestNG
 
6:17 AM
@ItachiUchiha i see :
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi
~
 
fge
And assertj will help in your case
 
@fge Not a bad idea at all.
 
could you walk me through
If I give you a join.me?
 
it is a small issue..
 
hey hey guys chillax
we are not playing share my screen and help me
 
fge
6:23 AM
@Swordy it's not hard; modify your .profile or .bashrc in your home then source it and check that it's OK
(source .profile; readlink -e $(which javac))
 
could you share a link where its available.. ?
 
fge
(this way this runs in a subshell and does not pollute your current shell)
 
i've been trying this stuff here javaandme.com
 
@Swordy what is your content in.profile?
 
kk im gonna do other stuff, if anyone wants to talk, ping me directly
 
fge
6:24 AM
Well, you have one right here, right?
I just told you what to do
 
the problem is i dont have much experience in linux..
ohk u mean type it in terminal.. hold on
 
fge
Again: modify your .profile or .bashrc with the correct code
Then use the command I told you
This will help you test whether the environment is correctly set up
 
"which javac" is literal , right?
 
<--- FACEPALM
you can just type
source .profile
java -version
 
hold on hold on
I'm getting confused..
Let me say
First , vi ~/.profile
then
 
6:29 AM
Heya All
 
copy JAVA_HOME path
 
what did you type in the file?
@TheLittleNaruto heya
 
nothing as of now ..
this is how it looks
 
it is already reading the .bashrc file
 
>.<
 
fge
6:33 AM
Let me guess
You don't know how to use vi?
 
what a pain in the *** this is...
nope @fge
 
fge
Hehe, that explains it
 
quite new to linux
 
fge
thinks he could do a vim session somewhat
 
if it were windows , i would have finished everything soon
 
6:34 AM
:D
 
looks like @ItachiUchiha is confused as well
 
fge
@Swordy meh, get used to it and you will forget about Windows soon
Anyway
use gedit instead of vim, then
 
yes,, thats why i'm taking the trouble now
 
Well I am not. I was creating a hangout session for ya, but it seems you need chrome for it
 
I have
 
fge
6:35 AM
@ItachiUchiha uh? I use firefox with no problem
In fact chrome doesn't work for me
 
Need a hangout session on how to create a hangout session
 
creating for who?
 
@Swordy to help you out, you moron
 
haha.. i'll create one then :D
should I..?? it wont take more than 10 minutes
 
it wont take a min
 
6:38 AM
and dont worry I'll never make this a habit..
just this once.. :P
 
Hangout for two looks different...
 
1
Q: How to do Selenium test on Bamboo

MarterJayWe are trying to run some Selenium tests using Selenium CI . We are using maven to build the project and using Selenium web driver. I followed an Blog post in the link. http://www.3pillarglobal.com/insights/how-to-use-selenium-in-continuous-integration-testing#comment-38432 as a reference When ...

 
fge
Hello @Vogel612
 
Hello @Vogel612 what are you doing here ?
 
Chillin', usually.
Even though I don't often have a Hangout call as my alarm clock...
 
6:47 AM
haha, I'm trying to get bamboo to run some Selenium Tests
 
@Vogel612 hehe, something new :D
 
That looks like ff isn't installed on the server @JaDogg
Well it's almost 8 am so it's not as bad as it could be :)
@ItachiUchiha nice edit btw
 
@Vogel612 It is installed unfortunately :(
 
Mind trying me amd instead instantiate a InternetExplorerDriver?
I remember we had to test with an outdated FF version because whatever.
Then we switched to chrome instead
 
Were you using Bamboo too ?
 
6:55 AM
@Vogel612 what time is it?
 
@JaDogg nope.. just local testing...
 
I'll see if I can use InternetExplorerDriver, Thanks @Vogel612
 
@Swordy 8 am
 
sorry for waking you up
 
No worries.
first alar ringing right now
It's mostly about the fact that it could have been 4 am, too :(
 
7:02 AM
might have been for someone else in the group :(
 
7:35 AM
@ItachiUchiha thanks !!
 
:)
 
MediaPlayer v 0.0.1 released :D
 
Congrats.. Download link?
beta version..
 
@Swordy that reminds me, I should edit the build file to generate distributions
 
7:54 AM
brb
 
fge
8:11 AM
@ItachiUchiha nice! Branch?
<-- still on metadata; API really doesn't help
 
@fge I need to remove everything from master and merge my current branch to master. Any insights/shortcuts ?
 
8:26 AM
Good morning, Java!
 
Good Morning All
 
8:38 AM
Hello All
 
hello
 
I am amuzed by seeing chat option on stackoverflow
its really good
here we can solve problems from like minded people
directly
 
Also we can discuss on specific topic in group
 
fge
@ItachiUchiha what do you mean by "remove everything"?
 
yeah
thats right
@Har
@HarshadNasit, I am Jr Java Developer, What abt u?
 
8:46 AM
I am Java Developer
which technology are you working now @Vishwajit?
 
fge
JSR 203
 
I am currently working on Core Java
And now I need to explore Titan DB stuff
what abt u?
 
I am working on EXTJS 3.4 and Hibernate ORM
 
fge
Hibernate? Berk
Try JooQ
 
what is Jooq?
 
fge
8:51 AM
An ORM which has understood that in "ORM", the R matters more than the O
 
have you worked before?
 
fge
^^^ look at that
 
ok
have you worked before?
 
he made the video
 
fge
Yes but not as a Java dev
 
8:53 AM
ok
what about ItachiUchila?
Are you developer?
jooq is not open source
 
fge
Yes it is
There are two versions
One is open source
Otherwise I couldn't use it in my own project, which is dual licensed LGPL 3.0+/ASL 2.0
 
great
 
nice @fge
 
9:54 AM
why doesn't intellij start..
Wow it started now.. after a system restart..
 
10:54 AM
What's the difference between Statement, PreparedStatement and CallableStatement?
 
fge
PreparedStatement has bind variables for one
So, if you have bind variables, this is what you should use
As to callable statements they execute procedures
But, uhm, use JooQ :p
 
@fge Yeah, I don't get to choose.
 
fge
CallableStatement does extend PreparedStatement, by the way, so you can use bind variables in them too
Then promote it :p
Meh, that's your choice anyway
 
@fge We maintain our own DAL implementation, for some reason...
 
fge
DAL as in?
 
10:58 AM
ORM just worse :D
 
fge
Ah, uhm, well
 
Changing database access lib is out of the question, unfortunately
Our code is just a big blob of...
 
fge
What do you mean by database access?
Does that include both the JDBC driver and the querying/mapping API?
 
@fge Yeah
 

« first day (1577 days earlier)      last day (3361 days later) »