This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!

J. Kevin Robbins

+ Follow
since Dec 16, 2010
J. Kevin likes ...
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
North Carolina, U.S.A.
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by J. Kevin Robbins

And the rabbit hole just gets deeper.  
2 years ago
Thank you. I actually understand that explanation. I wish I had learned calculus. It seems fascinating. I recall seeing that scene in "The Day the Earth Stood Still" where Keanu Reeves and John Cleese are scribbling equations on the board as if they are having a conversation in numbers. Is that really possible?
2 years ago
Interesting conversation. I would have answered no, it's not a programming language because it has no logic branching abilities such as if-then. It's just a text markup language.

But on the other hand it is a way of telling the computer (or browser) what to do, so I can see the argument that it should be considered a programming language.

It's a gray area. I think we would have to first step back and define "what is a programming language". Otherwise we're just arguing semantics.
2 years ago

Campbell Ritchie wrote:
∀e • e ∈ Exceptions ⇒ ¬canThrow(superclassMethod, e) ⇒ ¬canThrow(subclassMethod, e)
Remember that ⇒ associates to the right, and you can use the contrapositive rule to turn the right part of that implication round:-
p ⇒ q ≡ ¬q ⇒ ¬p
 ¬canThrow(superclassMethod, e) ⇒ ¬canThrow(subclassMethod, e) ≡
canThrow(subclassMethod, e) ⇒ canThrow(superclassMethod, e)

Damn math majors. You just made my head explode before my first cup of coffee. I'm going to reveal my lack of education here and admit that I've never even seen this kind of notation. Can you explain what I'm looking at here? Would I need to take 3 years of calculus to understand it?
2 years ago
Dave is correct. ActiveX is a Microsoft only technology. I suggest using jQuery for managing input elements. It will work across all browsers.
And now I've added one more item to my list of "Reasons Not to Move to Florida". Also known as the Australia of North America.
2 years ago
Thanks, Jeanne. I'll dig into the Spring logging. It's not a big deal, just a minor annoyance, so it will be nice to know how to correct it. I need more proficiency with log4j anyway, so this is a good exercise.
Thanks everyone. It wasn't as difficult as I expected. I can't say I aced it, but I hope I kept them interested enough to keep me on the short list.

So that's two interviews that I'm waiting on feedback. I hate the waiting part. I think I'll take a short break from the computer today. This week has been a non-stop marathon of Spring, JSF, and practice interview questions. I feel like I've been trying to drink from a fire hose.

Thanks for the link, Uwe, I'll look at that. And time to order some more books from Amazon.

Sorry for wandering so off-topic in this thread.
2 years ago
Thanks to all for the encouragement and well wishes. The interview is now two hours away. To say I'm nervous would be an understatement.
2 years ago
The problem is, I have an interview in about 3 hours with an employer who uses JSF. I spent most of yesterday, up late last night, and still this morning trying to learn enough to at least be able to speak intelligently about JSF. I've gotten nowhere. The lack of good learning materials is very frustrating. I would need a couple of weeks minimum, to prepare for this.

So I'll just have to admit my lack of experience and do the best I can with the rest of the interview. I'm tempted to just back out of it because I'm missing a lot of the requirements that they are looking for, but I'm just not a quitter. I'll do the best I can even if I embarrass myself. If by some stroke of luck I get the job, then I'll be spending a lot of late nights and weekends to get up to speed on their technology stack. But I'm afraid it's a long shot.

But what the hell. If I don't do the interview then I have zero chance of getting the job. If I do it and perform poorly, then I still have a chance that's something greater than zero.
2 years ago
I need to learn JSF. I've spent the last 8 hours trying every tutorial I can find and they all suck. Either they are outdated, or incomplete, or result in server errors that I can't resolve. I thought I found a decent one by BalusC but it uses WildFly as a server and I can't get it running.

So frustrating.  

Can anyone advise good books that take the reader step-by-step through setting up the server, Eclipse, the needed extensions and so on?

2 years ago
If you want to work on "real" projects, there are thousands of open source projects that are always looking for help.

This is a good place to get started. Also here.
2 years ago
I don't know about a book with thousands of programs, but I can suggest a couple of web sites.

Project Euler - hundreds of programming problems that you can solve in any language you choose. Once you successfully solve the problem, you get access to a forum where you can see how other developers solved the same problem. Very educational.

Code Abbey - similar to Project Euler

Cattle Drive - part of our own Ranch. Excellent way to get your code nitpicked to death, and I mean that in a very good way. I thought it was going to be easy. It was.... humbling, and I still haven't found time to finish it.

M.I.T. - many of their excellent computer science courses are free, both undergrad and graduate level. Good luck.

And finally, HackerRank - more challenging problems to solve.
2 years ago
I realize that you are probably up against a class deadline and don't have time to refactor this code, but I feel compelled to  point out that this is not Object Oriented coding. You have only one class, there is too much code in the main method, and I see the "static" keyword all over the  place.

My suggestion is this, after you've completed this to your  instructors satisfaction, come back here and let the kind folks of the Ranch walk you through refactoring this into a real OOP program. You will learn a great deal.
2 years ago
I don't know if you are concerned with learning technologies for the sake of job qualifications, but this seems related to your question.

I'm in the job market and I've been talking to lots of recruiters over the last few weeks.

A couple of things have come up. First, knowledge of Spring is pretty much required for any Java web development position. It seems like every employer expects it. Second, the recruiters are telling me that they are having trouble finding developers that are experienced in Java 8, so it's in demand. But having said that, many places are still on 7 or even 6.

I've used NetBeans for the last 5 years, and I've seen it  grow from version 6 to 8.1, so I think Oracle really is behind it. I actually prefer it to Eclipse, but knowledge of Eclipse is required. If you have those two in your toolkit, you've covered 95% of the IDE world because most others like IntelliJ, Websphere Application Developer (or whatever it's called this month), and others are based on Eclipse so the learning curve is short.
2 years ago