Re: [Pharo-dev] [Ann] Stack Android VM

2016-10-23 Thread Denis Kudriashov
Great. Do you have prebuilt apk file? 2016-10-23 22:03 GMT+02:00 Santiago Bragagnolo : >Still far from production. But since i would happy to have some > feedback, I'm happy to show you some progress on the android VM. Not yet > release. But we have already a

Re: [Pharo-dev] [ANN] Scale

2016-10-23 Thread p...@highoctane.be
Ok thanks, that will do for me. Phil On Sun, Oct 23, 2016 at 10:11 PM, Santiago Bragagnolo < santiagobragagn...@gmail.com> wrote: > Thanks Phil! That's not easy to do now, Is mean to be a feature for the > next version. > > By the moment you have to add the variable to SCScriptRunner and >

Re: [Pharo-dev] [Ann] Stack Android VM

2016-10-23 Thread Aliaksei Syrel
AMAZING!!! I will definitely try to compile :) Thanks a lot for this great work! Keep it up! Cheers, Alex On 23 October 2016 at 22:03, Santiago Bragagnolo < santiagobragagn...@gmail.com> wrote: >Still far from production. But since i would happy to have some > feedback, I'm happy to show

Re: [Pharo-dev] [ANN] Scale

2016-10-23 Thread Santiago Bragagnolo
Thanks Phil! That's not easy to do now, Is mean to be a feature for the next version. By the moment you have to add the variable to SCScriptRunner and initialize the value maybe in initialize. This SCScriptRunner is the context of execution of the script. On Sun, 23 Oct 2016 at 21:48

[Pharo-dev] [Ann] Stack Android VM

2016-10-23 Thread Santiago Bragagnolo
Still far from production. But since i would happy to have some feedback, I'm happy to show you some progress on the android VM. Not yet release. But we have already a way of compiling and deploying an image into an android device. You can check it in this repo github.

Re: [Pharo-dev] [ANN] Scale

2016-10-23 Thread p...@highoctane.be
Ah, this is just *beautiful* Thank you thank you thank you for making this available. Question: How is one creating a new scripting object and making it available? (like system etc). Phil On Sun, Oct 23, 2016 at 8:34 PM, Santiago Bragagnolo < santiagobragagn...@gmail.com> wrote: > Hi

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread p...@highoctane.be
I use the Printf package for that. v := 65.456. 'With 2 decimal digits: %5.2f, or 3 like this: %6.3f' printf: {v. v}. With 2 decimal digits: 65.45, or 3 like this: 65.456 It is in http://www.smalltalkhub.com/#!/~philippeback/HOExtras Printf I am just used to C printf and well, I like the way

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread stepharo
Thanks because roundUpTo: did not make it either :) Le 23/10/16 à 18:45, Peter Uhnak a écrit : I usually use 12.221 round: 2 "12.22". Peter On Sun, Oct 23, 2016 at 06:38:47PM +0200, stepharo wrote: 3.1479 roundUpTo: 0.01 is what I was looking for. Stef Le 23/10/16 à 18:35,

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread Dimitris Chloupis
aand I was wrong, my bad On Sun, Oct 23, 2016 at 7:29 PM Dimitris Chloupis wrote: > I think lisp solves this problem by using integers for its floats , or > something along those line, I remember reading about it somewhere when I > was studying common lisp 5 years ago

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread stepharo
3.1479 roundUpTo: 0.01 is what I was looking for. Stef Le 23/10/16 à 18:35, stepharo a écrit : I see. I writing a little example for my new newbies book now how can get only two digits after the . Stef Le 23/10/16 à 18:23, Thierry Goubier a écrit : I think that's called 'welcome to

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread stepharo
I see. I writing a little example for my new newbies book now how can get only two digits after the . Stef Le 23/10/16 à 18:23, Thierry Goubier a écrit : I think that's called 'welcome to the wonderfull world of floating points approximations' and not a bug :( See unums/Gustafson for

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread Dimitris Chloupis
I think lisp solves this problem by using integers for its floats , or something along those line, I remember reading about it somewhere when I was studying common lisp 5 years ago Or maybe my memory fails me On Sun, Oct 23, 2016 at 7:24 PM Thierry Goubier wrote: > I

Re: [Pharo-dev] roundTo: strange behavior

2016-10-23 Thread Thierry Goubier
I think that's called 'welcome to the wonderfull world of floating points approximations' and not a bug :( See unums/Gustafson for something more interesting on the subject. Thierry 2016-10-23 18:16 GMT+02:00 stepharo : > Hi > > I'm wondering if we do not have a bug here > >

[Pharo-dev] roundTo: strange behavior

2016-10-23 Thread stepharo
Hi I'm wondering if we do not have a bug here 12.221 roundTo: 0.1 "12.201" 12.221 roundTo: 0.01 "12.22" Stef

Re: [Pharo-dev] new text model / TxText [was Re: [ANN] Sparta v1.1]

2016-10-23 Thread stepharo
Is there no way Igor can finish this up? Not that I know. I did not get why Igor went totally off like that. Phil Le 23 oct. 2016 12:19, "stepharo" > a écrit : Hi Stef, We are not throwing away anything. The goal is not to

Re: [Pharo-dev] new text model / TxText [was Re: [ANN] Sparta v1.1]

2016-10-23 Thread Sean P. DeNigris
stepharo wrote >> We have no intention of producing an unfinished text model :). > Me neither with igor and txText yet life decided otherwise. You see I > spent at 10 months of salary on txText. I'm not sure if the following qualifies as a rant, but I apologize in advance just in case...

Re: [Pharo-dev] new text model / TxText [was Re: [ANN] Sparta v1.1]

2016-10-23 Thread Tudor Girba
Hi, > On Oct 23, 2016, at 12:18 PM, stepharo wrote: > > >> Hi Stef, >> >> We are not throwing away anything. The goal is not to produce a new model, >> the goal is to find one that matches the requirements. > Don't play with words. >> We already learnt a lot from TxText,

Re: [Pharo-dev] Custom Pharo builds from terminal [ it was (Re: [ANN] Sparta v1.1) ]

2016-10-23 Thread philippe.b...@highoctane.be
What has VTermOutputDriver to do with FilePolicy? Le 23 oct. 2016 12:22, "stepharo" a écrit : > In the bug tracker > > https://pharo.fogbugz.com/f/cases/18650/VTermOutputDriver > > https://pharo.fogbugz.com/f/cases/18649/ > > we got a lot of problems because the monkey

Re: [Pharo-dev] [ANN] Sparta v1.1

2016-10-23 Thread Denis Kudriashov
Hi Aliaksei. 2016-10-19 18:06 GMT+02:00 Aliaksei Syrel : > Hi > > I am happy to announce the release of Sparta v1.1 for Pharo 6. > https://github.com/syrel/Sparta/tree/v1.1 > What you think how difficult to move Morphic to Sparta canvas? In the way Athens support was added

Re: [Pharo-dev] new text model / TxText [was Re: [ANN] Sparta v1.1]

2016-10-23 Thread philippe.b...@highoctane.be
Is there no way Igor can finish this up? Phil Le 23 oct. 2016 12:19, "stepharo" a écrit : > > Hi Stef, >> >> We are not throwing away anything. The goal is not to produce a new >> model, the goal is to find one that matches the requirements. >> > Don't play with words. > > We

Re: [Pharo-dev] Custom Pharo builds from terminal [ it was (Re: [ANN] Sparta v1.1) ]

2016-10-23 Thread stepharo
In the bug tracker https://pharo.fogbugz.com/f/cases/18650/VTermOutputDriver https://pharo.fogbugz.com/f/cases/18649/ we got a lot of problems because the monkey and our build process were using the api we wanted to change. So now we are making the changes one by one. I hope to

Re: [Pharo-dev] new text model / TxText [was Re: [ANN] Sparta v1.1]

2016-10-23 Thread stepharo
Hi Stef, We are not throwing away anything. The goal is not to produce a new model, the goal is to find one that matches the requirements. Don't play with words. We already learnt a lot from TxText, but it has limitations in how to deal with things that are not only text. I can imagine.

Re: [Pharo-dev] MetaLink to conditionally skip a method execution based on an arg

2016-10-23 Thread Peter Uhnak
I was looking at this and ran into some very odd behavior: imagine we have some method: ``` Object subclass: #MyClass. MyClass compile: 'method: arg Transcript crShow: ''executed '', arg asString'. ``` and a simple metalink ``` link := MetaLink new metaObject: Halt; selector: #now;

Re: [Pharo-dev] Custom Pharo builds from terminal [ it was (Re: [ANN] Sparta v1.1) ]

2016-10-23 Thread p...@highoctane.be
Where? On Sun, Oct 23, 2016 at 10:42 AM, stepharo wrote: > Note that all the work on making sure that the image is not writing files > when it is on read only mode is part of making coral installable on unix. > Now if people wants coral they can join the effort. > > stef > >

Re: [Pharo-dev] [ANN] Sparta v1.1

2016-10-23 Thread Tudor Girba
Yes. At this point, there is no fallback implemented. Doru > On Oct 23, 2016, at 10:43 AM, stepharo wrote: > > Doru > > does it mean that right now with Sparta we do not have any fallback? > > Stef > > > Le 21/10/16 à 15:41, Tudor Girba a écrit : >> Hi Clement, >> >>

Re: [Pharo-dev] [ANN] Sparta v1.1

2016-10-23 Thread stepharo
Doru does it mean that right now with Sparta we do not have any fallback? Stef Le 21/10/16 à 15:41, Tudor Girba a écrit : Hi Clement, Thanks for raising this question. In short, Sparta is inspired from Athens and it has a similar structure. So, there is an in-image interface of the

Re: [Pharo-dev] Custom Pharo builds from terminal [ it was (Re: [ANN] Sparta v1.1) ]

2016-10-23 Thread stepharo
Note that all the work on making sure that the image is not writing files when it is on read only mode is part of making coral installable on unix. Now if people wants coral they can join the effort. stef

Re: [Pharo-dev] Custom Pharo builds from terminal [ it was (Re: [ANN] Sparta v1.1) ]

2016-10-23 Thread Esteban Lorenzano
> On 22 Oct 2016, at 20:16, stepharo wrote: > > > > Le 22/10/16 à 17:21, p...@highoctane.be a écrit : >> The st command line handler is pretty much giving the same. >> >> I used scale, it works nicely indeed. >> >> But I want Coral reborn. > >

Re: [Pharo-dev] MetaLink to conditionally skip a method execution based on an arg

2016-10-23 Thread Yuriy Tymchuk
I’ve also described the question with examples on SO: https://stackoverflow.com/questions/40200546/conditionally-skip-a-method-with-matalinks > On 22 Oct 2016, at 23:13, Yuriy Tymchuk wrote: > > Hi. > > Imagine I have method a: and I want to skip the execution (return