« first day (1492 days earlier)      last day (3435 days later) » 

7:00 AM
hey
 
morning
 
morning
ssup?
 
Just enjoyed some nice home-made maki sushi ♥'
 
7:15 AM
Hey guys, anyone got a quick minute? :)
 
i am hungry :(
 
@ItachiUchiha are you any good with depth first search trees bro?!
 
I can try
 
okay well worth a shot! so I've posted the details here: stackoverflow.com/questions/27086465/… but what is confusing me is mainly the listing of the vertices as I traverse through them..
Like do I need to list the back tracked ones again when I revisit the same vertices?
 
 
2 hours later…
9:29 AM
Hello guys..
 
hello
 
Hiya
 
got a good suggestion on what's best to use on cancelling user input in a textfield. Ok here goes, I dont want my textfield to have a value higher than something i specified.

Some suggests using action class, and some suggests keylisteners.. what's your opinion?
 
@LeeJeong use textProperty() on the textfield
if its javafx
else you can use keyListeners on textField
 
hello all
 
9:43 AM
iz swing @ItachiUchiha.. ok, how is textProperty unique or advisable?
 
i am stuck in one thing and i need your help
 
If its swing then you don't have textProperty
you need to use KeyListener to get the Value in the textField and process it
@viper shoot
@gem seems yur internet z back finally :P
 
@Gemtastic how bout you sir, you have any suggestions?
 
@ItachiUchiha No I'm borrowing the neighbours wi-fi
And that connections goes up and down a bit :/
 
Aww..
Sad for ya
 
9:49 AM
@LeeJeong I'd also say what Ita said.
I only know javaFX and I just began learning it so I'm not much to ask yet >_>
 
How do you "kill" a pull request so it stops appearing?
github
 
kill a pull request, that is a first hand question
 
I closed the PR already, but it shows up in the issue tracker in "closed" tab.
The branch B in A <- B has been deleted, and it seems I have to contact github.
 
May be
 
10:49 AM
Greetings everyone!
 
Welcome back!
I gotta do something. Bye!
 
Is anyone here familiar with the spring framework
 
@Alagaros Not much but you can ask the question.
 
@Mr.777 I honeslty have no idea how to format it, It is a autowired variable giving a nullpointer.
 
11:09 AM
You mean, you have an annotation @Autowired and it's throwing null pointer exception?
 
Yes, but the object it refers to does have the @Component tag
 
@Alagaros Alright, so do you have beans defined in bean config file? Plus the setters/getters of your bean are self written or you used IDE to generate those?
 
@Mr.777 In the main config it imports an other file that refers to this github.com/Dalthow/Etaron/blob/master/et-game/src/main/…
So yes the bean is getting created
 
@Alagaros Can you show me the beans configuration file?
 
11:26 AM
I am looking into it
 
Thanks a lot!
 
@Alagaros I am unable to access these logs
 
@Mr.777 The github ones?
 
@Alagaros The pastebin one
 
sec, ill paste it somewhere else
 
11:32 AM
Nope, still not
 
Yes, thanks
 
Anyone here have insights to share on how we can build our own factory to use indy instructions?
I just came to this situation where I'm going to create instructions on lots of objects frequently, but the client may not need most of a type of these objects. I see that the Logger is able to cache the instruction to be operated as lazy as possible, I'm trying to mimick the same but I see to be failing.
 
@Alagaros Did you debug and find out that accessClient is null?
 
Yeah, I putted if(accessClient != null) above of the the accessClient.login()
 
11:42 AM
@Alagaros I can't see any such condition check.
try
{
Menu.user = accessClient.login("Test", Encrypter.encryptString("test"));
}
catch(ConnectionException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
 
Yeah did not committed that
try
{
if(accessClient != null)
{
Menu.user = accessClient.login("Test", Encrypter.encryptString("test"));
}
}
catch(ConnectionException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
 
Okay, so if you place accessClient != null your application works fine?
 
Well the application works but it doesnt use the login
Something worth mentioning is that if you go to github and navigate to et-game/src/main/java you see an 'nl' and 'com' package, the old version is the nl. That did not run on LWJGL(java game libary), the new one does. We ported a lot of the old code into the com. The old one behaves fine and I don't see any difference between the new and old code.
 
@Alagaros How do you instantiate the Splash() in your new code?
 
11:50 AM
So, when you do new Splash(), it doesn't know if it has to autowire the AccessClient
So, what you need to do is, AutoWire the Splash as well and then use it.
 
Thanks, let me try
 
Because Spring doesn't know about the copy of Splash (you instantiated with new Splash()) and didn't know if to autowire AccessClient
 
So it would be like this
@Autowired
private Splash splash;

public Manager(String title)
{
super(title);
}

@Override
public void initStatesList(GameContainer container) throws SlickException
{
addState(splash);
addState(new Menu());
addState(new Game());

enterState(0);
}
 
Yes, build the application and run it.
 
Now it gives an nullpointer to the splash variable
 
11:54 AM
Yeah, so go back to the hierarchy and see how you instantiate Manager
 
@Autowired
public Run(@Value("${base.width}") int width, @Value("${base.height}") int height, @Value("${base.title}") String title, @Value("${base.version}") String version) throws SlickException
{
AppGameContainer app = new AppGameContainer(new Manager(title));
so we also autowire the new manager?
 
Please autowire Manager too
 
@Alagaros Did you find the difference now?
 
I understand how autowired works now but still no idea how to fix this
 
12:03 PM
What's line # 25 in Run.java now?
 
app.start();
Oh I see, I am being stupid :s
 
@Alagaros Where are you loading the context?
 
I messed something up with the autowireing of Manager
 
What did you find out?
 
Also, I am sorry for taking up so much of your time. I really have no idea how spring works and I am forced to use it.
 
12:14 PM
@Alagaros It's okay, I am also not much expert of Spring but it's good to help you as it's helping me too :)
 
^^
 
BooksOverflow
 
Haha :P
No qualifying bean of type [com.dalthow.etaron.base.Manager] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
OMG it did something
 
12:30 PM
Congrats! Does it feel as good as Hello World?
 
@Component
public class Manager extends StateBasedGame
{
EVEN BETTER!
@Mr.777 Thank you soo much for helping me!
Your name shall be in the credits ;)
 
@Alagaros Lol, I just tried with you :)
So, what exactly you did?
 
made Manager also a component
 
What if you add @PostConstruct to main?
 
Still works, altough manager also needs to have @Component
 
12:36 PM
@Alagaros So, all is well, if end is well :) But adding @Component and @PostConstruct are two different things.
 
Haha yeah I know :P
 
12:50 PM
hello
 
@mois Hey
 
Hey @mois! Welcome to Java room!
 
thank you.
 
Since nothing is being discussed... Chiptune?
 
:D
 
12:55 PM
:D
 
not the best chiptune in the world but... :P
 
Hello user
That's not a question, that's a link, and it smells like spamming
 
nope :)
i didn't asked in on so yet
 
If you have a question formatted like this why not post it on stackoverflow?
 
12:57 PM
You've violated two points in How to not be a spammer, so whether you've asked on Stack Overflow is irrelevant..
 
i thought there may be a simple answer for the question so if you guys don't have the answer i will ask the question
ok then
 
There's no question, that's a gist!
 
sorry about that
 
(facepalm)
 
XD
 
12:58 PM
i'm sure that you saw the question at the end of the gist. :)
 
I didn't, I don't want to open my browser to open that gist as I'm monitoring my websockets.
 
afaik, there's no way to execute js in gists which is the only way that can be harmful for your computer. but i'm not saying this to convince you something, i will ask the question on so anyway. :)
 
I know, but loading a web page means there's going to be interference in the websockets I'm monitoring.
 
What you did was more or less "look at my code and magically know what is wrong with it"
 
Maybe someone else will look at it, I don't know.
 
1:03 PM
I'm not a full magician yet :(
 
Haha, that made me laugh because we had script kiddies in programming class calling themselves magicians.
 
hehe
Well, to people who don't understand it it looks like magic
 
That's... Pretty much applicable to everything.
Such as alternate languages.
 
Indeed
That's why you specify your magic type. Fire, earth, water, air, Java...
2
 
1:29 PM
Good morning, Java!
@Unihedron That was beyond a noob mistake, Uni. Sorry.
 
What?
Oh, that. Vog fixed it already. I've changed the password, I'll send you the new password in a bit. Trying to wrench this userscript here.
 
@Unihedron Ok :)
 
2:00 PM
Nevermind, I found one (thanks to file search xD)
Oops, wrong chat.
 
 
3 hours later…
4:44 PM
hello? xD
 
Hiya
 
hiya
 
just checkin you guys.. haha
 
5:17 PM
Quiz: What is Tomcat's HTTP server called?
 
5:31 PM
Erm...
Oh god! I actually don't know!
 
Coyote. :)
And the name of its servlet engine is Catalina. I just learned this a few days ago. Thought I'd share. xD
 
5:43 PM
lol
 
You see those two words popup everywhere while you work with Tomcat. Before, I thought they were older names of Tomcat, but now I know what they are! xD
 
I don't use tomcat.
 
I used it a lot at previous jobs.
 
@Michael counter-question: What is the same two things for JBoss?
 
@Vogel612 Don't know. Never used JBoss.
 
5:51 PM
That I know ;)
 
@Unihedron do tell ;)
 
Night!
 
Sleep well then ;)
 
Night @Uni.
 
thanks :)
 
 
2 hours later…
7:44 PM
Guess who's back, back again
 
8:10 PM
Now if I knew who you are..
 
I am someone who is hating the spring framework
 
fge
@Alagaros which means you're one in a throng
 
@Alagaros You can't configure spring, doesn't mean you should hate it. Probably don't say it loud
 
@Mr.777 Haha fair point :P one more thing to do tho and then im done with this (hopefully for ever)
 
@Alagaros Good luck
 
8:19 PM
@Mr.777 Thank you sir ^^
 
8:40 PM
@Mr.777 how would I autowire this? addObject((WorldObject)applicationContext.getBean("player", (i * 32), (j * 32), Identifier.PLAYER, false));
Last step btw o/
 
Don't know what you are trying to do.
 
Access the AccessClient from the Player class
 
You should autowire AccessClient in Player too
Or create an instance that would return accessClient object to anywhere in application or atleast where you need it to be
 
That sounds like the simple approch, I like it!
 
But remember, don't try to access instance before it's even created or you will face an evil NPE
 
8:45 PM
Haha yeah will put it before everything
 
9:01 PM
Night guys
 
 
2 hours later…
11:18 PM
yawn
 
11:59 PM
@Unihedron Greetings
 

« first day (1492 days earlier)      last day (3435 days later) »