I was asking about how to trace some until top procedure
Now I wish share my solution to all, just in case some need do know.
(HttpService on: 8080 named: 'Debug1')
onRequestDo: [ :httpRequest | HttpResponse fromString: 'SqueakRos
Greet You'.
self dpsTraceUntilRoot:
Hi,
I'd like to experiment with OpenGL in Squeak. I found the promisingly titled
Howto - Loading OpenGL in Squeak 3.9 from Jakub Kozisek
(http://lists.squeakfoundation.org/pipermail/beginners/2006-November/001451.html)
and followed the directions:
* install FFI and Balloon3D from SqueakMap. (I
Hi,
I'd like to experiment with OpenGL in Squeak. I found the promisingly titled
Howto - Loading OpenGL in Squeak 3.9 from Jakub Kozisek
(http://lists.squeakfoundation.org/pipermail/beginners/2006-November/001451.html)
and followed the directions:
* install FFI and Balloon3D from SqueakMap. (I
(2 raisedTo: 128) atRandom hex
Gives me results like:
B990880B73211001
BFD3A7B37FA75001
E0A6F981C14DF001
Somehow I'm not buying the lower-order bits on this one. :)
-- Tim
smime.p7s
Description: S/MIME cryptographic signature
Timothy == Timothy J Miller [EMAIL PROTECTED] writes:
Timothy (2 raisedTo: 128) atRandom hex
Timothy Gives me results like:
Timothy B990880B73211001
Timothy BFD3A7B37FA75001
Timothy E0A6F981C14DF001
Timothy Somehow I'm not buying the lower-order
Randal == Randal L Schwartz [EMAIL PROTECTED] writes:
Timothy == Timothy J Miller [EMAIL PROTECTED] writes:
Timothy (2 raisedTo: 128) atRandom hex
Timothy Gives me results like:
Timothy B990880B73211001
Timothy BFD3A7B37FA75001
Timothy
El 7/31/08 4:41 PM, Randal L. Schwartz [EMAIL PROTECTED] escribió:
Timothy == Timothy J Miller [EMAIL PROTECTED] writes:
Timothy (2 raisedTo: 128) atRandom hex
Timothy Gives me results like:
Timothy B990880B73211001
Timothy BFD3A7B37FA75001
Timothy
Edgar J. De Cleene edgardec2001 at yahoo.com.ar writes:
But (2 raisedTo: 128) atRandom could genetate
49572205802560219958060582892667404289
and
49572205802560219958060582892667404289 hex also is wrong print
'254B42724A968401'
Nah! hex is an excellent print, it is
On Jul 31, 2008, at 2:54 PM, Edgar J. De Cleene wrote:
But (2 raisedTo: 128) atRandom could genetate
49572205802560219958060582892667404289
and
49572205802560219958060582892667404289 hex also is wrong print
'254B42724A968401'
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
On Jul 31, 2008, at 3:01 PM, nicolas cellier wrote:
Random#next uses Floating point arithmetic.
Thus you get the 53 bits precision of a Float mantissa (IEEE 754
double).
It then gets shifted (128-53) times.
There's probably a trick that rounds Float last bit to zero
(like round to nearest
Timothy == Timothy J Miller [EMAIL PROTECTED] writes:
Timothy It certainly is inconsistent to have an Integer method that doesn't
Timothy invisibly handle large ints.
The Integer method is fine. The problem is the lack of bits from the PRNG
from class Random.
--
Randal L. Schwartz -
El 7/31/08 5:31 PM, Timothy J Miller [EMAIL PROTECTED] escribió:
On Jul 31, 2008, at 2:54 PM, Edgar J. De Cleene wrote:
But (2 raisedTo: 128) atRandom could genetate
49572205802560219958060582892667404289
and
49572205802560219958060582892667404289 hex also is wrong print
The issue is almost certainly in atRandom:
Running
30 timesRepeat: [ | a |
a:= (2 raisedTo: 57) atRandom.
Transcript show: a ; show: ' ' ; show: a even ; cr ].
Gives me 30 falses.
The odds of that are less than one in a billion (assuming uniformly
distributed integers).
This doesn't
El 7/31/08 5:31 PM, Timothy J Miller [EMAIL PROTECTED] escribió:
On Jul 31, 2008, at 2:54 PM, Edgar J. De Cleene wrote:
But (2 raisedTo: 128) atRandom could genetate
49572205802560219958060582892667404289
and
49572205802560219958060582892667404289 hex also is wrong print
Hi Derek,
thanks for the reply. I've inspected SmalltalkImage current
listLoadedModules and SmalltalkImage current listBuiltinModules and there
is no sign of module:'Squeak3D'. I also checked my Croquet installation
and again no sign of module:'Squeak3D' - however the Croquet image appears
to
johnps11 == johnps11 [EMAIL PROTECTED] writes:
johnps11 I'm not clever enough to understand PRNGs, so I'll leave it others
johnps11 to work out what the answer is, although I suspect that for more
johnps11 than 56 bits you need a PRNG that uses LargeIntegers and not Floats.
Yes. There are
johnps11 at bigpond.com writes:
The issue is almost certainly in atRandom:
Running
30 timesRepeat: [ | a |
a:= (2 raisedTo: 57) atRandom.
Transcript show: a ; show: ' ' ; show: a even ; cr ].
Gives me 30 falses.
The odds of that are less than one in a billion (assuming
Randal L. Schwartz merlyn at stonehenge.com writes:
johnps11 == johnps11 johnps11 at bigpond.com writes:
johnps11 I'm not clever enough to understand PRNGs, so I'll leave it others
johnps11 to work out what the answer is, although I suspect that for more
johnps11 than 56 bits you need a
lol, dug up a Croquet install and it is nearly a year since I used it
:-) Probably better if someone else chipped in with advice. Only thing
I can think is that opengl32.dll cannot be found. Here it is in
c:\windows\system32 but if you want to be sure then drop a copy in the
squeak directory.
19 matches
Mail list logo