« first day (1440 days earlier)      last day (3501 days later) » 
00:00 - 19:0019:00 - 00:00

7:00 PM
@miniHessel How rich you are is not the wealth you have, but how much you give to others!
 
@miniHessel Thanks ! I am relieved !
 
Uni, if you and me were on a date, we would kiss now...
 
wtf !
 
I have a headache
 
They invented the concept of parallel universes for fanfictions like this. Google it. You're going to love it.
 
7:01 PM
It how things go on a date, you say something deep, then kiss
Google what ?
 
Things
 
"How to be vastly inappropriate in chatrooms."
Try googling that
 
^^^^^^^
 
^^^^^^^^^^^^^^^^^^^
 
mini are you norwegian?
 
7:03 PM
Yeah! Made a CV on Careers 2.0!
 
Yep
 
@miniHessel I don't think the boys appreciates Scandinavian jokes :')
 
Do you have a crush on Uni ?
 
Also, depending on where Uni is from, he might not be legal :')
 
Huh? What?
 
7:05 PM
:P :P
 
xD
 
It was a basic joke. People always kiss on dates after they say some deep stuff..
Jesus, relax :p
 
My kisses are always accidents
 
lolz
 
and then I just shrug and join in on it
 
7:07 PM
Uni might be feeling out of place right now :P
 
I'm... Building my CV on Careers 2.0
 
Kissing career?
 
I just grab them ladies and put my tongue in their mouths. G-unit!
 
G-unit?
 
7:09 PM
I like to put my tongue somewhere else....
 
relax Karl !
 
I'm happy as long as neither one of our tongues are all over the other one's face, or belly...
Some people... are even weirder than I am...
And I'm pretty effin weird
sooo
had your daily cup of Java yet?
 
still awkward
 
Yeah, don't be. You're not missing out on much
Just vulgarities
 
are you from norway as well @Gemtastic
 
7:19 PM
Poll: Option A or Option B?
 
@miniHessel Nah, just Sweden
 
Explain
 
Sweden!! Good music!!
 
I don't think being from sweden is so weird that it needs to be explained :-P
 
Most of my favourite music artists comes from sweden :)
 
7:20 PM
@Gemtastic tja
 
@miniHessel Tja
I'm not a stereotypical swede, please don't judge other swedes based on me
 
judges
 
Noooo
 
I'm 1/4 swedish ;)
 
hides under blanket
I'm 1/4.. dane :O
 
7:21 PM
kicks Gem out of the blanket
 
swedish people are stingy
 
Nooo my comfort zone!!
 
* Giving or spending reluctantly. *
 
@Unihedron dont delete. I missed
 
^~^
 
7:22 PM
well, it's because it's so expensive in Norway XD
 
Haha, that's true. But they are stiny, it's true :P
Norwegians are often rude.
 
I can't belive they typed "I heard you're ideas"
I'm stingy, because I'm poor
 
d'aww ;(
isn't it true that software devs makes lots of money?
 
welcome @BeauGrantham @evanwong
 
7:24 PM
I'm not one yet
 
Oh.
 
@Unihedron depends !
 
Good luck!!
 
I'm still a developer in developement ;P
badum tss
 
Oh no!
I've been rickrolld
 
7:26 PM
@Unihedron rickrolld?
 
Never gonna give you up never gonna let you down
 
I was rickrolled as a fetus
 
@Unihedron did you want me to google something?
 
Mom went to the rick astley concert when she was expecting me :P
 
^^
What's google @mini? sr yimma noob
 
7:28 PM
o.O ?
They invented the concept of parallel universes for fanfictions like this. Google it. You're going to love it.
 
Nordic man x Asian boy?
It exist, I promise you. Rule 34
 
OH NO
XD
 
I dont understand anything atm..
 
and rule 35
 
that's the pumpkinspiceunicorn
 
7:31 PM
I am gamling, cross your fingers.
 
Clippety cloopy, I'm galloping for dat booty
 
Ok, the channel has become a lot more weird while I was away
 
My humour is terrible
 
haha
 
...You cannot blame me!
 
7:32 PM
It's JAVA, at least we're not blending our humor with lambda expressions, yet
 
At java parties we don't play limbo, we play lambda
How low can you go
 
Unreadable and infinitely running code or robust, good code, take your side!
:O
 
obviously the latter
 
Did you know that sharks only attack you if you are wet?
 
@kiheru I want to get started on some of my other game concepts...
 
7:36 PM
Is it fun to be eaten by a shark?
 
did you know that sharks get paralyzed when flipped upside down?
Did you know that sharks die if they stop moving?
 
:OOO
 
Did you know that sharks senses the electromagnetic impulses sent from your body?
 
Epic plot twist!
 
Did you know trivia is my forte?
 
7:37 PM
nope
 
As long as it's not about sports; as in who won what or did what what year, I'm good at it.
 
What did I do last year?
 
Did you know that Class.class.class is a valid expression and returns a Class<Class<Class<Object>>>?
 
Nope ^^
 
interesting..
 
7:39 PM
But I could have guessed it
 
I hate gamling online.
 
Lol :D
 
i <3 poker
 
played for probably 80 pounds now, haven't won shit.
 
Gambling online are one of the best ways to make money online, given that you win, I won't recommend it though
Get a freelance job or something.
 
7:41 PM
I don't recommend it either..
 
You want to REALLY make money gambling onlnie?
 
I ♥ Chess.
 
You want to run the site
 
I am so happy I won in chess last time..
 
Actually, it was a stalemate, so it's a draw.
I won the other time with a pawn checkmate though.
 
7:43 PM
:P
was it a draw the first time? hmm, it wasn't
 
Too lazy to look up my browse history, it's 4 am. :p
 
1st one was lost by mini
it was an early win for Uni
 
rub it..
 
he trapped you by saying something :D
 
7:45 PM
Yeah, that was a good game.
 
He did
cheating!
 
Nope, all clean and beautiful, no cheating here
;D
 
You said something like "your mom's fat"
Got totally distracted
 
O_O
 
played much better the 2nd game :P
 
7:47 PM
ahh.. the movie is ova :)
 
nom
 
@ItachiUchiha I still can't sleep at night, wondering where you all from..
 
HKSAR
 
Sep 26 at 12:35, by ItachiUchiha
I live in the Leaf Village :)
 
@Unihedron you are from C1 at the chess field
 
7:49 PM
Sep 15 at 12:20, by ItachiUchiha
I am from Leaf Village !
 
grrr
all this lack of sleep
 
Sep 26 at 12:58, by ItachiUchiha
@Pixic I am from Leaf-Village
 
I come from Alpha Centauri, am on Earth right now!
 
Jul 28 at 5:25, by ItachiUchiha
I am from Leaf Ninja Village !
 
I'm from hell
 
7:51 PM
Good for ya :)
How z SATAN ?
 
good <3
He's saying hellp
 
From a huge JSON file, I want to read 2-3 values only... I tried Jackson but it seems to give an error, then when I tried with GJSON, it looks like I have to create a whole class to convert it into an object before I can use it... It doesnt worth it since I only need 2-3 fields from it... Any suggestions maybe ?
 
@ItachiUchiha konohagakure
 
no MR swedish, we are not talking ablot ZLATAN, but ZATAN!
 
@HamZa yeah
 
7:52 PM
inb4 moderator comes in and deletes this room..
 
Hi guyz btw lol
 
hihi @Eni
 
@Enissay Why does Jackson fail ?
 
You can use REGEX!
 
use your regex modlike skillz!
Anyways, I thought there should be JSON parsers around for Java :O
 
7:52 PM
Jackson is the best mapper you got in town ;)
 
Jackson parses JSON as java objects
 
yeah, I said Mapper, kiddo :P
 
Just match and extract with regex! The end is near!!!
(obscure reference done)
 
I want to watch Despicable Me 2
 
$ is near
 
7:54 PM
Need some $ for beer :D
 
;p
 
@ItachiUchiha, that why i picked it in the first place, but curiously it fails and I cannot create my object (I use the data from the json to generate my object vars)
 
@Enissay how are you using it, what does the stackTrace say ?
 
Maybe i'm doing it wrong... could you suggest a good tutorial so I give it another try
Well, give me a minute
 
I would send you beer money if I could, but my paypal is dry, and it takes a while for the last deposit to actually show up
 
7:58 PM
OFC it's a java.lang.NullPointerException =)
as usual with newbies
 
:D
At least you don't get a BSOD!
Now run a debugger!
I gotta do something. Bye! :)
 
Here's a snippet from my code: pastebin.com/8nnjHszp
Now i'll check your link
 
The relevant part would be where you get the NPE
 
@kiheru, well, it's when I create a new object from that class
 
8:13 PM
At which line?
When you check that, you can take a look at the things that can be null there
The stack traces have a lot of useful information. Learn to read them
 
8:26 PM
Oh my... there's indeed too much information in there...
From what i understood, it looks like it fails when trying to add the object to the list
It's like it's not there anymore o.O
 
There should be a line number where the NPE happens
 
The red error message indicates this line indeed "selection.add( new Blah( URL ) );"
when separating the object creation (blah) and teh adding to the list, it indicates the error here: "selection.add( blah );"
 
so, there's only one thing that can be null
 
8:46 PM
I leave for lunch and all this happens
Dammit
 
9:03 PM
Hard Luck Kylar :P
 
9:52 PM
I'm moving to the Unova region soon
 
What site is that?
:P
 
Google shows me search results related to Pokemon
@Kylar are you attending JavaOne ?
 
No
Yeah I'm trying to catch a couple legendary Pokemon, so I need to go there
 
Which game are you playing ?
 
Zekrom, Victini, etc
Game?
 
9:56 PM
Some freaky pokemon online game ? :P
 
What do you mean a Pokemon GAME
I'm going there to catch em all
 
Does someone wanna give me some constructive feedback on a small program I made?
 
@Kylar there are thousands of them, might be millions :P
@Gemtastic show me
 
@ItachiUchiha It's more of a journey than a destination
@Gemtastic I'm good at critical analysis. Not so much on being constructive.
 
@Kylar Heard it in some movie.. Yawns
 
10:02 PM
I like critics. I can usually sort out when it's mean or sincere. Let me paste the code into a paste.. it has 5 classes
 
OMG, I finally found it... The arrayList var should be initialized before trying to add elements
:S
 
@Enissay a common mistake made by beginners :P
 
xD
 
10:12 PM
@Gemtastic want them as I see them, or no?
or all at once
 
@Kylar Probably when you're done so you can read it unhindered
But I really don't care
 
1) You're popping up a JOptionPane in the main thread. You should be doing it via the EDT
2) Your encapsulation is very poor. things like
        ShoppingCart.cart.add(inventory.get(indexProduct));
Mean that you don't have a good handle on objects and flow
A shopping card should not be a static thing
because it's not available to everyone - there should be one instance of the cart for each transaction
 
What does EDT stand for?
 
Event Dispatch Thread
And you've got places where you've got static methods calling other static methods
like:
public static void removeItem(Console mintendo) {
ShoppingCart.removeItem(mintendo);
}
 
How should a good version of the encapsulation look like?
 
10:20 PM
So your main loop should create a shopping cart instance, which you would add items to while you loop
 
These are good pointers. Afterall, I've only been coding for 5 weeks
 
Here's the way I'd go about it:
first: As a beginner programmer, don't use static
like... at all.
 
I know
 
There's no construct that you're doing here that needs it, and all it does is prevents you from doing things right
 
I was complaining about it here when I wrote it :')
@Kylar what do you mean by "There's no construct that you're doing here that needs it, and all it does is prevents you from doing things right"
 
10:22 PM
There is no place in this entire program that you should be using anything that is static
nothing.
with the possible exception of the main loop
;)
 
Apart from main
XD
 
so: remove static everywhere, and then re-write so that it works properly
 
How should I type ShoppingCart.cart.add(inventory.get(indexProduct));?
 
you should have a shopping cart:
ShoppingCart myCart = new ShoppingCart();
myCart.addItem(foo);
 
Ah you're refering to that
I thought you were talking about aestetics
 
10:24 PM
No. the way that you're using static is completely broken
 
I apreciate the pointers. I know this is crappy because everything's static >_>;
 
static means that only one exists, across all instances of that class. not one per class
 
I see
 
so if you changed your program to have multiple people, they'd all be adding to the same cart
 
I get it
 
10:25 PM
As though there was only a single cart in the entire store and everyone is fighting for it
like... who the fuck put this lutefisk in here
 
It's not supposed to be several people though, that's why it works :P Smelly code
 
and WHY IS THERE $9000 of halibut in my cart!
 
XD
Or 500 kittens XD
 
so: Each person has 1 cart. Each cart has some items. You should be creating NEW items to go in the cart
 
I get it
 
10:27 PM
otherwise - same thing: everyone is fighting over ONE super-spin Yo-Yo
 
Yes
 
If something is static and final, then it's generally viewed as a constant
 
I got it as soon as I understood you weren't talking about the aesthetics of how I wrote a line.
If you don't have any new pointers, I got the feedback I need :)
Thank you
I know all those things already, I just didn't put it into practice
 
your Item class is pretty good
Except: don't declare multiple variables on a single line, that's never done in Java
ie:
private final String name,
        description;
private final int price;
should be:
private final String _name;
private final String _description;
etc
 
Really? Because the teacher told us that
Oh well
Maybe I misunderstood it
 
10:31 PM
well.. in the real world, no-one does that
it makes it harder to read
And trust me: you want code to be as easy to understand as possible.
 
I know, it's my no.1 aim
 
@Kylar +1
 
As a part of being awesome. You can't be awesome if people can't see or understand your awesomeness, by default, you're not awesome in that case.
 
            TimeUnit.MILLISECONDS.sleep(200);
That's absolutely broken
it sort of works, but it is in NO WAY doing what you think it is
 
NOBODY sleeps that long...
 
10:34 PM
the proper way to sleep:
 
On your left side...
 
Thread.sleep(200);
 
I wanted to use TimeUnit, because I know what it does, originally I wanted to use seconds, but it was too slow
So I ended up going with it anyway instead of thread.sleep()
 
it's basically a concurrency timed wrapper that calls Thread.sleep()
 
I know what it does
And what it is
Any more pointers? 8D
 
10:43 PM
start there, and we'll re-visit tomorrow :)
 
I don't think I want to keep working on that stinking ship (I'd rewrite it entirely) I just wanted a spare pair of eyes before I work any further on my course examination project
 
11:15 PM
Hi everyone new to this chat room as I never new chat was an option on this site.
I'm hoping that someone here is familiar with Maven and would be able to give me a few answers tonight
Anyone actively on this right now?
 
I am but I can't help you
I use maven but I don't know anything specific about it.
 
Ok. Thank you though for responding. I'll see if there are other rooms that are on this site that can help.
 
May I ask what your questions are?
 
I'm totally new to Maven, and so first question i have is
Regarding this folder \.m2\repository
Is there a place to configure where Maven will store jar files it downloads or is it always to the Users\.m2 folder
 
What IDE are you using?
 
11:26 PM
I'm setting up a VM and it has IntelliJ and Eclipse installed in it.
The VM will be passed out to other developers and each will probably create a User account for themself
So I want the repository to be located outside of the user folder and in a public area where it is shared
 
Hmm I see. I don't know if I can help you but it's the POM file for the project that I think you edit that kind of information in.
While you wait for someone who knows what they're talking about you could play around with that?
 
I've never made a POM before and the one I have now was auto created by the Maven command so the initial auto creation puts files into a location I don't want whereas with the POM that was auto created I don't see any path specified that I can alter to make it go to a shared folder location.
 
@Elijah you cab configure these by altering settings.xml
 
Listen to Itachi ^^
 
11:44 PM
guess he left
 
or busy finding someone else that can answer
or he doesn't have the luxury of multiple screens
 
Nope I'm here,
I just found the file and altered it to point to a new location
Question: What level down do I need to have it set to?
<localRepository>C:\local\Maven</localRepository>
<localRepository>C:\local\Maven\.m2</localRepository>
or <localRepository>C:\local\Maven\.m2\repository</localRepository>
Ok. Last entry is the correct path for the configuration :)
 
I'm glad you got it working :)
 
00:00 - 19:0019:00 - 00:00

« first day (1440 days earlier)      last day (3501 days later) »