Ed Byrnes

Ranch Hand
+ Follow
since Feb 04, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ed Byrnes

Hello Johannes de Jong!
Okay, I'm thinking of two possibilities:
1.] Each block checks for certain three character strings and the program may also have to check for certain two character strings.
2.] Depending upon the length of a string, the blocks have to print up to four strings common to each block.
I'm thinking a method for the first would be the best bet. Yes?

~Ed
23 years ago
Hello all!
I have about about 12 if else construct blocks which I need to optimize. The blocks look like this:
Code removed JdJ
I'm stuck as to what method I can add to streamline these blocks. Thanks for the help.
~Ed
[This message has been edited by Johannes de Jong (edited July 06, 2001).]
23 years ago
Hi all...
I think you may enjoy the positive nature of the following article:
http://www.informationweek.com/thisweek/story/IWK20010614S0012

~Ed Byrnes
23 years ago
I have a first working version of assignment Say( b ). I use a recursive approach and break up the billions, millions, thousands, and hundreds into three letter strings and then process those strings. I would like to try the interative approach and process integers instead of strings. I'm stuck and quite low on brains. I've stayed away from it for a few days hoping I would think of something...no luck. If there were a way to cheat, I might be tempted. Any help will be greatly appreciated!
~Ed
24 years ago
I have a first working version of assignment Say( b ). I use a recursive approach and break up the billions, millions, thousands, and hundreds into three letter strings and then process those strings. I would like to try the interative approach and process integers instead of strings. I'm stuck and quite low on brains. I've stayed away from it for a few days hoping I would think of something...no luck. If there were a way to cheat, I'd be tempted. Any help will be greatly appreciated!
24 years ago
Java Assignment Say( b ) Revision 1
24 years ago
Cool on getting started Dianna. When I first started I think I sent in five assignments at once and only then learned that you have to submit them one at a time, and pass the Nitpickers before you can submit another. It is a great system and I've learned a great deal.
~Ed
24 years ago
My motivation to learn Java is to start a new career. I taught science for eleven years at a private school and didn't get a contract for this year. I see this being jobless business as an opportunity, I accomplished what I wanted with the teaching and while there were a lot of great times, I'm glad to NOT be working with kids for a change.
As I'm learning Java I have also started an addition on our house and figure I will save way more than I would have made working during the same period of time. I enjoy the work, especially with spring coming. My 20-year-old helped me today, we got the floor joists up over the new basement and half the plywood in place.
Besides reading the recommended Java books as much as possible, I am doing the assignments, now on the Java Say(b) assignment. I have it working fairly perfectly and now I get to try different ways of getting it working perfectly!
So I'm very fortunate as I have a loving wife who is making it possible for me to pursue the Java. She only bugs me about getting a job maybe once or twice an hour. We have an old dog with tumors and a funky skin condition, I get to take him to the vet tomorrow. He is very healthy, even with the above maladies and with my luck he will live another twenty years.
All the people here at Java Ranch are my motivators and encouragers. I hope we hear from others. The best to all...
~Ed
24 years ago
Hello Johannes,
my record:
20 Ed Byrnes Java-4 Say March 12, 2001 01:43 PM
should be:
20 Ed Byrnes Java-4 b Say 0 March 12, 2001 01:43 PM
Thanks for the great job you are doing!
24 years ago
Cool and thanks!
24 years ago
Hello all...
I'm working on Say(b) but now I am wondering if I should be using long variables? I was thinking it could be done sticking with int. It is always nine hundred and ninety-nine something so I thought the 999,999,999,999 could be divided into four packages of three numeral strings to be processed and never have to use long.
Also, I'm only using one method plus the main method which is a series of nested 1f-then qualifiers. I know the solution has four methods, should I plan on having four methods too? Thanks...
~Ed
24 years ago
Thanks everyone...yes, I'm checking for zero's in the Say(b) assignment. The program is becoming quite hairy.
24 years ago
Is the following statement valid?
It compiles okay but doesn't seem to work in the program.
if ( ( numbers.substring(1,2) ) != "0" )
What is a better way to do this comparison?
24 years ago
Please put me on the list of those who greatly appreciate the efforts of the nitpickers! I really can't thank you giving people enough.

Sincerely,
Ed Byrnes
24 years ago
Hey! Thanks Bill and Marilyn...I've completed options 1.] and 2.] so I'm moving along again.
24 years ago