|
|
Welcome to the Java Forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
- have access to post topics
- communicate privately with other members (PM)
- not see advertisements between posts
- have the possibility to earn one of our surprises if you are an active member
- access many other special features that will be introduced later.
Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|

06-23-2008, 09:43 AM
|
 |
Member
|
|
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
|
|
|
Hello from an even older Dude
Hi people,
I am a programmer from way back - 1962. I first started on a Ferranti Pegasus Mark I (look it up in Wikipedia). We coded machine code in octal!!
Things have changed a bit since then.
I have used more than a dozen different languages and not that I am retired I am programming for the fun of it.
Having used Pascal, COBOL, BASIC, C and C++ for the last 15 years I am now learning Java. Seems to the best I have come across so far. Beats COBOL anyway!!
No doubt I will be making mistakes and will need your help. In the distant future I may be able to help others too.
Alan.
|
|

06-23-2008, 10:10 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,047
|
|
Hi Alan,
Welcome to our community. 
Your wast knowledge on different programming language really helpful to more people here in our community, I'm sure about that. And also learning Java wont be a big issue to you.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. (Close on September 4, 2008)
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-23-2008, 09:54 PM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Location: Southwest
Posts: 422
|
|
|
Java is very close heritage.
I bet you never heard of the Wortman Mod. A bench tech by the name of Wortman in a medium-small 029 refurb shop made an 029 print right to left. I obtained the job through a referral from the CDC tech school I had enrolled in. They would take most candidates from the tech school because they were the only candidate pool smart enough to just take the next few and put them on the shop floor. It worked. Most of the kids nowdays think those plastic 033's are TTY's .... too many have only seen the phosphor screen and think of a tty as several lines of code. We had a 7700 replete with motor-generator.
About all you need to know to transition is no void anything anywhere and final in place of const. Did you know that constant keyword binds to the left?
You should see the Libraries, totally awesome. Here, I give you some code to work on:
// rand(max - min) + min
public class LoadPositions
{
Integer COUNT=null;//
java.util.Random RANDOMIZER=null;//
LoadPositions(Integer count)
{
this.COUNT=count;
this.RANDOMIZER = new java.util.Random();
}
// Posibly replace with crypto grade an run as background.
public static synchronized boolean main(java.util.Vector positions)
{
if(positions != null)
{
if(positions instanceof java.util.Vector)
{
if(positions.size() < 0x00000001)
{
return false;
}
else
{
// range [640 X 480]
final Integer W = new Integer(640);
final Integer H = new Integer(480);
int begin = 0x00000000;
int INDEX = COUNT.intValue();
do
{
// 0 <= range returned < specified value
int next = 40 + seed.nextInt(variable + 1);
if(next < min) min = next;
if(next > max) max = next;
}
while(--INDEX > 0x00000000);
// if we get here, all good.
return true;
}
}
}
else
{
return false;
}
}
}
That is right in the first-pass of slap something up there. It is supposed to create a list of ordered pairs ( spare me masters, I am slappin it up there right now - not even half done ) with a min of zero and a max of COUNT with each variant pair being { 640,480 } max. I copied some sample code a senior member put up for a beginner or intermediate as a template. We do not have templates in Java, a template is probably sample code if anything.
The only important thing is to not tear up nineteen dollar plastic keyboards in frustration, something that was not an issue in the True Metal Empire. ( before plastic )
compseconcepts.info
|
|

06-24-2008, 08:02 AM
|
 |
Member
|
|
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
|
|
This sounds like somethink HAL would have said as his brain was being disconnected.
Alan.
__________________
There are 10 types of people - those who understand binary and those who don't!!
Today is the Beta version of Tomorrow!!
|
|

06-24-2008, 02:58 PM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Bangalore,India
Posts: 60
|
|
Welcome Alan..
Your signature is great.............. 
see you around.......
Regards,
freddie
__________________
"a place for everything, and everything in its place." To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-25-2008, 05:34 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,047
|
|
A nice signature. How about if it change to,
There are 2 types of people - ....
just kidding man. 
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. (Close on September 4, 2008)
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-26-2008, 07:29 AM
|
 |
Member
|
|
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
|
|
10 IS 2 in binary arithmetic!!
Alan
__________________
There are 10 types of people - those who understand binary and those who don't!!
Today is the Beta version of Tomorrow!!
|
|

06-26-2008, 07:41 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,047
|
|
Ah, I thought is is 10 - ten. 
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. (Close on September 4, 2008)
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-27-2008, 06:37 PM
|
|
Member
|
|
Join Date: Jun 2008
Posts: 19
|
|
Hi Alan,
welcome to community,as being beginer i consider you my grandfather in programming 
|
|

06-28-2008, 01:22 AM
|
 |
Senior Member
|
|
Join Date: Dec 2007
Location: South Africa
Posts: 334
|
|
Welcome to the forums, Alan!
Originally Posted by Alan-LB
This sounds like somethink HAL would have said as his brain was being disconnected.
Alan.
Space Oddisy 2000, right? Not too sure about the spelling...
Doctor :_HAL, we need to sacrifice the ship the save our lives. You will probably not survive.
HAL___:_I understand. Doctor, will I dream?
Doctor :_I don't know HAL.
HAL___:_I understand.
Classic movie, that one.
Enjoy the forums, Alan! 
__________________
If your ship has not come in yet then build a lighthouse.
|
|

06-29-2008, 06:29 AM
|
 |
Moderator
|
|
Join Date: Dec 2007
Location: NewEngland, US
Posts: 840
|
|
|
Great to have folks of all sort of ages here. Welcome!
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|