Re: [Pharo-users] Yet another Pharo in docker

2018-03-05 Thread Herbert Vojčík
Herbert Vojčík wrote: Sean P. DeNigris wrote: Sean P. DeNigris wrote https://hub.docker.com/r/herbysk/pharo/ How are the images built from https://lolg.it/herby/pharo-docker? Researching a bit it seems that Docker Hub only supports GitHub and BitBucket, and IIUC you can't change the

Re: [Pharo-users] Yet another Pharo in docker

2018-03-05 Thread Herbert Vojčík
Sean P. DeNigris wrote: Sean P. DeNigris wrote https://hub.docker.com/r/herbysk/pharo/ How are the images built from https://lolg.it/herby/pharo-docker? Researching a bit it seems that Docker Hub only supports GitHub and BitBucket, and IIUC you can't change the image name if you use

Re: [Pharo-users] [Pharo-dev] Looking for names for the booklet collection

2018-03-05 Thread John Pfersich
+1 Sent from my iPad For encrypted mail use jgpfers...@protonmail.com Get a free account at ProtonMail.com > On Mar 4, 2018, at 08:49, Peter Uhnák wrote: > > > Pharo Tools & Technologies > > Pharo Language & Environment > > +1 ... simple, obvious, to the point > > please

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Richard O'Keefe
​As I understand it, the OP's problem is that he wants to count bits from the high end, and Integers don't *have* a finite high end. PL/I has bit strings. Common Lisp has bit strings. Some Schemes have copied Lisp. Eiffel _had_ bit strings, more or less, but dropped them. Smalltalk/X has a

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Stephane Ducasse
On Sun, Mar 4, 2018 at 9:43 PM, Esteban A. Maringolo wrote: > 2018-03-04 17:15 GMT-03:00 Sven Van Caekenberghe : >> Bits are actually numbered from right to left (seen from how they are >> printed). > > I understand bit operations, used it extensively with IP

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Stephane Ducasse
It looks like having BitArray is a good approach. Is there a MIT compatible version? I could add it to my collection collection :) Containers I should migrate it to github. Stef On Mon, Mar 5, 2018 at 2:52 PM, Richard O'Keefe wrote: > As I understand it, the OP's problem is

Re: [Pharo-users] Ever growing image

2018-03-05 Thread Hilaire
Thanks Markus. I already saw an improvement when building drgeo against latest 32bits P7: drgeo image down to 39.9MB... I use image cleaner plus some packages removal of my own[1], left over of the cleaning I was doing on P3. Many of my package cleaning of P4 break on P7. There is still

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
2018-03-05 10:52 GMT-03:00 Richard O'Keefe : > As I understand it, the OP's problem is that he wants to > count bits from the high end, and Integers don't *have* > a finite high end. Exactly. I want to work with a block of bits, today the best proxy for that is using an

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
First implement all the missing methods that you use in the spec class method. Then let us know. Stef On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah wrote: > Thanks for your help, Stef. > Mistakes remain, but I will try to understand them > > 2018-03-04 16:35 GMT+03:00

Re: [Pharo-users] Pharo for MacOs 10.6.8?

2018-03-05 Thread Stephane Ducasse
Did you check http://get.pharo.org because we keep everything. stef On Mon, Mar 5, 2018 at 4:30 AM, stefano franchi wrote: > I am trying to find a version of Pharo that would run on an old Mac > Powerbook that cannot be upgraded past 10.6.8, but I 'm having no luck.

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
2018-03-05 14:02 GMT-03:00 Stephane Ducasse : > On Sun, Mar 4, 2018 at 9:43 PM, Esteban A. Maringolo > wrote: >> 2018-03-04 17:15 GMT-03:00 Sven Van Caekenberghe : >>> Bits are actually numbered from right to left (seen from how they

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Serge Stinckwich
On Mon, Mar 5, 2018 at 2:52 PM, Richard O'Keefe wrote: > ​As I understand it, the OP's problem is that he wants to > count bits from the high end, and Integers don't *have* > a finite high end. > > PL/I has bit strings. Common Lisp has bit strings. > Some Schemes have copied

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Yuriy Babah
yesterday i did it, and got --> doesNotUndestand #layout 2018-03-05 20:28 GMT+03:00 Stephane Ducasse : > First implement all the missing methods that you use in the spec class > method. > Then let us know. > > Stef > > > On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah

Re: [Pharo-users] Ever growing image

2018-03-05 Thread Stephane Ducasse
Yes and it will be a lot more than that. We have a better core. Then we will continue to make it smaller. It means that with a bunch of BaselineOf you should be able to create the Pharo that suits your needs. Now we will do it for people :). I think that copying the BaselineOf and removing some

[Pharo-users] PetitParser Question

2018-03-05 Thread Asbath via Pharo-users
--- Begin Message --- Hi everybody, We are a group of students working on Pillar, and we notice that the Parser of Pillar is based on PetitParser Library. Then we want to know more about PetitParser !? Thanks, Asbath --- End Message ---

Re: [Pharo-users] PetitParser Question

2018-03-05 Thread Stephane Ducasse
Hi Asbath there is a chapter on Pillar in deep into pharo or the next book. You also have a chapter on the http://themoosebook.org Stef On Mon, Mar 5, 2018 at 7:26 PM, Asbath via Pharo-users wrote: > > > -- Forwarded message -- > From: Asbath

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
I'm trying to understand. I do not get a DNU with the following. You cannot put row out of nowhere. defaultSpec ^ SpecLayout composed newColumn: [ :col | col newRow: [ :row | row

Re: [Pharo-users] Pharo for MacOs 10.6.8?

2018-03-05 Thread stefano franchi
On Mon, Mar 5, 2018 at 11:28 AM, Stephane Ducasse wrote: > Did you check > > http://get.pharo.org > > because we keep everything. > > Apologies for not having stated my question more precisely. Indeed, I started from get.pharo.org, but the zeroconf script did not guess

[Pharo-users] Mounting/seeing samba network files on Pharo

2018-03-05 Thread Cédrick Béler
Hi all, I try to use Pharo in my lecture, therefore in our virtualized architecture. The problem is once dowloaded and launched (on Desktop or Document - the student repository that is mounted on the virtualized machine), Pharo cannot access the networked file system (source is not accessible,

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
defaultSpec2 ^ SpecLayout composed newColumn: [ :col | col newRow: [ :row | row add: #plaintiffsTextInput; add: #addButtonPlaintiffs ]; newRow: [ :row | row add: #defendantsTextInput; add: #addButtonDefendants ]; newRow: [ :row | row add: #thirdPartiesTextInput; add: #addButtonThirdParties ];

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
You should initialize the instance variable #subjectTextInput I suggest to do your UI incrementally. Stef On Mon, Mar 5, 2018 at 9:08 PM, Stephane Ducasse wrote: > defaultSpec2 > > ^ SpecLayout composed > newColumn: [ :col | > col > newRow: [ :row | > row > add:

[Pharo-users] [ANN] 64 bits support preview

2018-03-05 Thread Mariano Martinez Peck
Hi guys, Thanks for Guillermo Polito we now have 64 bits support for OSSubprocess. You can see the required changes in this PR [1]. I made a branch called `support64bits` so that you can help us test it even if CI said it was good [2]. If you do test it and come back to us with the results,

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
Hi Richard, Certainly a BitStream is beyond what I initially thought. But it could be of some use to play with it, is it available somewhere with a friendly open source license? I might give it a try using it for my generator (tests are already passing). Your example is almost complete, but if

Re: [Pharo-users] Ever growing image

2018-03-05 Thread Sean P. DeNigris
Marcus Denker-4 wrote > (I had expected a bit more). I think I definitely read somewhere that there was a system that could analyze the messages that were actually sent and remove everything else... fun to think about the possibilities! - Cheers, Sean -- Sent from:

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Richard O'Keefe
I note that the specification in question does not deal with arbitrary bit strings but with "entropies" that are 128 to 256 bits long and a multiple of 32 bits. 4 to 8 bits are copied from the front to the end. (So selecting *this* bit field can be done by taking the first byte of a ByteArray.)

Re: [Pharo-users] Pharo for MacOs 10.6.8?

2018-03-05 Thread Marcus Denker
> On 5 Mar 2018, at 20:16, stefano franchi wrote: > > > > On Mon, Mar 5, 2018 at 11:28 AM, Stephane Ducasse > wrote: > Did you check > > http://get.pharo.org > > because we keep