Re: [Pharo-users] GlorpSQLite Github release management

2018-10-11 Thread Alistair Grant
Hi Pierce, On Fri, 12 Oct 2018 at 06:21, Pierce Ng wrote: > > Hi all, > > So GlorpSQLite works on Pharo 5 and 6, but not yet on Pharo 7. I've been using GlorpSQLite in Pharo 7 since development started. It is loaded from another package's baseline as: spec baseline: 'GlorpSQLite' with: [

[Pharo-users] GlorpSQLite Github release management

2018-10-11 Thread Pierce Ng
Hi all, So GlorpSQLite works on Pharo 5 and 6, but not yet on Pharo 7. Currently, I have the following: https://github.com/PierceNg/glorp https://github.com/PierceNg/glorp-sqlite3 Which are forks of these: https://github.com/pharo-rdbms/glorp https://github.com/pharo-rdbms/glorp-sqlite

Re: [Pharo-users] World Cup 2018 with Glorp : SQL dump for SQLite : wc2018.sql

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 06:45:07PM +0200, H. Hirzel wrote: > Hi Pierce > > In your blog entry > 'World Cup 2018 with Glorp' > you write about an SQL dump file wc2018.sql and mention a repo? > > https://github.com/openfootball/world-cup/tree/master/2018--russia > > seems to be a candidate, bu

Re: [Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 06:27:21PM +0200, H. Hirzel wrote: > Great! Just this very minute before I saw your mail I found your > website with a lot of Pharo related SQLite posts. Enjoy! :-) > Are you the maintainer of GlorpSQLite? Yes, I wrote it and I am maintaining it. Pierce

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Steffen Märcker
Hi, I tried it some more times and things are different now: - image appeared to lock up (1st) - no network traffic at all (2nd) - image unresponsive, loading successful after 2 minutes (3rd) Call me a fool, but I didn't do anything different. Notably, it succeeded each time in 7.0. =) There i

Re: [Pharo-users] Is Rubric editor using Text as model?

2018-10-11 Thread Hilaire
I got more chance with code bellow. But Morph anchored in the text does not show up (only an empty frame), is it the expected behavior? text := 'Figure DrGeo ' asText, TextConstants CR, DrGeoCanvas viewLess axesOn view asText, TextConstants CR, 'Ici...' asText. editor := RubEditingArea new     upd

[Pharo-users] Is Rubric editor using Text as model?

2018-10-11 Thread Hilaire
Hi, Because this code does not work with rubric: | text editor |text := ['Figure DrGeo ' asText, TextConstants CR, DrGeoCanvas viewLess axesOn gridOn view asText, TextConstants CR, 'Ici...' asText].editor := RubPluggableTextMorph on: text text: #value accept: nil readSelection: nil  menu: nil.

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Jan Kurš
I run PP2 on travis [1], seems Pharo 6.1 loads all configurations, both on linux and mac. Pharo 5, Pharo 6.0 got broken, why is build configuration so hard :'( I don't know, how can I support you. I myself had to gave up on some tools, because I failed to load them. There is no specific reason to

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread PBKResearch
Steffen I do most of my work using Moose Suite 6.1, which is Pharo 6.1 with a lot of extras, because it comes with the tools I want (PetitParser, PP2 and XMLParser) already loaded. The image is huge, but if that's not a problem for you it could be an easy way to get PP2. Best wishes Peter Kenny

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Steffen Märcker
Reading the code of PetitParser, I wonder why PPRepeatingParser initializes 'max' with SmallInteger maxVal instead of some notion of infinity, like Float infinity (and PP2RepeatingNode as well). If I understand the code correctly, PParser>>min: fails if the number of repetitions exceeds Sma

[Pharo-users] World Cup 2018 with Glorp : SQL dump for SQLite : wc2018.sql

2018-10-11 Thread H. Hirzel
Hi Pierce In your blog entry 'World Cup 2018 with Glorp' you write about an SQL dump file wc2018.sql and mention a repo? https://github.com/openfootball/world-cup/tree/master/2018--russia seems to be a candidate, but on SQL. In which repo is it? --Hannes

Re: [Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread H. Hirzel
Hi Pierce Great! Just this very minute before I saw your mail I found your website with a lot of Pharo related SQLite posts. For example http://www.samadhiweb.com/blog/2018.05.20.sqlite.boolean.html Are you the maintainer of GlorpSQLite? --Hannes On 10/11/18, Pierce Ng wrote: > On Thu, Oct 11

Re: [Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 03:38:21PM +0200, H. Hirzel wrote: > What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)? Hi Hannes, Until the catalog is updated, the snippet way is as follows: Metacello new repository: 'github://pharo-rdbms/glorp-sqlite3'; baseline: 'Glorp

Re: [Pharo-users] [ANN] Cryptography moved to pharo-contributions

2018-10-11 Thread Ben Coman
Sorry, I missed a >>NOT< Ben Coman wrote > > It guess it should >>NOT<< impede someone using their account as a > staging point > > for migrating from Smalltalkhub projects to a community github repo. > > Two possible options

Re: [Pharo-users] Why is the root class of tests named TestAsserter?

2018-10-11 Thread Ben Coman
On Thu, 11 Oct 2018 at 21:52, Sean P. DeNigris wrote: > Pharo Smalltalk Users mailing list wrote > > Still I think TestAsserter is not the most intuitive name. Asserter is > not > > even an English word if I am not mistaken. > The good (and bad) thing about English (since contributes to its comp

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Steffen Märcker
I am using MacOS 10.13.6 and the 32bit VM: Pharo 6.0 Latest update: #60546 ... the String in about is wrong, it should be 6.1. I installed it via the launcher as "Official Distribution: Pharo 6.1 - 32Bit (stable)" I just noticed, that the sources file is missing from vms/private/6521/, too.

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Sean P. DeNigris
Steffen Märcker wrote > I did the following: > 1) Download and start Pharo 6.1 stable via the launcher. > 2b) Attempt to install PP2 via the scripts from GitHub: > Metacello new > baseline: 'PetitParser2'; > repository: 'github://kursjan/petitparser2'; > load. >

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Steffen Märcker
Can you give more details? IIRC I have PP2 loaded in several 6. I did the following: 1) Download and start Pharo 6.1 stable via the launcher. 2a) Attempt to install PetitParser2 via the CatalogBrowser: "Information There was an error while trying to install PetitParser2. Installatio

Re: [Pharo-users] [ANN] Cryptography moved to pharo-contributions

2018-10-11 Thread Sean P. DeNigris
Ben Coman wrote > It guess it should impede someone using their account as a staging point > for migrating from Smalltalkhub projects to a community github repo. Two possible options: 1. (maybe the cleanest and what I did for Artefact) - create a repo under one's own account, which can then be pul

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Sean P. DeNigris
Steffen Märcker wrote > 1. PP2 does not load into Pharo 6.1 stable. Can you give more details? IIRC I have PP2 loaded in several 6.1 images. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] GTInspector and code completion

2018-10-11 Thread Marcus Denker
> On 11 Oct 2018, at 15:40, Marcus Denker wrote: > > > >> On 11 Oct 2018, at 15:02, Hilaire > > wrote: >> >> Hi, >> >> In my working P7, when inspecting a Text object I don't have completion >> in the code evaluator. >> >> For example self allBolt does not auto-com

Re: [Pharo-users] Why is the root class of tests named TestAsserter?

2018-10-11 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > Still I think TestAsserter is not the most intuitive name. Asserter is not > even an English word if I am not mistaken. It came up in a few dictionaries in a google search, but clearly not the most common. My understanding is that [Verb]-er names are usua

Re: [Pharo-users] GTInspector and code completion

2018-10-11 Thread Marcus Denker
> On 11 Oct 2018, at 15:02, Hilaire wrote: > > Hi, > > In my working P7, when inspecting a Text object I don't have completion > in the code evaluator. > > For example self allBolt does not auto-complete. > > On some other objects it works. > > The EyesInspector code evaluator provides the

[Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread H. Hirzel
Hello What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)? The screen shot shows catalog entries I get in Pharo 7. I do not mind if Glorp is loaded in addition. I use Ubuntu 16.04 and the catalog entry refers to Microsoft Windows. I have installed sudo apt-get install

[Pharo-users] GTInspector and code completion

2018-10-11 Thread Hilaire
Hi, In my working P7, when inspecting a Text object I don't have completion in the code evaluator. For example self allBolt does not auto-complete. On some other objects it works. The EyesInspector code evaluator provides the completion, but it is not as nice as GTInspector is. Am I missing so

Re: [Pharo-users] [ANN] Cryptography moved to pharo-contributions

2018-10-11 Thread Norbert Hartl
> Am 11.10.2018 um 14:24 schrieb Esteban Lorenzano : > > > >> On 11 Oct 2018, at 14:21, Ben Coman > > wrote: >> >> So this is more a problem for repos that have lived a long time already on >> github? >> It guess it should impede someone using their account as a

Re: [Pharo-users] [ANN] Cryptography moved to pharo-contributions

2018-10-11 Thread Esteban Lorenzano
> On 11 Oct 2018, at 14:21, Ben Coman wrote: > > So this is more a problem for repos that have lived a long time already on > github? > It guess it should impede someone using their account as a staging point for > migrating from Smalltalkhub projects to a community github repo. > > Although

Re: [Pharo-users] [ANN] Cryptography moved to pharo-contributions

2018-10-11 Thread Ben Coman
So this is more a problem for repos that have lived a long time already on github? It guess it should impede someone using their account as a staging point for migrating from Smalltalkhub projects to a community github repo. Although an alternate way to consider this is that the forwarding submerg

Re: [Pharo-users] [vwnc] Parsing in Smalltalk

2018-10-11 Thread Steffen Märcker
Dear Jan, I just tried to use PP2 but ran into two issues: 1. PP2 does not load into Pharo 6.1 stable. 2. I use #- to create character classes but was not able to find the equivalent in PP2 yet. There should be no fundamental issue with porting PP2 to VW. As far as I know, there is an autom

[Pharo-users] [Zinc SSO] Extended OAuth1 support

2018-10-11 Thread Ioana Verebi
Jira uses OAuth1 to authenticate requests to its REST API. But it relies on "RSA-SHA1" signing for authentication, which Zinc SSO does not currently seem to support (it's only "HMAC-SHA1" which is supported). Jira also expects that the consumer secret is sent as a custom header. Are there any plans

Re: [Pharo-users] Why is the root class of tests named TestAsserter?

2018-10-11 Thread Alidra Abdelghani via Pharo-users
--- Begin Message --- Hi James, Thanks a lot for this very interesting historical perspective :) Still I think TestAsserter is not the most intuitive name. Asserter is not even an English word if I am not mistaken. Thanks again Abdelghani > On 10 Oct 2018, at 1:57 pm, James Foster wrote: > >

Re: [Pharo-users] ZnClient 403 but 200 in Firefox

2018-10-11 Thread teso...@gmail.com
Hi Hernan, quite interesting. I have tried with curl and it works, but with wget it doesn't work. Both using the brew versions in my OSX machine. To me, it is a problem of the headers. Cheers. On Wed, Oct 10, 2018 at 10:07 PM Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > When I v

Re: [Pharo-users] Glorp with P3

2018-10-11 Thread Sven Van Caekenberghe
> On 11 Oct 2018, at 02:26, Pierce Ng wrote: > > On Wed, Oct 10, 2018 at 11:12:37AM +0200, Sven Van Caekenberghe wrote: >> I know that the actual PSQL DB that I am using has all the Glorp test >> tables in it, I forgot whether that happened automatically or not. > > The Glorp test database is