[Pharo-project] permutations / combinations implementation

2010-11-15 Thread Tudor Girba
Hi, Is there an implementation of permutations and combinations of a collection? Cheers, Doru -- www.tudorgirba.com Presenting is storytelling.

Re: [Pharo-project] about OutOfScopeNotification

2010-11-15 Thread Stéphane Ducasse
IMO, it should not raise an error, at maximum it should just warn that global name are shadowed by nested scope. It should compile. | b c | b := [ :Object | Object ]. c := b value: Object. is something that I would rather not have compile. Perhaps it should, just as one is

Re: [Pharo-project] Pharo and Astronomy?

2010-11-15 Thread Enrico Spinielli
Hi Alex, I have some (very immature) code for astronomical algorithms: http://www.squeaksource.com/AdAstra The main implamentation is the VSOP87D. This is tested against the very same data coming from http://cdsarc.u-strasbg.fr/viz-bin/Cat?cat=VI/81 There are utilities classes to compute

Re: [Pharo-project] Unix thing? Possible silent failure writing file.

2010-11-15 Thread Schwab,Wilhelm K
Apologies if this comes through as a repeat. What is so mysterious/non-responsive about telling you (read the initial email) that I was re-writing an existing file, nothing happened, no errors were reported, and that repeating it with an explicit truncation of the file after opening gave the

Re: [Pharo-project] Unix thing? Possible silent failure writing file.

2010-11-15 Thread Sven Van Caekenberghe
Bill, On 15 Nov 2010, at 13:35, Schwab,Wilhelm K wrote: Apologies if this comes through as a repeat. What is so mysterious/non-responsive about telling you (read the initial email) that I was re-writing an existing file, nothing happened, no errors were reported, and that repeating it

[Pharo-project] Issue 3264 in pharo: Locale#primTimezone fails on Squeak 5

2010-11-15 Thread pharo
Status: New Owner: New issue 3264 by sven.van.caekenberghe: Locale#primTimezone fails on Squeak 5 http://code.google.com/p/pharo/issues/detail?id=3264 We are currently working on version 1.2, so please verify your issue with the latest 1.2 Unstable version before reporting it - we

Re: [Pharo-project] Issue 3264 in pharo: Locale#primTimezone fails on Squeak 5

2010-11-15 Thread pharo
Comment #1 on issue 3264 by sven.van.caekenberghe: Locale#primTimezone fails on Squeak 5 http://code.google.com/p/pharo/issues/detail?id=3264 OK, I hit Return way to fast ;-) So Locale#primTimezone always returns 0 on Squeak 5.8b12 on Mac OS X, while it works OK on Cog r2316. This results

Re: [Pharo-project] Unix thing? Possible silent failure writing file.

2010-11-15 Thread Schwab,Wilhelm K
You have the impression that I am asking you to do my work. Not the case; I asked you whether a sequence of events was familiar - that's it. The involvement of R and adding a column would mean a lot to those who use it. I am not using any of the variations you list below, but I will look at

Re: [Pharo-project] permutations / combinations implementation

2010-11-15 Thread Peter Hugosson-Miller
Hi Doru! I did a lot of work with permutations and combinations a few years back when I was writing code to help me solve the challenges in Simon Singh's The Code Book. It probably isn't comprehensive (and it's all in VisualAge Smalltalk), but I expect it might provide a large chunk of what

Re: [Pharo-project] permutations / combinations implementation

2010-11-15 Thread Ralph Boland
In Squeak SequenceableCollectionpermutationsDo: will apply a block to each permutation of a collection. I assume it is also in Pharo. I have a package CombinatorialGeneration that implements a number of combinatorial generation algorithms. I use it for generating large numbers of test cases.

[Pharo-project] [OT] Phrase about Smalltalk and Ruby

2010-11-15 Thread Mariano Martinez Peck
Hi all. I remember a phrase someone said few months ago and it was something like I kew Smalltalk was going to reborn, but I didn't know it was going to be called Ruby. Do you remember how exactly the phrase was? do you know the name of the author? thanks Mariano

Re: [Pharo-project] [OT] Phrase about Smalltalk and Ruby

2010-11-15 Thread Ramon Leon
On 11/15/2010 08:35 AM, Mariano Martinez Peck wrote: Hi all. I remember a phrase someone said few months ago and it was something like I kew Smalltalk was going to reborn, but I didn't know it was going to be called Ruby. Do you remember how exactly the phrase was? do you know the name of the

Re: [Pharo-project] [OT] Phrase about Smalltalk and Ruby

2010-11-15 Thread Mariano Martinez Peck
Thanks Ramon...Jorge was right (we discussed in the bus and he says it was him)...it was Kent Beck :) Cheers Mariano On Mon, Nov 15, 2010 at 12:57 PM, Ramon Leon ramon.l...@allresnet.comwrote: On 11/15/2010 08:35 AM, Mariano Martinez Peck wrote: Hi all. I remember a phrase someone said few

Re: [Pharo-project] permutations / combinations implementation

2010-11-15 Thread Tudor Girba
Hi, On 15 Nov 2010, at 15:59, Ralph Boland wrote: In Squeak SequenceableCollectionpermutationsDo: will apply a block to each permutation of a collection. I assume it is also in Pharo. Stupid me. I did not find it on first search :). I have a package CombinatorialGeneration that

Re: [Pharo-project] Issue 3264 in pharo: Locale#primTimezone fails on Squeak 5

2010-11-15 Thread pharo
Comment #2 on issue 3264 by john...@smalltalkconsulting.com: Locale#primTimezone fails on Squeak 5 http://code.google.com/p/pharo/issues/detail?id=3264 Perhaps primTimezone should fail the method when it does not find the locale primitive. The 5.8b12 beta test VM did not ship with the new

Re: [Pharo-project] Issue 3251 in pharo: Accept a change when editing a help text gives MNU

2010-11-15 Thread pharo
Updates: Status: Closed Comment #3 on issue 3251 by stephane.ducasse: Accept a change when editing a help text gives MNU http://code.google.com/p/pharo/issues/detail?id=3251 in 12241

Re: [Pharo-project] Issue 3252 in pharo: [Repackage] Announcements should be well structured

2010-11-15 Thread pharo
Updates: Status: Closed Comment #2 on issue 3252 by stephane.ducasse: [Repackage] Announcements should be well structured http://code.google.com/p/pharo/issues/detail?id=3252 in 12240

Re: [Pharo-project] Unix thing? Possible silent failure writing file.

2010-11-15 Thread Stéphane Ducasse
On Nov 15, 2010, at 2:28 PM, Schwab,Wilhelm K wrote: You have the impression that I am asking you to do my work. Not the case; I asked you whether a sequence of events was familiar - that's it. The involvement of R and adding a column would mean a lot to those who use it. ok but this is

Re: [Pharo-project] Issue 3252 in pharo: [Repackage] Announcements should be well structured

2010-11-15 Thread pharo
Updates: Labels: Milestone-1.2 Comment #3 on issue 3252 by stephane.ducasse: [Repackage] Announcements should be well structured http://code.google.com/p/pharo/issues/detail?id=3252 (No comment was entered for this change.)

Re: [Pharo-project] permutations / combinations implementation

2010-11-15 Thread Stéphane Ducasse
On Nov 15, 2010, at 3:59 PM, Ralph Boland wrote: In Squeak SequenceableCollectionpermutationsDo: will apply a block to each permutation of a collection. I assume it is also in Pharo. I have a package CombinatorialGeneration that implements a number of combinatorial generation

[Pharo-project] [update 1.2] #12241

2010-11-15 Thread Stéphane Ducasse
12241 - - Issue 3251: Accept a change when editing a help text gives MNU. Thanks Torsten Bergmann. - Issue 3252: [Repackage] Announcements package should be well structured. Thanks Torsten Bergmann. Stef

Re: [Pharo-project] Issue 3210 in pharo: SimpleMorphic Integration

2010-11-15 Thread pharo
Updates: Cc: aplantec Comment #2 on issue 3210 by stephane.ducasse: SimpleMorphic Integration http://code.google.com/p/pharo/issues/detail?id=3210 SMx01 in 12242 Alain there are some changes on TextEditor. This may impact what you are doing. Attachments:

[Pharo-project] [ANN] Smalltalk Screencast

2010-11-15 Thread Davide Varvello
Hi! I've two news for this list: 1) It's actually available my screencast on Smalltalk, you can find it here: http://thinkcode.tv/catalog/introduction-to-smalltalk/ 2) But you can have it for free if you look carefully at my timeline on twitter at @Varvello or at @ThinkCodeTV Enjoy the show.

Re: [Pharo-project] Smalltalks 2010

2010-11-15 Thread Hernan Wilkinson
yeah, there is no link now to the 2009 conference, but if you put http://www.fast.org.ar/smalltalks2009 it will take you to last's year page and links to the videos... On Sun, Nov 14, 2010 at 10:52 PM, Juan Vuletich j...@jvuletich.org wrote: Hi Hernán, Hernan Wilkinson wrote: Sorry, I just

Re: [Pharo-project] [ANN] Smalltalk Screencast

2010-11-15 Thread Stéphane Ducasse
great! May be you should join effort with laurent. Because laurent screencasts are really excellent too. Stef On Nov 15, 2010, at 11:18 PM, Davide Varvello wrote: Hi! I've two news for this list: 1) It's actually available my screencast on Smalltalk, you can find it here:

Re: [Pharo-project] Smalltalks 2010

2010-11-15 Thread Juan Vuletich
Hi Hernán, Hernan Wilkinson wrote: yeah, there is no link now to the 2009 conference, but if you put http://www.fast.org.ar/smalltalks2009 it will take you to last's year page and links to the videos... Thank you. It seems I'm out of luck: there are 24 videos there, but the one from the

[Pharo-project] OSProcess

2010-11-15 Thread Facundo Vozzi
Hi, I loaded OSProcess 4.3.11 on Pharo-1.1.1-dev10.09.1.image but its tests are almost all red. Do you know if 4.3.11 if the right version for Pharo 1.1.1? Thanks you, Facundo

[Pharo-project] Image size

2010-11-15 Thread Facundo Vozzi
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package

Re: [Pharo-project] Image size

2010-11-15 Thread Hernán Morales Durand
Hi Facundo, Which Pharo version are you using? Try, ScriptLoader new cleanUpForRelease. I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers, 2010/11/16 Facundo Vozzi facundo...@gmail.com: Hi, I have one of