Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alpha Centauri > AC-General/Help/Strategy > Zeno's Paradox and Flechette Defense
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: ZAKHAROV TURNS ELEVEN
15.Sep: `POSSIBILITY` IS ALL FOR NOW
15.Sep: THE SINGULARITY CONNECTION

bottom of page
  - ALPHA CENTAURI PC $9.99 - Centauri Dawn $6.50 - Dragon Sun $6.99 - Twilight of the Mind $6.99 - Power of the Mindworms $8.95 - ALPHA CENTAURI MAC $19.99
Author
Thread   
Pages (4): [ 1   2   3   4   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Straybow is offline Straybow
Emperor
SG(2)… gone but not forgotten
Jan 1970
time: 23:23
  Old Post 17-09-2004 22:52 Visit Straybow's homepage!
Edit/Delete Message Reply w/Quote
#91 Report this post to a moderator
Avatar Enlargement: We've got the solution

No, the program simply does the 50/50 chance for each ODP sequentially. No rounding errors or precision limits apply.

Ari Rahikkala is offline Ari Rahikkala
King
Unreported loss of streaming in atomic read operation
Oct 1999
time: 07:23
  Old Post 18-09-2004 08:21 Visit Ari Rahikkala's homepage!
Edit/Delete Message Reply w/Quote
#92 Report this post to a moderator
Help yourself to an AD-FREE life

Heh... Straybow's post made me think about one problem with the method of checking if a random pick from a discrete uniform distribution [0,RAND_MAX] (which should be what rand() returns) is smaller than RAND_MAX divided by two rounded down. If RAND_MAX is odd, this causes a slight bias. Well, my guess is that on most systems RAND_MAX is either one and a bunch of zeroes, or just a bunch of ones. In the former case, RAND_MAX is even, in the latter case it's odd.

That's not the interesting (or well thought-out) part. It just made me think further about bits:

For the actual bits returned by rand(), if we trust the function to be random enough, it should be true for each bit that there's a 50% chance it's 1 and a 50% chance it's 0. Thus, assuming we're using 32-bit integers, we can check if a PB gets through an ODP shield by rolling a random number, shifting it (either direction works) by 32-[number of ODPs] places with zero as the extension bit, and checking if the result is true. If there are more than 32 ODPs, just do the rolls and checks for truth but no shifts [number of ODPs]/32 times (rounded down, of course) first.

It's a very pointless bit-banging optimisation, but at least it doesn't waste as much entropy as the method of rolling a new 32-bit random number for each boolean check does .

shawnmmcc is offline shawnmmcc
Prince

Jan 2003
time: 00:23
  Old Post 21-09-2004 21:35
Edit/Delete Message Reply w/Quote
#93 Report this post to a moderator
Support Apolyton buy from Amazon

Finally, something a lowly programmer can understand! By the way, you point is quite significant. For the infinite cases being posted, even a slight bias is going to screw it all up. The not-quite-random number generator issue actually helped drive processor development, was in the P3, AMD Thunderbird, or the P4 that started using a random electric noice generator to create random numbers? It's highly significant in cryptography, and can make practically unbreakable encryption solvable by a large enough parallel processor machine, due to the slightly predicable nature of the not-quite-random generation of encoding digits.

Natalinasmpf is offline Natalinasmpf
Warlord

Sep 2003
time: 13:23
  Old Post 22-09-2004 14:54
Edit/Delete Message Reply w/Quote
#94 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

*thirst for quantum computers ever increases*

I want them! Now!

girlfight_club is offline girlfight_club
Chieftain
on an alternate Chiron
Feb 2004
time: 05:23
  Old Post 22-09-2004 19:38 Visit girlfight_club's homepage!
Edit/Delete Message Reply w/Quote
#95 Report this post to a moderator
Increase Your PM Length

Well, they've got to be more useful than these optical computers. they don't seem to do anything.

quote:
Originally posted by Natalinasmpf
SMAC isn't a narcotic, its a miracle, beneficial, eye-opening drug.


"And I can stop playing it any time I want."

Yeah, I've been on that side of the intervention.


GFC

SynthetGod8 is offline SynthetGod8
Warlord

Oct 2003
time: 05:23
  Old Post 26-09-2004 07:50
Edit/Delete Message Reply w/Quote
#96 Report this post to a moderator
Support Apolyton buy from Amazon

Do you think that a quantum computer would be able to break any standard encryption technique employed by our computers today? At the same time, would it be able to use encryption methods that are unbreakable even by a quantum computer?

Natalinasmpf is offline Natalinasmpf
Warlord

Sep 2003
time: 13:23
  Old Post 26-09-2004 16:51
Edit/Delete Message Reply w/Quote
#97 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Do you think that a quantum computer would be able to break any standard encryption technique employed by our computers today?


Most probably.

quote:
would it be able to use encryption methods that are unbreakable even by a quantum computer?


Probably not for this one.

Anyway, what is the concluding result of this thread? I now assume after all the formulas, its possible, to have so many ODP's, that eventually PB success will be reduced to zero?

goomeister is offline goomeister
Settler

Jul 2004
time: 19:23
  Old Post 27-09-2004 12:42
Edit/Delete Message Reply w/Quote
#98 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Natalinasmpf
Anyway, what is the concluding result of this thread? I now assume after all the formulas, its possible, to have so many ODP's, that eventually PB success will be reduced to zero?


Of course. It works the other way around, too. The real issue is not the number of PBs or the number of ODPs, but how the number of PBs compares to the number of ODPs.

athkatla is offline athkatla
Settler
England, UK
Sep 2004
time: 05:23
  Old Post 27-09-2004 23:22
Edit/Delete Message Reply w/Quote
#99 Report this post to a moderator
Remove this text

And I thought this was just a simple turn based game!

Chaos Theory is offline Chaos Theory

King
Missouri / Misery; CC
Oct 2002
time: 04:23
  Old Post 28-09-2004 03:04 Visit Chaos Theory<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#100 Report this post to a moderator
Help yourself to an AD-FREE life

It's also a convenient background for esoteric mathematical debates!

goomeister is offline goomeister
Settler

Jul 2004
time: 19:23
  Old Post 28-09-2004 10:12
Edit/Delete Message Reply w/Quote
#101 Report this post to a moderator
Got spare money?

quote:
Originally posted by athkatla
And I thought this was just a simple turn based game!


No, it's a complex turn based game!

Natalinasmpf is offline Natalinasmpf
Warlord

Sep 2003
time: 13:23
  Old Post 28-09-2004 17:41
Edit/Delete Message Reply w/Quote
#102 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
It's also a convenient background for esoteric mathematical debates!


And programming!

 
Pages (4): [ 1   2   3   4   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:23.
Apolyton Time is 00:23.
    top of page
Rate This Thread:
Forum Jump:
Forum 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 ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0447 seconds (87.47% PHP - 12.53% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net