« first day (1806 days earlier)      last day (3136 days later) » 

8:33 AM
@Dustiny ah, those things
 
 
2 hours later…
10:11 AM
Hmm...
Should I make a "position" column on the employee table and a position table to be referenced, or should I only make a teacher table and reference employee? squints eyes
 
@gem what?
 
I'm making a database :P
The only employees that needs to be specified are the teachers.
But there will be other employees using the system, like receptionist, administrator and/or headmaster etc
 
you need to categorize them first
 
(you can smell school assignment faar away)
 
I do.. I do..
 
10:18 AM
This is how it looks currently: docs.google.com/spreadsheets/d/…
 
employee should have a type. For ex - admin, finance, teacher etc
 
tyoe?
type of employee? That's what I was asking XD
It's only relevant though to identify the teachers
The application doesn't care at all what everyone else is
 
If you want to categorize your employee than you did it that way
 
nods
 
If you want to categorize teachers, you can do it depending on their subject they teach
 
10:24 AM
3NF isn't a requirement for this course but I still kinda wanna have a nice database
The teachers don't need categorizing since they will be connected to a course no matter what it is.
 
@Gemtastic true
 
I intentinally made it so, because it's common here for one teacher to have many courses
And many subjects
 
 
1 hour later…
11:55 AM
0
Q: An alarm application in Java

Hassan AlthafI have programmed this alarm application in Java using JavaFX for the GUI. I'd like these questions covered in the review: Is my code efficient? Can it be shortened? Are there any flaws in my code? Do I violate any OOP principles? If so, how, where and how do I rectify them? Alarm.java: /* ...

 
 
3 hours later…
3:24 PM
why is hibernate acting so weird with remote database
 
No clue :O
I have a comfy issue; how do I add a test folder to my enterprize project?
 
for test case?
 
Yes
The build I'm using doesn't have a test folder
 
then add one ;)
 
It's an Ant Build >_>
Well, how? If I add folders then they don't show
 
3:28 PM
umm..
you will need to do it manually..
compile the test-classes with the compiled main-classes on the classpath
and then run them through the junit task
 
>_>
This is why I don't like ant
 
maybe this helps you a little:
2
Q: Specifying filenames for ant junit batchtest

Vogel612I have a working ant-task that runs me a batch of junit-tests, in the following fashion: <junit printsummary="yes" showoutput="yes" haltonfailure="no"> <formatter type="plain" /> <classpath> <path refid="app.compile.classpath" /> <path id="classes" location="${app.classes...

 
It will much faster to just make a new maven project >_>
 
@Gemtastic +1
 
agreed
though I'd recommend gradle fwiw
 
3:35 PM
I haven't really gotten far; the only thing done is the database...
I don't have time to learn gradle...
 
you started a new project with ant?
@Gemtastic take it somewhen
 
I've had a minor case of pneumonia this last 1½ week so I'm wayyy behind on this project...
 
it's useful. The docs are slightly confusing when coming from maven, but alas
 
I have videos on gradle, if someone wants them ;)
 
I can't really learn JavaEE when I can't read one sentence before mind resets to 0
@ItachiUchiha I'll have a look at them when I'm done with this project.
The next course is integration, so that should be easy to mix with learning gradle
If I'm lucky, JPA won't be all that difficult after all
 
3:49 PM
with the same credentials sql workbench can connect
but java won't
 
hmm
does the client have permissions?
 
You sure? Because I had that issue before
 
authentication mechanism?
 
I am running it both my local machine
@Vogel612 as in?
 
3:51 PM
md5, peer, trust..
 
@Gemtastic ya
 
it's a mysql db?
 
do you get a nice error message?
the mysql dev site mentions some AuthenticationPlugins
 
> SELECT command denied to user 'user'@'***.75.27.**' for table 'user'
> [http-nio-8080-exec-5] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1142, SQLState: 42000
 
3:59 PM
that could be everywhere
 
but how does mysql workbench connect..
hibernate is playing games with me ;)
 
2
Q: Custom unchecked exception doesn't block code execution

Francesco MenzaniI couldn't reproduce this scenario on a brand new application, thus I'm tagging this bukkit. I'm building a simple command framework against Spigot latest version (updated yesterday). You can register a global or player-only command. Obviously, commands can't be both global and player-only, thus...

see if you can figure out why Java has this weird behaviour
 
4:22 PM
Oh, "great". Turns out we're doing a written exam for the majority of the grade. I don't have to stress as much with my application in other words. grabs a book and relaxes
 
4:53 PM
Hi all. I have question, but nobady has seen it. Can any one take a look please?stackoverflow.com/questions/32922716/…
 
 
2 hours later…
6:59 PM
This is fun~
 
 
1 hour later…
8:11 PM
Java EE
 
though I'm only 45 pages in on my 597 page book about it
XD
 
I haven't been able to finish any book that I started about programming
 
I think I finished one :P
I get too eager to code :P
 
 
1 hour later…
9:48 PM
Hello
I got a question about the following link: http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

My tiny question is: where can I find the onStart() method? I can find the onCreate() method. But I can't find onStart() method. I am new to Android and I'm learning it at the moment
 
10:21 PM
> And no, Android is NOT Java (does not use the Java VM, runtime environment and base SDKs differ, etc)
onStart() should be where onCreate() is O.o
Also, someone needs to shoot the developer responsible for that page with a skill gun. shudders
 
@Gemtastic I know but, I had made a Hello world app without a onStart() method. Thats why I'm asking where that method is.
 
Quoting the link:
> Always followed by onStart().
On onCreate()
 
@Gemtastic Yes I have also read that xD. That's why I'm so confused..
 
onCreate must have called onStart() then
I've happily forgotten most of what little I knew about android
 
@Gemtastic I'm not making it up I had been searching in my project. But I couldn't find it :S
 
10:30 PM
I don't think you are. But I don't remember how activities work and it's half passed midnight now so I'm not gonna read the docs for you until I figure it out
Go ask in the real android chats, they at least know what they're doing.
 

« first day (1806 days earlier)      last day (3136 days later) »