It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | A |
const RAND_MAX = 0xFFFFFFFF
function random() {
let x
do {
x = rand_int32() // use crypto.randomValues or something tied to a csprng
} while (x >= (RAND_MAX - RAND_MAX % n))
return x % n
}
function* randomNumberGeneration(seedShit) {
for (var nonce = 0; true ; ++nonce) {
yield sha256(seedShit + '|' + nonce) % amountOfCardsInADeck; // using bigint maths..
}
}
-- To shuffle an array a of n elements (indices 0..n-1):
for i from n−1 downto 1 do
j ← random integer such that 0 ≤ j ≤ i
exchange a[j] and a[i]
listUnshuffledDeck = new list ();
//Populate UnshuffledDeck from 1-52, where 1= ace of spades, 2=2 of spades etc etc.
listshuffleddeck = new list (); //empty list
string clientseed = "something"
string serverseed = "randomly generated server seed"
int nonce = 1 //or whatever your nonce should be
while (UnshuffledDeck.count>1)
{
int tmp = UnshuffledDeck [rng(clientseed,serverseed,nonce,unsuffledeck.count)]
shuffleddeck.add(unshuffledeck[tmp])
shuffleddeck.removeat(tmp);
}
shuffleddeck.add(unshuffleddeck[0])
unshuffleddeck.removeat(0)
function int RNG(string client, string server, int nonce, int max)
{
int randomnumber = Using a nonce based RNG system similar to Justdice or betking, generate a random number between 0 and 1 000 000.
return randomnumber%max
}
#include
#include
#include
typedef std::vectordeck_t;
int evaluator(deck_t deck, const unsigned int& seed) {
std::mt19937 engine(seed);
std::shuffle(deck.begin(), deck.end(), engine);
return deck[0];
}
int main() {
deck_t deck { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 };
std::sort(deck.begin(), deck.end());
// Decrease this number to see the tool in action. Results are not evidentiary unless space is 2^32 -1.
const unsigned int SEED_SPACE = 4294967295;
unsigned int i = 0;
unsigned int count = 0;
unsigned int highest = 0;
do {
count = 0;
for (i = 0; i <= SEED_SPACE; ++i) {
count += evaluator(deck, i);
}
if (count > highest) {
highest = count;
for (auto const& c : deck) std::cout << c;
std::cout << ": " << highest << std::endl;
}
} while(std::next_permutation(deck.begin(), deck.end()));
return 0;
}
// Run: clang++ -std=c++11 main.cpp
// Then: ./a.out