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

2018-01-15 Thread Richard O'Keefe
PS: note that a matrix representation of the Life world (a) wastes a ton of space, (b) wastes a ton of time if you iterate over all the cells (because most of them are irrelevant), (c) is awkward to grow, and (d) has problems at the edges (which should not exist). In C or C++ I would not dream of

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

2018-01-15 Thread Richard O'Keefe
I'm reading this in gmail. After "this method work:" I see a gap with nothing visible. After "wich looks like this" there is again a gap with nothing visible. Recalling that the Life universe is an *infinite* two-dimensional space, you want a data structure that naturally grows to be as big as

Re: [Pharo-users] [ANN] Bittrex API

2018-01-15 Thread Hernán Morales Durand
Hi Ben 2018-01-15 4:53 GMT-03:00 Ben Coman : > On 15 January 2018 at 14:19, Hernán Morales Durand > wrote: >> Hi Ben, >> >> Thank you for sharing this, looks really cool. >> > > > >> I have some issues installing the library. In the "Clone

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

2018-01-15 Thread Photon
So for those of you who are interested or maybe is struggeling himself. I did it now in a more C fashion if i can call it like that. I don`t know if its even legit :P I managed to make the game work based on this method, the rest was easy. At least enough for tonight. Tomorrow I try to add a nice

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

2018-01-15 Thread PAUL DEBRUICKER
Hi - Should #resetEntity be called automatically for long lived sessions ? I see that it is called automatically for HEAD and DELETE methods. If you do a |client | client:=ZnClient new. client get: 'http://example.com/getPath' client inspect client post: 'http://example.com' contents:'My

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

2018-01-15 Thread Ben Coman
On 16 January 2018 at 05:47, Nicolai Hess wrote: > > > 2018-01-15 18:04 GMT+01:00 Photon : >> >> when I call the countNeighbours method i get an error: the block wants two >> arguments but I pass only one. >> This is probally because i want to pass x y

Re: [Pharo-users] Pharo-users Digest, Vol 57, Issue 39

2018-01-15 Thread Richard Sargent
"Worse is that Gemtalk sees Gemstone as a separate entity. Object persistence requires application level integration ie. gemstone requires you to develop your app and have it run in the stone in order to persist. The Gemtalk philosophy is thus flawed on the face of it." I would like to offer

Re: [Pharo-users] [Moose-dev] [ann] gt connector

2018-01-15 Thread Ben Coman
On 15 January 2018 at 05:54, Tudor Girba wrote: > Hi, > > Towards the end of last year we worked on GT Connector, a new kind of > interface that allows us to exercise and test the limits (or the lack > thereof) of Bloc. > > It looks like this: > > You can see it in action

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

2018-01-15 Thread Nicolai Hess
2018-01-15 18:04 GMT+01:00 Photon : > when I call the countNeighbours method i get an error: the block wants two > arguments but I pass only one. > This is probally because i want to pass x y but only really pass x wich > ends > up being a cell and not the index. > > I still

Re: [Pharo-users] Pharo-users Digest, Vol 57, Issue 39

2018-01-15 Thread Ben Coman
On 15 January 2018 at 21:42, Ian Ian wrote: > > For my money: > > * Gemtalk should integrate development tools directly into Gemstone > > I reiterate that Pharo with built in persistence as in a fully integrated > Gemstone is, IMHO, the best approach to take. Hi Ian, You

Re: [Pharo-users] Trying to test Phantom / aspects in Pharo

2018-01-15 Thread Steven Costiou
Hi, thanks for the info :) Is your version for pharo 6.0 somewhere i can download it ? Steven. Le 2018-01-15 19:17, alvaro piorno a écrit : > Hi, > A friend and i worked on phatom to make it work on actual pharo versions(at > that momento was 6.0 or 6.1) and could make examples work and

Re: [Pharo-users] Trying to test Phantom / aspects in Pharo

2018-01-15 Thread Steven Costiou
Hi, i've made it work with an old Pharo 3 (by importing one class from Pharo 1.6 and commenting some code). I think everything works. It would be nice to have it on latest Pharo, but i have no idea what is the effort of porting it. Also it could be interesting to change the backend and use

Re: [Pharo-users] Iceberg Branching

2018-01-15 Thread Evan Donahue
Hi, I think it's ok. I had accidentally gotten a 70 alpha version. Workflow seems fine on 61 and 70 stable versions. I tried to go in again and see what the error message was on the alpha version, but something else went wrong, and then I discovered that it had somehow found my actual working

Re: [Pharo-users] Trying to test Phantom / aspects in Pharo

2018-01-15 Thread alvaro piorno
Hi, A friend and i worked on phatom to make it work on actual pharo versions(at that momento was 6.0 or 6.1) and could make examples work and lot of tests to pass. My partner went deeper into this, maybe she can help. (sosa.ine...@gmail.com ) 2018-01-14 21:31 GMT-03:00 Miguel Campusano

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

2018-01-15 Thread Photon
when I call the countNeighbours method i get an error: the block wants two arguments but I pass only one. This is probally because i want to pass x y but only really pass x wich ends up being a cell and not the index. I still have trouble thinking it trough. The indicieDo: method seems to make

Re: [Pharo-users] [Moose-dev] [ann] gt connector

2018-01-15 Thread Glenn Hoetker
Wow! This is really cool and has lots of potential use cases. Being able to navigate through classes and their methods this way would be especially helpful in overcoming what I’ve found to be a challenge in Smalltalk. On the one hand, the practice of breaking code into many small methods,

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

2018-01-15 Thread Photon
when I call the countNeighbours method i get an error: the block wants two arguments but I pass only one. This is probally because i want to pass x y but only really pass x wich ends up being a cell and not the index. I still have trouble thinking it trough. The indicieDo: method seems to make

Re: [Pharo-users] [ANN] OpenSSL-Pharo works on Windows

2018-01-15 Thread Francisco Ortiz Peñaloza
Thanks! Francisco On Mon, Jan 15, 2018 at 8:20 AM, Tudor Girba wrote: > Thanks a lot! > > Doru > > > > On Dec 20, 2017, at 8:55 AM, Pierce Ng wrote: > > > > Hi all, > > > > OpenSSL-Pharo now works on Windows. Tested on Windows 10 with a fresh >

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

2018-01-15 Thread Nicolai Hess
2018-01-15 15:29 GMT+01:00 Photon : > Hello folks, > > I am trying since yesterday to make a game of life implemenation work. It > looks all ok so far but in can`t figure out the final steps. I think I get > the logic I have to use and if I imagine the code in C++ for example

Re: [Pharo-users] [Moose-dev] [ann] gt connector

2018-01-15 Thread Alexandre Bergel
Impressive!! Would be used for a visual implementer/sender browser Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Jan 14, 2018, at 6:54 PM, Tudor Girba wrote:

Re: [Pharo-users] Databases

2018-01-15 Thread Sven Van Caekenberghe
> On 15 Jan 2018, at 16:34, Esteban A. Maringolo wrote: > > 2018-01-15 12:25 GMT-03:00 Sven Van Caekenberghe : > >>> On 15 Jan 2018, at 10:55, Sven Van Caekenberghe wrote: > >>> To add to your list, I recently wrote a new PostgreSQL client,

Re: [Pharo-users] Databases

2018-01-15 Thread Esteban A. Maringolo
2018-01-15 12:25 GMT-03:00 Sven Van Caekenberghe : >> On 15 Jan 2018, at 10:55, Sven Van Caekenberghe wrote: >> To add to your list, I recently wrote a new PostgreSQL client, P3, that is >> using only TCP networking (no native library mess). > > Another important

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

2018-01-15 Thread Photon
Hello folks, I am trying since yesterday to make a game of life implemenation work. It looks all ok so far but in can`t figure out the final steps. I think I get the logic I have to use and if I imagine the code in C++ for example it would be pretty much straight forward. But with pharo I got

Re: [Pharo-users] Pharo-users Digest, Vol 57, Issue 39

2018-01-15 Thread Ian Ian
W.R.T Database Connectivity: Hi All, The database connectivity issue as discussed is near and dear to my evaluation of Smalltalk(s). It is a huge problem/stumbling block as I see it. Here Is a cut and paste of my replay to the Gemstone users group: > Hi Dale,

[Pharo-users] [Seaside] WAComponent instances tree + proper page refreshing for user (back button) - confusion

2018-01-15 Thread Petr Fischer
Hello, sorry for crossposting (from Seaside list), but I probably do not understand something very basic in Seaside - how to properly refresh instantiated WAComponent tree (data views) and when (+ back button problems). Seaside manual says ("About Callbacks" section): "Do not change state

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

2018-01-15 Thread Steffen Märcker
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 it possible to add this behavior, e.g., via a custom primitive? Best,

Re: [Pharo-users] [ANN] OpenSSL-Pharo works on Windows

2018-01-15 Thread Tudor Girba
Thanks a lot! Doru > On Dec 20, 2017, at 8:55 AM, Pierce Ng wrote: > > Hi all, > > OpenSSL-Pharo now works on Windows. Tested on Windows 10 with a fresh 32-bit > Pharo 6.1 zip package downloaded from pharo.org. On Windows this library uses > libeay.dll which is bundled

Re: [Pharo-users] [Moose-dev] [ann] gt connector

2018-01-15 Thread Kjell Godo
i want to use it

Re: [Pharo-users] [Moose-dev] [ann] gt connector

2018-01-15 Thread Sven Van Caekenberghe
> On 14 Jan 2018, at 22:54, Tudor Girba wrote: > > Hi, > > Towards the end of last year we worked on GT Connector, a new kind of > interface that allows us to exercise and test the limits (or the lack > thereof) of Bloc. > > It looks like this: > > > You can see

Re: [Pharo-users] Iceberg Branching

2018-01-15 Thread Esteban Lorenzano
yes, as Stef says, branching works ok… maybe you can describe what you are trying to do, in case is a workflow not yet covered? Esteban > On 14 Jan 2018, at 10:23, Stephane Ducasse wrote: > > Hi evan > > can you describe what you are doing because branching normally

Re: [Pharo-users] Pharo Lecture at Tunis next week

2018-01-15 Thread Serge Stinckwich
Thank you Stéphane for your continued effort to do Pharo lectures all around the world. I try do to the same in Cameroon. On Sat, Jan 13, 2018 at 1:36 PM, Stephane Ducasse wrote: > Hi guys > > just to tell you that next week I will give a lecture at ENIS at tunis. > 3