Re: [Pharo-users] Implement Matrix whith OrderedCollection

2017-04-30 Thread frankl1_miky
Tanks, that answer absolutely explain everting

Le 30 avr. 2017 10:29 PM, "Sven Van Caekenberghe-2 [via Smalltalk]" <
ml+s1294792n4945003...@n4.nabble.com> a écrit :

> Because all 16 elements of the first/top ordered collection contain the
> exact same element. They are all #==, the same instance/object. If you
> change one, you change them all.
>
> Here is one way to create what I think you want:
>
> OrderedCollection new: 16 streamContents: [ :out |
>   16 timesRepeat: [ out nextPut: (OrderedCollection new: 16 withAll: 0) ]
> ]
>
> BTW, Arrays would be better in this case, I think.
>
> > On 30 Apr 2017, at 23:08, frankl1_miky <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4945003&i=0>> wrote:
> >
> > Hi everyone,
> >
> > I'm figuring out a strange behavoir with OrderedCollection. Actually
> I've
> > created a matrix using OrderedCollection like this:
> >
> > /c := OrderedCollection new: 16 withAll: (OrderedCollection new: 16
> withAll:
> > 0).
> > c./
> > But when I try to set the value at row 1 and column 2 to be 50 like
> this:
> > /(c at: 1) at: 2 put: 50/
> > I instead get 50 in any cell of the second column and I don't know why.
> >
> > When using a Matrix and the massage at:at:put, the behavoir is normal.
> >
> > Why that strange behavoir with OrderedCollection?
> >
> >
> >
> > --
> > View this message in context: http://forum.world.st/
> Implement-Matrix-whith-OrderedCollection-tp4945002.html
> > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> >
>
>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/Implement-Matrix-whith-OrderedCollection-
> tp4945002p4945003.html
> To unsubscribe from Implement Matrix whith OrderedCollection, click here
> <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4945002&code=bWlrZTFjb3Jwb3JhdGlvbkBnbWFpbC5jb218NDk0NTAwMnw4NDI3ODA2>
> .
> NAML
> <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://forum.world.st/Implement-Matrix-whith-OrderedCollection-tp4945002p4945005.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Implement Matrix whith OrderedCollection

2017-04-30 Thread frankl1_miky
Hi everyone,

I'm figuring out a strange behavoir with OrderedCollection. Actually I've
created a matrix using OrderedCollection like this:

/c := OrderedCollection new: 16 withAll: (OrderedCollection new: 16 withAll:
0). 
c./
But when I try to set the value at row 1 and column 2 to be 50 like this: 
/(c at: 1) at: 2 put: 50/
I instead get 50 in any cell of the second column and I don't know why.

When using a Matrix and the massage at:at:put, the behavoir is normal.

Why that strange behavoir with OrderedCollection? 



--
View this message in context: 
http://forum.world.st/Implement-Matrix-whith-OrderedCollection-tp4945002.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] PMMatrix vs Matrix

2017-04-30 Thread frankl1_miky
Thanks for that very clear answer



--
View this message in context: 
http://forum.world.st/PMMatrix-vs-Matrix-tp4943819p4945000.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] PMMatrix vs Matrix

2017-04-24 Thread frankl1_miky
Hi,
Polymath  come with PMMatrix class . what is the  difference  between this
class and the  native Matrix class.



--
View this message in context: 
http://forum.world.st/PMMatrix-vs-Matrix-tp4943819.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Machine Learning in Pharo

2017-04-13 Thread frankl1_miky
Sure I would like

Le 13 avr. 2017 11:26 AM, "Stephane Ducasse-3 [via Smalltalk]" <
ml-node+s1294792n4941957...@n4.nabble.com> a écrit :

> You have polymath.
> Now I would like to code the code of the book collective intelligence if
> you want to have a look.
>
> Stef
>
> On Thu, Apr 13, 2017 at 6:44 AM, frankl1_miky <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4941957&i=0>> wrote:
>
>> Hello everyone,
>>
>> I would like to experiment machine learning in Pharo.
>>
>> Is there any library out there for that purpose ?
>>
>> Thanks !
>>
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/Machine-
>> Learning-in-Pharo-tp4941934.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/Machine-Learning-in-Pharo-tp4941934p4941957.html
> To unsubscribe from Machine Learning in Pharo, click here
> <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4941934&code=bWlrZTFjb3Jwb3JhdGlvbkBnbWFpbC5jb218NDk0MTkzNHw4NDI3ODA2>
> .
> NAML
> <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://forum.world.st/Machine-Learning-in-Pharo-tp4941934p4941982.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Machine Learning in Pharo

2017-04-13 Thread frankl1_miky
Sure, I would like

Le 13 avr. 2017 11:33 AM, "SergeStinckwich [via Smalltalk]" <
ml-node+s1294792n4941958...@n4.nabble.com> a écrit :

> We have nothing at the moment at the level of Scikit-learn:
> http://scikit-learn.org/stable/
>
> but we have existing code in PolyMath: https://github.com/
> PolyMathOrg/PolyMath
> Oleksandr talk about Machine Learning and Pharo recently:
> http://lists.pharo.org/pipermail/pharo-dev_lists.
> pharo.org/2017-April/128549.html
>
> Please join us in the PolyMath community:
> https://groups.google.com/forum/#!forum/scismalltalk
>
> Regards,
>
> On Thu, Apr 13, 2017 at 6:44 AM, frankl1_miky
> <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4941958&i=0>>
> wrote:
>
> > Hello everyone,
> >
> > I would like to experiment machine learning in Pharo.
> >
> > Is there any library out there for that purpose ?
> >
> > Thanks !
> >
> >
> >
> >
> > --
> > View this message in context: http://forum.world.st/Machine-
> Learning-in-Pharo-tp4941934.html
> > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> Serge Stinckwich
> UCN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/Machine-Learning-in-Pharo-tp4941934p4941958.html
> To unsubscribe from Machine Learning in Pharo, click here
> <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4941934&code=bWlrZTFjb3Jwb3JhdGlvbkBnbWFpbC5jb218NDk0MTkzNHw4NDI3ODA2>
> .
> NAML
> <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://forum.world.st/Machine-Learning-in-Pharo-tp4941934p4941981.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Machine Learning in Pharo

2017-04-12 Thread frankl1_miky
Hello everyone,

I would like to experiment machine learning in Pharo.

Is there any library out there for that purpose ?

Thanks !




--
View this message in context: 
http://forum.world.st/Machine-Learning-in-Pharo-tp4941934.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] Using symbol

2016-09-19 Thread frankl1_miky
Hi,

I'll like to know what is happening exactly in background when I'm using a
symbol as in *Collection withAllSubclasses collect: #numberOfLinesOfCode*. 

I also want to know the other cases where I can use symbol.

Is there any tutorial about using symbol?

Thanks



--
View this message in context: http://forum.world.st/Using-symbol-tp4916159.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Don't understand Array creation syntax

2016-06-14 Thread frankl1_miky
Thanks



--
View this message in context: 
http://forum.world.st/Don-t-understand-Array-creation-syntax-tp4900533p4900874.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Don't understand Array creation syntax

2016-06-14 Thread frankl1_miky
So if I understood it well, closing Parenthesis are telling that it's the
same element in the Array



--
View this message in context: 
http://forum.world.st/Don-t-understand-Array-creation-syntax-tp4900533p4900813.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] VOMongoRepository

2016-06-09 Thread frankl1_miky
Thanks!

I think that my image was in an incorrect state because even Monticello and
Catalog browser was doing the same thing.
After resetting the image image the problem was fixed.

What can be the reason that broke my image?



--
View this message in context: 
http://forum.world.st/VOMongoRepository-tp493p4900082.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] (no subject)

2016-05-29 Thread frankl1_miky
Thanks for all your answers, It's true that pharo community is active.

I'll give you feedback about my progress.

I'm having fun with Pharo Mooc at this period.

Thanks for your help!



--
View this message in context: 
http://forum.world.st/no-subject-tp4894192p4897990.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.