Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Patrick Loz

Greenhorn
+ Follow
since Dec 21, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Patrick Loz

Originally posted by Garrett Rowe:
This problem comes from Project Euler a pretty cool site. I only know because I just solved it about a week ago. One thing you should know is that Project Euler problems build upon themselves, so once you get to Problem 7 and especially Problem 10, even the solution you have now is going to take a good bit of time. My suggestion would be to read to google "sieve of eratosthenes", you'll find a useful algorithm for for building a list of prime numbers. Good luck.

FWIW, I'm currently stuck trying to figure out an algorithm for Problem 18. I think I'll be starting a topic in the Programming Diversions forum soliciting a little help...



Awesome site! The first I've seen of it... Tons of fun problems...
14 years ago
Leonardo, make sure to match up your method signatures - checkYourself() != checkYourSelf(). I did exact the same thing recently.

-Patrick
14 years ago

Originally posted by Besjamain Greenaway:



Something I don't think was addressed, the bolded you are referring to is properly termed, locs is an array of ints, and you are simply setting this array of ints(which are passed through the arguments in the set mutator) to the instance variable that is locationCells.
[ December 30, 2007: Message edited by: Patrick Loz ]
14 years ago
I would just add that I considered wxWidgets for quite some time as I came from C/C++. However, I find that the support base for Java to be infinite in comparison to wxWidgets and QT combined. There's a tremendous amount of flexibility in developing a wide range of applications using Java that I couldn't find in wx and Qt. But what finally put the change in my thinking was my company providing me with a free voucher to take a Sun exam, thus Java it is. I also weighed the options of either .Net or Java and ended up choosing Java in the end because I value things that are free.
14 years ago

Originally posted by Sheelpa Gupta:
Please refer to the following discussion
scjp 1.6



Based on that discussion, I suppose it would be more worthwhile to go for the 1.6 version, since Sun is now providing vouchers for this exam. I recently bought both of Kathy and Bert's books(Head First, SCJP Study guide) which are both for version 1.5. But with a little more careful observation of the changes between the two exams, following the objectives would be highly beneficial and then I would just shoot for the 1.6. Going for the 1.5, then taking an upgrade to 1.6 just seems like a waste of money to me.. but that's just me.