Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Tim Mackinnon
Done (although possibly we should note to use git and not iceberg to merge the branch?) > On 10 May 2018, at 01:54, Bernardo Ezequiel Contreras > wrote: > > > > On Wed, May 9, 2018 at 9:36 PM, Tim Mackinnon > wrote: > > I

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Bernardo Ezequiel Contreras
On Wed, May 9, 2018 at 9:36 PM, Tim Mackinnon wrote: > > I also wasn’t sure how you merge a branch back on to master with Iceberg > (can you ?) - so I just did that bit in gitlab. > > no, i didn't use iceberg. i just run the script (without the push at the end) and then i use

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Tim Mackinnon
Thats exactly what I was looking for - as I can never fathom the deep rooted directories I modified it a bit to: crntRepo := (Iceberg repositoryForPackage: BaselineOfYourApp package) backend. locationDir := crntRepo location. subDir := crntRepo subdirectory. sourceDir := locationDir. I also

[Pharo-users] Metacello load in code vs. Iceberg menu install? Can you automate remote loading?

2018-05-09 Thread Tim Mackinnon
Hi - I’m trying to automate the deployment of a seaside image to Digital Ocean. I was following the Enterprise Pharo booklet - and its a bit out of date, but I wanted to do the bit about taking a clean image and then loading in my project which I’ve stored in Git using Iceberg. So on the

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Bernardo Ezequiel Contreras
Tim, i've used the following script https://github.com/pharo-vcs/tonel/blob/master/MigrateFromFileTree.md in my pet projects. hope this helps. On Wed, May 9, 2018 at 8:22 PM, Tim Mackinnon wrote: > Hmmm - I don’t think I’ve fully understood the instructions. If I already >

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Tim Mackinnon
Hmmm - I don’t think I’ve fully understood the instructions. If I already have a project in filetree git format - does creating the .properties file work? What do I do to convert it to tonel format? I think I’ve noticed a few announcements where people have said they’ve moved to the new tonel

Re: [Pharo-users] How to pretty print a dynamic array

2018-05-09 Thread Davide Varvello via Pharo-users
--- Begin Message --- Yep, Peter, that's an other option. Thanks Peter Uhnák wrote >> {self meth1. self meth2. self meth3} > > This is not possible in a reasonably general way. Usually I end up writing > it like `Array with: self meth1 with: self meth2 with: self meth3` > > On Tue, May 8,

Re: [Pharo-users] How to LAN feature

2018-05-09 Thread Dimitris Chloupis
On Sun, May 6, 2018 at 1:48 PM Hilaire wrote: > Hi, > > I am looking for advices on a feature I want to develop for Dr. Geo. > > The need takes place in a LAN, for example in a School computer lab. > I think that even in the case of a LAN you can still do it via internet using

Re: [Pharo-users] How to LAN feature

2018-05-09 Thread N. Bouraqadi
Hi, Just want to point that I did some work late 2017 on UDP sockets including multicast and broadcast. The package named 'NetworkExtras' is part of the ReusableBricks repo of my team. http://smalltalkhub.com/#!/~CAR/ReusableBricks It has some dependencies on other packages. I tested it in

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Tim Mackinnon
Ah - I missed that piece of information - could that be put on the iceberg readme.md? In fact - I’ll submit a pr so you can keep motoring on getting it all to work (I really want a stable git environment - we are getting sooo close). Tim > On 9 May 2018, at 11:34, Esteban Lorenzano

Re: [Pharo-users] #ast vs. #parseTree

2018-05-09 Thread Richard O'Keefe
I'm personally OK with 'ast'. Did I write anything that made you think I wasn't? Of course things are contextual. In VMS one took "AST" to mean "Asynchronous System Trap". But even in VMS it was not confusing in a parsing context. As for "obviously sarcastic", I'm afraid there's this thing

Re: [Pharo-users] Personal Programming onPharo

2018-05-09 Thread Richard O'Keefe
​I have a C++ program written in the late 80s by someone else. It used to run fine under cfront 2.0 and early g++. Ten years after it was written it was impossible to compile. *Since* that there have been changes to streams and strings, amongst other things. The 1989 C standard changed the

Re: [Pharo-users] Personal Programming onPharo

2018-05-09 Thread H. Hirzel
On 5/9/18, Trygve Reenskaug wrote: > Of course not. But one of my goals is that future dynabooks will be > backwards compatible. Recent discussions have shown me that this goal is > a research project. > --Trygve Indeed [1]. And a very interesting one! Found and read your

Re: [Pharo-users] #ast vs. #parseTree

2018-05-09 Thread webwarrior
Richard O'Keefe wrote > First, my message was *defending* most of the short names > that someone else was attacking. For the record, I am > *far* more worried about the fragility of typical Smalltalk > code than I am about method names, which are generally > pretty good. > > ... If by "someone

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Herbert Vojčík
Esteban Lorenzano wrote: the problem is that tonel relies in a .properties file to know a repository format. and for backward compatibility, if this .properties file is not present, iceberg assumes the repository is a plain old “filetree” repository. so, until we figure out how to provide

Re: [Pharo-users] Personal Programming onPharo

2018-05-09 Thread Trygve Reenskaug
Of course not. But one of my goals is that future dynabooks will be backwards compatible. Recent discussions have shown me that this goal is a research project. --Trygve On 09.05.2018 12:19, Marcus Denker wrote: I go back to Alan Kay's vision of a Dynabook: A/personal/computer for children

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Esteban Lorenzano
the problem is that tonel relies in a .properties file to know a repository format. and for backward compatibility, if this .properties file is not present, iceberg assumes the repository is a plain old “filetree” repository. so, until we figure out how to provide both things (a nice tonel

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread herby
Yes, it is insanely hard to write project in tonel format. Needs lot of hacking here and there, setting the setting itself is not helpful. I managed to, somehow, but I forgot the algorithm already. I am dreadful as to when I will need to do it again. Takes lots of time and nerves. Herby On

Re: [Pharo-users] Personal Programming onPharo

2018-05-09 Thread Marcus Denker
> > >> I go back to Alan Kay's vision of a Dynabook: A personal computer for >> children of all ages. It should contain all its owner's personaldata, >> including his or her personal programs, as they evolve through the years. >> Continuity is a must; the owner shall never loose data. >>

Re: [Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Sven Van Caekenberghe
Can't really speak for 6.1 but on 7 things are definitively Tonel based (unless you use existing/older repos). Tracking Iceberg is best done in 7 (if you can live with an actively developed system). > On 9 May 2018, at 11:54, Tim Mackinnon wrote: > > Hi guys - With all the

[Pharo-users] Tonel, Pharo 6.1 and file per class?

2018-05-09 Thread Tim Mackinnon
Hi guys - With all the talk about iceberg changes, I’ve stayed away from it for a bit (6 months) - but downloaded a new 6.1 image a few weeks ago and went to version some stuff yesterday into a new project. Iceberg seems a bit more stable - but it still seems to write out individual methods as

Re: [Pharo-users] #ast vs. #parseTree

2018-05-09 Thread Esteban Lorenzano
to talk seriously, I agree #onDNU:do: would be better called with its long name. now, well known acronyms have their place in pharo as complete, self explaining method names too. is about matter of common sense to opt for one or the other (for example, “ln" is more known in maths that its

Re: [Pharo-users] How to LAN feature

2018-05-09 Thread Norbert Hartl
That is mDNS being used. Bonjour is the MacOS service and Avahi the linux one. Norbert > Am 09.05.2018 um 02:25 schrieb Julián Maestri : > > You could also publish on a zeroconf service (Bonjour/Avahi) > https://en.wikipedia.org/wiki/Zero-configuration_networking > >> On 8