[Pharo-project] Question about #becomeForward

2012-01-18 Thread Sven Van Caekenberghe
Hi, I want to create an array that references itself in its second element like this | array | array := #(1 nil). array at: 2 put: array. array I thought that the following would work | array elements | array := Array new. elements := Array with: 1 with: array. array becomeForward: elements.

Re: [Pharo-project] Saga of trying to integrate IDE with OpenGL continuesRe: [squeak-dev] Re:NativeBoost and NBOpenGL on Mac?

2012-01-18 Thread Lawson English
Doh, I never even tried to run it on Pharo. :-( The croquet opengl package won't load or is it something specific to my stuff? L. On 1/17/12 11:26 PM, Friedrich Dominicus wrote: Lawson Englishlengli...@cox.net writes: The latest video in the saga:

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Mariano Martinez Peck
On Wed, Jan 18, 2012 at 8:29 AM, Yanni Chiu ya...@rogers.com wrote: Rats, that's not the fix. Even though #cleanUpForRelease ran to completion, running the code: Smalltalk allClassesAndTraitsDo: [ :class | [ :each |

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Mariano Martinez Peck
On Wed, Jan 18, 2012 at 8:30 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Thanks. Mariano I remember that with marcus we got the same impression: that the copyFrom: trick to avoid a full scan was the cause of the trouble. But I remember that you said that you had still a problem.

Re: [Pharo-project] Putting source code in method trailer [WAS] Re: Speeding up Finder string search

2012-01-18 Thread Igor Stasenko
On 17 January 2012 19:22, Mariano Martinez Peck marianop...@gmail.com wrote: On Tue, Jan 17, 2012 at 6:31 PM, Mariano Martinez Peck marianop...@gmail.com wrote: If you don't bother about being slow, you can also make it much easier: |trailer source m | m := (Gofer#load). trailer := m

Re: [Pharo-project] Putting source code in method trailer [WAS] Re: Speeding up Finder string search

2012-01-18 Thread Igor Stasenko
On 18 January 2012 10:22, Igor Stasenko siguc...@gmail.com wrote: On 17 January 2012 19:22, Mariano Martinez Peck marianop...@gmail.com wrote: On Tue, Jan 17, 2012 at 6:31 PM, Mariano Martinez Peck marianop...@gmail.com wrote: If you don't bother about being slow, you can also make it much

Re: [Pharo-project] A BlockEventHandler is xxxxxxxxx.

2012-01-18 Thread Igor Stasenko
On 18 January 2012 08:19, Stéphane Ducasse stephane.duca...@inria.fr wrote: Looks to me like HashTableSubclass is crying to get born and used… maybe. But definitely not in case of BlockEventHandler. This class, and all of its uses should simply die. Because it is wrong pattern to have pluggable

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Igor Stasenko
On 16 January 2012 11:15, Frank Shearar frank.shea...@gmail.com wrote: On 16 January 2012 09:59, Lawson English lengli...@cox.net wrote: On 1/15/12 6:44 PM, Jimmie Houchin wrote: On 1/15/2012 6:55 AM, Gerry Weaver wrote: Hi Andreas, I am not comfortable with the idea to write parts of an

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Igor Stasenko
On 17 January 2012 06:34, Jimmie Houchin jlhouc...@gmail.com wrote: I have limited rights to be heard here because I have been a part of the Squeak/Pharo community for a long time. I have less rights than others because I haven't contributed anything of consequence. Others who have been here

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Igor Stasenko
On 18 January 2012 07:19, Friedrich Dominicus fr...@q-software-solutions.de wrote: Jimmie Houchin jlhouc...@gmail.com writes: I am all for improving our editing experience. But I want it in my image and not in Emacs/vi. I would rather see our world improved than to see it require an external

Re: [Pharo-project] [Vm-dev] Primitive to set an identityHash

2012-01-18 Thread Henrik Johansen
I really don't see what good could come of it being available in general… Cheers, Henry On Jan 18, 2012, at 8:16 26AM, stephane ducasse wrote: After the discussions we got and with a really big comment I would add it. Stef On Jan 17, 2012, at 11:02 PM, Mariano Martinez Peck wrote:

Re: [Pharo-project] A BlockEventHandler is xxxxxxxxx.

2012-01-18 Thread Stéphane Ducasse
;) On Jan 18, 2012, at 10:31 AM, Igor Stasenko wrote: On 18 January 2012 08:19, Stéphane Ducasse stephane.duca...@inria.fr wrote: Looks to me like HashTableSubclass is crying to get born and used… maybe. But definitely not in case of BlockEventHandler. This class, and all of its uses

Re: [Pharo-project] Misc. newbie questions

2012-01-18 Thread Serge Stinckwich
On Sat, Jan 7, 2012 at 10:28 PM, Frank Shearar frank.shea...@gmail.com wrote: On 7 January 2012 15:11, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: 2012/1/7 Frank Shearar frank.shea...@gmail.com: On 7 January 2012 14:14, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote:

Re: [Pharo-project] [Vm-dev] Primitive to set an identityHash

2012-01-18 Thread Mariano Martinez Peck
On Wed, Jan 18, 2012 at 11:25 AM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: I really don't see what good could come of it being available in general… I think it is a nice feature to have. If you just have it in the VM nobody will see it unless the guy load all VM stuff and checks

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Stéphane Ducasse
Denis could we put your screenshots on our web site? Stef On Jan 18, 2012, at 9:53 AM, Denis Kudriashov wrote: 2012/1/18 laurent laffont laurent.laff...@gmail.com Ah yes another thing which wouuld be nice to have something with one can understand without studying it for years and repeated

[Pharo-project] [update 1.4] #14285

2012-01-18 Thread Stéphane Ducasse
14285 - - Issue 5178: Unload RB packages Stef

Re: [Pharo-project] :) SIG talks about Pharo

2012-01-18 Thread Serge Stinckwich
Quite old : may 2010. We should continue talking about Smalltalk Pharo on twitter ;-) On Wed, Jan 18, 2012 at 5:51 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: http://www.sig.eu/en/Research/Twilp Stef -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Matsuno

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Stéphane Ducasse
So is the new fix solving the problems? Stef On Jan 18, 2012, at 9:53 AM, Mariano Martinez Peck wrote: On Wed, Jan 18, 2012 at 8:29 AM, Yanni Chiu ya...@rogers.com wrote: Rats, that's not the fix. Even though #cleanUpForRelease ran to completion, running the code: Smalltalk

Re: [Pharo-project] Misc. newbie questions

2012-01-18 Thread Frank Shearar
On 18 January 2012 10:29, Serge Stinckwich serge.stinckw...@gmail.com wrote: On Sat, Jan 7, 2012 at 10:28 PM, Frank Shearar frank.shea...@gmail.com wrote: On 7 January 2012 15:11, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: 2012/1/7 Frank Shearar frank.shea...@gmail.com: On 7

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Mariano Martinez Peck
Wellit seems I found the problem. And in fact, it has alredy been solved by Levente in Squeak...I waste so many hours...and the fix was there.. So, can you try changing to sizeFor: numberOfElements Return the minimum capacity of a dictionary that can hold numberOfElements elements. At

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Henrik Johansen
On Jan 18, 2012, at 12:14 47PM, Mariano Martinez Peck wrote: Wellit seems I found the problem. And in fact, it has alredy been solved by Levente in Squeak...I waste so many hours...and the fix was there.. So, can you try changing to sizeFor: numberOfElements Return the minimum

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Denis Kudriashov
I think yes. But our organisation dont want to share smalltalk roots of this products :(. So it is just screenshots 2012/1/18 Stéphane Ducasse stephane.duca...@inria.fr Denis could we put your screenshots on our web site? Stef On Jan 18, 2012, at 9:53 AM, Denis Kudriashov wrote:

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Mariano Martinez Peck
On Wed, Jan 18, 2012 at 12:25 PM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Jan 18, 2012, at 12:14 47PM, Mariano Martinez Peck wrote: Wellit seems I found the problem. And in fact, it has alredy been solved by Levente in Squeak...I waste so many hours...and the fix was

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Henrik Johansen
On Jan 18, 2012, at 12:44 58PM, Mariano Martinez Peck wrote: On Wed, Jan 18, 2012 at 12:25 PM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Jan 18, 2012, at 12:14 47PM, Mariano Martinez Peck wrote: Wellit seems I found the problem. And in fact, it has alredy been

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Henrik Johansen
On Jan 18, 2012, at 12:49 45PM, Henrik Johansen wrote: On Jan 18, 2012, at 12:44 58PM, Mariano Martinez Peck wrote: On Wed, Jan 18, 2012 at 12:25 PM, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Jan 18, 2012, at 12:14 47PM, Mariano Martinez Peck wrote: Wellit

Re: [Pharo-project] A BlockEventHandler is xxxxxxxxx.

2012-01-18 Thread Nicolas Cellier
2012/1/18 Igor Stasenko siguc...@gmail.com: On 18 January 2012 08:19, Stéphane Ducasse stephane.duca...@inria.fr wrote: Looks to me like HashTableSubclass is crying to get born and used… maybe. But definitely not in case of BlockEventHandler. This class, and all of its uses should simply die.

[Pharo-project] Swazoo + openID

2012-01-18 Thread Bernat Romagosa
Hi list, We need to log a user into an application (not a Seaside app) using their google account, and we are using Swazoo as a server. It must be their google account because we need to retrieve and modify stuff stored in their google world (Blogger, Calendar, etc). We've taken a look at

Re: [Pharo-project] New IDE alternative (was Misc. newbie questions)

2012-01-18 Thread Stéphane Ducasse
Ok we can simply put some screenshots because there look like. Stef I think yes. But our organisation dont want to share smalltalk roots of this products :(. So it is just screenshots 2012/1/18 Stéphane Ducasse stephane.duca...@inria.fr Denis could we put your screenshots on our web

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Stéphane Ducasse
Wellit seems I found the problem. And in fact, it has alredy been solved by Levente in Squeak...I waste so many hours...and the fix was there.. So, can you try changing to sizeFor: numberOfElements Return the minimum capacity of a dictionary that can hold

Re: [Pharo-project] :) SIG talks about Pharo

2012-01-18 Thread Ben Coman
Serge Stinckwich wrote: Quite old : may 2010. We should continue talking about Smalltalk Pharo on twitter ;-) On Wed, Jan 18, 2012 at 5:51 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: http://www.sig.eu/en/Research/Twilp Stef You could play around with these...

Re: [Pharo-project] New IDE alternative

2012-01-18 Thread Friedrich Dominicus
Igor Stasenko siguc...@gmail.com writes: The editor in Pharo suits my needs pretty well. I do not use it for editing rich text , i use it for coding. 5 lines of code per method. Period. Well for programming this is true, but even as programmer you type text quite often. This e.g is written

Re: [Pharo-project] New IDE alternative

2012-01-18 Thread Frank Shearar
On 18 January 2012 16:13, Friedrich Dominicus fr...@q-software-solutions.de wrote: Igor Stasenko siguc...@gmail.com writes: The editor in Pharo suits my needs pretty well. I do not use it for editing rich text , i use it for coding. 5 lines of code per method. Period. Well for programming

[Pharo-project] [update 1.4] #14286

2012-01-18 Thread Stéphane Ducasse
14286 - - Issue 5164: use new #isCompact rather than indexIfCompact 0. Thanks Mariano Martinez-Peck. http://code.google.com/p/pharo/issues/detail?id=5164 - Issue 5186: SymbolTest #testNumArgsKeyword2 broken Thanks Camillo

Re: [Pharo-project] Squeaksource Mirror QA

2012-01-18 Thread Yanni Chiu
On 17/01/12 4:45 PM, Gastón Dall' Oglio wrote: mmm, in 1.3 its work, I try with the incorrect 1.3 image Sorry for the noise. I tried it in PharoCore-1.3, and found ObjectAsMethodWrapper was missing there. When I used Pharo-1.3 (non-core), it worked as advertised.

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Yanni Chiu
On 18/01/12 6:25 AM, Henrik Johansen wrote: The real bug is that Integer isPowerOfTwo does not check for the edge case: That fixed it. #cleanUpForProduction now runs to completion.

Re: [Pharo-project] latest build yields stack trace running #cleanUpForProduction

2012-01-18 Thread Mariano Martinez Peck
here is the correct fix: http://code.google.com/p/pharo/issues/detail?id=5005 On Wed, Jan 18, 2012 at 8:09 PM, Yanni Chiu ya...@rogers.com wrote: On 18/01/12 6:25 AM, Henrik Johansen wrote: The real bug is that Integer isPowerOfTwo does not check for the edge case: That fixed it.

Re: [Pharo-project] Twitter (was SIG talks about Pharo

2012-01-18 Thread Janko Mivšek
Hi guys, Yes, posting on Twitter is very important and we can actually spread the word about Smalltalk to other communities this way. Hashtags are specially important. For instance if you hashtag your twit as #smalltalk #web #design, you'll indirectly reach all three communities, Design, Web and

[Pharo-project] about push up IV

2012-01-18 Thread Stéphane Ducasse
Hi lukas may be you already fixed it. Now when I push up a instance variables I get prompted with the complete list of instance variables even the ones of the superclasses. Stef

Re: [Pharo-project] about push up IV

2012-01-18 Thread Lukas Renggli
Hi Stef, Depends on where you trigger the refactoring from. You only get a list of instance variables when you trigger the refactoring from the class. You can avoid the extra step if you use the variable browser, or you select the variable in the source code. Lukas On 18 January 2012 20:46,

Re: [Pharo-project] Squeaksource Mirror QA

2012-01-18 Thread Gastón Dall' Oglio
Ohh right, thanks Yanni for the clarification. I was beggining at believe that I 'm crazy, becouse I remembered that some weeks ago I had to load the wrapper in a 1.3 image, and yes, the difference was that it was core :) 2012/1/18 Yanni Chiu ya...@rogers.com On 17/01/12 4:45 PM, Gastón Dall'

Re: [Pharo-project] about push up IV

2012-01-18 Thread Stéphane Ducasse
Ok I see I should select the variable but if I select the class I do not need to see superclass variables because I should not been able to push them. BTW I thought about one cool refactoring this is push as subclassResponsibility :). Stef On Jan 18, 2012, at 9:06 PM, Lukas Renggli wrote:

[Pharo-project] [update 1.4] #14287

2012-01-18 Thread Stéphane Ducasse
14287 - - Issue 5146: CodeHolder #decompiledSourceIntoContents not robust enough for handling unknown temps, making it impossible to debug certain methods. Thanks Stefan Marr. http://code.google.com/p/pharo/issues/detail?id=5146 - Issue 5189: DNU when not using

Re: [Pharo-project] about push up IV

2012-01-18 Thread Lukas Renggli
On 18 January 2012 21:15, Stéphane Ducasse stephane.duca...@inria.fr wrote: Ok I see I should select the variable but if I select the class I do not need to see superclass variables because I should not been able to push them. I find it convenient to be able to push up any variable in the

Re: [Pharo-project] Saga of trying to integrate IDE with OpenGL continuesRe:

2012-01-18 Thread Lawson English
sigh, I'm getting disk access constantly when my little GUI opengl thingie runs. The max FPS is 10ish. Package is: OpenGL-Tutorial-LDE.32 in monticello repository: 'http://croquet-src-01.oit.duke.edu:8886/Contributions' suggestions? Thanks. L.

Re: [Pharo-project] [update 1.4] #14287

2012-01-18 Thread Yanni Chiu
On 18/01/12 3:23 PM, Stéphane Ducasse wrote: - Issue 5005: #cleanUpForRelease is broken: MessageNotUnderstood: ByteSymbolrun:with:in:. Thanks Henrik and Mariano. http://code.google.com/p/pharo/issues/detail?id=5005. My build now completes with no aborts or test failures. It's great

Re: [Pharo-project] Importing and exporting packages with Fuel [WAS] Re: [Seaside] Seaside not loading css styles (but our fault)

2012-01-18 Thread Mariano Martinez Peck
On Sat, Sep 24, 2011 at 9:01 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Well...Martin and I have been working a little bit this week and here is a post explaining it: http://marianopeck.wordpress.com/2011/09/24/importing-and-exporting-packages-with-fuel/ Well...I have just tried

Re: [Pharo-project] Misc. newbie questions

2012-01-18 Thread Frank Shearar
On 18 January 2012 11:07, Frank Shearar frank.shea...@gmail.com wrote: On 18 January 2012 10:29, Serge Stinckwich serge.stinckw...@gmail.com wrote: On Sat, Jan 7, 2012 at 10:28 PM, Frank Shearar frank.shea...@gmail.com wrote: On 7 January 2012 15:11, Nicolas Cellier

[Pharo-project] LanguageEnvironment caching behavior

2012-01-18 Thread Camillo Bruni
Does anyone know the reason why LanguageEnvironment doesn't cache the ver instances of the converters but only the classes? I would expect that the instances are mostly functional i.e. do not change state hence they could be cached without side-effects. best cami