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

2019-02-05 Thread Alistair Grant
Hi Albrecht, On Fri, 1 Feb 2019 at 19:50, Albrecht Baur via Pharo-users wrote: > > I get a DirectoryIsNotEmpty exception on > FileReference(AbstractFileReference)>>deleteAll. Would you please confirm which version of the VM and Pharo you're using? (copy the output of System -> System Reporter d

Re: [Pharo-users] Running test

2019-02-05 Thread eftomi
It works fine on Win 10 Pro (Version 10.0.17134 Build 17134). Tomaz -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Slots doc

2019-02-05 Thread Marcus Denker
>>> > > Slots are already part of Pharo and are totally useable. > Some example slots are buggy though. > Yes, I have a list of issues to fix. Especially related to instance migration when changing class definitions. (among others). I sometimes wonder how to find the concentrate time to real

Re: [Pharo-users] How to intercept instvar write - MetaLinks + anonymous subclass problem

2019-02-05 Thread Marcus Denker
> > Thanks for answer! I want to detect instvar writes only for objects > (instances), that was previously fetched from external "datastore" (DB like), > so I can persist changed objects only back to the datastore at the end of > transaction. These objects can be any existing class (Pharo cla

Re: [Pharo-users] package extensions in Pharo 7.

2019-02-05 Thread Denis Kudriashov
Hi Paul. вс, 3 февр. 2019 г., 19:57 PAUL DEBRUICKER pdebr...@gmail.com: > Hi - > > > Is there a way to create the protocol, then convert it to an extension, > without adding a method to it between the time I create the protocol and > convert it to an extension? No. In Calypso there is no such t

Re: [Pharo-users] package extensions in Pharo 7.

2019-02-05 Thread Hernán Morales Durand
El mar., 5 feb. 2019 a las 8:07, Denis Kudriashov () escribió: > Hi Paul. > > вс, 3 февр. 2019 г., 19:57 PAUL DEBRUICKER pdebr...@gmail.com: > >> Hi - >> >> >> Is there a way to create the protocol, then convert it to an extension, >> without adding a method to it between the time I create the pro

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

2019-02-05 Thread Richard O'Keefe
Please DON'T move to PCRE. "Outside world standards"? There are so many. There are two important things to know about PCRE: (1) it is a popular open source regexp library for Perl-style regexps, (2) because of that, it is prone to truly horrendous performance problems. There are alternatives, suc

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Ben Coman
On 5 Feb 2019, at 02:42, Pierce Ng wrote: Hi all, Is there a definitive list of all the pharo-* organizations on GH? Like pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out? Pierce On Tue, 5 Feb 2019 at 15:52, Esteban Lorenzano wrote: > Hi, > > Naming the teams “phar

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Sven Van Caekenberghe
> On 5 Feb 2019, at 13:49, Ben Coman wrote: > >> On 5 Feb 2019, at 02:42, Pierce Ng wrote: >> >> Hi all, >> >> Is there a definitive list of all the pharo-* organizations on GH? Like >> pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out? >> >> Pierce > > On Tue, 5

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Esteban Lorenzano
> On 5 Feb 2019, at 13:49, Ben Coman wrote: > >> On 5 Feb 2019, at 02:42, Pierce Ng > > wrote: >> >> Hi all, >> >> Is there a definitive list of all the pharo-* organizations on GH? Like >> pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find ou

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Ben Coman
On Tue, 5 Feb 2019 at 20:59, Esteban Lorenzano wrote: > > > On 5 Feb 2019, at 13:49, Ben Coman wrote: > > On 5 Feb 2019, at 02:42, Pierce Ng wrote: > > Hi all, > > Is there a definitive list of all the pharo-* organizations on GH? Like > pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to que

[Pharo-users] [ANN] Pharo Sprints first half 2019

2019-02-05 Thread Marcus Denker
We organise one Pharo “Sprint” per month were we meet to work on boring issue tracker entries together. Goals of the next sprints: - Fix issues for Pharo8 - Backport important fixes to Pharo7 Remotely, you can join us on Discord. During the sprint, we will try to synchronize lo

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Esteban Lorenzano
> On 5 Feb 2019, at 14:14, Ben Coman wrote: > > > > On Tue, 5 Feb 2019 at 20:59, Esteban Lorenzano > wrote: > > >> On 5 Feb 2019, at 13:49, Ben Coman > > wrote: >> >>> On 5 Feb 2019, at 02:42, Pierce Ng >>

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Esteban Lorenzano
> On 5 Feb 2019, at 13:55, Sven Van Caekenberghe wrote: > > > >> On 5 Feb 2019, at 13:49, Ben Coman wrote: >> >>> On 5 Feb 2019, at 02:42, Pierce Ng wrote: >>> >>> Hi all, >>> >>> Is there a definitive list of all the pharo-* organizations on GH? Like >>> pharo-rdbms, pharo-nosql, pharo

[Pharo-users] Pharo Launcher and Command Line

2019-02-05 Thread sergio ruiz
Hey, all. I REALLY dig the pharo launcher! this is a great addition. One quick question. How do i go about running a method from the command line? Specifically, I usually run something like: ./pharo Pharo.image ../scripts/setup-client-application.st To set up a new image with the current proj

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

2019-02-05 Thread Manuel Leuenberger
I am not advocating for PCRE in particular, I just need a regex engine that is just as powerful. I guess re2 serves that purpose, although I haven't used it myself (knowingly). Looking at https://github.com/google/re2/wiki/WhyRE2 , re2 actually seems t

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

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, there is a little mess in SQLite 3 drivers for Pharo, so I am using Pharo 7 and newest UDBC2 sqlite driver from here: http://smalltalkhub.com/#!/~TorstenBergmann/UDBC2 When I executing this insert SQL command: insert into "TABLE" (..., "VARCHAR_FIELD") values (..

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

2019-02-05 Thread Denis Kudriashov
We can also update pharo version from original VW repositoriy if the current license is appropriate. I think it covers missing parts. 5 февр. 2019 г. 7:34 пользователь "Esteban Lorenzano" написал: Hi, Yes, Pharo regex implementation is very naive. We will be moving to a PCRE binding to match ou

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

2019-02-05 Thread Sven Van Caekenberghe
Still, there are advantages to an in-image solution, can't says this enough, these external lib dependencies pose their own problems ... > On 5 Feb 2019, at 08:33, Esteban Lorenzano wrote: > > Hi, > > Yes, Pharo regex implementation is very naive. > We will be moving to a PCRE binding to matc

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

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 02:51:42PM +, Petr Fischer via Pharo-users wrote: > When I executing this insert SQL command: > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); > this UDBC error occurs (what's wrong?): > Error: "Could not coerce arguments" Please s

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 12:52:37AM -0300, Hernán Morales Durand wrote: > I am currently writing a command-line tool which queries pharo repositories > using the GitHub API, and based on the repository tag. Maybe not exactly > what you asked for but it's a start. You can find the tool at: > https://

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

2019-02-05 Thread Pierce Ng
On Wed, Feb 06, 2019 at 12:26:00AM +1300, Richard O'Keefe wrote: > Please DON'T move to PCRE. > "Outside world standards"? There are so many. > There are two important things to know about > PCRE: (1) it is a popular open source regexp > library for Perl-style regexps, (2) because of > that, it is

[Pharo-users] Iliad on Pharo 7.0

2019-02-05 Thread Siemen Baader
Hi, is anyone planning to port Iliad to Pharo 7.0? The Grease package seams to have been removed from 7.0 so Iliad does not work out of the box. cheers, Siemen

Re: [Pharo-users] Iliad on Pharo 7.0

2019-02-05 Thread Steven Costiou
Hi, I looked at it this week end but in the end had no time to go through. I will surely do it, but it will take time as I have too much to do at the moment (say, not before March i think). Unless somebody does it before I can.. Steven. Le 2019-02-05 17:37, Siemen Baader a écrit : > Hi,

Re: [Pharo-users] package extensions in Pharo 7.

2019-02-05 Thread Paul DeBruicker
Thanks Denis Denis Kudriashov wrote > Hi Paul. > > вс, 3 февр. 2019 г., 19:57 PAUL DEBRUICKER > pdebruic@ > : > >> Hi - >> >> >> Is there a way to create the protocol, then convert it to an extension, >> without adding a method to it between the time I create the protocol and >> convert it t

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Alexandre Bergel via Pharo-users
--- Begin Message --- > The idea is to make it even easier than now (but so far nothing is defined). > Something like (but this is JUST A DRAFT IN MY MIND): > > { >#project : ‘MyCoolProject’, >#description : ‘Blablabla’, >#tags: [ ‘a’, ‘b’, ‘c’ ], >#versions : [ >#current

Re: [Pharo-users] Running test

2019-02-05 Thread Hilaire
Thanks Tomaz and Hernán -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Running test

2019-02-05 Thread Hilaire
Thanks John and Andrei. And if you drag the app in the application folder does it work? Le 05/02/2019 à 11:06, Andrei Chis a écrit : > But this happens only if I click the download link and use the web > browser to download it. > > If I use wget I can open it but it does not find the image: > --

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

2019-02-05 Thread Norbert Hartl
> Am 05.02.2019 um 16:16 schrieb Sven Van Caekenberghe : > > Still, there are advantages to an in-image solution, can't says this enough, > these external lib dependencies pose their own problems ... +1 > >> On 5 Feb 2019, at 08:33, Esteban Lorenzano wrote: >> >> Hi, >> >> Yes, Pharo rege

[Pharo-users] word wrap in Transcript

2019-02-05 Thread test email
Is there a way to word-wrap info in the Transcript object?

Re: [Pharo-users] Running test

2019-02-05 Thread Tomaž Turk
BTW, on Windows 10 the Defender is also not happy at first. Best wishes Tomaz -- Original Message -- From: "Hilaire" To: pharo-users@lists.pharo.org Sent: 5. 02. 2019 18:50:07 Subject: Re: [Pharo-users] Running test Thanks John and Andrei. And if you drag the app in the application f

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

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 02:51:42PM +, Petr Fischer via Pharo-users wrote: > > When I executing this insert SQL command: > > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); > > this UDBC error occurs (what's wrong?): > > Error: "Cou

Re: [Pharo-users] Running test

2019-02-05 Thread john pfersich
At least on MacOS Mojave, I had moved the app to the Application folder. /*—-*/ Sent from my iPhone https://boincstats.com/signature/-1/user/51616339056/sig.png See https://objectnets.net and https://objectnets.org > On Feb 5, 2019, at 09:50, Hilaire wrote: > > Thanks John and

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

2019-02-05 Thread Richard O'Keefe
PCRE has exponential worst-case time. See for example https://www.regular-expressions.info/catastrophic.html but searching for PCRE exponential time or worst case will find more. That's not the problem. The problem is that it isn't *obvious* which regexps are safe and that people are taught that

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

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 07:25:07PM +0100, Norbert Hartl wrote: > > Am 05.02.2019 um 16:16 schrieb Sven Van Caekenberghe : > > Still, there are advantages to an in-image solution, can't says this > > enough, these external lib dependencies pose their own problems ... > +1 Libraries like libgit2, li

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

2019-02-05 Thread Pierce Ng
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, T TEXT DEFAULT ''áěšřčá'')'.