Re: [Pharo-dev] Is there an official JSON parser/writer?

2015-05-27 Thread stepharo
Le 26/5/15 18:40, Esteban A. Maringolo a écrit : Hi, tl;dr: Question: Which JSON library is the "recommended" one? Long: I'm modifying the PostgresV2 package to support JSON datatype but instead of using the JSON package from PharoExtras I'm trying to use NeoJSON. The problem is no JSON par

Re: [Pharo-dev] Is there an official JSON parser/writer?

2015-05-27 Thread stepharo
Le 26/5/15 19:14, Guillermo Polito a écrit : And even if STON is integrated, PostgresV2 configuration should include a dependency against it (because in the not so remote future we will need explicit dependency information to build images). + 100 Mking dependencies explicit is the only

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread stepharo
Read fun with numbers in deep into pharo :) Le 27/5/15 05:00, Sean P. DeNigris a écrit : Why does "1 = 1.0" but "273.15 ~= (5463/20)"? You must send #asFloat to the fraction to answer true... - Cheers, Sean -- View this message in context: http://forum.world.st/Inconsistent-number-compar

Re: [Pharo-dev] Beyond RPackages: RPackageTag and DynamicGroup

2015-05-27 Thread Marcus Denker
> On 28 May 2015, at 01:56, Sergio Fedi wrote: > > Hi list! > > As we are adding comments to Packages in Pharo, we stumbled upon the fact > that there are other creatures present in the package list. > > These are: > > RPackageTag, which models the tags under the package > DynamicGroup, whic

Re: [Pharo-dev] Beyond RPackages: RPackageTag and DynamicGroup

2015-05-27 Thread stepharo
Le 28/5/15 01:56, Sergio Fedi a écrit : Hi list! As we are adding comments to Packages in Pharo, we stumbled upon the fact that there are other creatures present in the package list. These are: RPackageTag, which models the tags under the package DynamicGroup, which model the dynamic categ

Re: [Pharo-dev] LinkedIn presence

2015-05-27 Thread Yuriy Tymchuk
yes, here it is: https://www.linkedin.com/grp/home?gid=2558378 Uko > On 28 May 2015, at 01:46, Sergio Fedi wrote: > > Hi, does Pharo have a presence on LinkedIn? > > I want to indicate my (tiny) contribution to the Pharo project and I don't >

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Florin Mateoc
On 5/27/2015 1:29 PM, Nicolas Cellier wrote: > > > 2015-05-27 14:24 GMT+02:00 Sean P. DeNigris >: > > Nicolas Cellier wrote > > Also because it's good to know that 1/10 ~= 0.1 > > Why? It's an implementation detail. #= unlike #== is IIUC supposed to be >

[Pharo-dev] Beyond RPackages: RPackageTag and DynamicGroup

2015-05-27 Thread Sergio Fedi
Hi list! As we are adding comments to Packages in Pharo, we stumbled upon the fact that there are other creatures present in the package list. These are: RPackageTag, which models the tags under the package DynamicGroup, which model the dynamic categories of LastModifiedClasses, MostViewedClasse

[Pharo-dev] LinkedIn presence

2015-05-27 Thread Sergio Fedi
Hi, does Pharo have a presence on LinkedIn? I want to indicate my (tiny) contribution to the Pharo project and I don't find it as an Organization.

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Nicolas Cellier
2015-05-27 14:15 GMT+02:00 Sean P. DeNigris : > Nicolas Cellier wrote > > we want to have this property a=b & (a=c) ==> (b=c). > > If IUC it sounds more inconsistent because > (5463/20) = (10926/40) "true" > > > What is less consistent is that these fractions are all different: fractions := (10

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Nicolas Cellier
2015-05-27 14:24 GMT+02:00 Sean P. DeNigris : > Nicolas Cellier wrote > > Also because it's good to know that 1/10 ~= 0.1 > > Why? It's an implementation detail. #= unlike #== is IIUC supposed to be > logical to the domain, and math doesn't make any distinction about how bits > are stored ;) > > >

Re: [Pharo-dev] translateBy: vs translatedBy:

2015-05-27 Thread Ben Coman
On Wed, May 27, 2015 at 8:51 PM, Damien Pollet wrote: > There is a discussion of such idioms in the I will present at ESUG. I only > looked at the API of String, but I'm sure most naming idioms apply to any > class. The question is, how do you ensure they are applied and complete? Hard to be perf

[Pharo-dev] [Request]: Review Issue 15399: SmalltalkImage: Thin Proliferation of File Access Messages

2015-05-27 Thread Sean P. DeNigris
https://pharo.fogbugz.com/default.asp?15399 Fix in inbox: SLICE-Issue-15399-SmalltalkImage-Thin-Proliferation-of-File-Access-Messages-SeanDeNigris.2 ### Motivation There was a proliferation of methods in SmalltalkImage for accessing files like sources, changes, and image. The problems were twofol

Re: [Pharo-dev] Parser missing something

2015-05-27 Thread Nicolai Hess
2015-05-27 16:27 GMT+02:00 Stephan Eggermont : > 50069 > > When the cursor is between the parenthesis, > I get a MNU RBParseErrorNode>>addParenthesis: > when typing anything > > drawOn: aCanvas > |lines| > super drawOn: aCanvas. > lines := segments size - 1. > 1 to:

[Pharo-dev] Parser missing something

2015-05-27 Thread Stephan Eggermont
50069 When the cursor is between the parenthesis, I get a MNU RBParseErrorNode>>addParenthesis: when typing anything drawOn: aCanvas |lines| super drawOn: aCanvas. lines := segments size - 1. 1 to: lines do: [:index | |x| x :=self extent x + ( )

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Serge Stinckwich
On Wed, May 27, 2015 at 3:56 PM, Damien Cassou wrote: > > Serge Stinckwich writes: > >> I guess we should have a look how Emacs solve this keybinding issue >> regarding multiple platforms. > > Emacs works really well in this regard and should be used as a > reference. If you have any specific que

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Damien Cassou
Serge Stinckwich writes: > I guess we should have a look how Emacs solve this keybinding issue > regarding multiple platforms. Emacs works really well in this regard and should be used as a reference. If you have any specific question, I can have a look. -- Damien Cassou http://damiencassou.s

Re: [Pharo-dev] Incorrect Class Variable Highlighting?

2015-05-27 Thread Nicolai Hess
2015-05-27 15:22 GMT+02:00 Sean P. DeNigris : > Looks like a bug... Shall I open an issue? > > It is a know issue 15573 AST Syntax highlight: Class Vars are coloured wrong > > > > -

[Pharo-dev] Incorrect Class Variable Highlighting?

2015-05-27 Thread Sean P. DeNigris
Looks like a bug... Shall I open an issue? - Cheers, Sean -- View this message in context: http://forum.world.st/Incorrect-Class-Variable-Highlighting-tp4828900.html Sent from the Pharo Smalltalk Developers mailing list ar

Re: [Pharo-dev] translateBy: vs translatedBy:

2015-05-27 Thread Damien Pollet
There is a discussion of such idioms in the I will present at ESUG. I only looked at the API of String, but I'm sure most naming idioms apply to any class. The question is, how do you ensure they are applied and complete? On 27 May 2015 at 01:14, Ben Coman wrote: > > > > On Tue, May 26, 2015 at

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Sean P. DeNigris
SergeStinckwich wrote > how Emacs solve this keybinding issue For one thing, Emacs gives the underlying platform the finger and institutes the same set of unintelligible keybindings regardless of platform conventions ;) - Cheers, Sean -- View this message in context: http://forum.world.st/

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Sean P. DeNigris
Nicolas Cellier wrote > Also because it's good to know that 1/10 ~= 0.1 Why? It's an implementation detail. #= unlike #== is IIUC supposed to be logical to the domain, and math doesn't make any distinction about how bits are stored ;) - Cheers, Sean -- View this message in context: http://

Re: [Pharo-dev] OSWindow VM event creation

2015-05-27 Thread stepharo
Last time when I took notes I wrote https://github.com/pharo-project/pharo-workingRoadmaps/blob/master/Events.md but we are wondering how the VM event (not the SDL2 events) are passed to the OSWindow VM driver. but it looks that this is not done. Le 27/5/15 14:30, stepharo a écrit : Hi guys

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Sean P. DeNigris
Nicolas Cellier wrote > we want to have this property a=b & (a=c) ==> (b=c). If IUC it sounds more inconsistent because (5463/20) = (10926/40) "true" - Cheers, Sean -- View this message in context: http://forum.world.st/Inconsistent-number-comparison-tp4828795p4828890.html Sent from the

[Pharo-dev] OSWindow VM event creation

2015-05-27 Thread stepharo
Hi guys with alain we are looking for the place where events are created in OSWindow. We are looking for the the event created by the visitor on top of SDL2 event but for the compatible version ie the event created by the default vm. We are looking for the place where the event created by the

Re: [Pharo-dev] Is there an official JSON parser/writer?

2015-05-27 Thread Stephan Eggermont
On 26-05-15 21:37, Esteban A. Maringolo wrote: 2015-05-26 16:15 GMT-03:00 Stephan Eggermont : On 26/05/15 18:40, Esteban A. Maringolo wrote: I'm modifying the PostgresV2 package to support JSON datatype but instead of using the JSON package from PharoExtras I'm trying to use NeoJSON. Is the

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Nicolas Cellier
2015-05-27 11:00 GMT+02:00 Nicolas Cellier < nicolas.cellier.aka.n...@gmail.com>: > Because there are infinitely many fractions that are approximately equal > to 273.15 (the float). > and because we want to have this property a=b & (a=c) ==> (b=c). > > Nicolas > > Also because it's good to know th

Re: [Pharo-dev] Inconsistent number comparison?

2015-05-27 Thread Nicolas Cellier
Because there are infinitely many fractions that are approximately equal to 273.15 (the float). and because we want to have this property a=b & (a=c) ==> (b=c). Nicolas 2015-05-27 5:00 GMT+02:00 Sean P. DeNigris : > Why does "1 = 1.0" but "273.15 ~= (5463/20)"? You must send #asFloat to the > fr

Re: [Pharo-dev] strange code in RBRefactoringTest

2015-05-27 Thread Christophe Demarey
Le 27 mai 2015 à 09:55, Marcus Denker a écrit : > >> On 27 May 2015, at 09:46, Christophe Demarey >> wrote: >> >> hi, >> >> Does anyone knows if there is a particular reason to write this kind of code >> (snippet from RBRefactoringTest>>setUp >> >> assoc := RBRefactoringManager classP

Re: [Pharo-dev] Fwd: [cormas] [Cormas] Proposition de stage en informatique

2015-05-27 Thread Serge Stinckwich
Yes, this will be an option to investigate I guess. 2015-05-27 10:25 GMT+02:00 Torsten Bergmann : > Is this related to Dynacase? > http://astares.blogspot.de/2015/03/dynacase-modelling-for-pharo.html > > >> Gesendet: Mittwoch, 27. Mai 2015 um 08:46 Uhr >> Von: "Serge Stinckwich" >> An: "Any que

Re: [Pharo-dev] Fwd: [cormas] [Cormas] Proposition de stage en informatique

2015-05-27 Thread Torsten Bergmann
Is this related to Dynacase? http://astares.blogspot.de/2015/03/dynacase-modelling-for-pharo.html > Gesendet: Mittwoch, 27. Mai 2015 um 08:46 Uhr > Von: "Serge Stinckwich" > An: "Any question about pharo is welcome" , > "Moose-related development" , > "smalltalk...@googlegroups.com" , > small

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Nicolai Hess
2015-05-27 9:29 GMT+02:00 Guillermo Polito : > Camillo introduced a while ago the meta modifier: > > $a meta > > $z meta shift > > meta is sensitive to the current environment and is equivalent to what you > where describing above: > - command in mac > - control in windows/unix > > What should

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Serge Stinckwich
Yes meta key come from Lisp Machine: http://en.wikipedia.org/wiki/Meta_key I guess we should have a look how Emacs solve this keybinding issue regarding multiple platforms. On Wed, May 27, 2015 at 9:29 AM, Guillermo Polito wrote: > Camillo introduced a while ago the meta modifier: > > $a meta

Re: [Pharo-dev] strange code in RBRefactoringTest

2015-05-27 Thread Marcus Denker
> On 27 May 2015, at 09:46, Christophe Demarey > wrote: > > hi, > > Does anyone knows if there is a particular reason to write this kind of code > (snippet from RBRefactoringTest>>setUp > > assoc := RBRefactoringManager classPool associationAt: #Instance >

Re: [Pharo-dev] strange code in RBRefactoringTest

2015-05-27 Thread Guillermo Polito
I'd say that it looks like a "bug ward". But I think the system should not contain right now classpools with string keys. They should all be symbols. (Smalltalk allClasses gather: [ :class | class classPool keys ]) select: [ :k | k isSymbol not ] should be an empty collection. So you probably ca

[Pharo-dev] strange code in RBRefactoringTest

2015-05-27 Thread Christophe Demarey
hi, Does anyone knows if there is a particular reason to write this kind of code (snippet from RBRefactoringTest>>setUp assoc := RBRefactoringManager classPool associationAt: #Instance ifAbsent: [RBRefactoringManager classPool associationAt: 'Instance'].

Re: [Pharo-dev] Cross platform key modifiers

2015-05-27 Thread Guillermo Polito
Camillo introduced a while ago the meta modifier: $a meta $z meta shift meta is sensitive to the current environment and is equivalent to what you where describing above: - command in mac - control in windows/unix What should be done is to use it in the system :). Guille El lun., 25 de ma

Re: [Pharo-dev] [pharo-project/pharo-core] c9dbbd: 50068

2015-05-27 Thread Sven Van Caekenberghe
> On 27 May 2015, at 08:06, GitHub wrote: > > Branch: refs/heads/5.0 > Home: https://github.com/pharo-project/pharo-core > Commit: c9dbbdb8f54d76633304cbe15a0b0b5864a9c05f > > https://github.com/pharo-project/pharo-core/commit/c9dbbdb8f54d76633304cbe15a0b0b5864a9c05f > Author: Jenkin