Fluid random number generator
-
@Captain did you make it?
-
@fbmac No. I bought a bucket though. I put weeds in it.
-
@Jaime said in Fluid random number generator:
One way to find out - make one and test the output stream for randomness.
From that link:
Optimum compression would reduce the size
of this 51768 character file by 0 percent.Optimum compression
AAAGH
http://www.stoltzimage.com/images/frustration.jpgThere's no such thing as optimum compression!!!!! Well there is, but it's extremely uncomputable. Watch your language people!
-
@anonymous234 said in Fluid random number generator:
There's no such thing as optimum compression!
This thing can compress the Calgary corpus down to 14(!) bytes in one pass, and down to zero(!!) bytes in two passes.
-
@ben_lubar Now look what you've done. You've made me like a post by @ben_lubar.
Now I'll have to go and randomly choose a post by @ben_lubar to dislike.
-
@anonymous234 said in Fluid random number generator:
There's no such thing as optimum compression!!!
There's no such thing as “optimum” without a defined optimisation function. If you can't get a measure, you can't reach an optimum. (Also, monotonic functions don't have optima; gotta have that derivative become zero, guys!)
-
@dkf said in Fluid random number generator:
(Also, monotonic functions don't have optima; gotta have that derivative become zero, guys!)
Nope, that's a freshman mistake. Minima can occur on boundaries. ;-)
-
@dkf said in Fluid random number generator:
There's no such thing as “optimum” without a defined optimisation function.
-
@Captain Oh, you're using a bounded function? “That's Different.™”
-
@dkf e.g. f(x) = x on [0, 100) is bounded below and the infimum is attained on the boundary.
-
@Captain said in Fluid random number generator:
@dkf e.g. f(x) = x on [0, 100) is bounded below and the infimum is attained on the boundary.
It's bounded above as well. That is,
-
@PleegWat Yeah, but we're talking about optimization. The function doesn't attain a maximum on [0,100). In this case, the minimum is the infimum, but the maximum is undefined (and not equal to the supremum).
-
@dkf said in Fluid random number generator:
Also, monotonic functions don't have optima; gotta have that derivative become zero, guys!
"monotonic" != "derivative is always nonzero"
Monotonic functions can have plateaus -- regions where the derivative is zero -- and a plateau can be an optimum if it's infinitely long in one direction.
E.g.
f(𝓍) = ⌊ e𝓍⌋
That function is monotonic, and has a minimum at 0. For all x < 0, f(x) = 0.
-
@PleegWat said in Fluid random number generator:
Now I know how my manager feels when I spout tech jargon at him.
Filed under: I see the problem: that E is backwards, and the A is upside-down.
-
@error said in Fluid random number generator:
I see the problem: that E is backwards, and the A is upside-down.
I don't know, I like those elements, it makes it more dynamic, though I still think it should pop more.
-
@error said in Fluid random number generator:
@PleegWat said in Fluid random number generator:
Now I know how my manager feels when I spout tech jargon at him.
Filed under: I see the problem: that E is backwards, and the A is upside-down.
I like spouting some math jargon every once in a while.
-
People that want go get stuff done just use the normal rand function
-
Find a thermal noise generator, hook it up to a ADC (after an amp), run it through something to provide USB input, and you have a much easier, less complicated setup.
-
@anotherusername said in Fluid random number generator:
E.g.
f(x) = ⌊ e𝓍⌋
That function is monotonic, and has a minimum at 0. For all x < 0, f(x) = 0.
I'm not sure what the
⌊
…⌋
symbols mean there, so I can't decide whether to argue with you. Also, is there a relationship betweenx
and𝓍
? (That's but it matters in formulæ…)
-
@dkf said in Fluid random number generator:
⌊ …⌋ symbols mean there, so I can't decide whether to argue with you.
Floor.
@dkf said in Fluid random number generator:
Also, is there a relationship between x and 𝓍?
The identity relationship.
-
@dkf said in Fluid random number generator:
Also, is there a relationship between x and 𝓍? (That's but it matters in formulæ…)
Yeah okay. Fixed.