[Pharo-users] [ANN] PharoLauncher v1.1 released!

2018-01-16 Thread Christophe Demarey
Hi all, I just released PharoLauncher 1.1. There are now 64-bits versions for Mac and Linux. Jenkins build is now managed through a Jenkins file. Here is the changelog (details on https://github.com/pharo-project/pharo-launcher/issues): New features: #66 new command: import an image int

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-16 Thread Ben Coman
On 16 January 2018 at 22:05, Photon wrote: > That looks ideed cool thanx Nicolai for the hint. > > @Ben du you have an idea how to store the prevoius generations? I case > something cool happens and you want to rewind to have a closer look In a well designed app, you'd have "grid" instance variab

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-16 Thread Photon
That looks ideed cool thanx Nicolai for the hint. @Ben du you have an idea how to store the prevoius generations? I case something cool happens and you want to rewind to have a closer look -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-16 Thread Ben Coman
@nicolai, Thx for the cool tip. #eightNeighbors is new to me and I was curious to try it. So below is one way to have Life with it. For conciseness of this post, please excuse that I've roughly used booleans directly as grid elements rather a nicely encapsulated Cell object. Object subclass:

Re: [Pharo-users] How to declare a do:[] loop for a matrix to read and acces its elements?

2018-01-16 Thread Photon
Thank for your answer. Those are awesome tips :) If you read my posts in the forum you should be able to read what I wrote. Its because whenever I insert raw text it gets deletet right away and I have to edit the post and put it back in. Anyways in my last post you see how i did it. I think you ar

Re: [Pharo-users] Set Rounding mode for IEEE floating point operations

2018-01-16 Thread Serge Stinckwich
On Mon, Jan 15, 2018 at 12:27 PM, Steffen Märcker wrote: > Hi, > > is there any way to set the rounding mode for IEEE floating point > operations? Maybe something like > > Double roundToMinusInfWhile: [... code goes here ...]Double >> roundToZeroWhile: [... more code here ...] >> > > If not, is i

Re: [Pharo-users] ZnClient POST then GET of different URL path, GET has POST's entity

2018-01-16 Thread Sven Van Caekenberghe
Hi Paul, Your analysis is correct: #resetEntity is (by default) only called before executing HEAD and DELETE methods and not (by default) before a GET (nor a PUT or POST). The reason is that ZnClient is (also) a builder to construct requests. One of the features of the builder is that it lets