pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

New to Pharo: Some questions

JC
Juan Cruz
Sun, Jan 15, 2023 1:10 AM

Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance.
I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

Hello, I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries. But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is. I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance. I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject. Thanks to all and all the best for this 2023. Greetings Juan P. Cruz
JJ
Jupiter Jones
Sun, Jan 15, 2023 6:20 AM

This may seem a little over simplistic, but the basics of what NumPy and Pandas offer can be achieved with the standard Smalltalk collection hierarchy. If your data fits in memory, then Pharo will handle the job. If not, then GemStone may do the trick.

That said, there’s a bunch of quite specialised stuff in those libraries, some of which is not trivial to implement. Or you may have gigantic existing datasets that you want to leverage. So you can always call the python libraries directly from Smalltalk using the PythonBridge [1]. It’s been a long time since I’ve used it, so hopefully someone else can let you know if it’s still well maintained.

There are a bunch of options for plotting. Maybe start by checking out Roassal [2].

You may even want to check out Glamorous Toolkit [3]. It may change your life ;)

[1] https://objectprofile.github.io/PythonBridge/
[2] http://agilevisualization.com http://agilevisualization.com/
[3] https://gtoolkit.com https://gtoolkit.com/

On 15 Jan 2023, at 12:10 pm, Juan Cruz juan.crux@outlook.com wrote:

Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance.
I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

This may seem a little over simplistic, but the basics of what NumPy and Pandas offer can be achieved with the standard Smalltalk collection hierarchy. If your data fits in memory, then Pharo will handle the job. If not, then GemStone may do the trick. That said, there’s a bunch of quite specialised stuff in those libraries, some of which is not trivial to implement. Or you may have gigantic existing datasets that you want to leverage. So you can always call the python libraries directly from Smalltalk using the PythonBridge [1]. It’s been a long time since I’ve used it, so hopefully someone else can let you know if it’s still well maintained. There are a bunch of options for plotting. Maybe start by checking out Roassal [2]. You may even want to check out Glamorous Toolkit [3]. It may change your life ;) [1] https://objectprofile.github.io/PythonBridge/ [2] http://agilevisualization.com <http://agilevisualization.com/> [3] https://gtoolkit.com <https://gtoolkit.com/> > On 15 Jan 2023, at 12:10 pm, Juan Cruz <juan.crux@outlook.com> wrote: > > Hello, > I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries. > But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is. > I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance. > I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject. > Thanks to all and all the best for this 2023. > Greetings > Juan P. Cruz
SJ
Sebastian Jordan Montano
Sun, Jan 15, 2023 12:13 PM

Hola Juan,

Good to hear that you are interested in Pharo.
The equivalent of Matplotlib is Roassal. You can check this video that we did (7min) of using Roassal for making visualizations for football data: [ https://www.youtube.com/watch?v=LOn9jVGa83c | https://www.youtube.com/watch?v=LOn9jVGa83c ] :)
For data mining we have some algorithms in pharo-ai [ https://github.com/pharo-ai/wiki | https://github.com/pharo-ai/wiki ] (wiki not updated at 100%) we also have some other machine learning stuffs.
And we also have PolyMath : [ https://github.com/PolyMathOrg/PolyMath | https://github.com/PolyMathOrg/PolyMath ] for scientific computations :)

Regards,
Sebastian Jordan

De: "Juan Cruz" juan.crux@outlook.com
À: "pharo-users" pharo-users@lists.pharo.org
Envoyé: Dimanche 15 Janvier 2023 01:10:34
Objet: [Pharo-users] New to Pharo: Some questions

Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I have
a background in Python, and Javascript mostly. I mostly use Python due to the
data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate its
beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy,
etc. I mostly apply Python to finance -in particular to quantitative finance.
I read somewhere that top investment banks use Smalltalk as their secret weapon,
so I'm sure that there are some users that have some insights to share on this
subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

Hola Juan, Good to hear that you are interested in Pharo. The equivalent of Matplotlib is Roassal. You can check this video that we did (7min) of using Roassal for making visualizations for football data: [ https://www.youtube.com/watch?v=LOn9jVGa83c | https://www.youtube.com/watch?v=LOn9jVGa83c ] :) For data mining we have some algorithms in pharo-ai [ https://github.com/pharo-ai/wiki | https://github.com/pharo-ai/wiki ] (wiki not updated at 100%) we also have some other machine learning stuffs. And we also have PolyMath : [ https://github.com/PolyMathOrg/PolyMath | https://github.com/PolyMathOrg/PolyMath ] for scientific computations :) Regards, Sebastian Jordan > De: "Juan Cruz" <juan.crux@outlook.com> > À: "pharo-users" <pharo-users@lists.pharo.org> > Envoyé: Dimanche 15 Janvier 2023 01:10:34 > Objet: [Pharo-users] New to Pharo: Some questions > Hello, > I hope everyone is doing well. I am new to Pharo but not to programming. I have > a background in Python, and Javascript mostly. I mostly use Python due to the > data, plotting, and math libraries. > But after toying a little with Pharo, the language I came to appreciate its > beauty of it and how expressive the language is. > I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, > etc. I mostly apply Python to finance -in particular to quantitative finance. > I read somewhere that top investment banks use Smalltalk as their secret weapon, > so I'm sure that there are some users that have some insights to share on this > subject. > Thanks to all and all the best for this 2023. > Greetings > Juan P. Cruz
JC
Juan Cruz
Sun, Jan 15, 2023 8:09 PM

Hi,
Thanks for your response. The size of datasets is not an issue, but my intention is not to bridge to Python. The reason behind the question is that (and sorry for those who love it) I think Python is an ugly language. It's very powerful due to its libraries: Yes. But as a language, I find it ugly and not very expressive. Besides, the fact that indentation has syntax meaning is really annoying.
I tried Haskell, beautiful. Also Closure and Ruby. Love those. But Smalltalk caught my attention as I read in different sources that it was actively used in the financial industry, so I figure out that there were some advanced libraries out there...Probably they exist and are proprietary or secret haha.
Thanks so much I will keep toying with Pharo, these days have been really fun. It is really fun to code in Pharo...and easy!!
No need to set up environments, select editors, plugins, or debuggers..it´s all there!
Have a great Sunday
Juan P. Cruz


From: Jupiter Jones jupiter.jones@mail.com
Sent: Sunday, January 15, 2023 3:20 AM
To: Any question about pharo is welcome pharo-users@lists.pharo.org
Subject: [Pharo-users] Re: New to Pharo: Some questions

This may seem a little over simplistic, but the basics of what NumPy and Pandas offer can be achieved with the standard Smalltalk collection hierarchy. If your data fits in memory, then Pharo will handle the job. If not, then GemStone may do the trick.

That said, there’s a bunch of quite specialised stuff in those libraries, some of which is not trivial to implement. Or you may have gigantic existing datasets that you want to leverage. So you can always call the python libraries directly from Smalltalk using the PythonBridge [1]. It’s been a long time since I’ve used it, so hopefully someone else can let you know if it’s still well maintained.

There are a bunch of options for plotting. Maybe start by checking out Roassal [2].

You may even want to check out Glamorous Toolkit [3]. It may change your life ;)

[1] https://objectprofile.github.io/PythonBridge/
[2] http://agilevisualization.com
[3] https://gtoolkit.com

On 15 Jan 2023, at 12:10 pm, Juan Cruz juan.crux@outlook.com wrote:

Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance.
I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

Hi, Thanks for your response. The size of datasets is not an issue, but my intention is not to bridge to Python. The reason behind the question is that (and sorry for those who love it) I think Python is an ugly language. It's very powerful due to its libraries: Yes. But as a language, I find it ugly and not very expressive. Besides, the fact that indentation has syntax meaning is really annoying. I tried Haskell, beautiful. Also Closure and Ruby. Love those. But Smalltalk caught my attention as I read in different sources that it was actively used in the financial industry, so I figure out that there were some advanced libraries out there...Probably they exist and are proprietary or secret haha. Thanks so much I will keep toying with Pharo, these days have been really fun. It is really fun to code in Pharo...and easy!! No need to set up environments, select editors, plugins, or debuggers..it´s all there! Have a great Sunday Juan P. Cruz ________________________________ From: Jupiter Jones <jupiter.jones@mail.com> Sent: Sunday, January 15, 2023 3:20 AM To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Subject: [Pharo-users] Re: New to Pharo: Some questions This may seem a little over simplistic, but the basics of what NumPy and Pandas offer can be achieved with the standard Smalltalk collection hierarchy. If your data fits in memory, then Pharo will handle the job. If not, then GemStone may do the trick. That said, there’s a bunch of quite specialised stuff in those libraries, some of which is not trivial to implement. Or you may have gigantic existing datasets that you want to leverage. So you can always call the python libraries directly from Smalltalk using the PythonBridge [1]. It’s been a long time since I’ve used it, so hopefully someone else can let you know if it’s still well maintained. There are a bunch of options for plotting. Maybe start by checking out Roassal [2]. You may even want to check out Glamorous Toolkit [3]. It may change your life ;) [1] https://objectprofile.github.io/PythonBridge/ [2] http://agilevisualization.com [3] https://gtoolkit.com On 15 Jan 2023, at 12:10 pm, Juan Cruz <juan.crux@outlook.com> wrote: Hello, I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries. But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is. I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance. I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject. Thanks to all and all the best for this 2023. Greetings Juan P. Cruz
JC
Juan Cruz
Sun, Jan 15, 2023 8:10 PM

Thanks, Sebastian for pointing to these libraries. For sure I will take a look at them!
Best,
Juan P. Cruz


From: Sebastian Jordan Montano sebastian.jordan@inria.fr
Sent: Sunday, January 15, 2023 9:13 AM
To: Any question about pharo is welcome pharo-users@lists.pharo.org
Subject: [Pharo-users] Re: New to Pharo: Some questions

Hola Juan,

Good to hear that you are interested in Pharo.
The equivalent of Matplotlib is Roassal. You can check this video that we did (7min) of using Roassal for making visualizations for football data: https://www.youtube.com/watch?v=LOn9jVGa83c :)
For data mining we have some algorithms in pharo-ai https://github.com/pharo-ai/wiki (wiki not updated at 100%) we also have some other machine learning stuffs.
And we also have PolyMath : https://github.com/PolyMathOrg/PolyMath for scientific computations :)

Regards,
Sebastian Jordan


De: "Juan Cruz" juan.crux@outlook.com
À: "pharo-users" pharo-users@lists.pharo.org
Envoyé: Dimanche 15 Janvier 2023 01:10:34
Objet: [Pharo-users] New to Pharo: Some questions
Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance.
I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

Thanks, Sebastian for pointing to these libraries. For sure I will take a look at them! Best, Juan P. Cruz ________________________________ From: Sebastian Jordan Montano <sebastian.jordan@inria.fr> Sent: Sunday, January 15, 2023 9:13 AM To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Subject: [Pharo-users] Re: New to Pharo: Some questions Hola Juan, Good to hear that you are interested in Pharo. The equivalent of Matplotlib is Roassal. You can check this video that we did (7min) of using Roassal for making visualizations for football data: https://www.youtube.com/watch?v=LOn9jVGa83c :) For data mining we have some algorithms in pharo-ai https://github.com/pharo-ai/wiki (wiki not updated at 100%) we also have some other machine learning stuffs. And we also have PolyMath : https://github.com/PolyMathOrg/PolyMath for scientific computations :) Regards, Sebastian Jordan ________________________________ De: "Juan Cruz" <juan.crux@outlook.com> À: "pharo-users" <pharo-users@lists.pharo.org> Envoyé: Dimanche 15 Janvier 2023 01:10:34 Objet: [Pharo-users] New to Pharo: Some questions Hello, I hope everyone is doing well. I am new to Pharo but not to programming. I have a background in Python, and Javascript mostly. I mostly use Python due to the data, plotting, and math libraries. But after toying a little with Pharo, the language I came to appreciate its beauty of it and how expressive the language is. I was wondering if there are libraries equivalent to Matplotlib, Pandas, Numpy, etc. I mostly apply Python to finance -in particular to quantitative finance. I read somewhere that top investment banks use Smalltalk as their secret weapon, so I'm sure that there are some users that have some insights to share on this subject. Thanks to all and all the best for this 2023. Greetings Juan P. Cruz
SS
Serge Stinckwich
Mon, Jan 16, 2023 12:00 AM

Hi Juan,

you might have a look to PolyMath:
https://github.com/PolyMathOrg/PolyMath

We are trying to build something equivalent to pandas et other scientific
libraries in Python.
Arms to help us are welcome ;-)
Regards,

On Mon, 16 Jan 2023 at 04:10, Juan Cruz juan.crux@outlook.com wrote:

Hi,
Thanks for your response. The size of datasets is not an issue, but my
intention is not to bridge to Python. The reason behind the question is
that (and sorry for those who love it) I think Python is an ugly language.
It's very powerful due to its libraries: Yes. But as a language, I find it
ugly and not very expressive. Besides, the fact that indentation has syntax
meaning is really annoying.
I tried Haskell, beautiful. Also Closure and Ruby. Love those. But
Smalltalk caught my attention as I read in different sources that it was
actively used in the financial industry, so I figure out that there were
some advanced libraries out there...Probably they exist and are proprietary
or secret haha.
Thanks so much I will keep toying with Pharo, these days have been really
fun. It is really fun to code in Pharo...and easy!!
No need to set up environments, select editors, plugins, or
debuggers..it´s all there!
Have a great Sunday
Juan P. Cruz


From: Jupiter Jones jupiter.jones@mail.com
Sent: Sunday, January 15, 2023 3:20 AM
To: Any question about pharo is welcome pharo-users@lists.pharo.org
Subject: [Pharo-users] Re: New to Pharo: Some questions

This may seem a little over simplistic, but the basics of what NumPy and
Pandas offer can be achieved with the standard Smalltalk collection
hierarchy. If your data fits in memory, then Pharo will handle the job. If
not, then GemStone may do the trick.

That said, there’s a bunch of quite specialised stuff in those libraries,
some of which is not trivial to implement. Or you may have gigantic
existing datasets that you want to leverage. So you can always call the
python libraries directly from Smalltalk using the PythonBridge [1]. It’s
been a long time since I’ve used it, so hopefully someone else can let you
know if it’s still well maintained.

There are a bunch of options for plotting. Maybe start by checking out
Roassal [2].

You may even want to check out Glamorous Toolkit [3]. It may change your
life ;)

[1] https://objectprofile.github.io/PythonBridge/
[2] http://agilevisualization.com
[3] https://gtoolkit.com

On 15 Jan 2023, at 12:10 pm, Juan Cruz juan.crux@outlook.com wrote:

Hello,
I hope everyone is doing well. I am new to Pharo but not to programming. I
have a background in Python, and Javascript mostly. I mostly use Python due
to the data, plotting, and math libraries.
But after toying a little with Pharo, the language I came to appreciate
its beauty of it and how expressive the language is.
I was wondering if there are libraries equivalent to Matplotlib, Pandas,
Numpy, etc. I mostly apply Python to finance -in particular to quantitative
finance.
I read somewhere that top investment banks use Smalltalk as their secret
weapon, so I'm sure that there are some users that have some insights to
share on this subject.
Thanks to all and all the best for this 2023.
Greetings
Juan P. Cruz

--
Serge Stinckwic
h​
https://twitter.com/SergeStinckwich

Hi Juan, you might have a look to PolyMath: https://github.com/PolyMathOrg/PolyMath We are trying to build something equivalent to pandas et other scientific libraries in Python. Arms to help us are welcome ;-) Regards, On Mon, 16 Jan 2023 at 04:10, Juan Cruz <juan.crux@outlook.com> wrote: > Hi, > Thanks for your response. The size of datasets is not an issue, but my > intention is not to bridge to Python. The reason behind the question is > that (and sorry for those who love it) I think Python is an ugly language. > It's very powerful due to its libraries: Yes. But as a language, I find it > ugly and not very expressive. Besides, the fact that indentation has syntax > meaning is really annoying. > I tried Haskell, beautiful. Also Closure and Ruby. Love those. But > Smalltalk caught my attention as I read in different sources that it was > actively used in the financial industry, so I figure out that there were > some advanced libraries out there...Probably they exist and are proprietary > or secret haha. > Thanks so much I will keep toying with Pharo, these days have been really > fun. It is really fun to code in Pharo...and easy!! > No need to set up environments, select editors, plugins, or > debuggers..it´s all there! > Have a great Sunday > Juan P. Cruz > > ------------------------------ > *From:* Jupiter Jones <jupiter.jones@mail.com> > *Sent:* Sunday, January 15, 2023 3:20 AM > *To:* Any question about pharo is welcome <pharo-users@lists.pharo.org> > *Subject:* [Pharo-users] Re: New to Pharo: Some questions > > This may seem a little over simplistic, but the basics of what NumPy and > Pandas offer can be achieved with the standard Smalltalk collection > hierarchy. If your data fits in memory, then Pharo will handle the job. If > not, then GemStone may do the trick. > > That said, there’s a bunch of quite specialised stuff in those libraries, > some of which is not trivial to implement. Or you may have gigantic > existing datasets that you want to leverage. So you can always call the > python libraries directly from Smalltalk using the PythonBridge [1]. It’s > been a long time since I’ve used it, so hopefully someone else can let you > know if it’s still well maintained. > > There are a bunch of options for plotting. Maybe start by checking out > Roassal [2]. > > You may even want to check out Glamorous Toolkit [3]. It may change your > life ;) > > [1] https://objectprofile.github.io/PythonBridge/ > [2] http://agilevisualization.com > [3] https://gtoolkit.com > > > On 15 Jan 2023, at 12:10 pm, Juan Cruz <juan.crux@outlook.com> wrote: > > Hello, > I hope everyone is doing well. I am new to Pharo but not to programming. I > have a background in Python, and Javascript mostly. I mostly use Python due > to the data, plotting, and math libraries. > But after toying a little with Pharo, the language I came to appreciate > its beauty of it and how expressive the language is. > I was wondering if there are libraries equivalent to Matplotlib, Pandas, > Numpy, etc. I mostly apply Python to finance -in particular to quantitative > finance. > I read somewhere that top investment banks use Smalltalk as their secret > weapon, so I'm sure that there are some users that have some insights to > share on this subject. > Thanks to all and all the best for this 2023. > Greetings > Juan P. Cruz > > > -- Serge Stinckwic h​ https://twitter.com/SergeStinckwich ​