[Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Sven Van Caekenberghe
Hi, This is a cool service: https://picsum.photos - it gives you example images (pictures/photos). Here is how you can use this from a standard Pharo image (no pun intended). ZnEasy getJpeg: 'https://picsum.photos/512'. ImageReadWriter formFromStream: (ZnClient new systemPolicy; url: 'http

[Pharo-users] [ANN] Pharo Consortium New Academic Member: LIFIA

2019-04-29 Thread Marcus Denker
The Pharo Consortium is very happy to announce that LIFIA has joined the Consortium as an Academic Member. About - LIFIA is a Research Center based at the Faculty of Informatics of the National University of La Plata, in Argentina. It is an associated center to the Scientific Research Commiss

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-29 Thread Stephan Eggermont
Ben Coman wrote: > On Sun, 28 Apr 2019 at 17:33, Stephan Eggermont > wrote: >> >> TedVanGaalen wrote: >>> Hi Stephan >>> yes, you wrote that already before, but >>> which specific VM from files.pharo.org? there are many. >>> TedvG >> >> Please compare if you have the same results I had as I de

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Esteban Maringolo
I remember Paul de Bruicker (cc'ed) used a similar service to get user profiles (with first and last name and pictures, so you can "simulate" users in your app, and you could ask for male or female profiles). I don't remember the name, hopefully he will :) Esteban A. Maringolo On Mon, Apr 29, 20

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-29 Thread TedVanGaalen
Hi Stephan Yes, tested this briefly: I confirm that 20181039 works, 201810230536 is broken The broken version freezes as soon as selecting full screen from the menu it freezes also when resizing or moving the window. (after force quitting it and restarting. The 20181039 on first sigh

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-29 Thread TedVanGaalen
Forgot to mention : Tests were run with newest 7.03 image, also downloaded today. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] how to model this a better way

2019-04-29 Thread Offray Vladimir Luna Cárdenas
Roelof, I second Richard on that. Maybe Exercism is important, but I don't know if is important enough to consider quitting Smalltalk because of the experience solving a problem there. Maybe sharing some of our personal experiences learning Smalltalk, the struggles and joys on that could put

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-29 Thread TedVanGaalen
FYI FWIWfurther testing: Running 7.03 with the 20181039 VM -loaded Seaside 3.3 from Git -filed in my test web app + utils everything working OK without any changes! Thanks TedvG -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Sven Van Caekenberghe
Perfect, I should have looked at the list of available images ... great catch. > On 29 Apr 2019, at 18:42, Offray Vladimir Luna Cárdenas > wrote: > > Pretty cool! > > This is how you get a Pharo image working, with pun intended ;-): > > http://ws.stfx.eu/7WN9SG9YBB6E > > > > Cheers, > > O

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Paul DeBruicker
https://uinames.com/ The api is a GET e.g. https://uinames.com/api?region=germany&gender=female & returns JSON with image url and plausible name among other things. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Sven Van Caekenberghe
Ah, also quite interesting. With the latest Zn loaded: Metacello new repository: 'github://svenvc/zinc/repository'; baseline: 'ZincHTTPComponents'; load. You can do: ZnClient new systemPolicy; forJsonREST; url: 'https://uinames.com/api'; queryAt: #region put: #germany; queryAt:

Re: [Pharo-users] Getting example images - https://picsum.photos

2019-04-29 Thread Paul DeBruicker
I forgot the "ext" query parameter which gives the image urls so ZnClient new systemPolicy; forJsonREST; url: 'https://uinames.com/api'; queryAt: #region put: #germany; queryAt: #gender put: #female; queryAt:#ext put: nil; get. -- Sent from: http://forum.world.st/Pharo-Sma

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-29 Thread TedVanGaalen
Crying victory too soon: Alas, it happened again pharo screen frozen, partly drawn, when going to full screen ( see image.) frustrating. The strange thing however: the Seaside/Zinc server kept running that is: I could enter and save data in in my test app running in the web browser! No idea w

[Pharo-users] Why doesn't the VM command line help show the useful image commands anymore?

2019-04-29 Thread Tim Mackinnon
I was asked a question about starting pharo exercism from the command line on Arch linux - seems the Pharo.image file isn’t being found (but it was installed with AUR, which I am unfamiliar with). Anyway - I tried using the command line on OSX ( I noticed they had used pharo, and not pharo-ui —

Re: [Pharo-users] how to model this a better way

2019-04-29 Thread Richard O'Keefe
For what it is worth, I have now completed two thirds of the Exercism tasks for Pharo. That's about 24 of them, maybe 1 or 2 more. ONE of them warranted the creation of another class (the Tournament exercise deserves a Team class). MOST of them were no-data classes with just one method. A couple of

Re: [Pharo-users] Why doesn't the VM command line help show the useful image commands anymore?

2019-04-29 Thread Sven Van Caekenberghe
> On 30 Apr 2019, at 00:05, Tim Mackinnon wrote: > > I was asked a question about starting pharo exercism from the command line on > Arch linux - seems the Pharo.image file isn’t being found (but it was > installed with AUR, which I am unfamiliar with). > > Anyway - I tried using the comman