Home Register Arcade Gallery Chatroom Members Today's Posts Log In
Go Back   Inside: SereneScreen Fan Forum > SereneScreen Products > Marine Aquarium 3 for Mac OS X
Reply
 
Thread Tools
Old 10-26-2009, 07:36 AM   #1
robnich
Registered
 
Join Date: Feb 2009

Posts: 29
Duplicate Fish

In MA3 for the Macintosh there are frequent duplications of random fish, something which doesn't seem to ever happen in the Windows version. In fact, to date I get duplicates (and occasional triplicates) every single time MA3 is activated in MacOS 10.6.1. This needs correction, I think.

Bob N.
robnich is offline   Reply With Quote
Old 10-26-2009, 11:09 AM   #2
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
You have set it to show 26 fish? (If you set it higher than 26, you will get duplicates).
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote
Old 10-26-2009, 04:19 PM   #3
robnich
Registered
 
Join Date: Feb 2009

Posts: 29
No, I have it set for 12 random and 4 selected fish, for a total of 16 fish and I always get duplicates. I have another set with no random fish and there are no duplicates.

By the way, I re-posted this same topic in the new MA 3 Mac thread but there are no responses yet.

Bob N.
robnich is offline   Reply With Quote
Old 10-26-2009, 08:09 PM   #4
Ralph
Retired
 
Ralph's Avatar
 
Join Date: Jan 2002
1 Highscore

Location: Edmonton Alberta Ca
Posts: 2,441
I think 12 random does NOT mean all 12 will be different.. you could end up with 12 of the same species.. at least that is the way I figure it (random) works
Ralph is offline   Reply With Quote
Old 10-26-2009, 10:04 PM   #5
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,788
PC guys - Don't forget they are talking about the Mac version here. It's a whole different ballgame.
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote
Old 10-27-2009, 02:32 AM   #6
jleslie
Engineer
 
jleslie's Avatar
 
Join Date: Aug 2002

Location: London, UK
Posts: 1,279
Also random doesn't work the way some people think, if it's really random and the odds of collisions go up quickly...

This is called the "Birthday Problem". This is because that while the chance of two people having the same birthday is 1 in 365.242 (I think), the number of people you need to have in a group to have a better of 50% chance of having two people with the same birthday is actually... 23! Once you get to 57 people the chance is over 99% (random people, not selected people).

This is due to the number of comparisons going up fast as numbers increase.
Person A has 22 chances of a match.
Then Person B has 21 chances (as already tried to match with A)
Person C has 20...
so have 22+21+20+... comparisons of birthdays... (that's 253 in total, to save lots of people's fingers.)

I think (from another post) this isn't strictly true in this case, but not a lot of people know about this so I thought I'd work it in. It's has many uses, including in Cryptography, where can get duplicates faster than people would think.

Another interesting application is in mass DNA matching (or any data mining operation). If the odds of a DNA match are 1 in 10 trillion (the best in current usage, this depends on the number of regions compared or loci, the number is for 13 loci, which I think is the largest in use, and assumes true randomness, which is unlikely for DNA) then a jury will think that they have the guilty person. However if you have a large number of people on file and do a lot of comparisons (most new crimes and a bunch of old ones) the number of comparisons goes up exponentially and heads into the trillions (ignoring the errors lab work always introduces). This means you actually get a lot of random matches and hope someone points it out to the jury.

In America a little while back a modest DNA database was used for some tests and generated several clearly random matches at lower loci.

A quote:
A recent analysis of the Arizona convicted offender data base (a database that uses the 13 CODIS loci) revealed that among the approximately 65,000 entries listed there were 144 individuals whose DNA profiles match at 9 loci (including one match between individuals of different races, one Caucasion, the other African American), another few who match at 10 loci, one pair that match at 11, and one pair that match at 12. The 11 and 12 loci matches were siblings, hence not random. But matches on 9 or 10 loci among a database as small as 65,000 entries cast considerable doubt in my mind on figures such as the oft-cited "one in ten trillion" for a match that extends to just 3 or 4 additional loci.
It works the same if you could track people. If there were enough people you would get random ones at all the crime scenes for a series of robberies, etc. You would hope the Police would get this before deciding to kick someone's door in at 3am...

BTW this isn't meant to be political, just a maths curiosity that I hope some will find interesting.

John
jleslie is offline   Reply With Quote
Old 10-27-2009, 08:25 AM   #7
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
The PC version has "Do not duplicate Random". If you set it to 26 fish, you will get 26 unique fish with no duplicates.

The Mac version doesn't have this feature at the moment.
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote
Old 10-27-2009, 01:49 PM   #8
JimO'Connor
Mac Development
 
JimO'Connor's Avatar
 
Join Date: Jul 2002

Location: Kenai, Alaska
Posts: 678
The "random" fish aren't random in MA 3 for Mac as we weight the choices by the favorite value you assign to the fish with the stars. More stars means more likely to be picked relative to fish with fewer stars (obviously, if all of the fish have the same number of stars the effect is cancelled out). I'll take a look at the algorithm and see if it needs to be tweaked for 3.0.2.
Jim O'Connor
Order N Development
JimO'Connor is offline   Reply With Quote
Reply
Go Back   Inside: SereneScreen Fan Forum > SereneScreen Products > Marine Aquarium 3 for Mac OS X




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -6. The time now is 06:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.