[Pharo-users] Lightweight name spacing or shadowing - anything that can help me load conflicting code?

2019-03-08 Thread Tim Mackinnon
Hi - as I work through the different strands fo exercism (which has been a great project to kick different corners of Pharo) - I’ve hit an area where I’m wondering if there might be some useful tricks/techniques/ideas to help … Essentially - I want to make mentoring easier (so hopefully people o

[Pharo-users] ldap, Pier3 & git migration

2019-03-08 Thread Albrecht Baur via Pharo-users
--- Begin Message --- Hi, In case someone can use it: I used Peters git migration tool for ... http://smalltalkhub.com/#!/~PharoExtras/LDAP/ ... and put it to: https://github.com/a2b-alb/PharoExtras-LDAP I don't know if this is the right place or if you would rather have it under ... https://gi

Re: [Pharo-users] Pharo 7.0 image size

2019-03-08 Thread Trussardi Dario Romano
Ciao, this morning i started with an image of about 240 MB. I have 3 System Browser open ( for a long time ). I close all the System Browser and save the image. The image size after the save is about 131 MB. The new SpaceTally printSpaceAnalysis

Re: [Pharo-users] Pharo 7.0 image size

2019-03-08 Thread Trussardi Dario Romano
Ciao, this morning i started with an image of about 240 MB. I have 3 System Browser open ( for a long time ). I close all the System Browser and save the image. The image size after the save is about 131 MB. The new SpaceTally printSpaceAnalysis

[Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Tim Mackinnon
I’m sure we have something in the image that deals with this - but if writing a generic http retriever and wanting to correctly cope with constructing resource paths where the base path may or may not have a trailing /, and the resource path may or may not have a leading / Basically - magically

Re: [Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Cédrick Béler
Not sure but I would use ZnUrl ZnUrl new scheme: #http; host: NetNameResolver loopBackName; addPathSegments: #('echo' 'foo'); yourself Making sure Path segments do not contain separator… Hth, Cédrick > Le 8 mars 2019 à 12:33,

Re: [Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Cédrick Béler
'/foo//' copyWithoutAll: '/' > Le 8 mars 2019 à 12:40, Cédrick Béler a écrit : > > Not sure but I would use ZnUrl > > ZnUrl new > scheme: #http; > host: NetNameResolver loopBackName; > addPathSegments: #('echo' 'foo'); > yourself > > Ma

[Pharo-users] What is the pharo days code?

2019-03-08 Thread Tim Mackinnon
Anyone know what is my code to use for Pharo Days registration? I got my member confirmation but have no idea what the code is all about that it wants for the Pharo days registration? (I recall this happening a few years ago but didn’t pay attention) Any ideas? Tim

Re: [Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Esteban Maringolo
I don't know whether you want to build just "paths" or valid URIs, if it's the latter, I'd suggest ZnUrl as well. '/name/' asPath / 'resource'. -> /name/resource '/name/' asPath / '/resource'. -> /resource (which is correct) '/name/' asUrl / '/resource' -> /name//resource (which is correct as wel

Re: [Pharo-users] ldap, Pier3 & git migration

2019-03-08 Thread Esteban Maringolo
I wasn't aware of LDAP support in Pharo. Thanks for porting it. Wouldn't it be better to call the repo "pharo-ldap"? When my repositories are Pharo specific and don't have a fancy project name I name them "pharo-something", e.g. "pharo-couchdb", "pharo-base58", "pharo-bip39mnemonic", etc. Regard

[Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Alistair Grant
Hi Everyone, I'd like to be able to parse and read the mail files as saved by offlineimap, i.e. in maildir format (one message per file). Does anyone know of any existing libraries in Pharo? Thanks very much, Alistair

Re: [Pharo-users] ldap, Pier3 & git migration

2019-03-08 Thread Albrecht Baur via Pharo-users
--- Begin Message --- sorry for double posting in dev and users ... I pushed it to https://github.com/pharo-contributions/LDAP There it fits better (and we have the 'pharo' at least inside the path...) Best Albrecht On 08.03.19 15:05, Esteban Maringolo wrote: I wasn't aware of LDAP support

Re: [Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Cédrick Béler
Hi Alistair, This looks like what I’d like to have (parsing emails). I’d better like an IMAP Client but using offlinmap might be an option. Will look at it. Do you have an exemple of milder format files ? Cheers, Cédrick > Le 8 mars 2019 à 15:49, Alistair Grant a écrit : > > Hi Everyon

Re: [Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Alistair Grant
Hi Cédrick, On Fri, 8 Mar 2019 at 16:12, Cédrick Béler wrote: > > Hi Alistair, > > This looks like what I’d like to have (parsing emails). I’d better like an > IMAP Client but using offlinmap might be an option. > > Will look at it. > > Do you have an exemple of milder format files ? Attached i

Re: [Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Thierry Goubier
It's a common shell script lab assignment to be able to parse this format (RFC 822). Unix 101 level. A bit tricky in practice, because the format has a strong dependency on the blank line between the header part and the email content... Technically, maildir only refers to the directory/files organ

Re: [Pharo-users] ldap, Pier3 & git migration

2019-03-08 Thread Ben Coman
On Fri, 8 Mar 2019 at 22:59, Albrecht Baur via Pharo-users < pharo-users@lists.pharo.org> wrote: > sorry for double posting in dev and users ... > > I pushed it to > > https://github.com/pharo-contributions/LDAP > > There it fits better (and we have the 'pharo' at least inside the path...) > The c

Re: [Pharo-users] Alternative to NautilusMethodSelected in Calypso

2019-03-08 Thread Hernán Morales Durand
Hi Gustavo, Is MacroRecorder available for Pharo 7? Cheers, Hernán El mar., 4 dic. 2018 a las 14:47, Gustavo Santos () escribió: > > Hello, > > I'm trying to upgrade MacroRecorder to Pharo7. > I used NautilusClassSelected and NautilusMethodSelected announcements to > apply a macro in a given c

[Pharo-users] NeoCSV Logging

2019-03-08 Thread Sean P. DeNigris
Is there anything built-in? I have a particularly long file and want to give updates so users don't thing the image has frozen. If not, thinking I'll subclass reader and override #do: - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] NeoCSV Logging

2019-03-08 Thread Sven Van Caekenberghe
You mean something like signal progress notifications ? No that does not exist, indeed you can roll your own, counting every record read and then do something every N times. > On 8 Mar 2019, at 20:29, Sean P. DeNigris wrote: > > Is there anything built-in? I have a particularly long file and w

[Pharo-users] FUEL serialization to a file

2019-03-08 Thread Konrad Hinsen
Hi everyone, after playing with FUEL in-memory (byte arrays) for a while, I am ready to attack files. But... that's not so easy. At https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Fuel/Fuel.html I find the basic exxample 'demo.fuel' asFi

Re: [Pharo-users] FUEL serialization to a file

2019-03-08 Thread Tim Mackinnon
Hmmm - yesterday I had someone serialise their debug stack (the top right menu bar action) to a file and send it to me and it worked treat - so I wonder what the difference is? Tim Sent from my iPhone > On 8 Mar 2019, at 20:22, Konrad Hinsen wrote: > > Hi everyone, > > after playing with F

Re: [Pharo-users] FUEL serialization to a file

2019-03-08 Thread Sven Van Caekenberghe
FUEL is a binary serialiser, in the new Pharo 7 stream approach, a stream is either binary or textual, not both, nor can they be switched on the fly. FileLocator temp / 'test.fuel' binaryWriteStreamDo: [ :out | FLSerializer newDefault serialize: { 'Foo'. #bar. Float pi. 42 } on: out ]. FileLoca

Re: [Pharo-users] FUEL serialization to a file

2019-03-08 Thread Konrad Hinsen
Sven Van Caekenberghe writes: > FUEL is a binary serialiser, in the new Pharo 7 stream approach, a > stream is either binary or textual, not both, nor can they be switched > on the fly. OK, thanks for confirming my suspicion that there was a change in Pharo. > FileLocator temp / 'test.fuel' bin