Re: [Pharo-dev] Parsing float difference between 2.0 and 3.0, was it on purpose?

2015-02-06 Thread stepharo
Le 5/2/15 10:40, Sven Van Caekenberghe a écrit : On 05 Feb 2015, at 10:36, Ben Coman b...@openinworld.com wrote: I personally would prefer to be able to use exponents. No sure what the big picture is. cheers -ben Of course exponents are still supported ;-) The discussion is about the +

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread stepharo
Hi steven I have a largish project (Siren) that I have developed in ST80/VisualWorks (since 1984) and ported to Squeak in the past. I'm allows looking for a cleaner free ST80 implementation to host the project. Good. I would love to see Siren in Pharo and I'm ready to help. Looking at Pharo,

Re: [Pharo-dev] Parsing float difference between 2.0 and 3.0, was it on purpose?

2015-02-06 Thread Marcus Denker
On 06 Feb 2015, at 09:02, stepharo steph...@free.fr wrote: Le 5/2/15 10:40, Sven Van Caekenberghe a écrit : On 05 Feb 2015, at 10:36, Ben Coman b...@openinworld.com wrote: I personally would prefer to be able to use exponents. No sure what the big picture is. cheers -ben Of course

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread stepharo
Le 5/2/15 11:57, Markus Fritsche a écrit : On Thu, 5 Feb 2015 11:45:53 +0100 Serge Stinckwich serge.stinckw...@gmail.com wrote: - Glamour : https://ci.inria.fr/pharo-contribution/view/Books/job/DeepIntoPharo/lastSuccessfulBuild/artifact/tmp/Glamour.pdf - Zinc :

Re: [Pharo-dev] [pharo-project/pharo-core] 6a5096: 40477

2015-02-06 Thread Marcus Denker
On 05 Feb 2015, at 21:34, Max Leske maxle...@gmail.com wrote: On 05 Feb 2015, at 17:46, Ben Coman b...@openinworld.com mailto:b...@openinworld.com wrote: On Thu, Feb 5, 2015 at 11:12 PM, GitHub nore...@github.com mailto:nore...@github.com wrote: Log Message: ---

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread Sven Van Caekenberghe
On 06 Feb 2015, at 18:03, Ben Coman b...@openinworld.com wrote: On Fri, Feb 6, 2015 at 10:48 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Alejandro, On 06 Feb 2015, at 15:10, Alejandro Infante alejandroinfant...@gmail.com wrote: Hello, I have just found that calling

Re: [Pharo-dev] Howto create a new configuration?

2015-02-06 Thread Nicolai Hess
2015-02-06 1:40 GMT+01:00 Juraj Kubelka juraj.kube...@gmail.com: Well, then I cannot see packages that are not included in the version 2.7. Can you mention some? I will try to make a new version. I want to include the latest versions of Athens-Cairo: Athens-Cairo-NicolaiHess.82 and

Re: [Pharo-dev] Parsing float difference between 2.0 and 3.0, was it on purpose?

2015-02-06 Thread Nicolas Cellier
2015-02-06 16:18 GMT+01:00 Marcus Denker marcus.den...@inria.fr: On 06 Feb 2015, at 11:45, Yuriy Tymchuk yuriy.tymc...@me.com wrote: We have merged the parsers into one, because we had 3 parsers that didn’t have any dedicated use-cases, juts were developed historical as at some point

[Pharo-dev] CFP - IWST 2015

2015-02-06 Thread jannik laval
[Please accept our apologies if you receive multiple copies of this call] [Please send to interested colleagues / mailing-lists] CALL FOR PAPERS IWST15 — International Workshop on

Re: [Pharo-dev] ||

2015-02-06 Thread stepharo
Le 5/2/15 22:47, Eliot Miranda a écrit : Yes, but that's because of historical accident and the difficulty of keeping docs up to date. Perhaps Pharo By Example can fix this? Yes we should. My writing todo is a bit huge :)

Re: [Pharo-dev] Howto create a new configuration?

2015-02-06 Thread Juraj Kubelka
I have changed two methods of the configuration: -=-=- stable: spec symbolicVersion: #stable spec for: #'pharo2.x' version: '2.1'. after some modification in NB made it incompatible with 3.0 spec for: #'pharo3.x' version: '2.3'. spec for: #'pharo4.x'

Re: [Pharo-dev] ||

2015-02-06 Thread stepharo
Really interesting discussion. I like pragmas but this is interesting to see them challenged. Yes, but there end up being lots of naming conventions and they are non-obvious. Whereas pragmas, because they are in-your-face in the methods in question, don't need conventions. They just need

Re: [Pharo-dev] ||

2015-02-06 Thread stepharo
Le 6/2/15 19:15, Thierry Goubier a écrit : The good old finder has a pragmas search mode which allows for a bit of discoverability (pragma users), but it doesn't link to the code exploiting the pragmas. Do you know if we have something specific on SmartSuggestions for pragmas? point taken.

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Andreas Wacknitz
Am 06.02.15 12:43, schrieb Sean P. DeNigris: Markus Fritsche-4 wrote +1 to that one. Yes, I also find it difficult - much more so when I was new to the community, but even still a bit now. Coral, Zinc, Seaside, Opal - may be catchy, but when I'm browsing the system, I just want to see where

Re: [Pharo-dev] ||

2015-02-06 Thread stepharo
I would love to see an editor, which works on the AST directly - aka it maps the source code to AST nodes, and just updates the smallest possible subtree at each keystroke. Implementing such editor has it's challenges ofc, like typing a single character can invalidate the whole code, but the

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread stepharo
Le 6/2/15 16:31, Sven Van Caekenberghe a écrit : Yes, but that is not really provided as a #catalog* method, is it ? There is #catalogDescription, but that is some lines of text. There should be something like #catalogLabel for a sjort one-line title style label. if configuration would be

Re: [Pharo-dev] development workflow for GTools (GToolkitCore)

2015-02-06 Thread stepharo
Would it be possible/desirable to have a system such that: * bug fixes for external packages can be still be directly applied and tested in the Pharo-integrated branch * the CI workflow generates an updated ConfigurationOf{external package} that it pushes back to the external package

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread stepharo
I would have like to know when I wrote the chapter in deepinto pharo about 2 complement... Stef (These kinds of questions should be asked on pharo-us...@lists.pharo.org) You can only represent positive numbers as ByteArrays, because to represent negative numbers you have to decide how to do

Re: [Pharo-dev] [Slots] Invisible Slots

2015-02-06 Thread stepharo
I want relationships for certain modeling purposes What I like is that we should arrive to get a collection of useful slots with optimal implementation instead all of us reinventing the wheel. Stef Le 6/2/15 18:15, Marcus Denker a écrit : On 06 Feb 2015, at 11:50, Marcus Denker

Re: [Pharo-dev] ||

2015-02-06 Thread Thierry Goubier
2015-02-06 18:29 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: On Fri, Feb 6, 2015 at 1:58 AM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used mainly for two things:

Re: [Pharo-dev] ||

2015-02-06 Thread Thierry Goubier
2015-02-06 18:41 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: Or are you talking about the lack of class pragmas? This is a point. But classes already have an executable hook they can use for system modification, their class-side initialize and obsolete methods. That's been used for a

Re: [Pharo-dev] ||

2015-02-06 Thread Eliot Miranda
On Fri, Feb 6, 2015 at 2:12 PM, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-06 18:29 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: On Fri, Feb 6, 2015 at 1:58 AM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Sean P. DeNigris
Markus Fritsche-4 wrote +1 to that one. Yes, I also find it difficult - much more so when I was new to the community, but even still a bit now. Coral, Zinc, Seaside, Opal - may be catchy, but when I'm browsing the system, I just want to see where the darn WebClient is, not mine for minerals or

Re: [Pharo-dev] [pharo-project/pharo-core] 6a5096: 40477

2015-02-06 Thread stepharo
+1 STef Le 5/2/15 21:34, Max Leske a écrit : On 05 Feb 2015, at 17:46, Ben Coman b...@openinworld.com mailto:b...@openinworld.com wrote: On Thu, Feb 5, 2015 at 11:12 PM, GitHub nore...@github.com mailto:nore...@github.com wrote: Log Message: --- 40477

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Markus Fritsche
On 06.02.2015 09:33, stepharo wrote: In the coming months we will work on putting in place our bootstrapping kernel. There are no Smalltalk able to do that right now. GNU Smalltalk does just that, if it doesn't find an image, it will be bootstrapped by using the shipped .st fileouts. A bit

Re: [Pharo-dev] ||

2015-02-06 Thread Frank Shearar
On 5 February 2015 at 21:20, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 21:28 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: On Thu, Feb 5, 2015 at 11:34 AM, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 18:51 GMT+01:00 Eliot Miranda

Re: [Pharo-dev] Parsing float difference between 2.0 and 3.0, was it on purpose?

2015-02-06 Thread Yuriy Tymchuk
We have merged the parsers into one, because we had 3 parsers that didn’t have any dedicated use-cases, juts were developed historical as at some point someone needed a bit more functionality, and then different parsers were used randomly on the system. As for the expression - yes we have to

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Markus Fritsche
On 06.02.2015 10:52, Guillermo Polito wrote: Well, but imagine how complex that bootstrap becomes when you want to add to your classes: - traits - layouts - slots ... And expressing all that in C also :) I don't want to imply it's easy. I once tried to decompose a squeak image,

Re: [Pharo-dev] ||

2015-02-06 Thread Thierry Goubier
Hi Frank, so, which definition of pragmas I should follow? Declarative or executable? From what you describe, I'm against it, they are just annotations (a way to convey programmer intention because the code itself is unable to do so). I introduce annotations in a programming language when I

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Marcus Denker
Looking at Pharo, it appears to me to be suffering the same bloat issues as Squeak. Well if you say that it is that you are just looking at the tip of iceberg. This is not for fun that we are massively working on cleaning dependencies and removing wrong code or rewriting it. In the

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Guillermo Polito
Well, but imagine how complex that bootstrap becomes when you want to add to your classes: - traits - layouts - slots ... And expressing all that in C also :) El Fri Feb 06 2015 at 10:47:19 AM, Markus Fritsche mfrits...@reauktion.de escribió: On 06.02.2015 09:33, stepharo wrote: In the

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Jan Vrany
On Fri, 2015-02-06 at 10:47 +0100, Markus Fritsche wrote: On 06.02.2015 09:33, stepharo wrote: In the coming months we will work on putting in place our bootstrapping kernel. There are no Smalltalk able to do that right now. GNU Smalltalk does just that, if it doesn't find an image,

Re: [Pharo-dev] ||

2015-02-06 Thread Thierry Goubier
Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used mainly for two things: 1- expressing a link to some metadata used by low level tools: compiler, C lang generator, etc... primitives for me are part of that. Kind of neat to see that

Re: [Pharo-dev] [Pharo-users] spotter preview

2015-02-06 Thread Laurent
Hi, I really like Spotter. The preview feature makes me think that would be useful to have it in code completion. So often I use the wrong method because completion does not display class name. The ability to have code preview in code completion (and maybe class hierarchy too) would make me

[Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread Alejandro Infante
Hello, I have just found that calling asByteArray for any negative small integer returns the same result that the positive small integer. Is it supposed to be like that or is it a bug? 1 asByteArray = -1 asByteArray. true (1 to: 10) allSatisfy: [ :int | int asByteArray = int negated

Re: [Pharo-dev] Metacello + Filetree

2015-02-06 Thread Sebastian Tleye
Hi Thierry, I still have the same problem, I managed to install and configure GitFiletree, I can add a remote git repository, load packages from it, etc. Also, I created a new stable version with the versioner. If I open the repository with Monticello I can see the history of the the packages,

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Marcus Denker
Yes, we need to improve that. Names are nice, but they make it harder to explore the system. On 06 Feb 2015, at 12:43, Sean P. DeNigris s...@clipperadams.com wrote: Markus Fritsche-4 wrote +1 to that one. Yes, I also find it difficult - much more so when I was new to the community, but

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Ben Coman
I have a few questions: Why don't you all use a 6-paned browser (called the package browser in Squeak) and control the introduction of top-level meta-categories? Because you have tags and you can filter packages. @Stephen, I don't know of the six panelled browser you refer to, but

[Pharo-dev] [pharo-project/pharo-core]

2015-02-06 Thread GitHub
Branch: refs/tags/40479 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] ccc6b1: 40479

2015-02-06 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: ccc6b1a77fe84d7d9b93d031c81095ae0fb5f28a https://github.com/pharo-project/pharo-core/commit/ccc6b1a77fe84d7d9b93d031c81095ae0fb5f28a Author: Jenkins Build Server bo...@pharo-project.org Date:

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread Nicolas Cellier
One more thing: accessing the integer bytes means accessing the details of internal representation... But if you look a bit deeper, you'll discover that: - SmallInteger use 2-complement internally (not accounting for immediate tag bits) - LargeInteger use sign-magnitude internally. So to

Re: [Pharo-dev] [Slots] Invisible Slots

2015-02-06 Thread Marcus Denker
On 06 Feb 2015, at 11:50, Marcus Denker marcus.den...@inria.fr wrote: Next: When building classes with Slots, the class builder need to call back on the slot and hand the class to each. Then the slot can reflectively change the class, e.g. the PropertySlot will check if there is

Re: [Pharo-dev] ||

2015-02-06 Thread Eliot Miranda
On Fri, Feb 6, 2015 at 1:58 AM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used mainly for two things: 1- expressing a link to some metadata used by low level tools: compiler,

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread p...@highoctane.be
Java has hadoop, spark, swing, spring, jaxb, jta, jdbc, atomikos, quartz, velocity, beanshell, ... iOS has a ton of weird names as well in frameworks. Knowing the lay of the land is part of taking part of any ecosystem. I actually like the names. As of VW you tell me what AppeX and SiouX are

Re: [Pharo-dev] [Slots] Invisible Slots

2015-02-06 Thread Marcus Denker
Next: When building classes with Slots, the class builder need to call back on the slot and hand the class to each. Then the slot can reflectively change the class, e.g. the PropertySlot will check if there is already a hidden property base slot and if not, add it reflectively). This is

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread Sven Van Caekenberghe
Alejandro, On 06 Feb 2015, at 15:10, Alejandro Infante alejandroinfant...@gmail.com wrote: Hello, I have just found that calling asByteArray for any negative small integer returns the same result that the positive small integer. Is it supposed to be like that or is it a bug? 1

Re: [Pharo-dev] [pharo-project/pharo-core] 6a5096: 40477

2015-02-06 Thread Sven Van Caekenberghe
I see it as well from time to time in #40478 but not often and it does not seem to have any negative effect, I can just keep on working and there is no obvious slowdown. On 06 Feb 2015, at 16:23, Marcus Denker marcus.den...@inria.fr wrote: On 06 Feb 2015, at 09:07, Marcus Denker

[Pharo-dev] [Pharo CI] Jenkins down 10/11 Feb

2015-02-06 Thread Marcus Denker
Hi, There will a big update of the Inria CI infrastructure. On 10 Feb the system will go offline 5PM Paris time, it will be online the 12th hopefully latest. Why? For now the system just supports Win and Linux. This update will add the base for MacOS vitual servers. (If you wonder how it works

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Sven Van Caekenberghe
Yes, but that is not really provided as a #catalog* method, is it ? There is #catalogDescription, but that is some lines of text. There should be something like #catalogLabel for a sjort one-line title style label. On 06 Feb 2015, at 16:26, Esteban Lorenzano esteba...@gmail.com wrote:

Re: [Pharo-dev] ||

2015-02-06 Thread Ben Coman
On Fri, Feb 6, 2015 at 5:58 PM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used mainly for two things: 1- expressing a link to some metadata used by low level tools: compiler,

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Esteban Lorenzano
there should be both: a name and a category Seaside - Web framework Zinc - HTTP server etc. Esteban On 06 Feb 2015, at 16:16, Marcus Denker marcus.den...@inria.fr wrote: Yes, we need to improve that. Names are nice, but they make it harder to explore the system. On 06 Feb 2015, at

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Guillermo Polito
El Fri Feb 06 2015 at 4:30:10 PM, Eliot Miranda eliot.mira...@gmail.com escribió: On Feb 6, 2015, at 1:52 AM, Guillermo Polito guillermopol...@gmail.com wrote: Well, but imagine how complex that bootstrap becomes when you want to add to your classes: - traits - layouts - slots ... And

Re: [Pharo-dev] ||

2015-02-06 Thread Eliot Miranda
Hi Thierry, On Fri, Feb 6, 2015 at 9:29 AM, Eliot Miranda eliot.mira...@gmail.com wrote: On Fri, Feb 6, 2015 at 1:58 AM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used

Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Thierry Goubier
2015-02-06 17:05 GMT+01:00 Ben Coman b...@openinworld.com: @General, btw is it possible to have more levels in the package pane, so that all the AST packages appear under a single first level entry AST ? Yes @Ben, but it's not yet in Nautilus. I have a few experiments in that in AltBrowser,

Re: [Pharo-dev] ||

2015-02-06 Thread Eliot Miranda
Hi Frank, On Fri, Feb 6, 2015 at 2:29 AM, Frank Shearar frank.shea...@gmail.com wrote: On 5 February 2015 at 21:20, Thierry Goubier thierry.goub...@gmail.com wrote: 2015-02-05 21:28 GMT+01:00 Eliot Miranda eliot.mira...@gmail.com: On Thu, Feb 5, 2015 at 11:34 AM, Thierry Goubier

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread David T. Lewis
I was going to complain about expecting such niceties as a built in 2s-complement rather than program it myself (I am a bit rusty on such matters), but when I look what should I find? (-123 asTwosComplement: 16r) asByteArray. = #[255 255 255 133] cheers -ben Hi Ben, You might

Re: [Pharo-dev] SmallInteger asByteArray for negative numbers

2015-02-06 Thread Ben Coman
On Fri, Feb 6, 2015 at 10:48 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Alejandro, On 06 Feb 2015, at 15:10, Alejandro Infante alejandroinfant...@gmail.com wrote: Hello, I have just found that calling asByteArray for any negative small integer returns the same result that the

Re: [Pharo-dev] ||

2015-02-06 Thread Thierry Goubier
Hi Ben, 2015-02-06 16:03 GMT+01:00 Ben Coman b...@openinworld.com: On Fri, Feb 6, 2015 at 5:58 PM, Thierry Goubier thierry.goub...@gmail.com wrote: Hi Eliot, maybe I'll frame the core question a bit differently, thanks to your explanations. I see pragmas used mainly for two things: