Re: [Pharo-users] Collection with memory?

2015-03-23 Thread stepharo
Le 22/3/15 23:10, Alain Rastoul a écrit : Le 22/03/2015 22:39, stepharo a écrit : This is like the Iterator Design pattern and this is interesting. Yes, usually in dotnet IQueryable is implemented by (or on top of) a IEnumerable. It is one of the key elements of Linq that makes Linq very use

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread stepharo
Le 22/3/15 23:01, Sven Van Caekenberghe a écrit : On 22 Mar 2015, at 22:40, stepharo wrote: Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : On 22 Mar 2015, at 21:44, Denis Kudriashov wrote: Hi It is another perfect task for XStreams: r := #('a12' 'b12' 'a13' 'a14' 'c23' 'a16') readin

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Sven Van Caekenberghe
> On 23 Mar 2015, at 07:57, stepharo wrote: > > > > Le 22/3/15 23:01, Sven Van Caekenberghe a écrit : >>> On 22 Mar 2015, at 22:40, stepharo wrote: >>> >>> >>> >>> Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : > On 22 Mar 2015, at 21:44, Denis Kudriashov wrote: > > Hi >>>

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Denis Kudriashov
2015-03-23 9:57 GMT+03:00 stepharo : > Le 22/3/15 23:01, Sven Van Caekenberghe a écrit : > >> On 22 Mar 2015, at 22:40, stepharo wrote: >>> >>> >>> >>> Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : >>> On 22 Mar 2015, at 21:44, Denis Kudriashov > wrote: > > Hi > > It

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Denis Kudriashov
2015-03-23 0:40 GMT+03:00 stepharo : > Le 22/3/15 22:05, Sven Van Caekenberghe a écrit : > >> On 22 Mar 2015, at 21:44, Denis Kudriashov wrote: >>> >>> Hi >>> >>> It is another perfect task for XStreams: >>> >>> r := #('a12' 'b12' 'a13' 'a14' 'c23' 'a16') reading selecting: [:each | >>> each firs

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-23 Thread Esteban Lorenzano
> On 22 Mar 2015, at 22:26, Julien Delplanque wrote: > > Oh, yes i missed it sorry! > > It would be good to have a link somewhere on smalltalkhub that inform > the existence of this resource :) yes, you are right… but I started the list as a side project precisely because I do not want to tou

Re: [Pharo-users] [Moose-dev] Re: [Pharo-dev] The Grapher charting engine

2015-03-23 Thread Alexandre Bergel
Yes. Although RTDevVarDecorator is not rooted into strong maths. It was more an experiment. If you look at the class RTDevVarDecorator, you will see it is quite simple. Adding decoration in a chart made with Grapher is very simple. Alexandre > On Mar 23, 2015, at 12:55 AM, HwaJong Oh wrote: >

[Pharo-users] USB in Pharo?

2015-03-23 Thread Udo Schneider
All, does anybody have some code or plugin to access USB ports with Pharo? Maybe something using libUSB or OpenUSB? Thanks, Udo

[Pharo-users] loading Glamour in Pharo 4

2015-03-23 Thread Peter Uhnák
After loading Glamour dev in Pharo 40 ~~~ Gofer new smalltalkhubUser: 'Moose' project: 'Glamour'; package: 'ConfigurationOfGlamour'; load. (Smalltalk at: #ConfigurationOfGlamour) perform: #loadDevelopment ~~~ when I try opening Playgr

Re: [Pharo-users] loading Glamour in Pharo 4

2015-03-23 Thread Peter Uhnák
Also I am interested only in presenter for Roassal, is there separate configuration for that? On Mon, Mar 23, 2015 at 6:47 PM, Peter Uhnák wrote: > After loading Glamour dev in Pharo 40 > ~~~ > Gofer new > smalltalkhubUser: 'Moose' project: 'Glamour'; > package: '

Re: [Pharo-users] loading Glamour in Pharo 4

2015-03-23 Thread Andrei Chis
There are several tools in Pharo that depend on Glamour. If you update glamour to the latest version you also need to update the tools that depend on it. This script updated everything: { { 'ConfigurationOfRubric'. 'AlainPlantec'. 'Rubric' }. { 'ConfigurationOfGlamourCore'. 'Moose'.

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
Mmmm, since the project is just one package and the additional packages are examples, i'm writing for the moment a Gofer script instead. Thank you! On Sun, Mar 22, 2015 at 1:53 PM, Thierry Goubier wrote: > Le 22/03/2015 17:41, stepharo a écrit : > >> Defining a configuration for your project. >>

Re: [Pharo-users] [Moose-dev] loading Glamour in Pharo 4

2015-03-23 Thread Johan Fabry
I think it is pretty telling that 2 different persons basically had the same issue in 3 days. Should this issue be considered as something to have fixed for the Pharo 4 release? > On Mar 23, 2015, at 14:53, Andrei Chis wrote: > > There are several tools in Pharo that depend on Glamour. > If y

Re: [Pharo-users] Question about loading Roassal2 in Pharo4

2015-03-23 Thread Javier Pimás
Hi guys, I see the same problem with latest pharo4. I loaded gt extensions for roassal but now I get a message not understood when selecting the examples. I'm loading roassal and the extensions with Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; configurationOf: 'Roassal2'

Re: [Pharo-users] [vwnc] The Grapher charting engine

2015-03-23 Thread Alexandre Bergel
Hi! > If you're heading to make "Roassal the best visualizing engine of the > Universe" then what are your intentions with connecting it to the outer world > ? This is a rather broad question :-) While our visualizations are meant to run in a standard Smalltalk environment, they are exportable

Re: [Pharo-users] Question about loading Roassal2 in Pharo4

2015-03-23 Thread Andrei Chis
You should also load the packages Glamour-Tools and Glamour-Roassal2-Presentations from the Glamour repo. Cheers, Andrei On Mon, Mar 23, 2015 at 8:49 PM, Javier Pimás wrote: > Hi guys, I see the same problem with latest pharo4. I loaded gt extensions > for roassal but now I get a message not u

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-23 Thread Merwan Ouddane
Hi Esteban, I don't know if you want to spend some time on it, but what would be great is for the projects to choose if they want to appear or not in this list, and have a little description of the project on mouse over :) Merwan On 23/03/2015 14:01, Esteban Lorenzano wrote: On 22 Mar 2015,

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-23 Thread stepharo
Hi Esteban, I don't know if you want to spend some time on it, but what would be great is for the projects to choose if they want to appear or not in this list, and have a little description of the project on mouse over :) :)

Re: [Pharo-users] Package dependencies

2015-03-23 Thread stepharo
Mmmm, since the project is just one package and the additional packages are examples, i'm writing for the moment a Gofer script instead. this means that it will not be loadable from the MetacelloBrowser, that it will not appear in the catalog. Stef Thank you! On Sun, Mar 22, 2015 at 1:5

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread stepharo
No I asked martin personally. This is the real reason. There were also experimenting to offer an API closer to other language. So that we have r get. r next: 4 IIRC, one difference between #get and #next is that get cannot return nil and will throw an Incomplete exception when EOF next c

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread stepharo
The problem is that - we do not want to open alone another subproject - we would like to remove the old stream (make them loadable) - we should not get the system with two stream libraries. Stef Le 23/3/15 10:06, Denis Kudriashov a écrit : 2015-03-23 0:40 GMT+03:00 stepharo

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread stepharo
Yes but with r next. r next The choice for different selector names was intentional, by design. To avoid confusion, because #next and #get are not 100% identical (semantically). This is an important point. No I asked martin personally. This is the real reason. There were also experimenting

[Pharo-users] Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz

2015-03-23 Thread Sven Van Caekenberghe
I hadn't seen this posted on the mailing list, but this is really cool stuff. Using Google service discovery API's with Pharo Smalltalk by Richard J. Prinz > http://www.min.at/prinz/?x=entry:entry150318-104537 > Nice wor

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
Didn't thought of it, then i should write a Configuration. How does Configuration Browser get to know about all the configurations it lists? On Mon, Mar 23, 2015 at 5:55 PM, stepharo wrote: > Mmmm, since the project is just one package and the additional packages > are examples, i'm writing for

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
(i want to know what i should do to make my project available through it) On Mon, Mar 23, 2015 at 6:19 PM, Laura Risani wrote: > Didn't thought of it, then i should write a Configuration. How does > Configuration Browser get to know about all the configurations it lists? > > On Mon, Mar 23, 2015

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Thierry Goubier
Le 23/03/2015 22:19, Laura Risani a écrit : Didn't thought of it, then i should write a Configuration. How does Configuration Browser get to know about all the configurations it lists? As soon as the configuration is saved into the right repository, such as MetaRepoForPharo40 on smalltalkhub,

Re: [Pharo-users] Collection with memory?

2015-03-23 Thread Sven Van Caekenberghe
Stef, Like Denis said, there is no #next: in Xtreams, AFIACT. There are XTReadStream>>#get "Read an object from self. If there aren't any elements left in the stream, the Incomplete exception is raised." and XTReadStream>>#read: anInteger "Read anInteger's worth of elements from self

[Pharo-users] choose event in Bern on March 31: alain plantec on Bloc + working session on Pharo IDE

2015-03-23 Thread Tudor Girba
Hi, On March 31, we will have a one day of Pharo in Bern: 10:15 - 11:00 Talk by Alain Plantec on Bloc: Reinventing Morphic Registration: https://www.eventbrite.com/e/bloc-reinventing-morphic-choose-talk-tickets-5790681083 11:00 - 17:00 Working session on the Pharo IDE Registration: https://www.e

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-23 Thread Martin Bähr
Excerpts from Merwan Ouddane's message of 2015-03-23 21:22:23 +0100: > I don't know if you want to spend some time on it, but what would be > great is for the projects to choose if they want to appear or not in > this list, there is already a distinction between public and private projects. as f

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
So can i just freely upload my project configuration package to MetaRepoForPharo40 (to 30?)? Do i need some type authorization? On Mon, Mar 23, 2015 at 6:22 PM, Thierry Goubier wrote: > Le 23/03/2015 22:19, Laura Risani a écrit : > >> Didn't thought of it, then i should write a Configuration. Ho

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Thierry Goubier
Le 24/03/2015 04:18, Laura Risani a écrit : So can i just freely upload my project configuration package to MetaRepoForPharo40 (to 30?)? Do i need some type authorization? You need access to that repository. What is your username on Smalltalkhub? Thierry On Mon, Mar 23, 2015 at 6:22 PM, Thie

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
it is 'squidik' On Tue, Mar 24, 2015 at 12:39 AM, Thierry Goubier wrote: > Le 24/03/2015 04:18, Laura Risani a écrit : > >> So can i just freely upload my project configuration package to >> MetaRepoForPharo40 (to 30?)? Do i need some type authorization? >> > > You need access to that repository

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Thierry Goubier
Le 24/03/2015 05:03, Laura Risani a écrit : it is 'squidik' Done. Please check your Smalltalkhub account to see what has changed. OT: MetaRepoForPharo50 is already there :) Thierry On Tue, Mar 24, 2015 at 12:39 AM, Thierry Goubier mailto:thierry.goub...@gmail.com>> wrote: Le 24/03/2015

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Laura Risani
Awww thank you Thierry ! This is so much fun :) On Tue, Mar 24, 2015 at 1:48 AM, Thierry Goubier wrote: > Le 24/03/2015 05:03, Laura Risani a écrit : > >> it is 'squidik' >> > > Done. Please check your Smalltalkhub account to see what has changed. > > OT: MetaRepoForPharo50 is already there :) >

Re: [Pharo-users] Package dependencies

2015-03-23 Thread Thierry Goubier
Le 24/03/2015 06:56, Laura Risani a écrit : Awww thank you Thierry ! This is so much fun :) :) Thierry