Re: [Pharo-users] Xcode's Swift Playground

2014-06-02 Thread Yuriy Tymchuk
Sent from my iPhone > On 03 Jun 2014, at 12:03, darrinm wrote: > > This is the sort of thing Smalltalk seems well suited for (live coding w/ > value and iteration display). Does anyone know of something like it that has > been done before in Smalltalk? Look, this video was done a year ago ht

Re: [Pharo-users] Xcode's Swift Playground

2014-06-02 Thread jtuc...@objektfabrik.de
I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk. What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own b

[Pharo-users] Xcode's Swift Playground

2014-06-02 Thread darrinm
This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk? I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://develo

Re: [Pharo-users] NeoJSON mapping of nil properties

2014-06-02 Thread stepharo
and now available as pdf and html in the pfte project :) https://github.com/SquareBracketAssociates/PharoForTheEnterprise-english and https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/NeoJSON/NeoJSON.pier.html Stef

Re: [Pharo-users] NeoJSON mapping of nil properties

2014-06-02 Thread stepharo
found it and converting it to pillar https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md Stef On 2/6/14 22:19, stepharo wrote: Sven I added a section to new empty chapter on NeoJSON :) Do you have a doc about NeoJSON that I can use to fill up the chapter :) On 29/5/14 14:39,

Re: [Pharo-users] NeoJSON mapping of nil properties

2014-06-02 Thread stepharo
Sven I added a section to new empty chapter on NeoJSON :) Do you have a doc about NeoJSON that I can use to fill up the chapter :) On 29/5/14 14:39, Esteban A. Maringolo wrote: 2014-05-28 16:03 GMT-03:00 Sven Van Caekenberghe : Hi Esteban, Your wish is my command ;-) In #bleedingEdge you can

Re: [Pharo-users] Bug in Nautilus... (Pharo 3)

2014-06-02 Thread stepharo
If I try to "move to another package" a class I always get an exception. Yes me too and I added a bug entry. Thanks for reporting and we should fix that. Try moving any class present in the standard Pharo 3 to AST-Core, for example... Anyway, thanks for the great work you are doing. Tx

Re: [Pharo-users] HTML5 Generation

2014-06-02 Thread stepharo
Now it would be really nice to have the seaside canvas as a separate component. So may be trying for a couple of day should work. I do not see why you would not succeed. Stef On 2/6/14 14:43, Esteban A. Maringolo wrote: You can get an HTML canvas to render on it. WAHtmlCanvas builder render:

Re: [Pharo-users] [SummerTalk] Refactoring in Pharo

2014-06-02 Thread stepharo
- adding refactoring to several tools (sender/implementors). - adding Node to cover Package and Class + visit method - improve some refactorings - add deprecated all these changes should be reviewed and integrated in Pharo 40. - restart the work on gisela on rewrite rules support. Stef On 2/6/14

Re: [Pharo-users] Some TDD Coding Kata videos

2014-06-02 Thread stepharo
thanks this is great we were just talking about kata during our team meeting :) On 2/6/14 16:46, Attila Magyar wrote: I'd like to share some videos about TDDing codeing katas. http://smalltalkhub.com/#!/~zeroflag/TDD-Kata Most of them are solved in a "TDD as if you meant it" style, so the cod

Re: [Pharo-users] [SummerTalk] Refactoring in Pharo

2014-06-02 Thread stepharo
Please :) On 2/6/14 17:43, Yuriy Tymchuk wrote: C'est cool. We should work together, as I'm working on code critics. I have to visit you somehow :) Uko Sent from my iPhone On 02 Jun 2014, at 19:49, Mark Rizun > wrote: Hi guys! I'm happy to announce you, that I

Re: [Pharo-users] [SummerTalk] Refactoring in Pharo

2014-06-02 Thread Esteban Lorenzano
this is cool :) I would like to know the scope of your work, and to build together a path to integration… I would hate something so important is lost (is not the first time some work on refactoring is waisted because we do not integrate it in time…) Esteban On 02 Jun 2014, at 12:43, Yuriy Tymch

Re: [Pharo-users] [SummerTalk] Refactoring in Pharo

2014-06-02 Thread Yuriy Tymchuk
C'est cool. We should work together, as I'm working on code critics. I have to visit you somehow :) Uko Sent from my iPhone > On 02 Jun 2014, at 19:49, Mark Rizun wrote: > > Hi guys! > > I'm happy to announce you, that I will be working on SummerTalk project > entitled "Refactoring in Phar

[Pharo-users] Some TDD Coding Kata videos

2014-06-02 Thread Attila Magyar
I'd like to share some videos about TDDing codeing katas. http://smalltalkhub.com/#!/~zeroflag/TDD-Kata Most of them are solved in a "TDD as if you meant it" style, so the code is written in the test at first, and factored out later. During this I tried to use as much refactoring as possible, ins

[Pharo-users] [SummerTalk] Refactoring in Pharo

2014-06-02 Thread Mark Rizun
Hi guys! I'm happy to announce you, that I will be working on SummerTalk project entitled "Refactoring in Pharo" with RMoD. Obviously, it's about refactoring system in Pharo. The goal of this project is to improve existing refactrings in Pharo and add some new ones. If you are interested in this

Re: [Pharo-users] HTML5 Generation

2014-06-02 Thread Esteban A. Maringolo
You can get an HTML canvas to render on it. WAHtmlCanvas builder render: [:html | html heading level: 1; with: 'Hello world!' ] This will output a string the html document. Regards! Esteban A. Maringolo 2014-06-02 8:42 GMT-03:00 Larry Staton Jr. : > I’m writing an implementation

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread José Comesaña
Hi Sven 2014-06-02 12:59 GMT+02:00 Sven Van Caekenberghe : > Hi José, > > Thanks for your feedback, suggestions and code. I incorporated a slightly > changed version (fixing the precision issue; you also did not provided the > necessary changes to support writing Fractions and ScaledDecimals). I

Re: [Pharo-users] HTML5 Generation

2014-06-02 Thread Damien Cassou
On Mon, Jun 2, 2014 at 1:42 PM, Larry Staton Jr. wrote: > I'm not sure if I can just pull in the HTML generation and leave out the rest. I tried for a minute or two and this is not that simple. What I did is reimplementing something much less powerful (but that was ok for my use case): canvas t

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread jtuc...@objektfabrik.de
Sorry, I'm trying to do too many things at the same time... Am 02.06.14 13:40, schrieb jtuc...@objektfabrik.de: Okay, here we go ;-) VisualWorks also prints the trailing zeros. So maybe the weirdness lies on the VAST side ;-) VisualWorks also prints the ScaledDecimal without its scale. it pr

[Pharo-users] HTML5 Generation

2014-06-02 Thread Larry Staton Jr.
I’m writing an implementation of Webmachine[1] in Pharo and I’m at the point where I need to generate some resources. Webmachine does not care how you represent your resources, so I’m looking for a way to represent my resources in text/html (or application/xml+xhtml). In Ruby, I use ROAR[2] with

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread jtuc...@objektfabrik.de
Okay, here we go ;-) VisualWorks also prints the trailing zeros. So maybe the weirdness lies on the VAST side ;-) VisualWorks also prints the ScaledDecimal without its scale. It does parse all three correctly: 0.500s3 0.5s3 0.500 Joachim Am 02.06.14 13:35, schrieb jtuc...@objektfabrik.de:

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread jtuc...@objektfabrik.de
Am 02.06.14 13:03, schrieb Sven Van Caekenberghe: Apart from the class name, another issue is that 0.5s3 prints as 0.500s3 in Pharo, the trailing zeros are possibly not added everywhere. Hmm, that looks strange to me. If you DisplayIt a 0.5s3 in VAST, you get 0.5. If you inspect it, it is d

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
On 02 Jun 2014, at 09:34, jtuc...@objektfabrik.de wrote: > Hi, > > VA Smalltalk comes with ScaledDecimal, and as far as I know, it always print > out the scale of a number, because it could be something like 0.5s3. And I'd > guess ScaledDecimal or FixedPoint are pretty common, because the use

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
On 02 Jun 2014, at 02:06, José Comesaña wrote: > One last thing. If you do: > > sd := STON fromString: '1345.76s2'. > sd2 := ScaledDecimal readFromString: '1345.76s2'. > > you can note that sd = sd2 returns false, and that sd - sd2 returns 0.00s2. > Both numbers are different in the order of

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread Sven Van Caekenberghe
Hi José, Thanks for your feedback, suggestions and code. I incorporated a slightly changed version (fixing the precision issue; you also did not provided the necessary changes to support writing Fractions and ScaledDecimals). I also added some unit tests. In #bleedingEdge: === Name: STON-Core

Re: [Pharo-users] STON on ScaledDecimal?

2014-06-02 Thread jtuc...@objektfabrik.de
Hi, VA Smalltalk comes with ScaledDecimal, and as far as I know, it always print out the scale of a number, because it could be something like 0.5s3. And I'd guess ScaledDecimal or FixedPoint are pretty common, because the use of this class has been encouraged for the modelling of monetary am