« first day (1473 days earlier)      last day (3461 days later) » 

4:00 PM
 
@fge that's the thing that makes me wonder why they even bother faking it. How are they gonna fake their interview?
 
fge
@Gemtastic ever heard of the expression "talking one's way through it"? It happens
 
@fge that's not as easy here, since we have laws regarding employment that makes us unable to fire people as we please
you have to pass an interview with the team too
not just hr
Maybe they think they'll learn how to do it before the education's over
 
Ha, lying to themselves, I see.
 
yeah :P
 
4:06 PM
Programming is not hard. It's just not meant for lazy and unmotivated people. If you're either determined or hard-working, you'll practically not be bad at programming.
 
If they were smart they wouldn't need to plagarize
@Unihedron and I agree with that 100%
 
@Gemtastic Thanks. True experience.
 
THE TRUTH HAS BEEN TOLD!
 
And again I say, some people should just stay away from programming. I believe the fact that anyone who has acquired 20 reputation is probably well worthy over those people though.
 
I dunno If I earned my points :P
 
4:09 PM
You have more badges and points than the bot.
 
How do i resize a partition in Ubunto?
 
@Joe'sMorgue resize?
 
Make a partition smaller.
 
my points don't even evolve java :)
oh, actually they were
on that one out of two questions I answered :P
3
A: struggling with getting an integer from another class

GemtasticProvided this is all the related code, you haven't assigned anything to planets, in either code, which is why it doesn't read anything. In planetGetter(), even if you do assign a value to planets, you only return the value, not the variable name.

 
You could use GParted or something. I don't know.
 
4:11 PM
We make people write code during an interview
 
Heya @Kylar!
 
@Kylar that's how you get the real skills
 
/me waves
 
What kind of code do they gotta write?
 
Usually I'll make them write 2 different pieces: One that involves string manipulation and parsing, and one that makes them use recursion
if you can do those two things and do them well & quickly, you're above 75% of the people that I see that have been programming for years
 
4:13 PM
I thought recursion was a big no-no?
 
?
 
fge
@Gemtastic eh? Why?
 
maybe it's just main recursion that's bad
 
recursion is a useful tool, but it's one of those things that either you get, or not
it's like.. pointers
 
@Gemtastic No.
I <3 pointers & bithacking ;)
 
4:14 PM
Some people have that part of the brain that understands them, and some don't
 
fge
@Kylar disagree; with pointers you have the added constraint of never let them get "out of scope"
 
Apparently I was taught wrong about what recursion was
 
simple recursion is... easier than pointers
 
so here's a contrived example: Write a program that calculates the first 100 numbers of the fibonacci sequence, then find how many of them are under 1000.
 
@Gemtastic what's recursion? there's head recursion, which is helpful, and tail recursion, which is useful, and infinite recursion, which is based on finite states, but often screws up
 
4:15 PM
the other part of recursion is... really difficult
 
That should be like.... 20 lines of code, max
 
I believe that last part of recursion is really difficult
@Kylar omg, really? I can write you it like right now..
 
@Unihedron Yeah - i know
:)
 
@Unihedron ehrmph..
 
Or maybe not. If Recursion is what I originally thought it was, it's a pretty simple concept to me, but I have seen first hand why people think it's bad
 
4:16 PM
that's why I said you'd be way above most of the ppl I get here, no joke
 
actually there's the really simple recursion
 
@Gemtastic Because they screw up?
 
recursion is code calling itself
 
Or a method..
 
@Unihedron Misserably
 
fge
4:17 PM
@Kylar counting lines of codes is a misleading metric; I'd rather write code which is obvious but 30 lines long, than code which is 20 but hard to follow. Especially in Java!
 
which is also known as derecursable (or tail-recursive) recursion
 
@Gemtastic The kind of recursion that can screw up is known to only be written by amateurs.
 
then there's the complicated kind of recursion (head-recursion), which can't be derecursed
 
I dunno if I do recursion well though, but I think it's simple
 
and then there's the really impressive stuff..
 
4:17 PM
Someone bookmark Vog's outstanding speech on recursion. I wanna read it later. Kthx.
 
As long as you have a good structure on your code and functions
 
@fge I agree with that, generally speaking - but there is a tradeoff of clearness and consiceness
 
@Kylar did you see my BlackJack game?
 
complex recursion where you get runtimes of O(x^n) with x being constant and n...
 
and a fibonacci method should be like.... 7 lines?
maybe?
 
4:18 PM
@fge Yeah, Java optimizes everything!
 
fge
@Unihedron indeed, and better than you at that
Don't try and outsmart the JIT; it's a lost cause from the get go
5
 
star-worthy ^^^
 
@Kylar now make it fast, memoizing and also able to calculate the negative side of fibonacci
then you don't get it down with 7 lines..
 
@Vogel612 nice specs
 
Here's what I think: I know some of the people that wrote the JIT/HotSpot and worked on java platform stuff, and they're way smarter than me. If I try to do something better, I'm probably going to fail
 
fge
4:20 PM
Ladies and gentlemen, might I just mention that what you have been talking about in the last 10 minutes is nothing but applied algorithmics?
 
@Vogel612 You're over thinking the problem.
 
@Kylar Do you want to have a look at my n00b code?
 
@Kylar if you say so..
 
@fge Yep. Conversations in the Java room are indeed productive to its finest.
 
as an interview problem, you make tradeoffs between completeness and getting to the point
@Gemtastic Always happy to look
 
4:21 PM
8
Q: Text-based BlackJack game

GemtasticI am a new programmer (I've been doing Java for about 7 weeks) and I am of the type who wants to get it right straight away, so I wonder how this code: Compares to the common practice is structured. Is it a good structure? Readability. Is it easy to read? The JavaDoc; what could I improve? (I...

It is not aimed at realism so don't put any thoughts into that
 
true, but honestly fibonacci can be derecursed so your interview question fails the spec of "being solvable only with recursion"
 
@fge That is why I love hanging out with you guys
 
fge
@Gemtastic Well, I'd rather answer practical questions tbh
I'm a practical guy to begin with
 
I like theory
If I ge the theory right the code follows on that path
 
fge
@Gemtastic I'm not obtuse to it either; I'd really like to know the answer of P vs NP
 
4:23 PM
@fge That's nice too
 
fge
With the drawback that if it is proven that they are different, programmers may lean to the lazy side without trying to improve upon existing algorithms
(personally I do believe that P != NP; no ground for it at all, though)
And then there is quantum algorithms
But how is this Java? :p
 
Dunno.
 
You can apply math to java :P
If you wanna
 
you get cool stuff with it..
but sometimes.. I'd even trade runtime against clarity..
 
@Vogel612 In my experience, the number of times you deal with code that hits constraints requiring optimization is tiny, compared to the amount of craptastic code I have to read on a daily basis.
so you should always trade towards clarity
 
4:28 PM
true that..
 
fge
0
A: Why hashcode does not generate unique hashcode?

fge why hashCode() does not generate unique hashcode Because it has no obligation to do so... Quoting the javadoc of Object.hashCode(): It is not required that if two objects are unequal according to the equals(java.lang.Object) method, then calling the hashCode method on each of the two ob...

Again...
 
@fge tl,dr; quoted from authenticated sources, +1 :)
 
@Unihedron is no doubt closing it as a dupe as we speak :)
 
Nah, it's too late and the assembly isn't up to any more moderation at the moment.
past midnight for me already
oh but help flag this as offensive
-4
A: What is the difference between "dream" and "ambition"?

YOU MUMYOUR MUM YOUR MUM YOUR MOTHER mumumumumumumumum YOUR MUM

 
O.o
 
Toodles!
 
Seeya!
I'm going to sleep as well, kind of overdue for rest :)
 
fge
@Unihedron knowing your timezone, yes indeed -- oyasumi
 
 
2 hours later…
7:05 PM
Hi
 
7:26 PM
Hi
 
wakes up from nap
Yaawn
Do you guys do JavaFX? @Kylar @fge
 
Nope, I did a ton of swing though.
 
I dunno how to feel about the whole WYSIWYG thing, I thought I left that behind in dreamweaver :')
 
7:42 PM
Just remember: What YOU see is not necessarily what everyone else sees :)
 
In JavaFX it does
It's just that, so far everything is so much easier than I thought it would be. Maybe I should have gone into computer science instead XD
 
 
1 hour later…
fge
8:51 PM
@Gemtastic not me; I don't do GUIs at all
 
9:11 PM
I see
 
 
2 hours later…
fge
11:24 PM
Italians can do jazz just fine (well, the piano player is half English as well)
 
:D
 
fge
@Unihedron note that the drummer has a pretty nice groove (although, to my eyes, he falls short of André Ceccarelli)
 
Ohh, yeah you're right!
 
fge
s,eyes,ears,
(and to my ears as well, Elvin Jones is overrated)
 
xP
 
fge
11:59 PM
Interesting question
 

« first day (1473 days earlier)      last day (3461 days later) »