« first day (1614 days earlier)      last day (3551 days later) » 
00:00 - 15:0015:00 - 23:00

15:00
@fge just the method name thats it; but what if the class we are in ,has the same method name ?
then you have something called nameshadowing
and that's idiotic
@Sword and the fist thing when you introduce a field is making it private
initially it was private but when I saw the link by oatbot , I thought maybe setting it to public might be better
wrong idea
anyways, you should put the result of the method invocation into a field...
and not try to make a field of a method
because that simply won't work
15:16
hello guys.. need one help!
hmm?
I have created a resources folder inside my java project. how can I access files inside this folder without giving full path?
I have created that folder where .settings, bin, src folders exist
@Vogel612 any idea!!
I'd tell you, don't worry...
Morning Yava.
15:24
hii @SecondRikudo
~shudders
Back from round two of interviews!
@Gemtastic \o/
How'd it go?
It went well, but I didn't get interviewed by the boss this time; my if I get hired colleague interviewed me instead and he seemed as happy with me as I am with him
I want to work there. All it comes down to is the wage now and if they are ok with that I'm in school two halfdays/week
I can accept a much lower wage just to get to work there
But I got some other hooks on the market so I'll have to draw a line somewhere
@Gemtastic meh.. two halfdays are not enough to cover for a "much lower wage"
after all this is more than a 75% employment
and much lower sounds like 50%
15:39
I can still work 100% if they portion it on the rest of the weekdays
@Gemtastic trust me that doesn't work
But I understand if they're good with 75% when I have school
at some point you become ineffective when you're working too much
But by lower wage I meant the hourly wage
hmm... I don't even know my hourly wage
then on the other hand. I could easily calculate it...
fge
fge
15:44
Huuh
My checks are registered twice by Sonar
What the...
Morning!
Custom doclets are so much fun!!!!
@Vogel612 We kinda go by both hourly and monthly wage.
@Gemtastic my opinion is that you should do what makes you happy, even if wage is lower.
Lots of people fail at life doing shit they hate. So even if you fail, at least it's doing something you love :D
(Not to mention you probably wouldn't fail if you do something you like)
slapped with wisdom
@Vogel612 I look at my parents, who are both awesome and talented people, but truth be told, I followed what I want, without giving a damn about anything else, and I today, at less then half their age, earn more than both of them combined.
15:48
@SecondRikudo I will enjoy that job, but I just put out my hooks on the job market, I have a coffee interview on Friday with a guy who firstly wants to recruit me to the company he works for, and if they can't take me he wants to introduce me to his associates he works with. I'm sure I would enjoy that job too
As long as I get to code I'm happy
It's not to brag or anything, it's just that, things will fall in line in some way or another, you just need to direct it to where you want to go :)
This is the first time in my life where wage actually has any of a say in the matter. If I'm going to love any job I can get, I might as well get the one that pays better.
@Gemtastic Definitely.
Before this I've been happy for ANYTHING. Want me to babysit your kid friday night for $2? SURE!
There's an order of priority, and wage is definitely a factor, however important or not, in selecting a workplace.
15:51
@SecondRikudo That's why I said that I can consider going lower in wage on this job
@Gemtastic Uncaught NullPointerException: kid.babysit()
@Gemtastic Same.
The colleague I will have if I get/take that job seems like just the kind of guy I'd wanna be both friends with and work with.
Self-taught programmer who loves what he does and also loves to know more about the code. Copy-pasting isn't enough.
@Gemtastic The top priorities I had in my job were: "Uses technologies I'm not familiar with" and "I get to work with people who are better than me"
:)
@SecondRikudo New stacks are great.
15:53
Both were fulfilled to an extent with the job I took, so I'm happy.
hmm... I think I'm becoming less of a that kind of person @Gemtastic
I sure was and maybe still am...
but this project is simply... too undocumented and confuse to actually be allowed to care
@Vogel612 Maybe it's time to switch project then.
@SecondRikudo That's kinda the opposite of that job; apart from php and real life experience, I know about as much as that guy. XD It won't take long until we're on the same level, but we both like to challenge each other so I think that weighs up for it
@SecondRikudo maybe.
@Vogel612 Sometimes you just gotta dirty your hands to get the job done :/
15:54
as of now I probably can't but on the other hand, I plan to go studying anyways....
@Gemtastic My thought is always, as much as it's nice being the smartest person in the room, if you're that person, you're in the wrong room.
so I'm mostly doing this for the pay
@SecondRikudo which makes it so hard to get people like that in the same room with you T.T
not here though.
Pros of this job: I feel confident and comfortable with working there. It's within my comfort zone yet still on the edge so that I can grow if I want to. There's not as much stress or pressure.
@Vogel612 To be fair, if I would be feeling I was being surrounded by idiots, I'd resign pretty quickly.
Meh. It's not like I can choose over here - development jobs are scarce
15:56
@SecondRikudo I love that quote, and I live by it.
@Gemtastic Great! It's, again, a thing of priorities.
But I also value just having a nice friendship.
If you don't (yet) feel confident in your skills to do a complete overhaul of your stack, that's fine too.
Some people aren't brighter than you, but they're just really nice friends. It weighs up for it.
I felt like I reached the end of what I can do with PHP (at the time)
15:57
@SecondRikudo I don't think I get what you mean by that
PHP is entirely new to me, I'll also be thrown in with Linux servers and database administration. I love that!
well at least two of these things are cool
(guess which :)
> Two out of three ain't bad - Meat Loaf
Quick question: any of you guys know a good music streaming service which doesn't require flash?
@Gemtastic When I took this job, I was already at a master level over PHP I felt comfortable with
Not nearly as much as monsters like Gordon and Anthony, but decent++
I felt like PHP reached the end of what it can offer me as a language
So I sought change
This company works with Java and JavaScript, so I took it.
@SecondRikudo Kinda reversed from my situation then :P
16:14
@Vogel612 Youtube.
It has html5 player.
while it has a html5 player it also wastes bandwith to no end, because it also gets videos
Set it to LQ in video.
140p or something
also I don't consider youtube a streaming service
Maybe Soundcloud?
There's one potentially bad thing though; they previously hired my classmate, and he quit after a week because he couldn't manage studying and working at the same time. It'll be a pity if they are prejudiced by that and won't hire me because of it
16:17
hmm... they seem rather underrepresented in the music section that interests me...
@Gemtastic you're not your classmate
and if he quit after a week.. it must've been him.
@Vogel612 My thoughts too, but some people bet biased. I don't think that they think that will be an issue unless I think so
since I've been frank all along with that I'm still a student and I intend to finish the education
@Gemtastic that last sentence is above my current mental capacity
@Vogel612 Let me rephrase; since they know I'm a student and will finish my education, and they still called me for 2 interviews I think they're fine with it as long as I am confident that I'll make it
that's easier, thanks ;)
It's just a funny coincidence that we happened to be classmates
16:24
dammit tomcat, don't just suddenly stop working
@Gemtastic, eh, a decent employer knows different people take school+work differently.
Heck, most sufficiently sized employers have people who are during school regardless.
@SecondRikudo So, in other words, if they are biased about it, I don't want to work there anyway ;P
@Gemtastic Yeah, pretty much.
Well, we'll see where it leads :)
Well management is critical to career success.
There are people who live through the overwhelming mismanagement - and learn from them.
16:37
s/well/good/?
It's not uncommon to see "the wannabe developers with golden promises" taking up many jobs they lack even a fundamental skill set of, so. :p
Doclets are SOOO MUCH FUN
I'm in heaven
@Unihedro 199/200 applicants fail fizzbuzz...
which is incredibly sad.
Too bad so sad. Life is strange.
true that
16:50
+240 rep!!!!!!!!!
Of which 100 comes from assoc bonus of registering on a site, 130 on Security.SE, only 10 on Stack Overflow
which is probably some targeted sock puppetry which will become "-10 user was removed" soon...
sigh
130 on Security? hmmm...
~goes stalk uni's account
You missed some tavern humor, @Vog :p
Which was why I posted the answer and got points
~profile["sitesWithMoreThanTwoHundredRep"]++;
@SecondRikudo do you have any sources on this? :p
16:56
@SecondRikudo Great minds think alike :)
@Unihedro Ninja'd by the ninja god. Aw yiss.
I just got ninja'd by the ninja god
fge
fge
Yay! Found the bug with my scanner!
damn, 199/200. That's a big % lol @SecondRikudo
@Unihedro meh... hyperbole...
sure author's got a point, but honestly. You should stop caring somewhen..
.... I solved the problem with tools.jar missing, @fge.
@Unihedro I kind of agree, but he's also quite an asshole there
I didn't configure the JDK on my IDEA correctly - it only loads classes in /jre/libs, it needs to load from /libs also
@Vogel612 lol
Making presumptions and prejudges about the skillsets people have
People who don't give a fuck about computers don't know computers, shock!
2
17:01
True that.
I joke about how my dad is clueless with computers, and he jokes about him clueless with parking.
If he needed a computer to work he'd learn. And if I owned a car, I'd learn to park better.
@SecondRikudo Wth xD
@Unihedro Smooth as hell :D
I have to do that at one wedding at some point XD
Welp, peace out. It's been an unproductive day because I had too much fun with custom doclets.
fge
fge
<-- relieved
That bug was f*ing annoying
17:10
@fge Wait until tomorrow when it pops back up :D
We learned about streams today :)
fge
fge
@SecondRikudo I'm confident it won't :p
Pretty nice, I think the implementation there is better than JavaScript in some ways (specifically, efficiency)
fge
fge
"We"?
Had an internal course in the company
fge
fge
Ah
BRS
BRS
17:12
Good morning! Anyone knows about query generation tools in java?
In JavaScript, every call to an intermediate action (.filter, .map, etc) creates a brand new collection
fge
fge
Yep, they are nice, although you can have some surprises
BRS
BRS
@fge Hi, do you know of any?
fge
fge
If you mean SQL queries --> JooQ
BRS
BRS
Actually I am looking out for a specific tools
Like
If the user provides some column names chosen random from a screen
the queries should be generated automaticlly
fge
fge
17:15
JooQ
@BRS you won't hear much else on that matter from fge
(and btw not from me either)
mostly because fge is right
@fge The basic difference is that in JavaScript, each action creates a new collection (so same as list.stream().map(someAction).collect(toList()).stream()...
BRS
BRS
Thanks both of you. I am looking out for a feature like the adhoc reporting feature in tableua or jaspersoft server
That means that in JavaScript, each station in the way causes a brand new iteration over the collection at hand
The advantage being that since all of these always return a collection, I get all of the advantages of it being a collection.
I am astonished how slow that stored procedure is..
fge
fge
17:21
@SecondRikudo yep, that's a different way of thinking
@fge The nice thing about Java's implementation though, is that it works nicely across threads, and it (almost) always operates at, at worst, O(n)
fge
fge
@SecondRikudo the not so nice thing though is that some terminal operations will implicitly turn back the stream to being sequential
Such as .collect(Collectors.toList()) for instance!
@fge well it's problematic to collect into an ordered collection from a non-sequential stream
fge
fge
Yes, that's also true; now you may not care about order either, only that they are collected
But then this is why Collectors have characteristics
What's great is that streams give free laziness which scores into performance, immutability, thread safety and potentially serializeable.
17:25
@fge How so? Isn't toList() equivalent to .collect(ArrayList::new, List::add, List::addAll)?
fge
fge
@SecondRikudo it does, yes; but ArrayList is not thread safe
hmm... what about collecting into a set?
fge
fge
Same thing with HashSet
^ okay ;)
I don't think it uses ArrayList, @SecondRikudo, isn't it just any mutable list?
fge
fge
17:26
But you can work around that by using a special Collector
=javadoc Collectors#toList
@Unihedro Collector toList(): Returns a Collector that accumulates the input elements into a new List. There are no guarantees on the type, mutability, serializability, or thread-safety of the List returned; if more control over the returned List is required, use #toCollection(Supplier).
fge
fge
It must have Collector.Characteristics.CONCURRENT
Oh, it's not even guaranteed to be mutable.
fge
fge
<-- needs to answer to the other party interested in json-schema-validator
Argh
@Unihedro good opportunity for a new package: more-collectors
.collect(MoreCollectors.listParallel())
Or something
Better yet
Gaussian distributions
@SecondRikudo also, about your example, see here
BRS
BRS
17:37
@fge Hi, if you don't mind, if possible can you help me understand (related to jOOQ) whether if the datasource(the database for example employee_db) information needs to be known beforehand at compile time to be able to generate sql queries or the database information need not be known at compile time.
I actually saw some examples where i see some predefined database info is used in code
fge
fge
@BRS that's one possibility; but you can also generate table expressions/column expressions from scratch if need be
Admittedly though, the code generator makes that easier
@BRS You can "know" the parameters at compile time just once to generate all of the classes, then get rid of the credentials and check in the generated classes
BRS
BRS
@fge But my requirement is that the user may provide any database details and be able to see query results from just drag and drop of columns on a canvas. That means I don't know any information of the database at compile time. Thank you for your kind info.
And have credentials passed in the connection URL or via environment variables.
fge
fge
Well, it's STILL possible
@SecondRikudo I don't think it's the problem at hand here
@BRS as I said, you can generate any table expression/column expression at runtime
No problem
There's nothing SQL that JooQ cannot do
BRS
BRS
17:46
Okay. Thank you.
@fge SQL injection? >:)
fge
fge
@SecondRikudo yes, that too :p You can execute raw SQL :p
BRS
BRS
@fge Actually I modeled the problem in to graph theory problem based on foreign key relationships and written a query generator that will join tables based on the selected columns from any random database tables. But it is not writing joins using the correct mapping tables. :)
fge
fge
Warning! In the relational model, foreign keys are NOT relations
They are CONSTRAINTS
17:53
@fge That's an awesome idea!
fge
fge
@Unihedro then go for it :p
I'd also love round-robin array/list allocation :)
Yeah!
fge
fge
THat would be an excellent opportunity to learn about maths as well
BRS
BRS
@fge Yeah I think based on the foreign key constraints only a graph is generated and then based on the path found between the selected tables a SQL is generated.
fge
fge
There is a s*load of things to do with numbers and statistics
@BRS I don't know about graphs or whatever but to me it's simple enough; tables have columns, and if two columns from different tables are required you join them
That's a simple where condition
I don't know what your GUI will look like but I doubt that you give the opportunity to do inner joins, full outer joins and whatnot
BRS
BRS
17:58
Yes. Actually a user can alter and save database schema as a 'Domain' in a different screen. And the domain can have user defined any kind of joins. I should use only respective joins between those tables.
BRS
BRS
18:09
@fge and @Second Thanks to both of you for your valuable time. Its midnight here.. Good night :)
posted on March 25, 2015 by CommitStrip

Today, CommiStrip is sponsored by Intel! The Internet of Things (IoT) is taking shape, and Intel is entering the race with the Edison technology and the Curie module, specifically designed for the creators of devices. It’s a promising platform for all emerging entrepreneurs and keen enthusiasts eager to invent the future. Whether you want to build a wearable, button sized solution with Cu

18:45
trying to set up android studios
fge
fge
@Gemtastic android? What about your app, then?
@fge I'm working on it on this computer
The login and hashing passwords upon creation works now at least
fge
fge
Haa, you know what? I actually have some time ahead of me now... But only now...
hii people
can someone look to my issue pls
1
Q: Images and text file doesnt show in the exported runnable jar file

Suroor AhmmadI am working in Java Swing application. I am referring image in my program and it work fine when I run it in Eclipse but when I run it after exporting it doesnt show those files. My directory hierarchy: Code 1: Code 2: While exporting the jar I have selected Library handling: Package req...

fge
fge
19:01
Well, nevermind
hi
@fge how is the job search going?
@fge can u pls.
fge
fge
@BrianJ I do have a job now and have been at it for two weeks -- to the dismay of @Gemtastic whom I promised to help but couldn't
@fge I think you've helped me plenty :)
fge
fge
And it makes use of one of my projects to boot, and I have already created a project related to that: github.com/litesolutions/sonar-sslr-grappa
19:04
good news
:)
hello people pls help me out!
Testing is so nice~
fge
fge
@Gemtastic had I really had the time you'd be thriving in adding new functionality instead of being stuck with the design :p
Well, I'm not so much stuck as it has to be done
fge
fge
@SuroorAhmmad it's impolite to "ping" people on the channel repeatedly; and FYI I don't do Swing so I can't help
19:06
I don't know swing either
I've been putting off my college Java project the last while, must make a start on it tomorrow
sorry and I pinged you once!
not repeatedly
fge
fge
@SuroorAhmmad but I'm not blind; I did see your question and was about to answer it
This is not a "to the second" support room, you know
leave it man
fge
fge
OK, so now that things are settled, all is well
(hopefully...)
@Gemtastic can I be frank?
19:11
@fge Sure
crl
crl
At what time do you start working the morning? I need to negociate that in my next job
usually half 10
but I'm in college :P
crl
crl
10h30? that's correct, I would target 11h, and then continuous work untill 19/20h
yeah pretty much
continuous work until 23:55 most nights
fge
fge
19:44
Yay
I can now publish on the behalf of my employer
20:21
@Gemtastic so how'd it end up with your carshop project?
@SecondRikudo Terrible
It's not done yet
Were you given an extension?
(As in, a time extension)
XD
Written test it is then?
I'm gonna finish it, send it to my teachers and ask what they wanna do
Swedish schools aren't impossible
20:25
@Gemtastic normally the advice I'd give would be to create a large text/word/image file, rename it gem-project.zip and send it to the teacher
They'll try to open it and fail, but until they send you a response, and you respond back, you have a few extra hours :P
The sad thing is that that's probably something these guys did on their teachers
haha
I did it in more than one occasion (although with a .doc file generally)
Works every time.
This is the first deadline I've missed. Last one was the first one I had an extension on.
i.e. take an image, rename to .doc, send.
Normally I'm not a last minute kinda person :(
20:28
@Gemtastic to be frank, they weren't very fair.
That's why I'm sitting here with this :/
They gave a relatively large project,, with a lot of concepts that weren't very well explained, in a relatively short time.
Indeed
I'm about to start a project with iojs (newer version of nodejs), interested in watching?
Watching as in have you stream while you work?
20:31
Yeah
Sure, but I don't really have the time to pay attention; I'm working on my app :/
@Gemtastic It's more important then.
What do you have left?
It's mostly the GUI
And the statistics >_>
20:44
@Gemtastic You're a frontend dev, right? You should try nwjs
Native applications (as in, actual executables) written in HTML/CSS/JS
@SecondRikudo I was, but I'm trying to become backend :P
nods I know the feeling
Although UI/UX is a facinating area as well
People tend to think of frontend as art, which it is, in some way.
But I saw it as closer to a science.
You make your UX good, and your UI clean, and you end up with surprisingly pretty setups.
But yeah, there's something appealing about hard logic of the backend
No pesky users fiddling with your stuff, breaking your site :D
Did you have a look at what little of the UI I made?
@Gemtastic In the carshop app? Yeah, I have a clone of it
Admittedly I haven't pulled in a while though
Did you push anything significant?
Any aesthetic remarks on it? (not gonna change anything just wanted to hear your thoughts)
20:50
@Gemtastic I have a deep, deep dislike to the default font Java provides. It's just ugly as hell.
Thing that may take a long time to load (like from login to main application) should give some sort of feedback to the user, to let them know you're working on their interaction
Margins and paddings need to align
[ tab ] [ tab ] [ tab ]
   [ input ]
[ tab ] [ tab ] [ tab ]
[ input ]
Much nicer ^
No language mixing please! Either everything is Swedish, or everything is English (no content in table)
And last but not least, you should have a title on all of your windows :P
I haven't gotten to the title yet :p
nor the icon
Title should be just "name of the program :: screen I'm on"
I know
I just haven't set it yet :P
If there's a chance user opens more than one window (which doesn't appear to be the case), should be reversed
"screen I'm on :: name of the program" <-- UX, lots of people get this one wrong :D
fge
fge
First version of sonar-sslr-grappa publicly available!
crl
crl
21:22
What is it for? hmm a generic parser
fge
fge
21:47
@crl grappa is generic, yes; this package is here to help you generate SSLR parsers
fge
fge
22:04
Gee, this gives me more and more incentive to develop a web version of the debugger
Given the appropriate configuration in Sonar it means that you could use this to link a source file to the trace generated by the language parser, no less!
00:00 - 15:0015:00 - 23:00

« first day (1614 days earlier)      last day (3551 days later) »