Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Peter Uhnák
> Downloaded it. Installed it. Started it. Selected an image. Bam. The app vanished. As I've mentioned in several other threads, the way new images are opened (the lib that executes the command) seems to be very unreliable and sometimes opening image just doesn't work, and I have to open PL a

Re: [Pharo-users] In P7 scrpt variable to tmp when in debugger

2018-04-16 Thread Marcus Denker
> On 12 Apr 2018, at 17:18, Marcus Denker wrote: > > > >> On 12 Apr 2018, at 17:06, Hilaire wrote: >> >> Hi Marcus, Benoit, >> >> Nice to know. I was testing in a set up with both .changes and source files. >> So I was suspecting something like what your described. I can imagine in >> pr

Re: [Pharo-users] Recover question at startup

2018-04-16 Thread teso...@gmail.com
I have created an Issue ( https://pharo.fogbugz.com/f/cases/21708/Epicea-should-not-offer-to-recover-changes-if-the-ombu-file-does-not-exists ) to follow the conversation and to notify Martín and listen to his opinion. Cheers, Pablo On Sun, Apr 15, 2018 at 7:02 AM, Ben Coman wrote: > On Sat, Ap

Re: [Pharo-users] Recover question at startup

2018-04-16 Thread Cyril Ferlicot D.
On 16/04/2018 11:30, teso...@gmail.com wrote: > I have created an Issue > (https://pharo.fogbugz.com/f/cases/21708/Epicea-should-not-offer-to-recover-changes-if-the-ombu-file-does-not-exists) > to follow the conversation and to notify Martín and listen to his opinion. > Hi, Indeed it would be co

Re: [Pharo-users] Recover question at startup

2018-04-16 Thread teso...@gmail.com
Hi Cyril, I have taken your mail and added to the issue. Thanks On Mon, Apr 16, 2018 at 11:35 AM, Cyril Ferlicot D. < cyril.ferli...@gmail.com> wrote: > On 16/04/2018 11:30, teso...@gmail.com wrote: > > I have created an Issue > > (https://pharo.fogbugz.com/f/cases/21708/Epicea-should-not- > off

[Pharo-users] Some random musings

2018-04-16 Thread Serge Stinckwich
Hi Pharoers, some random musings about Random numbers :-) In the context of the CORMAS project: http://cormas.cirad.fr/indexeng.htm I would like to propose an API for manipulating random numbers to users who are not developers but modelers of complex systems. In CORMAS, people need to generate a

Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Ben Coman
On 16 April 2018 at 16:55, Peter Uhnák wrote: >> Downloaded it. Installed it. Started it. Selected an image. Bam. The >> app vanished. > > As I've mentioned in several other threads, the way new images are opened > (the lib that executes the command) seems to be very unreliable and > sometime

Re: [Pharo-users] Some random musings

2018-04-16 Thread Sven Van Caekenberghe
I think Float randomFrom: -4.1 to: 2.5 or Float randomBetween: -4.1 and: 2.5 would be the most descriptive and compliant to your signature ;-) An interval does not necessarily contain Floats. Going to the class side of Float makes sense because you create a new instance. > On 16 Apr 201

Re: [Pharo-users] Some random musings

2018-04-16 Thread Julien
Hello, Then this should be added to Integer class as well no? So the API is uniform. Because, if I am not wrong, for now if you want to generate an integer that could be negative you have to use an Interval (-10 to: 10) atRandom Since 10 atRandom In fact generates a Natural number and not a

Re: [Pharo-users] Some random musings

2018-04-16 Thread jtuc...@objektfabrik.de
Sven, Serge, Especially in the case of Floats, I think between:and: is *not* a good name. As always, the question is if between:and: is exclusive or inclusive of the border values... So I think the better name is from:to:. I think this name indicates it includes the border values. Joachim

Re: [Pharo-users] In P7 scrpt variable to tmp when in debugger

2018-04-16 Thread Marcus Denker
> On 16 Apr 2018, at 11:18, Marcus Denker wrote: > > > >> On 12 Apr 2018, at 17:18, Marcus Denker > > wrote: >> >> >> >>> On 12 Apr 2018, at 17:06, Hilaire >> > wrote: >>> >>> Hi Marcus, Benoit, >>> >>> Nice to know. I was testing i

Re: [Pharo-users] Some random musings

2018-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2018, at 12:57, Julien wrote: > > Hello, > > Then this should be added to Integer class as well no? > > So the API is uniform. Probably yes. > Because, if I am not wrong, for now if you want to generate an integer that > could be negative you have to use an Interval > > (-10 t

Re: [Pharo-users] Some random musings

2018-04-16 Thread Sven Van Caekenberghe
#between:and: is a well known test selector, which is inclusive on both ends. > On 16 Apr 2018, at 12:59, jtuc...@objektfabrik.de wrote: > > Sven, Serge, > > Especially in the case of Floats, I think between:and: is *not* a good name. > As always, the question is if between:and: is exclusive or

Re: [Pharo-users] Where do we go now ?

2018-04-16 Thread Jimmie Houchin
On 04/13/2018 07:33 AM, Esteban Lorenzano wrote: On 13 Apr 2018, at 14:23, Ben Coman > wrote: Unfortunately there probably isn't one list. Its hard to unlearn what is accumulated and easy to take for granted what we know is obvious to everyone. Maybe we need a "Gl

[Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Christophe Demarey
Hi, Regarding the various problems Pharo Launchers had on Windows, we worked on a new installer based on Advanced Installer [1] to avoid UAC (User Account Control) and write permissions problems. This new installer now installs Pharo Launcher in the user’s local app data folder (where for sure,

Re: [Pharo-users] Some random musings

2018-04-16 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- "Any interest to introduce a method to produce random float numbers in an interval in Pharo ?" Yes, that would definitely be useful   And it would not only be useful for Float but for all numbers.  Would save us from the usual "#truncated and +1" trick we always have to

Re: [Pharo-users] Some random musings

2018-04-16 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- "Float randomBetween: -4.1 and: 2.5 would be the most descriptive and compliant to your signature ;-)" I also prefer #randomBetween:and: . "Going to the class side of Float makes sense because you create a new instance." But I'm not so sure about putting this on the class si

[Pharo-users] UTF-8 encoding

2018-04-16 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Regarding the problems I have with my firstname and file paths and utf-8 encoding, I found something weird in the UTF-8 encoding.  In fact, to be more precise, I found something strange when converting a String to a ByteArray (which UTF-8 encoders convert from) If I look at

Re: [Pharo-users] UTF-8 encoding

2018-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2018, at 17:06, Benoit St-Jean via Pharo-users > wrote: > > > From: Benoit St-Jean > Subject: UTF-8 encoding > Date: 16 April 2018 at 17:06:28 GMT+2 > To: Any question about pharo is welcome > Reply-To: Benoit St-Jean > > > Regarding the problems I have with my firstname and

Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Peter Uhnák
On Mon, Apr 16, 2018 at 12:30 PM, Ben Coman wrote: > On 16 April 2018 at 16:55, Peter Uhnák wrote: > >> Downloaded it. Installed it. Started it. Selected an image. Bam. > The > >> app vanished. > > > > As I've mentioned in several other threads, the way new images are opened > > (the lib tha

Re: [Pharo-users] UTF-8 encoding

2018-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2018, at 17:25, Benoit St-Jean wrote: > > "You cannot do that, that is using a null encoding, which is almost always > wrong." > > Well, that is exactly what happens when translating my "home" path on Windows > 10 ! Then you probably found a bug. As the comment says, the assump

Re: [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Richard Sargent
I ran the launcher against my Windows 7 office computer and have created an issue with my feedback. https://github.com/pharo-project/pharo-launcher/issues/93 On Mon, Apr 16, 2018 at 7:13 AM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > Hi, > > Regarding the various problems Pharo

Re: [Pharo-users] Pharo Launcher

2018-04-16 Thread Ben Coman
On 17 April 2018 at 00:11, Peter Uhnák wrote: > > > On Mon, Apr 16, 2018 at 12:30 PM, Ben Coman wrote: > >> On 16 April 2018 at 16:55, Peter Uhnák wrote: >> >> Downloaded it. Installed it. Started it. Selected an image. Bam. >> The >> >> app vanished. >> > >> > As I've mentioned in several

[Pharo-users] Updating a P7 image

2018-04-16 Thread nacho
Hi, Sorry to ask this potentially stupid question I'm currently using P6.1, but started to take a look at P7. I've noticed that "Software Update" disappeared from the main menu. What is the correct way of updating the P7 image now? Thanks in advance Nacho - Nacho Smalltalker apprentice. Bu

Re: [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Paul DeBruicker
Microsoft allows devs to download VMs for Windows 7, 8, & 10 that work with VirtualBox, Vagrant, VmWare, Parallels, & HyperV here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ They last 90 days and you can install Pharo on them. Their real purpose is to test websites on IE.

Re: [Pharo-users] Playground and Smalltalk script

2018-04-16 Thread Hilaire
The issue can be seen in the built at https://www.dropbox.com/s/a4wb7c6od4fdl9k/DrGeo.app-18.06a.zip?dl=0 In the world menu, just select "Open script", Spotter is open in a folder full of .st scripts, Ctrl-Left does not preview the script content, any idea? Hilaire -- Dr. Geo http://drgeo.e

Re: [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Esteban A. Maringolo
On 16/04/2018 11:13, Christophe Demarey wrote: > So, please could you install and test this new version: and report any > problem with it? http://files.pharo.org/pharo-launcher/win-alpha/ I'm downloading it, but something is wrong with that fileserver, it's downloading at vry slow speeds. C

Re: [Pharo-users] Playground and Smalltalk script

2018-04-16 Thread Tudor Girba
Hi, The preview happens with Ctrl+p (or clicking on the large gray arrow that goes out of the window frame). Ctrl+Right goes inside the selected object and tries to search there. Cheers, Doru > On Apr 16, 2018, at 9:34 PM, Hilaire wrote: > > The issue can be seen in the built at > https://w