« first day (1570 days earlier)      last day (3371 days later) » 
02:00 - 21:0021:00 - 00:00

fge
9:00 PM
Well yes, and what is lineField, and what is indexCondition? ;)
 
Looks to me like it's a table and a column
I don't know jooq syntax
 
fge
Hmmno
Read as SQL
And you'll see that lineField is a (virtual) column (which is the product of an alias on CASE statements) and that indexCondition is an SQL condition (otherwise it couldn't be used in where)
 
Well, from selects a table, where selects a column...
 
fge
No, where filters
 
hmm
Well, as I said I'm new to this
I've only read the theory
 
fge
9:04 PM
where is a relational operation
 
yes
 
fge
It filters data out of the result set
 
Yes, like if you want all the students in a certain class
When searching in a table of all students in a school
 
fge
Yes, like in select * from students where class_id = something
 
nods
 
fge
9:06 PM
Now, there are a few things a little more tricky in that request
 
I need to get to the writing of the code. I haven't memorized the code, just the pattern
 
fge
Namely, there are aggregations
You have a max
 
fge sensei is in full teacher mode ;D
 
fge
This exists in SQL, and in jooq, this is symbolized by DSL.max()
Fortunately, here it is easy enough because it is on a table column
DSL.max(NODES.LEVEL)
Forgetting about the first lineColumn where the magic really happens, the SQL would look like: select magic, max(level) from nodes where nodes.start_index < ? and nodes.end_index >= ? group by magic
Where both question marks are placeholders in prepared SQL statements (see PreparedStatement)
OK so far?
Oops, sorry
Edited the query
 
Yeah I already now this, I just have to code
 
fge
9:11 PM
So, the query again
 
I'm off to the store now, so I'll be back in a bit and after that we can take the TDD whenever
 
fge
select lineColumn, max(level) from nodes where nodes.start_index < ? and nodes.end_index >= ? group by lineColumn
 
9:32 PM
hello all
hi @fge
how are you?
 
fge
9:43 PM
@ZouZou fine!
@ZouZou I am working on a JavaFX app and it's making good progress
 
@fge Ah you're digging into it? I never worked with, doing the UI with swing but that's pretty ugly :/
 
fge
@ZouZou I have also encountered something strange
Well, I use JavaFX
It's much easier to my eyes
@ZouZou also, I plan on doing a Google Hangout on TDD probably within the next hour; see the starred messages on the right for the content
I am waiting for a few people to be there for that
 
ack
 
Ah TDD sometimes useful sometims just a pain
I watched a video about Coplien and Martin talking about TDD
 
fge
@ZouZou well, you can attend my session ;)
@Gemtastic @ItachiUchiha @Unihedro you there?
reading an SO answer on his question about Files.lines(); then will probe the room again
 
10:04 PM
@fge Do you know how to publish a library? I plan to drop the first release of JavaBoost and I have no idea about which license to use or how to drop to both maven and gradle repo
I see you already done it for a lot of your projects
 
fge
@ZouZou well, for one I use gradle, not maven
 
but you drop on both using gradle?
 
fge
As to licensing, well, ASL seems the lovechild at the moment; personally I dual license LGPL 3+/ASL 2.0
And there is no "gradle repo" per se
Gradle uses maven repositories, both for publishing and fetching
 
@fge Back from the store now, just gotta unload
 
@Gemtastic I got back to it and putting it into a new map worked. :)
So from scrambled
{z=80, x=67, j=61, q=61, k=53, g=38, v=37, y=36, b=35, p=33, f=31, c=30, m=26, w=23, d=21, u=21, h=16, l=16, r=10, s=8, n=7, a=6, o=3, i=1}
to making a new map
{e=80, t=67, a=61, h=61, o=53, s=38, i=37, n=36, r=35, d=33, b=31, l=30, m=26, w=23, g=21, u=21, c=16, y=16, f=10, j=8, k=7, v=6, p=3, x=1}
 
fge
10:12 PM
@Gemtastic OK, I'll prod the room in 5 minutes and we shall get started
 
yaay
@Jun-GooKwak That's good :)
 
Hello
Is there anyone on here who uses Netbeans for Java development?
 
I do
 
Could you please help me with a problem I am having?
 
I could try
 
10:20 PM
Thanks, I'll explain the issue. :-)
Basically I suck at designing GUI in Java, so I decided to use Netbeans GUI builder, obviously I'd like to maintain my current structure of separating GUI from Logic and that from DB. However when I try manipulate any GUI outside of the actual GUI form class it doesn't seem to work. Any ideas why?
Fore example, I created a new project, two classes. One called ERS and the other called GUI. In the GUI builder, I've added a simple button, given it a name and made the scope public.
 
fge
@Script47 uhm, you might want to learn about MVP; also I have designed a GUI model which specifically addresses this concern
 
try clean and build
 
fge
Anyway -- sessio starting in 8 minutes
 
@Gemtastic tried it, doesn't work still.
I added a simple action listener and when it the button is pressed, it's mean't to write something in the console, but nothing appears.
@fge will do. Have you got any specific links that I should check out?
@HamZa understood bud.
 
fge
10:24 PM
@Script47 no, but I can take some time explaining to you how I've done it
 
@fge my web cam is messed up, any chance of an alternative means of contact?
 
fge
@Script47 you don't need a webcam
 
It asked for web cam and said that it requires web cam?
 
fge
I don't really care about seeing my peers' faces, only their comments/questions if any :p
Eh?
Which browser?
 
Chrome.
 
fge
10:28 PM
Try with firefox?
2 mintes
 
@fge imgur.com/Qvr5iWh just to show you what I mean.
 
fge
@Script47 that doesn't mean that you can't access it, right?
 
Nothing else shows.
 
fge
Just close the message and see what's what
 
I can't, it's not in focus and I can't bring it in focus.
 
fge
10:31 PM
Try with FireFox
 
Installing plugin on FireFox.
 
fge
Anyway, 3 minutes before start
Well, do :p
 
Okay.
I think it should be working. :-)
 
fge
OK, try and join; want a recall of the link?
 
I'm on the link now.
 
fge
10:34 PM
I don't see you...
 
lol
 
fge
Using noscript or something?
 
Nope.
 
fge
Anyway, sorry but it will start now :p
 
@ItachiUchiha @Unihedro where are youuuuuu!?
 
10:34 PM
Want another screen shot?
@Gemtastic any other solutions?
 
 
1 hour later…
11:41 PM
Thanks @fge
 
Thanks @fge
 
fge
Uhwell, sorry for the hiccups
 
@fge at your worst you're 10 times better than my last two teachers at their best
So don't fret too much about it ;)
 
fge
11:52 PM
Well, thanks, but I guarantee that the next session will be much better!
I'll have learned from my mistakes
 
02:00 - 21:0021:00 - 00:00

« first day (1570 days earlier)      last day (3371 days later) »