A library for using Raspberry Pi on Golang
Go library to interact with raspberry piface
The HonestCode client is a tool which helps DevOps to integrate different systems with honestcode.io
luismesas/Adafruit_mfGFX_Library 0
Multifont version of Adafruit_GFX library with Sharp Memory Display drivers and demo
This is an Arduino library for the Adafruit Monochrome SHARP Memory Displays
Lightweight job scheduling for node
behave 2 cucumber
luismesas/bootstrap-n-column 0
LESS mixins for n-column Bootstrap 3 grids
Modern C++ high level GBA engine
push eventluismesas/butano
commit sha e87331fd5d44e3f46b7d9709af9dabf0075d3747
butano: random internal variables are `protected` to allow child classes to access them
push time in 25 days
push eventluismesas/butano
push time in 25 days
push eventluismesas/butano
commit sha e87331fd5d44e3f46b7d9709af9dabf0075d3747
butano: random internal variables are `protected` to allow child classes to access them
commit sha 72701f1b20d0effcd56c3b425127a30042a21b67
Merge branch 'GValiente:master' into master
push time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
thanks
comment created time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
Would you be ok to at least keep the get_state() method to help on debugging?
comment created time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
But you are giving no option to alter the starting point of the chain of randomization.
What I would like to do is to run the update() several number of times (a seed) on a device, obtain it's values and then use them as starting point on my code. that allows to have more than one randomizer in the same runtime producing the same chain on different offsets without having to run the loop when starting and avoidf to slow the program.
If that's not a feature you would like on your framework, feel free to reject the PR.
comment created time in 25 days
push eventluismesas/butano
commit sha ccedbfbd98b1607651c1ccb63747871ebf347e3b
butano: remove the set_seed method
push time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
How do you alter the internal values if you want to alter the state without using the sram approach?
comment created time in 25 days
push eventluismesas/butano
commit sha 1e68809b9ff3cb2cf492eea7b136a660a2bb0d23
fix: rename of set_state param to avoid shadowing
push time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
Check the new commit and let me know if you like the approach
comment created time in 25 days
push eventluismesas/butano
commit sha a1a80dcf1d58f5e934436912f14fc4aab42890a6
butano: adds get/set methods to store the state of the random number generator.
push time in 25 days
startedGValiente/butano
started time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
As far as I understand from the Wikipedia article setting the seed like in this approach can change the quality of the generation (that's a risk the user can consider if explained) and as long as the internal values are not all zeroes it will produce a randomized chain of some sort varying it's potential length before repetition.
comment created time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
The advantage of the get/set approach is not to change it's values but to store them in the save file, so your generator can continue from it's state after loading the game.
comment created time in 25 days
pull request commentGValiente/butano
Method to set seed to random generator
Yes, I was using that approach, but my goal is to use the random generator for a procedural algorithm and the loop can block the gba for quite a while.
Would you be more open to a get_state/set_state + struct approach in which the internal three vars are exposed?
comment created time in 25 days
PR opened GValiente/butano
Adding the method set_seed() to the BN::random class
This allows setting the current position of the internal _x value which allows to use of the deterministic random generator in a somehow less deterministic way.
It asserts to a nonzero value to ensure not breaking the shifter.
pr created time in 25 days
push eventluismesas/butano
commit sha 4c7155e9c785cdcf85c7be326053e79480b39082
butano: allows to set seed to random generator
push time in 25 days
issue openedGValiente/butano
Is possible to use 16x16 tiles in Regular backgrounds?
Hi,
I may not be fully understanding how Regular Backgrounds work.
I'm trying to compose a fullscreen screen background composed of 16x16 pixel tiles instead of what looks to be the default of 8x8 pixel tiles.
Is it possible to specify a different tile size?
Thanks
created time in a month