Re: [Pharo-project] startup errors

2012-01-16 Thread Andrea BrŸühlmann
Hi there, Could anyone please have a look at issue 5045? I am running into big troubles from time to time because of images that cannot be opened anymore because there happens an error somewhere during startup. The discussed option would allow image recovery without hacking the bytecode!

Re: [Pharo-project] [Pharo-users] OCompletion configuration for 1.4

2012-01-16 Thread Luc Fabresse
yes. Thanks Guillermo! Luc 2012/1/15 Stéphane Ducasse stephane.duca...@inria.fr Thanks thanks thanks and … thanks Stef On Jan 13, 2012, at 10:53 PM, Mariano Martinez Peck wrote: Thanks Guille. It works perfect. I have just commited a small fix in Ocompletion-MarianoMartinezPeck.114 ;)

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

2012-01-16 Thread Lawson English
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 application in different languages. Typically the disadvantages overweigh the advantages to do so as you would have different languages and

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

2012-01-16 Thread Frank Shearar
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 application in different languages. Typically the disadvantages

Re: [Pharo-project] Speeding up Finder string search

2012-01-16 Thread Camillo Bruni
I guess having the sources completely in the image is the straight-forward solution to this :/ or using a native tool to grep the source files and then use the results to map back to the methods cami On 2012-01-15, at 18:54, Benjamin wrote: Thanks for having a look at this problem. With

Re: [Pharo-project] Speeding up Finder string search

2012-01-16 Thread Stefan Marr
Hi: On 16 Jan 2012, at 14:31, Camillo Bruni wrote: I guess having the sources completely in the image is the straight-forward solution to this :/ Well, we could also cache just the resulting source string. Not sure what that means in terms of memory, but going to the file every time a

[Pharo-project] Squeaksource down again

2012-01-16 Thread Frank Shearar
http://www.downforeveryoneorjustme.com/www.squeaksource.com Hooray for ss3.gemstone.com! frank

Re: [Pharo-project] [COTDC] 105 - ZipConstants

2012-01-16 Thread Ben Coman
s...@clipperadams.com wrote: 104 classes done 793 classes remaining Continuing in Compression... Today: ZipConstants Comment Of The Day Contest - One Day One Comment Rules: #1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the

Re: [Pharo-project] Squeaksource down again

2012-01-16 Thread Fabrizio Perin
Well, all our servers are down. Try tommorow. 2012/1/16 Frank Shearar frank.shea...@gmail.com http://www.downforeveryoneorjustme.com/www.squeaksource.com Hooray for ss3.gemstone.com! frank

[Pharo-project] Problem with PluggableListMorph

2012-01-16 Thread Guillermo Polito
There are cases when PluggableListMorph has is inner list cache in nil: *getListElementSelector: aSymbol specify a selector that can be used to obtain a single element in the underlying list getListElementSelector := aSymbol. list := nil. this cache will not be updated if

Re: [Pharo-project] Problem with PluggableListMorph

2012-01-16 Thread Guillermo Polito
http://code.google.com/p/pharo/issues/detail?id=5183thanks=5183ts=1326733573 On Mon, Jan 16, 2012 at 2:05 PM, Guillermo Polito guillermopol...@gmail.com wrote: There are cases when PluggableListMorph has is inner list cache in nil: *getListElementSelector: aSymbol specify a selector

Re: [Pharo-project] Squeaksource down again

2012-01-16 Thread Frank Shearar
Thanks, Fabrizio. It did indeed look more serious than SS being difficult: I was getting No Route to Host errors, so looked more network related than SS. frank On 16 January 2012 16:54, Fabrizio Perin fabrizio.pe...@gmail.com wrote: Well, all our servers are down. Try tommorow. 2012/1/16

[Pharo-project] Squeaksource mirror

2012-01-16 Thread Guillermo Polito
Hmm, What do you think about having this loaded in the core image, and a setting for it? :D I can't remember all the time how to download it :( -- Forwarded message -- From: Francois Stephany tulipe.mouta...@gmail.com Date: Tue, Jan 10, 2012 at 9:27 PM Subject: Re:

Re: [Pharo-project] [Esug-list] [ANN] Amber Smalltalk 0.9.1 is out!

2012-01-16 Thread Stéphane Ducasse
Thanks for all this good energy nicolas! Keep pushing :) Stef On Jan 16, 2012, at 1:06 AM, Nicolas Petton wrote: About 4 moons have passed and Amber - the Smalltalk for the web - has during that time moved forward quite a lot. Since the 0.9 release back in september we have made about 250

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-16 Thread Stéphane Ducasse
On Jan 16, 2012, at 5:19 AM, Schwab,Wilhelm K wrote: I don't just write English, I also write Smalltalk :) :) I had put some related code on SqueakMap, but I suspect it disappeared in one of the meltdowns. It also picked up some code that I had not intended to release, which led me to

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

2012-01-16 Thread Stéphane Ducasse
Thanks jimmie :) You summarize well some of my thoughts. Stef going back to talk to an image with one process and no ui and trying to get a repl so that I can debug our 3.2 mb image :). Yes the way to bootstrapping is slow :) On 1/15/2012 6:55 AM, Gerry Weaver wrote: Hi Andreas, I am

Re: [Pharo-project] Fwd: [Pharo-users] another confusing result

2012-01-16 Thread Milan Mimica
I would just remove the method. Probably the best fix ever. On 14 January 2012 12:55, Mariano Martinez Peck marianop...@gmail.comwrote: -- Forwarded message -- From: Larry White ljw1...@gmail.com Date: Tue, Jan 10, 2012 at 12:52 AM Subject: Re: [Pharo-users] another

[Pharo-project] Monticello mirror not installing in Pharo 1.4

2012-01-16 Thread Guillermo Polito
First, it needs ObjectAsMethodWrapper, which is not any more in the 1.4 image :) Second, ObjectAsMethodWrapper uses MethodReference, causing an infinite recursion when installing the mirror. I fixed this changing the method *#on:selector: *by on: aClass selector: aSelector ^self on:

Re: [Pharo-project] Squeaksource mirror

2012-01-16 Thread Max Leske
THANK YOU CHILE! You just saved my night :) Max On Mon, Jan 16, 2012 at 6:36 PM, Guillermo Polito guillermopol...@gmail.com wrote: Hmm, What do you think about having this loaded in the core image, and a setting for it? :D I can't remember all the time how to download it :( --

[Pharo-project] in the quest of HazelNut: the crazy on:do: influence :)

2012-01-16 Thread Stéphane Ducasse
hi guys I'm playing with Hazeltracer and I generate 3.4 mb image with Opal. Now I have one single process that one :) and I do not understand because the following code work: I get 33 in the file. No stack dump. freshProcessWorkingWithOpalLoaded ^ [ |file| [ file :=

Re: [Pharo-project] Squeaksource down again

2012-01-16 Thread Fabrizio Perin
No problem, I'm sorry i cannot do anything until tomorrow. Cheers, Fabrizio 2012/1/16 Frank Shearar frank.shea...@gmail.com Thanks, Fabrizio. It did indeed look more serious than SS being difficult: I was getting No Route to Host errors, so looked more network related than SS. frank On

[Pharo-project] Exception logging

2012-01-16 Thread Stéphane Ducasse
Hi guys when I do the following |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | ex outer errorReportOn: file]. ] ensure: [file close]. I get a pop up DNU poipuiu

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

2012-01-16 Thread Sean P. DeNigris
After pounding at the system and countless books/articles/keynotes, I get that Smalltalk is a vision, not a syntax. Fortunately, I was hooked from the beginning by Alan Kay's TED Talk, so I enthusiastically pushed through the pain of adapting to the image, losing my vi bindings, etc. If it was

Re: [Pharo-project] reading *exactly* n bytes from socket

2012-01-16 Thread Schwab,Wilhelm K
Stef, It's not so much fixes for FFI as it is filling gaps. We need a full set of signed and unsigned word, dword, float and double arrays. Toward that end, I have a sloppy set that appears to work. I recently discovered that I will have to explicitly assign endianness due to changes in

Re: [Pharo-project] Exception logging

2012-01-16 Thread Max Leske
Looks like Compiler might use it's own error handler? Max On Mon, Jan 16, 2012 at 7:08 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys when I do the following |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll:

Re: [Pharo-project] Exception logging

2012-01-16 Thread Nicolas Cellier
It's more tricky than that... Try this one that works: |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | file nextPutAll: 'failed']. ] ensure: [file close]. Nicolas

Re: [Pharo-project] Exception logging

2012-01-16 Thread David T. Lewis
On Mon, Jan 16, 2012 at 07:08:49PM +0100, St?phane Ducasse wrote: Hi guys when I do the following |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | ex outer

Re: [Pharo-project] Exception logging

2012-01-16 Thread Nicolas Cellier
Oh, but it's just that (ex outer) will pass the exception to an upper level outer Evaluate the enclosing exception action and return to here instead of signal if it resumes (see #resumeUnchecked:). | prevOuterContext | self isResumable ifTrue: [

[Pharo-project] loading subclasses of non existing superclasses with Monticello

2012-01-16 Thread Mariano Martinez Peck
Hi guys. I noticed that when loading a package with classes whose superclasses are not present in the image, and the Monticello popup appears, then those subclasses are not loaded at all. I think I remember they were loaded anyway as a subclass from an obsolete class. But I have just checked in

Re: [Pharo-project] Exception logging

2012-01-16 Thread Gastón Dall' Oglio
Hello Stefan. The error seem there is in the do: block... I try this and works ok: |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex |* 'not ok' inspect* ]. ] ensure: [file

Re: [Pharo-project] Exception logging

2012-01-16 Thread Mariano Martinez Peck
On Mon, Jan 16, 2012 at 10:11 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Mon, Jan 16, 2012 at 7:08 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys when I do the following |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll:

Re: [Pharo-project] Squeaksource mirror

2012-01-16 Thread Carla F. Griggio
Hey guys! Just a question about the mirror *chileno*: is it possible that it copies just the last commited versions of each project? Because I don't see all the packages of one of my projects, just the packages that have been updated recently, with a couple of versions each. Cheers! Carla On

Re: [Pharo-project] Speeding up Finder string search

2012-01-16 Thread Stefan Marr
Hi: On 16 Jan 2012, at 14:50, Stefan Marr wrote: Hi: On 16 Jan 2012, at 14:31, Camillo Bruni wrote: I guess having the sources completely in the image is the straight-forward solution to this :/ Well, we could also cache just the resulting source string. Not sure what that means in

Re: [Pharo-project] [COTDC] 105 - ZipConstants

2012-01-16 Thread Sean P. DeNigris
Thanks, Ben! -- View this message in context: http://forum.world.st/COTDC-105-ZipConstants-tp4297275p4301205.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Re: [Pharo-project] Exception logging

2012-01-16 Thread Mariano Martinez Peck
On Mon, Jan 16, 2012 at 7:08 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guys when I do the following |file| [ file := StandardFileStream fileNamed: 'loglog.txt'. file nextPutAll: 'Start'. [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do:

Re: [Pharo-project] Exception logging

2012-01-16 Thread Camillo Bruni
check Exception #outer Evaluate the enclosing exception action and return to here instead of signal if it resumes (see #resumeUnchecked:). what you probably want is ... [ ex signalerContext errorReportOn: file ] cami On 2012-01-16, at 19:08, Stéphane Ducasse wrote: Hi guys

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

2012-01-16 Thread Frank Shearar
On 16 January 2012 20:08, Sean P. DeNigris s...@clipperadams.com wrote: After pounding at the system and countless books/articles/keynotes, I get that Smalltalk is a vision, not a syntax. Fortunately, I was hooked from the beginning by Alan Kay's TED Talk, so I enthusiastically pushed through

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

2012-01-16 Thread Steve Taylor
On 17/01/12 09:43, Frank Shearar wrote: I've been biting my tongue for a while now in this thread. Please don't take this the wrong way, we're all interested in the same wonderful language and environment, and so on. Compulsory disclaimer: I love Smalltalk. I used to write it for a living