Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-06 Thread Alistair Grant
Hi Albrecht, On Tue, 5 Feb 2019 at 15:26, Albrecht Baur wrote: > > Hi Alistair, > > here the system report output: > > ... Thanks for the info. Please see: Issue: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/368 PR: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/371 Assumi

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-06 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 08:20:22PM +0100, Petr Fischer via Pharo-users wrote: > > But still... I do not expect anyone to create tables through binding > > values (like in your example), so following SQL command is still > > broken: > > db execute: 'create table A (ID INTEGER

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-06 Thread Albrecht Baur via Pharo-users
--- Begin Message --- thank you! That is good news. best, Albrecht On 06.02.19 09:34, Alistair Grant wrote: Hi Albrecht, On Tue, 5 Feb 2019 at 15:26, Albrecht Baur wrote: Hi Alistair, here the system report output: ... Thanks for the info. Please see: Issue: https://github.com/OpenSmal

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Esteban Lorenzano
If cre2 meets the standard and community agree, I do not care to be honest, I just mentioned PCRE because it is the “de facto standard” and we are tired of not being compatible :) About an in-image solutions in general: Yes, it is better than rely in a solution like that. Also about in-image so

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Manuel Leuenberger
An in-image regex engine would always be preferable by me, but creating a fully-flegged engine with all the fancy lookarounds, named/non-capturing groups, non-greedy matches, Unicode support, etc. sounds like a six-month-length full-time project. Any volunteers? ;) I am all for a pragmatic appr

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Manuel Leuenberger
As an in-image solution, refactoring the SmaCC scanner to a standalone regex engine might be pretty efficient to gain more RE features, but I cannot really judge how big this effort would be. > On 6 Feb 2019, at 11:42, Manuel Leuenberger wrote: > > An in-image regex engine would always be pref

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
I couldn't find examples of Slot usage. Is there any ackage I can load that use it so that I can look as an example? On Mon, Feb 4, 2019 at 6:17 PM webwarrior wrote: > Vitor Medina Cruz wrote > > Thanks, I had already read this paper, which got me interested in the > > concept of slots :) . Is i

Re: [Pharo-users] Slots doc

2019-02-06 Thread Denis Kudriashov
Would be nice to have a command in browser to show users of selected slot 6 февр. 2019 г. 11:32 пользователь "Vitor Medina Cruz" написал: I couldn't find examples of Slot usage. Is there any ackage I can load that use it so that I can look as an example? On Mon, Feb 4, 2019 at 6:17 PM webwarrio

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 12:30, Vitor Medina Cruz wrote: > > I couldn't find examples of Slot usage. Is there any ackage I can load that > use it so that I can look as an example? The Slot-Tests has some. But most tests there are creating classes not he fly (to test the creation) The only clas

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 12:41, Denis Kudriashov wrote: > > Would be nice to have a command in browser to show users of selected slot > Yes! Marcus

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
Thanks, I was looking for usages of InstanceVariableSlot. In the case of SlotExampleMovie, #name and #year are of IntanceVariableSlot layout (this definition is correct? A slot is or has some Layout defined by the Slot class?) On Wed, Feb 6, 2019 at 10:14 AM Marcus Denker wrote: > > > > On 6 Fe

Re: [Pharo-users] Running test

2019-02-06 Thread Hilaire
In the first place? Le 06/02/2019 à 00:45, john pfersich a écrit : > At least on MacOS Mojave, I had moved the app to the Application folder. -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 13:25, Vitor Medina Cruz wrote: > > Thanks, I was looking for usages of InstanceVariableSlot. All instance variables are InstanceVariableSlots. But to make it less verbose, we have a way to specify these without having to put the name. Object subclass: #Point

Re: [Pharo-users] Running test

2019-02-06 Thread Andrei Chis
In my case if I download the app using the web browser and put it in the Applications folder I still get `“DrGeo” is damaged and can’t be opened. You should move it to the Trash*.*` On Tue, Feb 5, 2019 at 6:55 PM Hilaire wrote: > Thanks John and Andrei. > > And if you drag the app in the applica

Re: [Pharo-users] Running test

2019-02-06 Thread Hilaire
Can Mac OSX provides more usefull message? Le 06/02/2019 à 14:53, Andrei Chis a écrit : > In my case if I download the app using the web browser and put it in > the Applications folder I still get `“DrGeo” is damaged and can’t be > opened. You should move it to the Trash*.*` -- Dr. Geo http://dr

Re: [Pharo-users] Running test

2019-02-06 Thread Hilaire
In the other hand, I am suspecting this Mac VM[1] downloaded  from the Pharo download page may have issue. After all the Linux VM from this same page is defunct as I already report it. I had to get one from the Pharo Launcher. The Windows VM from this same Pharo download page is functional, though

Re: [Pharo-users] Slots doc

2019-02-06 Thread Vitor Medina Cruz
Ok, thanks, I think I am understanding. I was trying to create a class to experiment but if I try to: Object subclass: #TestClassWithSlots slots: { } classVariables: { } package: 'Experiment-Slots' Code is reversed to: Object subclass: #TestClassWithSlots instanceVariableNames:

Re: [Pharo-users] Running test

2019-02-06 Thread Andrei Chis
The Pharo VM works fine for me. My understanding is that the problem is in the DrGeo.app The app packages together two things: - the Pharo VM with is signed - other files/folders that are not signed If gatekeeper (https://developer.apple.com/developer-id/) detects this the it marks the app as

[Pharo-users] Formatting Dates

2019-02-06 Thread sergio ruiz
I have been using this to format dates: printFormat: #(3 2 1 $/ 1 1 2) which goes like: printFormat: formatArray "Answer a String describing the receiver using the argument formatArray." ^ String new: 16 streamContents: [ :aStream | self printOn: aStream format: formatArray ] But i am unclear

Re: [Pharo-users] Running test

2019-02-06 Thread Tim Mackinnon
For OS X (and possibly Windows) it’s worth understanding how Pharo Launcher creates its installation program as that’s the way to solve this properly and it makes it look much more polished as well. I think it’s not too hard too do, and you can copy those steps? Tim Sent from my iPhone > On 6

Re: [Pharo-users] Running test

2019-02-06 Thread john pfersich
Yes before I tried to start it. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 6, 2019, at 05:53, Andrei Chis wrote: > > In my case if I download the app using the web brows

Re: [Pharo-users] Non-greedy RegEx?

2019-02-06 Thread Sean P. DeNigris
Manuel Leuenberger wrote > An in-image regex engine would always be preferable by me, but... I am all > for a pragmatic approach I feel similarly: Ideally I would love everything in image, but given limited manpower it seems wise to leverage outside libs for standard things so that we can devote o

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-06 Thread Alistair Grant
Hi Albrecht, On Wed, 6 Feb 2019 at 19:51, Albrecht Baur via Pharo-users wrote: > > thank you! That is good news. > > best, > > Albrecht Would you please download the latest VM and confirm that it resolves the issue: curl get.pharo.org/64/vmLatest80 | bash The Pharo 8 VM works with Pharo 7 imag

Re: [Pharo-users] Slots doc

2019-02-06 Thread Marcus Denker
> On 6 Feb 2019, at 18:17, Vitor Medina Cruz wrote: > > > Ok, thanks, I think I am understanding. > > I was trying to create a class to experiment but if I try to: > > Object subclass: #TestClassWithSlots > slots: { } > classVariables: { } > package: 'Experiment-Slots' > > Cod