« first day (1578 days earlier)      last day (3361 days later) » 

fge
12:06 AM
That's a sample
 
I'm not sure I like the concept of grades being its own table though...
 
fge
And where would you store them then?
A same student can have several grades for the same course, right?
 
Not in my country
It's the final grade, not the grade for tests and assignments
It could also be a pointer to the grade if the course is ongoing
 
fge
Well then it's even more simple
 
Yes
 
fge
12:09 AM
Make the attendance have a primary key and reference that from the grades table
And only add a row when the grade is over
Avoid three-valued logic ;)
 
@fge That's kinda where I was going with CoursesTaken
Name was terrible though since I wasn't finished with the thought or what I wanted to do
 
fge
Updated
THis way you have everything
 
I don't see any difference :/
 
fge
I don't have any nulls anywhere, for one
nulls are nearly ALWAYS a sign that you have a problem somewhere
 
But it's of no matter. I'm mostly just doing it because I refuse to acknowledge the way my teacher did it
 
fge
12:14 AM
I don't have any ;)
 
I meant a difference 'tween the first draft and your update
 
fge
Look at the attendance table
It now has an id
And it's used in the grades table
Well, I mean a primary key, really
 
And about the null in my table; it's probably better to have a separate table for graduated students, but that was just a filler table with more than the name and the id
 
fge
Why?
Graduated is not a unique characteristic of a student
 
You can't have a graduation date on a student yet to graduate
 
fge
12:18 AM
It is a truth derived from an attendance, a student and an entry in a grade table
Well, as I said
There is no row in the grades table unless the graduation is completed
Which, in turn, allows you to query whether a student has graduated or not, for instance
 
Examination = Graduation
The table I've made is for ALL students. Current and former
 
fge
So is this one and OK, it's misnamed
OK, fixed
 
Your examination does not hold for students yet to be examinated
 
fge
There will be no entry in the examination if the student has not been examinated yet
 
So how do you get a list of students not examinated?
In a simple manner.
 
fge
12:24 AM
One example would be to select student.whatever from student where exists (select id from student s, examination e where s.id = e.student_id)
 
But this is indeed needlessly complex, I just wanted to fix it so that there was no many-to-many relation
 
fge
But you should probably use an inner join
 
I don't see how that will show me the students yet to be examinated...
 
fge
Well, do the reverse
not exists
 
That sounds needlessly complex to compare two tables
 
fge
12:25 AM
But that's how it is done
This is the true strength of the relational model
 
When you could just change "examination" to "Graduation_status" and show "Graduated", "studying" or something like "quit"
 
fge
If you have a separate information in both the students table and the examination table, there is the risk of data becoming incorrect
And you don't want that
I never want that
Therefore the graduation status is a nono to me
 
I don't have an examination table in mine; it's a column
 
fge
Which in large part will be null
 
Then it's a simple select where query in a column that will not be null
 
fge
12:28 AM
Yes, and then this means you cannot retrace what courses a student attended
Well, anyway
That's how I'd do it
It's 3NF
 
A student's status could be many things; they could have a paus ranging from maternaty leave to a working year in between, they could quit it without finishing, they could finish it without filling the requirements for a graduation degree...
 
fge
And you pull out those arguments from under the rug now :p
Didn't I say that you had to specify your business requirements?
 
@fge you can if each student has it's own table of attended courses
 
fge
Do you actually care in this database?
 
referenced in the students table ofc
 
fge
12:30 AM
This is a violation of 1NF which is even worse
 
I'm working out of a 3NF perspective. I told you all along
It's not a very good design though because it is heavily influenced by my teacher's version, which is flawed to begin with
 
fge
Ohwell, I won't give you any more advice then
 
And I think we discovered I need to learn more about the design.
 
fge
wonders if he really speaks for something, sometimes
 
I don't understand what that's supposed to mean
But this is good practice to me because I obviously have communication issues
 
fge
12:48 AM
Well, anyway, I need to code something in GuiTaskRunner, and I wonder how I'm going to do it
 
I haven't tried coding that yet so I'm not much help I'm afraid :/
 
Anyone here any experience with JSCH?
 
fge
1:18 AM
Not me
 
 
2 hours later…
3:23 AM
jesus christ
 
Morning prayer?
 
Hehe
That was more of a shock
 
What happened?
 
I just woke up n realized that I am late..
 
D:
The nap was too long?
 
3:29 AM
It was suppose to be a nap, but I just crashed :/
 
:/
 
3:44 AM
Good morning :)
 
 
1 hour later…
4:54 AM
Hey @Swordy
 
heyy.. :0
 
Are you off to work?
 
currently no.. i am by myself now
 
Studying?
 
no. getting into games dev
want to launch a game by march end
 
5:09 AM
Ohh.. cool..
 
and then launch another , then another... and want to aim for a funding
was working as a consultant until recently
 
Super cool
 
Text mining using python
 
Consultant >> Development
Nice transition
 
so now i'm into java , linux and android..
yeah.. games are my passion
you know of editage.com ??
 
5:12 AM
I am not sure if java will be of any use when it comes to mobile gaming..
Never heard of it
 
Libgdx is java based..
I could try experimenting with python as well.. but later.. need to look for a python based engine..
 
A java based game engine
^^ nice
 
And java is the standard for apps development nowadays , especially android. So i decided to go with it as it will be easy getting material online..
 
Just for android
 
yeah will start with android and if it is successful , will hire an ios developer to port it on app store
and maybe extend to html as well(that comes in quite later though)
 
5:16 AM
Cool
 
what about you?? @ItachiUchiha
 
I am a beginner..
Just getting hold of the language
 
@ItachiUchiha you know a whole lot more than me..
 
Well not really. As I said, I am just a begineer.
 
 
2 hours later…
6:54 AM
 
7:46 AM
@Swordy ROFL
 
lol it's still funny even though I've seen it before :D
 
I haven't :P
And yeah, good morning, Java! :D
 
Morning!
 
Morning!
 
hi all
how to increase reputation in stack overflow other than it's given options
 
7:59 AM
you can't O.o
 
I want to learn networking using swings in java
is there any best tutorial videos links
 
@MahenderReddyYasa Why Swings? Go with javafx
 
I'm working on it
javafx is it easy to learn?
 
8:16 AM
yeah
easier than swing
 
8:37 AM
@MahenderReddyYasa :)
 
Swing is still better.
 
Says someone who doesn't know FX
:P
 
I know JavaFX, I just don't use it because I suck at it
 
When you suck at something you don't have enough knowledge to tell if it sucks or not. I suck at Unix, that doesn't make Unix bad...
 
I disagree with your premise as it's irrelevant. Not like you know Swing to overthrow my statement :D
I would had preferred JavaFX if it supports browser css, not just its own set.
 
8:48 AM
@Unihedro It is not. Use JavaFX and then may be you will change your decision :D
 
I can't find a use case where OpenGL is too complicated for, so.
 
Well, I have no experience with OpenGL so I cannot debate
 
..
 
@Unihedro I'm not saying JavaFX is better, I was just saying that because neither you or I can tell someone who knows neither which one is the best. You don't know, and I don't know. JavaFX is the future, that's the best reason to learn it. And it is fairly simple to learn.
 
"JavaFX is the future"
 
8:50 AM
It is. Oracle is intentionally pushing it as such
That doesn't mean FX is the best
 
JavaFX with 3D is at a different level. You can even 3D print your objects :D
 
It just means that Oracle expects it to be the future.
 
Oracle is company. Company with human factors.
 
fge
Moo
 
That's irrelevant
 
8:51 AM
libgdx
 
Oracle is the company producing Java. Whatever they want us to use, we will end up using.
 
oracle future != future
um no
 
Yes
But go on, hate on FX all you want. We can invite Second and you can wallow in your mutual hate of things to hate
 
fge
Swing,, better than JavaFX?
Uh
No
 
Because hate is soo productive
 
fge
8:53 AM
JavaFX is miles better than Swing
 
@Gemtastic Well Oracle is not the only one developing java. There is an open community called as OpenJDK, which has people from all around the world giving their share to it.
 
That's implying noone develops anything after Oracle develops X - and that is impossible by literal definition
We even have object team, a derivative of Java
 
fge
For one, the default rendering of JavaFX doesn't look like it was conceived by an 80s Motif fan
 
@ItachiUchiha I think it will be far into the future until the open society will take over what Oracle does. Average developers will follow oracles trail, and they are pushing for FX
 
fge
Note that as far as I can see it was not even Oracle which started JavaFX in the first place
 
8:56 AM
average developers := all
 
fge
But they adopted it, so it gives it a considerable weight
 
is unihedro losing the argument??
 
By the time the open society does take over (if it ever will) we will probably need a new GUI system anyway
 
@Swordy: yes
 
@Gemtastic FX is not the only thing that is to Java, and Oracle just picked up JavaFX. It was originally conceived in Sun
 
8:56 AM
I never win straw man arguments
 
@Gemtastic It will never take over :P
 
@ItachiUchiha Of course not, I never said it was. I only said that they are pushing for FX. They got a new shiny toy and they want us to use it
 
@fge True that..
 
@ItachiUchiha Never say never ;)
 
Or perhaps Java swing of Oracle is the windows vista of microsoft??
 
8:57 AM
Windows Sucks!!
 
@fge And No, oracle did not start FX but they adopted it/bought it
 
I like that metaphor
 
You never compare it with anything
 
JavaFX must be the windows 8 of ms
 
Says the one who doesn't know much about FX
 
8:58 AM
With JavaFX 8 being windows 8.1
 
fge
@Unihedro you are spouting real, utter nonsense today
 
This situation reminds me of handicap matches of the WWE . One against 3 and a commentator (me)
 
fge
Are you okay?
 
no
 
fge
Yeah, I figured
 
8:59 AM
@Unihedro Aims the Flame thrower
 
@Unihedro Did your crush not like you back? :(
 
No, I got declined flags.
Sorry, I'll be right back
 
@Unihedro Swaps Flame Thrower with Sniper
 
Well.. That's bad too (Impossible to tell which one would be worse to Uni since he's not like all the other boys)
 
fge
Anyway, even though I have no experience with other toolkits, I quite like JavaFX except that I believe many parts of it should be more intuitive than they currently are
 
9:01 AM
Everything can always be improved. No exceptions.
 
fge
@ItachiUchiha the CHART_* are unfortunately not portable
 
@fge portable to ?
 
fge
I've had the problem with the first example of my "bar in a cell" problem
I could see the colors in u25, other people who used u40 could not
So I color picked instead and use .setFill()
 
you can always replace them with default colors like red, blue etc or rgb()
 
fge
9:04 AM
Yeah, I use .rgb() myself
I just hand picked the default colors, heh
I have no taste at all
 
Initial bar chart, which wasn't looking so good.
 
fge
Well, I believe it to be too, uh... Aggressive?
 
Slight saturation to the hue and the colours won't be as sharp to the eyes.
 
It had color fill of red, blue and green
^^ replacing with chart colors
 
@ItachiUchiha much nicer
 
9:08 AM
@fge Yes, it hurts!!
@Gemtastic These are default color combination already present in JavaFX :P
 
@ItachiUchiha Why am I not surprised ^^
 
Because I suck when it comes to something artistic :P
@fge any xp with unix grep command?
 
fge
@ItachiUchiha yes, why?
 
Hooray for ability to see removed messages!
 
fge
(that wasn't relevant to the discussion)
Anyway, what's the problem with grep?
 
9:19 AM
(/closed as off-topic)
 
Uni, eat a snickers
 
I will acquire one. Then I will eat it.
 
Good boy. :)
 
@fge I have a grep command for One particular String and I count the number of lines of its occurance using wc -l. I need to have a or condition and grep either string 1 or string 2.
 
You should be happy to know that I've stacked up on lots of noodles
 
9:24 AM
:O
how much?
I still have like, three boxes
 
@Gemtastic Even I stacked up last week. But, they are almost over
 
fge
@ItachiUchiha well, use an alternative, and by the way grep as -c
 
@Unihedro didn't you recently restock?
 
fge
So you don't need to pipe in wc -l
grep has -c
 
I only have about 10 packs, but it should last us through the week along with the real food
 
9:25 AM
I didn't get any on the groceries visit because I bought more of everything else
For example, coffee beans
 
@fge That is for the count, right? But, it still solve my problem :(
Sometimes, I feel Uni lives alone
 
fge
Hold on
Where are your strings from?
And how is the condition expressed?
 
@ItachiUchiha I almost live alone.
 
fge
Also, if they are literal strings, use fgrep instead (or grep -F which does the same)
 
It's not like I see my parents more than ten times in a year anyway.
 
9:28 AM
@fge I have a log file, and I am applying grep to the last 5000 lines using tail -5000 daemon.log | grep -c "some text"
 
ten times could also be looking at them 10 times in a single visit??
 
@Swordy: Somewhere around that, yes.
 
@Unihedro 10 times in a year? That is it? Do you live alone in your apartment?
 
Practically, not alone.
 
Did you know that one can see your noodle-consumption in your bones by now? @Uni
 
9:29 AM
Realistically, yeah.
@Gemtastic lol
 
@Unihedro eyes rolling
 
Well, who wants to keep growing passed the age of 15 anyway? ;P
 
@ItachiUchiha Because leaving your child alone at home with no parents to watch over is illegal over here.
So... Yeah. :P
 
You have a Baby Sitter :P
 
hey guys! whats up?
 
9:32 AM
Best babysitter: the internet
3
 
hey @codeMan :)
 
@ItachiUchiha No, I do not.
 
AMen!
 
@codeMan hi
 
Hey @Unihedro :)
 
fge
9:33 AM
@ItachiUchiha is that in a script?
 
@fge yes
 
fge
And the condition is... What?
 
Basically what I want is something like -----> tail -5000 daemon.log | grep -c "some text" or "some other text"
 
fge
Well then use an alternation
ie, the pipe
Except that the default search engine of grep has "old style" regexes, which means you need to escape it with a backslash
 
tail -5000 daemon.log | grep -c "some text" | "some other text"
 
fge
9:35 AM
grep -c "somestring\\|someotherstring"
That's a regex problem, not a grep problem :p
 
ahh, ok. Let me just give it a try
 
fge
@SecondRikudo ah, good, I wanted to ask you something
What would you recommend I use if I were to develop a webapp with widgets like those of a "desktop GUI" toolkit, ie tabs, etc?
I have found jqWidgets which looks pretty nice, but maybe there's better
 
wel.. there is polymer js.. which is definitely the future!
 
@fge In a meeting 30 mins
 
fge
Uh, yet another name
 
9:42 AM
do you guys work in the same place or something?
 
brb after a nap..
 
if you want to know more about polymer js... hit up this link.
 
fge
@codeMan yes, I am there
 
it lets you define your own HTML- like tags!
 
fge
Not sure whether this is what I'm really looking for
 
9:44 AM
@codeMan That's Javascript. No one here really cares about javascript frameworks.
 
fge
Meh, getting off topic again
 
Except Second Rikudo, probably.
 
fge
Back to JSR 203
 
\o/
 
@fge asked for some widgets... so I was let him know..
well.. what were you looking for @fge
 
fge
9:48 AM
@codeMan what you get from a "desktop" GUI toolkit, really
Tables, tabs, menus, bla bla bla
Which is why right now I eye jqWidgets
 
@fge Ah.. ok!
@fge what exactly is JSR 203?
I think it has something to do with File System .. if I am not wrong?
 
fge
Yes, that's it
It's java.nio.file
One of my areas of work; I already have three fs implementations online and more are on the way
 
Wow.. That is really cool!
I too want to get involved in cool stuff like this... How would I go about doing it?
 
fge
Help me with java7-fs-base? :p
(it's a library which eases the development of new filesystems, precisely)
Right now I'm rearchitecturing the attributes, which is probably the most complex part of the API
(I also need to revamp my tutorials completely)
 
how to create multiple nodes with dynamic port numbers? any links
 
fge
9:57 AM
@MahenderReddyYasa define "node"
 
:) Wow!! That sounds really complex!
 
fge
Yeah, it is hugely complex
Too complex
 
I have a question... Why would anyone want to create one more file system?
 
fge
For convenience
For instance, I can Files.copy() from an FTP server to a Dropbox account
Actually I do that in one of my demos
 
3 messages moved to Trash
 
fge
9:59 AM
@MahenderReddyYasa spoonfeeding is frowned upon on SO in general
And you didn't even answer my question
 
@fge no need to state the obvious
 
@fge Please elaborate more..
 
uni is in foul mood today
 

« first day (1578 days earlier)      last day (3361 days later) »