grunka / fortuna Goto Github PK
View Code? Open in Web Editor NEWAn implementation of the Fortuna RNG
License: MIT License
An implementation of the Fortuna RNG
License: MIT License
Hi, more of a question, whats the prefered way to build te jar?
Becuase at the moment I'm using a nodejs fortuna as a rest service to generate random integers.
Thanks
Something like
fortuna.ints(game.getNumbermin(), game.getNumbermax()).boxed().collect(Collectors.toList())
cause a Java Heap Space error
at java.util.Arrays.copyOf(Arrays.java:3181) ~[na:1.8.0_172] at java.util.ArrayList.grow(ArrayList.java:265) ~[na:1.8.0_172] at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:239) ~[na:1.8.0_172] at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:231) ~[na:1.8.0_172] at java.util.ArrayList.add(ArrayList.java:462) ~[na:1.8.0_172] at java.util.stream.Collectors$$Lambda$26/830048777.accept(Unknown Source) ~[na:na] at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[na:1.8.0_172] at java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) ~[na:1.8.0_172] at java.util.Random$RandomIntsSpliterator.forEachRemaining(Random.java:1044) ~[na:1.8.0_172] at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) ~[na:1.8.0_172] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_172] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_172] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_172] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_172] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_172]
To allow this library to be usable in an OSGI environment turn it into a module containing the proper OSGI meta data. You could use the BND maven plugin for this.
It would be very useful to have this library provide its releases to maven central repository. Thus one could use it by maven dependency.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.