Re: [Newbies] collection enumeration

2006-08-24 Thread cdrick
2006/8/23, stéphane ducasse [EMAIL PROTECTED]: but is a not the fastest one? because you nearly only call primitives? I did not check. Cedric did you benchmark a and c. even if large dictionaries degenerate in Squeak. not yet but I will when some spare time ;) Though it probably depends on

Re: [Newbies] collection enumeration

2006-08-24 Thread Marcus Denker
On 24.08.2006, at 13:58, cdrick wrote: to benchmark, you'll use Time milisecondsToRun: [...] this is what I do ... but I don't know if there are other options... There is #bench: [100 factorial] bench -- '7888.82223555289 per second.' smime.p7s Description: S/MIME cryptographic

Re: [Newbies] collection enumeration

2006-08-24 Thread Mathieu
cdrick a écrit : This can be fast if collection is an array and if you say 1 to: collection do: [:index | ... instead of creating an interval. The compiler cheats for to:do: on a SmallInteger and doesn't create the block. But I would only use this if the profiler showed it was a real

Re: [Newbies] Making cultural simulations in Squeak with Kedama

2006-08-24 Thread Marcus Denker
I tried using first the SqueakAtenex.image from the Extremadura project, because it's what my students and me used the last semester, but remaking the Epidemic example I found that there is a problem with the Kedama menu translation of Kedama in that image. In the english version you

RE: [Newbies] HTTPSocket class - getting to the instance

2006-08-24 Thread Ron Teitelbaum
Hi Andy, Take a look at the method: HTTPSocket class httpGetDocument: url args: args accept: mimeType request: requestString Go about half way down after it has parsed the URL. Start at: HTTPSocket new. You too can get an instance of HTTPSocket but issuing new. Hope that helps! Happy

Re: [Newbies] HTTPSocket class - getting to the instance

2006-08-24 Thread Todd Blanchard
The ugly details are found in HttpSocket's class side method;httpGetDocument: url args: args accept: mimeType request: requestStringIts a little ugly - an HttpRequest class should bundle up a lot of that complexity in a nice data structure that represents the structure of a request.But there it

AW: [Newbies] Making cultural simulations in Squeak with Kedama

2006-08-24 Thread Frank Urbach
Hallo Offray! I can send you an image which contains kedama and odeco. I didn't know where I've found this. The version of squeak is 3.6. If it is interesting for you give me please a ftp-adress where I can uploade. If your eMail can recieve more the 10 MB I could send you the image directly.

Re: AW: [Newbies] Making cultural simulations in Squeak with Kedama

2006-08-24 Thread Offray Vladimir Luna Cárdenas
Hi Frank, Thanks for your quick answer. You can send me the image to this gmail address of a friend: [EMAIL PROTECTED] I will probe the simulations on this version and I will post my progress/problems in this list. Thanks a lot, Offray Frank Urbach escribió: Hallo Offray! I can send

Re: [Newbies] diffing running images between machines?

2006-08-24 Thread Bakki Kudva
That's great! I will be doing that instead. Thanks for that pointer. -bakki On 8/24/06, cdrick [EMAIL PROTECTED] wrote: Hi 2006/8/24, Bakki Kudva [EMAIL PROTECTED]: Hi, I have been developing on 3 machines and I shuttle the images back and forth as follows. I do that too but I try to