Re: [Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread Esteban Lorenzano


> On 20 Jan 2020, at 20:37, David Mason  wrote:
> 
> Unfortunately, the server is down… correction… very, very slow!
> Very unfortunate when we are promoting on reddit and combinator…
> 
> But, a temporary blip, I’m sure…. congratulations!!

Our server does not tolerates Reddit and HN attention :( 
(We will need to invest on this… every year is the same problem)

Esteban

> 
> ../Dave
> On Jan 20, 2020, 8:27 AM -0500, Esteban Lorenzano , 
> wrote:
>> Links to upvote: 
>> 
>> https://www.reddit.com/r/programming/comments/erd65s/pharo_80_the_immersive_pure_object_oriented/
>>  
>> 
>> https://news.ycombinator.com/item?id=22098604 
>> 
>> 
>> :)
>> 
>> 
>>> On 20 Jan 2020, at 14:23, Esteban Lorenzano >> > wrote:
>>> 
>>>  Dear World and dynamic language lovers: 
>>> The time has come for Pharo 8.0 !
>>> Pharo is a pure object-oriented programming language and a powerful 
>>> environment, focused on simplicity and immediate feedback.
>>> 
>>> Here are the key highlights of this release:
>>> 
>>> 
>>> The 64-bit version has become the recommended version for Windows as it was 
>>> for Unix and OSX.
>>> 
>>> 
>>> Iceberg, the git client for Pharo, reached its version 1.6.5 with several 
>>> improvements and bugfixes.
>>> 
>>> 
>>> Calypso, Pharo’s system browser has new and better refactoring integrations 
>>> and AST-based suggestions for class definitions.
>>> 
>>> 
>>> The unified foreign function interface (UnifiedFFI) has been improved with 
>>> more support for literal objects, better type coercions, and more 
>>> documentation.
>>> 
>>> Several speed improvements in code searches and compilation.
>>> 
>>> 
>>> In addition, this version includes several previews of new tools such as 
>>> the Spec2 GUI framework with native widget integration and the new DrTests 
>>> test analysis tool and opens the door for the upcoming headless VMs for 
>>> servers and non-blocking FFI.
>>> These are just the more prominent highlights, but the details are just as 
>>> important. We have closed a massive amount of issues: 2805 issues! 
>>> A comprehensive changelog can be found at 
>>> https://github.com/pharo-project/pharo-changelogs/blob/master/Pharo80ChangeLogs.md
>>>  
>>> ).
>>> While the technical improvements are significant, still the most impressive 
>>> fact is that the new code that got in the main Pharo 8.0 image was 
>>> contributed by more than 100 people.
>>> Pharo is more than code. It is an exciting project involving energetic 
>>> people. We thank all the contributors to this release:
>>> Serge Stinckwich, Myroslava Romaniuk, Hilaire Fernandes, Alexandre Bergel, 
>>> David Bajger, Sean DeNigris, Theodore Moen, Dayne Guerra Calle, Juraj 
>>> Kubelka, Max Leske, Santiago Jose Dandois, Alistair Grant, Sabine Mana, 
>>> Chia Yu, Stephan Eggermont, Milton Mamani, Pavel Krivanek, Ben Coman, 
>>> Marcus Denker, Pierre Misse, Christophe Demarey, Allex Oliveira, Andreina 
>>> Cota, Theo Rogliano, Clément Dutriez, Quentin Ducasse, Cyril Ferlicot, 
>>> Cameron Bierwagen, Marek Niepieklo, Clotilde Toullec, Esteban Lorenzano, 
>>> Vincent Blondeau, Danil Osipchuk, Eiichiro Ito, Noury Bouraqadi, Oleksandr 
>>> Zaytsev, Jason Riggs, Alain Plantec, Kasper Osterbye, Leonardo Cecchi, Chi 
>>> Huynh, Santiago Bragagnolo, Antonio Pierro, Pablo Tesone, Tim Mackinnon, 
>>> Wesley Duerksen, Wilfred Hughes, John Brant, Evelyn Cusi Lopez, Manuel 
>>> Leuenberger, Thomas Dupriez, Norbert Hartl, Torsten Bergmann, Gabriel Omar 
>>> Cotelli, Carlo Teixeira, Guille Polito, Torsten Bergman, Damien Pollet, 
>>> Holger Hans Peter Freyther, Julio Ripoll, Carolina Hernandez Phillips, 
>>> Julien Delplanque, Hugo Lasnier, James Foster, Will Hensel, Erik Stel, Sven 
>>> Van Caekenberghe, Martín Dias, Tomohiro Oda, Konrad Hinsen, Sébastien 
>>> Roccaserra, Stéphane Ducasse, Denis Kudriashov, Ellis Harris, Steven Costiou
>>> (If you contributed with Pharo 8.0 development in any way and we missed 
>>> your name, please send us a mail and we will add you).
>>> Enjoy!
>>> The Pharo Team
>>> Try Pharo: http://pharo.org/download 
>>> Learn Pharo: http://pharo.org/documentation 
>>> 
>>> 
>>> If you cannot see this, follow this link: 
>>> http://pharo.org/news/pharo8.0-released 
>>> 



Re: [Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread David Mason
Unfortunately, the server is down… correction… very, very slow!
Very unfortunate when we are promoting on reddit and combinator…

But, a temporary blip, I’m sure…. congratulations!!

../Dave
On Jan 20, 2020, 8:27 AM -0500, Esteban Lorenzano , wrote:
> Links to upvote:
>
> https://www.reddit.com/r/programming/comments/erd65s/pharo_80_the_immersive_pure_object_oriented/
> https://news.ycombinator.com/item?id=22098604
>
> :)
>
>
> > On 20 Jan 2020, at 14:23, Esteban Lorenzano  wrote:
> >
> > Dear World and dynamic language lovers:
> > The time has come for Pharo 8.0!
> > Pharo is a pure object-oriented programming language and a powerful 
> > environment, focused on simplicity and immediate feedback.
> > Here are the key highlights of this release:
> >
> > • > > The 64-bit version has become the recommended version for Windows as 
> > it was for Unix and OSX.
> > • > > Iceberg, the git client for Pharo, reached its version 1.6.5 with 
> > several improvements and bugfixes.
> > • > > Calypso, Pharo’s system browser has new and better refactoring 
> > integrations and AST-based suggestions for class definitions.
> > • > > The unified foreign function interface (UnifiedFFI) has been improved 
> > with more support for literal objects, better type coercions, and more 
> > documentation.
> > • > > Several speed improvements in code searches and compilation.
> >
> > In addition, this version includes several previews of new tools such as 
> > the Spec2 GUI framework with native widget integration and the new DrTests 
> > test analysis tool and opens the door for the upcoming headless VMs for 
> > servers and non-blocking FFI.
> > These are just the more prominent highlights, but the details are just as 
> > important. We have closed a massive amount of issues: 2805 issues!
> > A comprehensive changelog can be found at 
> > https://github.com/pharo-project/pharo-changelogs/blob/master/Pharo80ChangeLogs.md).
> > While the technical improvements are significant, still the most impressive 
> > fact is that the new code that got in the main Pharo 8.0 image was 
> > contributed by more than 100 people.
> > Pharo is more than code. It is an exciting project involving energetic 
> > people. We thank all the contributors to this release:
> > Serge Stinckwich, Myroslava Romaniuk, Hilaire Fernandes, Alexandre Bergel, 
> > David Bajger, Sean DeNigris, Theodore Moen, Dayne Guerra Calle, Juraj 
> > Kubelka, Max Leske, Santiago Jose Dandois, Alistair Grant, Sabine Mana, 
> > Chia Yu, Stephan Eggermont, Milton Mamani, Pavel Krivanek, Ben Coman, 
> > Marcus Denker, Pierre Misse, Christophe Demarey, Allex Oliveira, Andreina 
> > Cota, Theo Rogliano, Clément Dutriez, Quentin Ducasse, Cyril Ferlicot, 
> > Cameron Bierwagen, Marek Niepieklo, Clotilde Toullec, Esteban Lorenzano, 
> > Vincent Blondeau, Danil Osipchuk, Eiichiro Ito, Noury Bouraqadi, Oleksandr 
> > Zaytsev, Jason Riggs, Alain Plantec, Kasper Osterbye, Leonardo Cecchi, Chi 
> > Huynh, Santiago Bragagnolo, Antonio Pierro, Pablo Tesone, Tim Mackinnon, 
> > Wesley Duerksen, Wilfred Hughes, John Brant, Evelyn Cusi Lopez, Manuel 
> > Leuenberger, Thomas Dupriez, Norbert Hartl, Torsten Bergmann, Gabriel Omar 
> > Cotelli, Carlo Teixeira, Guille Polito, Torsten Bergman, Damien Pollet, 
> > Holger Hans Peter Freyther, Julio Ripoll, Carolina Hernandez Phillips, 
> > Julien Delplanque, Hugo Lasnier, James Foster, Will Hensel, Erik Stel, Sven 
> > Van Caekenberghe, Martín Dias, Tomohiro Oda, Konrad Hinsen, Sébastien 
> > Roccaserra, Stéphane Ducasse, Denis Kudriashov, Ellis Harris, Steven Costiou
> > (If you contributed with Pharo 8.0 development in any way and we missed 
> > your name, please send us a mail and we will add you).
> > Enjoy!
> > The Pharo Team
> > Try Pharo: http://pharo.org/download
> > Learn Pharo: http://pharo.org/documentation
> >
> >
> > If you cannot see this, follow this link: 
> > http://pharo.org/news/pharo8.0-released
>


Re: [Pharo-users] [ANN] Youtube video explaining how to set-up a Pharo project

2020-01-20 Thread Cédrick Béler
Great  

Thanks Julien

> Le 20 janv. 2020 à 19:57, Julien Delplanque  a 
> écrit :
> 
> Hello,
> 
> I recorded myself setting up a Pharo project on Github this afternoon.
> 
> https://www.youtube.com/watch?v=Wnt3OBhR18I
> 
> The video shows how to:
> 
> - Create git repository on Github, make Pharo be aware of it via Iceberg
> 
> - Set-up the CI
> 
> - Add CI badge and install script to your README (which we should all do 
> systematically... :-) ).
> 
> This can be useful for newcomers.
> 
> Cheers,
> 
> Julien
> 
> 



[Pharo-users] [ANN] Youtube video explaining how to set-up a Pharo project

2020-01-20 Thread Julien Delplanque

Hello,

I recorded myself setting up a Pharo project on Github this afternoon.

https://www.youtube.com/watch?v=Wnt3OBhR18I

The video shows how to:

- Create git repository on Github, make Pharo be aware of it via Iceberg

- Set-up the CI

- Add CI badge and install script to your README (which we should all do 
systematically... :-) ).


This can be useful for newcomers.

Cheers,

Julien




Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-20 Thread Serge Stinckwich
I had a look Norbert, but some features are missing like support for anyOf
or multiple types like:
{
"type": ["string", "null"]
}

I need some time to understand how to add them.


On Sat, Jan 18, 2020 at 9:55 AM  wrote:

> Great work ! I will have a look.
>
> I want to be able to generate JSON files following a JSON Schema with a
> high level API. So my idea was to generate automatically from JSON Schema
> the class hierarchy but a runtime model might be enough maybe.
>
> Regards,
>
> Sent from my iPhone
>
> On 18 Jan 2020, at 09:28, Norbert Hartl  wrote:
>
> We have
>
> https://github.com/zweidenker/JSONSchema
>
> which is an implementation of basic stuff in JSON schema. But it does not
> compile classes it just creates a runtime model. To be honest I never
> understood why we make the effort to compile classes for parsed model. The
> runtime model works usually pretty well. The only reason I can see is that
> it is easier to store somewhere.
>
> If you like our code and you miss things, we are eager to add the stuff we
> not had (yet) reason to do so.
>
> Norbert
>
> Am 18.01.2020 um 09:20 schrieb Serge Stinckwich <
> serge.stinckw...@gmail.com>:
>
> Hi there,
>
> anyone has experience about generating a class hierarchy from a JSON
> Schema ? Code available somewhere ?
>
> Thank you.
>
> --
> Serge Stinckwic
> h
>
> Int. Research Unit
>  on Modelling/Simulation of Complex Systems (UMMISCO)
> Sorbonne University
>  (SU)
> French National Research Institute for Sustainable Development (IRD)
> U
> niversity of Yaoundé I, Cameroon
> "Programs must be written for people to read, and only incidentally for
> machines to execute."
> https://twitter.com/SergeStinckwich
>
>
>

-- 
Serge Stinckwic
​h​

Int. Research Unit
 on Modelling/Simulation of Complex Systems (UMMISCO)
​Sorbonne University
 (SU)
French National Research Institute for Sustainable Development (IRD)​
U
​niversity of Yaoundé I​, Cameroon
"Programs must be written for people to read, and only incidentally for
machines to execute."
https://twitter.com/SergeStinckwich
​


Re: [Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread Sven Van Caekenberghe



> On 20 Jan 2020, at 19:01, ducasse  wrote:
> 
> I would like to also thanks all the consortium members and the association 
> members so their continuous
> support. In addition we would like to thank SchmidtPro and Lifeware for the 
> contracts we sign to improve Pharo. 
> Pharo 80 and Pharo 90 will strongly benefit from this effort. 

+10




Re: [Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread ducasse
I would like to also thanks all the consortium members and the association 
members so their continuous
support. In addition we would like to thank SchmidtPro and Lifeware for the 
contracts we sign to improve Pharo. 
Pharo 80 and Pharo 90 will strongly benefit from this effort. 

S. 

> On 20 Jan 2020, at 14:23, Esteban Lorenzano  wrote:
> 
> Dear World and dynamic language lovers: 
> The time has come for Pharo 8.0 !
> Pharo is a pure object-oriented programming language and a powerful 
> environment, focused on simplicity and immediate feedback.
> 
> Here are the key highlights of this release:
> 
> The 64-bit version has become the recommended version for Windows as it was 
> for Unix and OSX.
> Iceberg, the git client for Pharo, reached its version 1.6.5 with several 
> improvements and bugfixes.
> Calypso, Pharo’s system browser has new and better refactoring integrations 
> and AST-based suggestions for class definitions.
> The unified foreign function interface (UnifiedFFI) has been improved with 
> more support for literal objects, better type coercions, and more 
> documentation.
> Several speed improvements in code searches and compilation.
> 
> In addition, this version includes several previews of new tools such as the 
> Spec2 GUI framework with native widget integration and the new DrTests test 
> analysis tool and opens the door for the upcoming headless VMs for servers 
> and non-blocking FFI.
> These are just the more prominent highlights, but the details are just as 
> important. We have closed a massive amount of issues: 2805 issues! 
> A comprehensive changelog can be found at 
> https://github.com/pharo-project/pharo-changelogs/blob/master/Pharo80ChangeLogs.md
>  
> ).
> While the technical improvements are significant, still the most impressive 
> fact is that the new code that got in the main Pharo 8.0 image was 
> contributed by more than 100 people.
> Pharo is more than code. It is an exciting project involving energetic 
> people. We thank all the contributors to this release:
> Serge Stinckwich, Myroslava Romaniuk, Hilaire Fernandes, Alexandre Bergel, 
> David Bajger, Sean DeNigris, Theodore Moen, Dayne Guerra Calle, Juraj 
> Kubelka, Max Leske, Santiago Jose Dandois, Alistair Grant, Sabine Mana, Chia 
> Yu, Stephan Eggermont, Milton Mamani, Pavel Krivanek, Ben Coman, Marcus 
> Denker, Pierre Misse, Christophe Demarey, Allex Oliveira, Andreina Cota, Theo 
> Rogliano, Clément Dutriez, Quentin Ducasse, Cyril Ferlicot, Cameron 
> Bierwagen, Marek Niepieklo, Clotilde Toullec, Esteban Lorenzano, Vincent 
> Blondeau, Danil Osipchuk, Eiichiro Ito, Noury Bouraqadi, Oleksandr Zaytsev, 
> Jason Riggs, Alain Plantec, Kasper Osterbye, Leonardo Cecchi, Chi Huynh, 
> Santiago Bragagnolo, Antonio Pierro, Pablo Tesone, Tim Mackinnon, Wesley 
> Duerksen, Wilfred Hughes, John Brant, Evelyn Cusi Lopez, Manuel Leuenberger, 
> Thomas Dupriez, Norbert Hartl, Torsten Bergmann, Gabriel Omar Cotelli, Carlo 
> Teixeira, Guille Polito, Torsten Bergman, Damien Pollet, Holger Hans Peter 
> Freyther, Julio Ripoll, Carolina Hernandez Phillips, Julien Delplanque, Hugo 
> Lasnier, James Foster, Will Hensel, Erik Stel, Sven Van Caekenberghe, Martín 
> Dias, Tomohiro Oda, Konrad Hinsen, Sébastien Roccaserra, Stéphane Ducasse, 
> Denis Kudriashov, Ellis Harris, Steven Costiou
> (If you contributed with Pharo 8.0 development in any way and we missed your 
> name, please send us a mail and we will add you).
> Enjoy!
> The Pharo Team
> Try Pharo: http://pharo.org/download 
> Learn Pharo: http://pharo.org/documentation 
> 
> If you cannot see this, follow this link: 
> http://pharo.org/news/pharo8.0-released 
> 


Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-20 Thread Todd Blanchard via Pharo-users
--- Begin Message ---
The official is https://github.com/pharo-rdbms/glorp (The one I forked at 
pharo-db - a username I need to change as it is causing confusion).

I've been mostly working with P3 and SQLite together.  I've standardized the 
query results format for fetching field definitions so if you want to add 
support for another db, please note the format of the result set and structure 
yours appropriately.

I would very much like all the databases to be hosted under pharo-rdbms and all 
of them to have glorp adaptors and the additional meta structure queries I'm 
adding to the GlorpPlatform classes to enable ActiveRecord.  I feel like 
Pharo's RDBMS story has been lagging and the lack of ready to go database 
support keeps people from building apps on it.  

There are a zillion little business CRUD apps that could be knocked out with 
spec2 or Seaside.

Please, dive in and make improvements.

> On Jan 20, 2020, at 9:15 AM, eftomi  wrote:
> 
> Todd, this is great, I didn't know that you are working on ActiveRecord.
> 
> BTW, I have some minor additions to SQLServerPlatform (support for National
> Language Character Set) and OraclePlatform (Decimal data type) - is there a
> central git repository for Glorp so that I could PR to?
> 
> Thanks and best wishes,
> Tomaz  
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 


--- End Message ---


Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-20 Thread eftomi
Todd, this is great, I didn't know that you are working on ActiveRecord.

BTW, I have some minor additions to SQLServerPlatform (support for National
Language Character Set) and OraclePlatform (Decimal data type) - is there a
central git repository for Glorp so that I could PR to?

Thanks and best wishes,
Tomaz  



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread Esteban Lorenzano
Links to upvote: 

https://www.reddit.com/r/programming/comments/erd65s/pharo_80_the_immersive_pure_object_oriented/
https://news.ycombinator.com/item?id=22098604

:)


> On 20 Jan 2020, at 14:23, Esteban Lorenzano  wrote:
> 
> Dear World and dynamic language lovers: 
> The time has come for Pharo 8.0 !
> Pharo is a pure object-oriented programming language and a powerful 
> environment, focused on simplicity and immediate feedback.
> 
> Here are the key highlights of this release:
> 
> The 64-bit version has become the recommended version for Windows as it was 
> for Unix and OSX.
> Iceberg, the git client for Pharo, reached its version 1.6.5 with several 
> improvements and bugfixes.
> Calypso, Pharo’s system browser has new and better refactoring integrations 
> and AST-based suggestions for class definitions.
> The unified foreign function interface (UnifiedFFI) has been improved with 
> more support for literal objects, better type coercions, and more 
> documentation.
> Several speed improvements in code searches and compilation.
> 
> In addition, this version includes several previews of new tools such as the 
> Spec2 GUI framework with native widget integration and the new DrTests test 
> analysis tool and opens the door for the upcoming headless VMs for servers 
> and non-blocking FFI.
> These are just the more prominent highlights, but the details are just as 
> important. We have closed a massive amount of issues: 2805 issues! 
> A comprehensive changelog can be found at 
> https://github.com/pharo-project/pharo-changelogs/blob/master/Pharo80ChangeLogs.md
>  
> ).
> While the technical improvements are significant, still the most impressive 
> fact is that the new code that got in the main Pharo 8.0 image was 
> contributed by more than 100 people.
> Pharo is more than code. It is an exciting project involving energetic 
> people. We thank all the contributors to this release:
> Serge Stinckwich, Myroslava Romaniuk, Hilaire Fernandes, Alexandre Bergel, 
> David Bajger, Sean DeNigris, Theodore Moen, Dayne Guerra Calle, Juraj 
> Kubelka, Max Leske, Santiago Jose Dandois, Alistair Grant, Sabine Mana, Chia 
> Yu, Stephan Eggermont, Milton Mamani, Pavel Krivanek, Ben Coman, Marcus 
> Denker, Pierre Misse, Christophe Demarey, Allex Oliveira, Andreina Cota, Theo 
> Rogliano, Clément Dutriez, Quentin Ducasse, Cyril Ferlicot, Cameron 
> Bierwagen, Marek Niepieklo, Clotilde Toullec, Esteban Lorenzano, Vincent 
> Blondeau, Danil Osipchuk, Eiichiro Ito, Noury Bouraqadi, Oleksandr Zaytsev, 
> Jason Riggs, Alain Plantec, Kasper Osterbye, Leonardo Cecchi, Chi Huynh, 
> Santiago Bragagnolo, Antonio Pierro, Pablo Tesone, Tim Mackinnon, Wesley 
> Duerksen, Wilfred Hughes, John Brant, Evelyn Cusi Lopez, Manuel Leuenberger, 
> Thomas Dupriez, Norbert Hartl, Torsten Bergmann, Gabriel Omar Cotelli, Carlo 
> Teixeira, Guille Polito, Torsten Bergman, Damien Pollet, Holger Hans Peter 
> Freyther, Julio Ripoll, Carolina Hernandez Phillips, Julien Delplanque, Hugo 
> Lasnier, James Foster, Will Hensel, Erik Stel, Sven Van Caekenberghe, Martín 
> Dias, Tomohiro Oda, Konrad Hinsen, Sébastien Roccaserra, Stéphane Ducasse, 
> Denis Kudriashov, Ellis Harris, Steven Costiou
> (If you contributed with Pharo 8.0 development in any way and we missed your 
> name, please send us a mail and we will add you).
> Enjoy!
> The Pharo Team
> Try Pharo: http://pharo.org/download 
> Learn Pharo: http://pharo.org/documentation 
> 
> If you cannot see this, follow this link: 
> http://pharo.org/news/pharo8.0-released 
> 


[Pharo-users] [ANN] Pharo 8.0 Released!

2020-01-20 Thread Esteban Lorenzano
Dear World and dynamic language lovers: 
The time has come for Pharo 8.0 !
Pharo is a pure object-oriented programming language and a powerful 
environment, focused on simplicity and immediate feedback.

Here are the key highlights of this release:

The 64-bit version has become the recommended version for Windows as it was for 
Unix and OSX.
Iceberg, the git client for Pharo, reached its version 1.6.5 with several 
improvements and bugfixes.
Calypso, Pharo’s system browser has new and better refactoring integrations and 
AST-based suggestions for class definitions.
The unified foreign function interface (UnifiedFFI) has been improved with more 
support for literal objects, better type coercions, and more documentation.
Several speed improvements in code searches and compilation.

In addition, this version includes several previews of new tools such as the 
Spec2 GUI framework with native widget integration and the new DrTests test 
analysis tool and opens the door for the upcoming headless VMs for servers and 
non-blocking FFI.
These are just the more prominent highlights, but the details are just as 
important. We have closed a massive amount of issues: 2805 issues! 
A comprehensive changelog can be found at 
https://github.com/pharo-project/pharo-changelogs/blob/master/Pharo80ChangeLogs.md
 
).
While the technical improvements are significant, still the most impressive 
fact is that the new code that got in the main Pharo 8.0 image was contributed 
by more than 100 people.
Pharo is more than code. It is an exciting project involving energetic people. 
We thank all the contributors to this release:
Serge Stinckwich, Myroslava Romaniuk, Hilaire Fernandes, Alexandre Bergel, 
David Bajger, Sean DeNigris, Theodore Moen, Dayne Guerra Calle, Juraj Kubelka, 
Max Leske, Santiago Jose Dandois, Alistair Grant, Sabine Mana, Chia Yu, Stephan 
Eggermont, Milton Mamani, Pavel Krivanek, Ben Coman, Marcus Denker, Pierre 
Misse, Christophe Demarey, Allex Oliveira, Andreina Cota, Theo Rogliano, 
Clément Dutriez, Quentin Ducasse, Cyril Ferlicot, Cameron Bierwagen, Marek 
Niepieklo, Clotilde Toullec, Esteban Lorenzano, Vincent Blondeau, Danil 
Osipchuk, Eiichiro Ito, Noury Bouraqadi, Oleksandr Zaytsev, Jason Riggs, Alain 
Plantec, Kasper Osterbye, Leonardo Cecchi, Chi Huynh, Santiago Bragagnolo, 
Antonio Pierro, Pablo Tesone, Tim Mackinnon, Wesley Duerksen, Wilfred Hughes, 
John Brant, Evelyn Cusi Lopez, Manuel Leuenberger, Thomas Dupriez, Norbert 
Hartl, Torsten Bergmann, Gabriel Omar Cotelli, Carlo Teixeira, Guille Polito, 
Torsten Bergman, Damien Pollet, Holger Hans Peter Freyther, Julio Ripoll, 
Carolina Hernandez Phillips, Julien Delplanque, Hugo Lasnier, James Foster, 
Will Hensel, Erik Stel, Sven Van Caekenberghe, Martín Dias, Tomohiro Oda, 
Konrad Hinsen, Sébastien Roccaserra, Stéphane Ducasse, Denis Kudriashov, Ellis 
Harris, Steven Costiou
(If you contributed with Pharo 8.0 development in any way and we missed your 
name, please send us a mail and we will add you).
Enjoy!
The Pharo Team
Try Pharo: http://pharo.org/download 
Learn Pharo: http://pharo.org/documentation 

If you cannot see this, follow this link: 
http://pharo.org/news/pharo8.0-released

[Pharo-users] New Smalltalk Blog

2020-01-20 Thread Richard Kenneth Eng
I've created a new Smalltalk blog . I've left
Medium because of their pressure to put everyone behind a paywall.

I've opened up the blog for third-party submissions. Anyone can email me an
article submission and if I deem it appropriate, I will edit and publish
it. Here's an example from Leandro Caniglia, President of FAST: Extending
the Smalltalk Syntax
.

Articles should serve to showcase why Smalltalk is such a great language.
If possible, an accompanying eye-catching feature image would be nice. (If
you look at the other posts, you'll see images of a Maserati and a Tesla!)

I would prefer the article submissions to be in LibreOffice format. It
would make it easier for me to edit.

Thanks,
Richard


Re: [Pharo-users] Pharo connect to PostgreSQL

2020-01-20 Thread Sven Van Caekenberghe
Hi,

You are not saying which library/framework you are trying to use.

One up to date option is P3, the "lean and mean PostgreSQL client for Pharo " [ 
https://github.com/svenvc/P3 ].

A connection to your database could then be specified using a URL.

To test the connection:

(P3Client url: 'psql://postgres:lucian@localhost:5432/mydb') in: [ :client | [ 
client isWorking ] ensure: [ client close ] ].

To do a query:

(P3Client url: 'psql://postgres:lucian@localhost:5432/mydb') in: [ :client | [ 
(client query: 'SELECT * FROM some_table') recordsAsDictionaries ] ensure: [ 
client close ] ].

Of course, you first have to make sure external clients can connect to your db 
(try the psql command line client over TCP first).

HTH,

Sven

Apart from https://postgresql.org, the following site is pretty good: 
https://www.postgresqltutorial.com. On macOS, I recommend 
https://postgresapp.com.

> On 20 Jan 2020, at 12:37, Macmus via Pharo-users 
>  wrote:
> 
> 
> From: Macmus 
> Subject: Pharo connect to PostgreSQL
> Date: 20 January 2020 at 12:37:13 GMT+1
> To: pharo-users@lists.pharo.org
> 
> 
> I am trying to connect to a PostgreSQL database from Pharo but I keep getting
> "SubscriptOutOfBounds: 11" error (I am a beginner). The server is started
> and the database is working fine. What am I missing?
> 
> 
> |connectionArguments connection resultSets resultSet rows firstRow|
> 
> connectionArguments := PG3ConnectionArguments new 
>   hostname: 'localhost'; 
>   port: 5432; 
>   username: 'postgres'; 
>   password: 'lucian'; 
>   databaseName: 'mydb' 
>   yourself.
> connection := connectionArguments newConnection. 
> 
> connection startup.
> 
> resultSets := connection execute: 'select 3 + 4, now()'. 
> resultSet := resultSets first.
> rows := resultSet rows.
> firstRow := rows first.
> firstRow at: 1.
> firstRow at: 2.
> 
> connection terminate.
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 
> 
> 




[Pharo-users] Pharo connect to PostgreSQL

2020-01-20 Thread Macmus via Pharo-users
--- Begin Message ---
I am trying to connect to a PostgreSQL database from Pharo but I keep getting
"SubscriptOutOfBounds: 11" error (I am a beginner). The server is started
and the database is working fine. What am I missing?


|connectionArguments connection resultSets resultSet rows firstRow|

connectionArguments := PG3ConnectionArguments new 
hostname: 'localhost'; 
port: 5432; 
username: 'postgres'; 
password: 'lucian'; 
databaseName: 'mydb' 
yourself.
connection := connectionArguments newConnection. 

connection startup.

resultSets := connection execute: 'select 3 + 4, now()'. 
resultSet := resultSets first.
rows := resultSet rows.
firstRow := rows first.
firstRow at: 1.
firstRow at: 2.

connection terminate.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

--- End Message ---