« first day (1775 days earlier)      last day (3170 days later) » 
03:00 - 15:0015:00 - 00:00

3:10 AM
o/
 
 
4 hours later…
7:05 AM
hi
 
morning
 
7:24 AM
Morning
 
@MadaraUchiha You've taught me so much <3
 
@JohnSnow =)
How's NodeJS treating you?
 
Just fine actually
Callback isn't as horrible as everyone says if you just do it properly from the beginning
 
@JohnSnow True, but there are many things you still can't do sanely
For example, iterate over a collection, do an asynchronous task, and then do something when everything is done
 
Probably, but I haven't encountered them yet
@MadaraUchiha I solve that by using reporting back as a callback :P (loosely explained)
 
7:37 AM
@JohnSnow "Reporting back"?
 
@madara are you giving sessions for NodeJS?
Don't forget to include me ;)
 
You mean an object keeping track of the number of actions completed?
 
@MadaraUchiha There's a method that listens to the other events.
When they're done they report back
It's not pretty
but it kinda works
 
smh?
 
7:39 AM
!!urban smh
 
She's not in here
 
Huh
@JohnSnow "Shaking my head"
 
Feel free to :P
I know it's not a pretty solution
 
@JohnSnow what you're doing is the equivalent of subbornly using Java's java.io package instead of java.nio :P
It's not that it isn't pretty
 
Anyway, the sum of everything you've taught me is very useful in JavaEE
 
7:41 AM
I can live with not pretty
It's that you get much prettier solutions for free
 
@MadaraUchiha I'm well aware of it, but it helps me learn much better.
 
/javadoc ScheduledService
 
@ItachiUchiha javafx.concurrent.ScheduledService: The ScheduledService is a Service which will automatically restart itself after a successful execution, and under some conditions will restart even in case of failure. A new ScheduledService begins in the READY state, just as a normal Service. After calling start or restart, the ScheduledService will ...
enter the SCHEDULED state for the duration specified by delay. (1/13)
 
^^ Why does this not have a stop method?
Or Why can't we schedule it for X amount of time and after that it kills itself :@
 
The later question is valid, but why wouldn't it have a stop feature?
Maybe they want a if(X){ stop }
 
7:51 AM
morn
 
However, feel unnecessary that you have to make your own run-counter and stop it >_>
 
Yeah true
but it throws an exception if I assign it to an executor and later try to shut it down
 
Hmm...
 
Sometimes I don't understand the APIs
+ where is @fge when you need him :@
 
@ItachiUchiha If there's a demand for it
 
7:57 AM
@MadaraUchiha I would love to have a basic session!
like a Beginners session to NodeJS
 
8:18 AM
Morn
 
hey @wond
 
Hey tavster
 
9:16 AM
@Madara I think I have 3 interested candidates, including me. Moreover, I think @JohnSnow would be interested as well :D
 
I'm not interested in beginner course, but intermediate to advanced I'm game on!
 
java = annoying
hi guys!
 
@paul23 = annoying
hi paul!
;)
 
Right now I'm wondering why you have to call the super constructor as first line.
I have a part of construction that needs to occur "after setting up member variables" - but the way it is set up is different for each derivate. What is the generally accepted approach for this?
 
@paul23 This has nothing to do with your "why does the super() call need to be the first line in ctor" statement right?
Why not have an abstract method initialize which the constructor calls and each subclass can implement?
 
9:27 AM
Well the "generic code" I would first try put in the super-class, and then if I could only let this run later (after the derived classes have done a part of their construction) I could prevent such initialize methods
Btw the problems is the other way round: I would create in the base class a non abstract initialize method to prevent code duplication. (That method would be equal).
 
/javadoc ScheduledService#cancel
 
@ItachiUchiha boolean cancel(): Cancels any currently running task and stops this scheduled service, such that no additional iterations will occur.
 
I think I need a flowchart to understand in what way you want to construct.
 
^^ How in lords name did I miss that method for so long :P
 
[initiaze variables in derived class] -> [Do housekeeping that is equal for each derived class]
Wow
lightning struck just few houses away from me, sky is almost blue still.
 
9:32 AM
:o
 
Maybe I need to unplug my computer. Last time I fried one during a thunderstorm.
 
That has never happened to me even though everyone warns me about it
And I never listen :o)
 
49 minutes left
That dieing battery
 
@paul23 I think that's just not possible without ugliness.
as in a method you call after construction
You could have a factory method that does that and keep the constructors (package) private
 
Well I could either use a method after construction. - Or pass everything as an argument to the base constructor.
 
9:35 AM
With the factory method you could at least guarantee that no one creates an unclean instance
 
And keep all members in the base (which would mean I have to plan all potential important members in advance)
Factory class approach.... Coming from C++ I tried to evade that for as long as possible.
 
o/
 
@paul23 I don't think it's that bad tbh
 
Create two things when you -semantically- only wish to have 1 thing? To me it adds a layer of complexity/abstraction that has no real reason.
 
Well I'm not the one with the weird class set up
 
9:44 AM
Hmm I might actually prevent it by using construct on first use idioms
 
 
2 hours later…
11:16 AM
Hello~!
 
hi.
 
having a good day @Unihedron? :D
 
no.
 
i figured. life is shit, but you know, still good..
@wonderb0lt how's it going man? are you out of your old job already?
 
11:20 AM
@LeeJeong No, 12.5 days to go
 
mine's 15. :)
how long was your notice period?
 
Originally 5½ months but I managed to let me go after 3
 
oh my god? wtf is that? is that a third world country or what??? slaving!!
fortunately, i'm employed by an american company, that's why its only a month. but, hey, congrats~!
 
congratulate me in 12 and a half days
 
11:35 AM
yas! :D to a better environment for you!
 
I hope
 
12:02 PM
Greetings
 
hey
 
12:16 PM
'sup?
 
heya
how are you doing man?
 
I'm doing...
Still waking up
 
hey :)
 
How are you?
 
Getting more and more into java :P
 
12:27 PM
Good to hear!
 
@paul23 are you studying?
 
I never did good at studying...I learn better hands on, conversing...
 
@ItachiUchiha Not computer science
I'm getting lost in the collections java provides lol
I wish to have a collection that: 1) has very fast place in front/behind another element (or is sorted). 2) I can iterate over efficiently. 3) Removal happens only very seldomly. 4) decent lookup time (mainly to facilitate (1) ), either through a key or index.
Am in doubt between ArrayList, LinkedList and TreeSet. (Oh with iterating I mean iteration while keeping order of insertion/keys).
 
Hello there, can you recommend me some material for learning JavaFX?
 
@albru123 oracle tutorial
 
12:41 PM
@Unihedron Horrible examples...
 
examples are useless, just read them
 
@Unihedron ...and promoting fuckin' Netbeans everywhere -__-
 
1:04 PM
hey @wonderbolt
look what i've found
 
Seen it
 
hai caterflows
 
@Hans1984 me too thanks
 
i was jk
;)
i knew you've already seen it
 
1:14 PM
@Hans1984 That's future me hitting past me for introducing a bug
 
^ lol
hey @wonder how's it going man? Any luck with the apartment hunting
 
thats me hitting google for its new sign
 
People actually write the letter "o" counter-clockwise?
It looks so wrong to me
 
do you write o's clockwise?
 
Yeah
 
1:22 PM
are you left-handed?
 
actually no
what am I saying
 
ok
 
I'm left handed, but told I write like a right handed person...
 
I think its the fact that he's doing it from below thats tripping me out
 
i though maybe left-handers write it counter-clockwise
but nm
 
1:24 PM
I think most people write it counter clockwise because of C and G, as most people start at the top and must go counter clockwise
 
You're probably right
but for o's I start near the bottom
 
Then again, I'm insane :P
 
wait no I don't
wtf why am I tripping out so hard
runs to the coffee machine
 
Don't trip
 
trips and spills coffee everywhere
 
1:25 PM
hA Ha!
 
falls in a counter-clockwise motion
I am definitely not a morning person
I am borderline retarded before I get a full coffee and a cigarette into me
 
its 3.30 pm over here
 
9:30AM here
 
its getting dark probably bout to rain soon
my brain is getting dizzy ;/
 
I might have something to help that
 
1:32 PM
ok.. How do you handle TreeMap<Integer, my2dGrid<int, int, list<Object> > > Layers type of declarations in java?
 
You handle it carefully and with grace
 
i just handwrote 10 o's
to tets it
test
counter clockwise feels weird
 
No typedefs
 
woah stop it
this is messing with my eyes
* goes back to write some o's *
goes back to write some o's
 
@DumbKnee meh
 
1:40 PM
no its actually nice
:o
 
@paul23 That's the only thing that would make this more readable
 
1:53 PM
@wonderb0lt well... java
 
No typedef?
 
According to google
145
Q: Is there a Java equivalent or methodology for the typedef keyword in C++?

bn.Coming from a C and C++ background, I found judicious use of typedef to be incredibly helpful. Do you know of a way to achieve similar functionality in Java, whether that be a Java mechanism, pattern, or some other effective way you have used?

 
I know Java has instanceof
 
That doesn't make above (TreeMap<Integer, my2dGrid<int, int, list<Object> > > Layers ) any more readable
 
@paul23 class Super2DGrid extends My2DGrid<Integer, Integer, List<Object>>
 
1:56 PM
But it's obviously not the same
 
Is what I meant
Then you could write Map<Integer, Super2DGrid>
 
@paul23 That looks like something to either burn with fire or put a facade over
 
does that work?
 
Wonderbolt: but I right now don't know if I'll be using integers (unsigned or not), or longs etc
 
mhmhm
 
1:57 PM
I prefer to keep abstraction up to the final level of implementation.
Well maybe I should just abandon the idea to let template magic do everything.
 
@Hans1984 Yeah I write clockwise too
My brain don't work no good
 
i know those days
 
This is why I just pretend to work for the first 60-90 minutes of the day
Otherwise I'll be spending time just fixing all my mistakes lol
 
yes
its like your brain is still asleep the the first two hours or so
 
wait what.. "unreachable statement" is an error?
what? WHAT?
 
2:08 PM
Yeah exactly haha
 
@paul23 Java is a Da-da for programmers. It will smack you on the fingers so that you don't do stupid things like write code that can't be reached.
 
So is C++ the Ma-ma then
and C# is the child
Or what is the the Mama
 
C is the grandma
 
heheheh
and python the grandpa?
 
At least there you get sweets
 
2:10 PM
It may not be done the best or classiest way, but grandma C can do almost anything. Without fancy things like class
 
 // If we find the class somewhere in the templates make $actual true and break
 if ($string == $value) {
     $actual = true; // class found
     break;
 }
least helpful documentation I've seen in my life
 
lol
if (true){
 variable = true;
 break;
}
You don't mean, that isn't the meaning of life?
 
This is of course called from testCase5()
 
Ahhhh good old testCase5()
the classic testCase5() what would we do without you
 
2:13 PM
@JohnSnow actually you can write unreachable statements and get javac to just slap you with a warning
 
@Vogel612 Yeah?
How is that different from what I said?
 
need to tweak the settings a little, but the codebase I worked on had a significant amount of unreachable code
 
@Hans1984 It's always hard to make up what I did during that period though when it comes around to billing my hours
 
errors usually abort the compilation, warnings not so much
 
You're lecturing the wrong n00b here >:C
 
2:15 PM
~hands in the air
 
@wonderb0lt when I see something like this, always remember this - w3schools.com/tags/av_met_canplaytype.asp
 
~wave em like you just don't care
 
@DumbKnee just say "not making errors"
:D
 
it's exactly one year ago since I learned about unreachable code though
 
@DumbKnee WORD UP! on spot, just started
 
2:16 PM
so they want to know what you did for each hour? :o
 
^Just slightly out of your grasp? If your compiler stood on its tippy-toes could it reach it?
 
@JohnSnow there's two types of that though :)
 
@Hans1984 It's because we have like ~10 projects for many different clients, some are fixed-priced and some are time&materials
 
the should look at the whole project not one specific hour
 
@Vogel612 I know
 
2:17 PM
i see
 
then imma be quiet now
 
I was just pointing it out that it was a year ago since I first learned about it :P
 
@Hans1984 It's because I work in an engineering consulting company, so the projects vary. I'm the only one here who even does the Java project
My boss doesn't really care about the hours spent on that
 
i see
 
But he does care about you spending time doing tasks that are billable.. aka he makes money
 
2:18 PM
it sa little bit the same with me
im the only one programming app/using java
apps
the rets of the crew mostly works with PHP sql stuff like that
 
Ahh! I see
I spent my past 3 days spanking SQL into submission
 
Vogel is so ready to teach he'll pounce on ANYTHING ;P
If you got some JavaEE to teach me I'll bench myself though :D
 
what do you want to know about?
 
@DumbKnee :D
 
I haven't been doing real EE in a while though.
just enterprisey java
 
2:22 PM
@Hans1984 heheh
@Hans1984 What kind of apps you building?
 
right now im working at one you can use to search a database for different things take photos upload them connected to items etc
those are the main functions
 
@Vogel612 Well, atm I'm on JSF so I dunno where I'd want you to begin XD
 
I don't know much about the inner workings there anyways
JSF was over a year ago now.
 
later one you shoudl be able to edit items in the datbase
like the amount , isbn stuff like that
 
Well, I already know how to do DB stuff
 
2:31 PM
but im relativly new to app programming
been doing it for half a year now
but im using java for alot of years now
 
@Vogel612 I'm not too concerned with JSF though
 
right now we are doing some kind of beta and getting feedback and then i have to fix all the bugs ;)
 
feels pretty much like what you do in node
 
since i've prorgammed the whole app on my own its all up to me
@DumbKnee
 
Are you making an Android or FX/Swing app?
Or what?
 
Ah I see
 
@Hans1984 Oh thats awesome! I'm in the same boat actually, my boss initially made the application one of our manufacturing clients uses
 
@Hans1984 We should show that to @corvid over in the Python chat
 
but I took over the entire thing and overhauled a lot of it , added new modules etc. Now the client emails me instead of him xD haha
 
yes why?
@DumbKnee sounds good
does he like crows @wonderb0lt
 
2:39 PM
@Hans1984 well corvid is the family that includes crows and his user picture is this:
 
oh ok
i know this picture
crows supposed to be smart so why does it smoke ? :(
maybe its "human-smart" thats why
well then you know its alot of work @DumbKnee
but at the same time you know it was all you when its done ;)
and a little bit help from my friends
i mean stackoverflow
 
Exactly heh
And also I know I'll never be fired xD haha
@wonderb0lt That picture is awesome hahaha
 
yes @DumbKnee they are kinda stuck to us now
muahahaha
 
Good Guy Crow; makes the potheads sober up and get a job.
 
@Hans1984 hahahaahhaa amazing
@JohnSnow Hey now, there are some very functional potheads out there!
You are generalizing
 
2:52 PM
@DumbKnee I didn't say there weren't
In fact, there's a little girl who wouldn't function at all without cannabis
 
You heavily implied it lol
 
Cannabis oil suppress the seizures in her brain
@DumbKnee I implied the birds helped the potheads with no jobs
 
'makes the potheads sober up and get a job' implies that potheads don't get jobs because they are high
 
Stop getting offended just because you like to get high :P
 
I think saying "the" made it a generalization, but english isn't your first language so I'll forgive you
hehe :D Not anymore I don't
 
2:55 PM
popcorn
 
I'm not even offended per-se, just heckling because you would always get mad at me for generalizations
 
google change logo?
 
Yup
 
Well, to me, a pot-head is someone who doesn't do anything else but devote themselves to pot. That's not the same as someone who just smokes pot every now and then
 
@deadlydragon00 can I get some?
 
2:56 PM
sure
 
@Tavo Have some of mine too; they're buttered
 
grabs popcorn from everyone like the crow steals joints
 
@JohnSnow Ahh well that is why I said there are functional potheads
 
@Tavo D'aaw
@DumbKnee I'm sure there are
That doesn't mean much if ALL they do is smoke pot
 
nomnom
ugggg, who put a sweet one with the salty ones?
 
2:58 PM
slatchslatch <-- BBQ flavor
 
I guess I am saying you can be high 24/7 and still do other things than smoke weed
Like get an engineering physics degree
 
@Tavo Not me, there's no sweet popcorn here
 
@DumbKnee or software engineering
 
@deadlydragon00 slatchslatch is an interesting sound effect
 
@DumbKnee I know, but what part of ALL you do is smoke pot don't you understand :P
 
2:59 PM
@JohnSnow I've never met a single person who solely exists exclusively through weed lol
 
@JohnSnow you can smoke while studying. Don't recommend it though
 
@Tavo ;)
 
You can be a high-functioning thumbroller too
 
@DumbKnee yo
 
03:00 - 15:0015:00 - 00:00

« first day (1775 days earlier)      last day (3170 days later) »