Giter Club home page Giter Club logo

Comments (4)

qmarcou avatar qmarcou commented on August 29, 2024

Hi @sinkovit ,
Sorry for the long time it took me to answer this one.
I originally looked into making this possible, however it would require to change quite a few functions for generating functions.
I have conducted a small experiment using IGoR's new random seed generator using the following piece of code in the custom code section of the main:

	else{
		//Write your custom procedure here
		size_t n_seeds = 99999999;
		ofstream file ("/tmp/random_seeds.csv");
		for(size_t i=0;i!=n_seeds;++i){
			file<<draw_random_64bits_seed()<<endl;
		}
	}

Importing the corresponding file with pandas in python and making a histogram out of it with 5000 bins I get the following figure:
seed_test

I think this shows that the seed generator is indeed uniformly random (1,84x10^19 is 2^64, the maximum value of a 64 bits integer) and getting the same seed twice is very unlikely. I have actually checked and all the 99999999 seeds were unique.

Given this information I think this is a won't fix (at least not in the near future)

Quentin

from igor.

sinkovit avatar sinkovit commented on August 29, 2024

from igor.

qmarcou avatar qmarcou commented on August 29, 2024

Hi Bob,
I have closed the issue but great to hear that you manage to produce so many reads!
Out of curiosity: has this process taken a lot of computation time? Did you feel it was a bottleneck in your analysis? Do you think parallelizing random sequence generation is worth doing?
It would most likely be limited by i/o time then.
Best,

from igor.

sinkovit avatar sinkovit commented on August 29, 2024

from igor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.