Re: [Pharo-users] Syntax Error: Message pattern expected

2017-08-04 Thread Stephane Ducasse
It may happen that you are trying to load an old package with a syntax error. We should improve the compiler infrastructure because I hate such error not You can bring the menu on the syntax error window and bring the debugger. (yes it is totally hidden and I hate it too). Stef On Wed, Aug 2,

[Pharo-users] Compiling lots of method source without debugger

2017-08-04 Thread Patrick Scherer
Hello everyone, This is my first time here so I hope this is the right place to ask questions. In an attempt to move lots of code from VA Smalltalk to Pharo, I need to compile a lot of methods whose code may or may not work due to missing classes in Pharo etc. I want to be able to compile these

Re: [Pharo-users] Iceberg and removing packages

2017-08-04 Thread Esteban Lorenzano
> On 3 Aug 2017, at 19:13, Esteban A. Maringolo wrote: > > How can I know which version it is loaded? > > My system version is: "Pharo6.0 of 13 May 2016 update 60508” this is old 6.0, you need 6.1(which is 60510) but then you need the new VM :S I checked: 0.5 fixes the

Re: [Pharo-users] Settings - Server Mode - should I use it?

2017-08-04 Thread Tim Mackinnon
Hey Ben - thanks for sharing this with me - you know, I never knew you could right click on the settings and browse… I’ve always (only partially successfully) used halo’s on ui items and tried to dig in that way… It turns out that in the minimal images that Pavel has been churning out -

Re: [Pharo-users] Threads safety in Pharo

2017-08-04 Thread Stephane Ducasse
On Fri, Aug 4, 2017 at 7:06 PM, Alidra Abdelghani via Pharo-users < pharo-users@lists.pharo.org> wrote: > > > -- Forwarded message -- > From: Alidra Abdelghani > To: Guillermo Polito > Cc: Any question about pharo is welcome

Re: [Pharo-users] Compiling lots of method source without debugger

2017-08-04 Thread Stephane Ducasse
Hi Patrick Welcome :) > Hello everyone, > > This is my first time here so I hope this is the right place to ask > questions. Yes it is. > In an attempt to move lots of code from VA Smalltalk to Pharo, I need to > compile a lot of methods whose code may or may not work due to missing > classes

Re: [Pharo-users] Threads safety in Pharo

2017-08-04 Thread Stephane Ducasse
> > Great, I taught some of theses concepts to my students some times ago and we > did some fun lab sessions with the Linux scheduler > > This was on my todo to turn it into a book chapter for Pharo. > > So may be we could work together to write a little booklet on this aspect to > get started.

Re: [Pharo-users] Compiling lots of method source without debugger

2017-08-04 Thread Peter Uhnak
Hi, > This is my first time here so I hope this is the right place to ask > questions. It is. :) > I want to be able to compile these methods programatically without > interruptions (using method source strings only) and gather all compiler > errors that occur. What would be the best way to go

Re: [Pharo-users] Threads safety in Pharo

2017-08-04 Thread Alidra Abdelghani via Pharo-users
--- Begin Message --- Thanks Guille for your answer, From what I understand, it is mainly a synchronisation problem. Why cant' existing synchronisation mechanisms (semaphores and mutex) be used? Abdelghani > On 31 Jul 2017, at 18:44, Guillermo Polito wrote: > > I

[Pharo-users] Best Practices for Bundling Documentation

2017-08-04 Thread Evan Donahue
Hello, I'm working on cleaning up a couple of projects for release, and I was wondering what the best practices were for including appropriate documentation with projects. Should I just drop a text blob in a prominent class comment? Is there a tool for structuring documentation? Is documentation

[Pharo-users] problem with FLMaterializer

2017-08-04 Thread Johannes Brauer
Hi everyone, trying to migrate a Seaside application from Pharo4 to Pharo6 I get a problem with FLMaterializer. An expression like (FLMaterializer materializeFromFileNamed: aFileRefence) results in MessageNotUnderstood: FileReference>>convertToWithConverter: The same file can be materialized

Re: [Pharo-users] Compiling lots of method source without debugger

2017-08-04 Thread Henrik Sperre Johansen
Patrick Scherer wrote > Hello everyone, > > This is my first time here so I hope this is the right place to ask > questions. > > In an attempt to move lots of code from VA Smalltalk to Pharo, I need to > compile a lot of methods whose code may or may not work due to missing > classes in Pharo

Re: [Pharo-users] Threads safety in Pharo

2017-08-04 Thread Alidra Abdelghani via Pharo-users
--- Begin Message --- Hi Ben, > On 01 Aug 2017, at 13:31, Ben Coman wrote: > > Not sure I'll have what you're looking for, but to start, do you mean Pharo's > green threads or vm native threads? I believe this is about Pharo threads. I am not quite sure of what the vm

[Pharo-users] How to remove packages and reclaim image size?

2017-08-04 Thread Tim Mackinnon
Hi - I’m wondering how you best remove packages in the image to reclaim space? I am a bit confused because I see 2 package systems MCPackage and RPackage? And I see 2 different ways of removing things: (MCPackage named: name) unload (RPackage organizer packageNamed: name) unregister So which

Re: [Pharo-users] Glorp reconnection management (was: Re: Glorp: how to reconnect after image shutdown / load?)

2017-08-04 Thread Pierce Ng
On Thu, Aug 03, 2017 at 03:27:16PM +0200, Herby Vojčík wrote: > Looking at state of the art code: > GlorpSession >> loginIfError: aBlock > | result | > result := self accessor loginIfError: aBlock. > system platform characterEncoding: accessor encoding. > ^result In the