Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
April 2012
- 127 participants
- 1916 messages
Re: [Pharo-project] About Cypress [Was: Re: [ANN] Styled Text Editor for Cuis 4.0 Smalltalk]
by H. Hirzel
On 4/24/12, Janko Mivšek <janko.mivsek(a)eranova.si> wrote:
> Hi Igor,
>
> It is pretty clear that JSON is slowly replacing even XML elsewhere and
> if I for instance have to chose between XML and JSON, I'd certainly
> choose later. Our chunk format is, well, ours only. VW is using XML,
> others are using anything else. Something as neutral and as simple as
> JSON-based format can therefore become a bridge even between us.
>
> JSON is now becoming defacto standard for any interoperability scenario
> in cloud world, so IMO Dale did a right decision to choose it.
+1
We will
> be much closer to other words with Smalltalk that way and even more by
> using GitHub for code repository.
+1
> Best regards
> Janko
>
>
> Dne 24. 04. 2012 01:07, piše Igor Stasenko:
>> On 24 April 2012 01:54, Dale Henrichs <dhenrich(a)vmware.com> wrote:
>>> Igor,
>>>
>>> The short answer is:
>>>
>>> We could have used literal arrays, but it would have taken more work up
>>> front than using the existing (portable) Seaside JSON parser.
>>>
>> umm.. what more work? Use if existing Smalltalk parser is more work?
>>
>> IMO, binding to JSON format and introducing dependency is more like a
>> problem to me..
>>
>> but anyways, since i late on party.. i don't wanna put sticks into
>> already rotating wheel..
>>
>> you made a decision, if it works for you, fine.
>>
>> P.S. I dealt with JSON when playing with SCouchDB project.. i wouldn't
>> say that i adore this format.
>> but it ok.. yeah.. everyone using it. Still s-expressions is IMO far
>> more elegant.
>>
>>
>>> At this point we have working implementations in 5 different Smalltalk
>>> dialects
>>> written to use JSON for properties files.
>>>
>>> Cypress is designed to be flexible. FileTree the original Cypress
>>> implementation
>>> reads 3 different disk-based package. We're going to stick with the
>>> current
>>> implementation for the foreseeable future while we expend our effort on
>>> problems for which we don't have ready-made solutions.
>>>
>>> Hannes has the correct link for the latter discussion, but the original
>>> discussion took place at the beginning of Feb[1].
>>>
>>> Dale
>>>
>>> [1]
>>> http://forum.world.st/feedback-on-using-JSON-to-specify-baselines-for-git-r…
>>>
>>>
>>> ----- Original Message -----
>>> | From: "Igor Stasenko" <siguctua(a)gmail.com>
>>> | To: Pharo-project(a)lists.gforge.inria.fr
>>> | Sent: Monday, April 23, 2012 2:34:54 PM
>>> | Subject: [Pharo-project] About Cypress [Was: Re: [ANN] Styled Text
>>> Editor for Cuis 4.0 Smalltalk]
>>> |
>>> | Hi, Dale
>>> |
>>> | it is great to see an effort in such direction.
>>> | I just wonder what .js files doing there?
>>> |
>>> | According to what i see, it is just a meta data which holding
>>> | additional properties per entity..
>>> |
>>> | {
>>> | "category" : "Cypress-Tests",
>>> | "classinstvars" : [
>>> | ],
>>> | "classtraitcomposition" : "{}",
>>> | "classvars" : [
>>> | ],
>>> | "commentStamp" : "",
>>> | "instvars" : [
>>> | ],
>>> | "name" : "CypressPatchTest",
>>> | "pools" : [
>>> | ],
>>> | "super" : "CypressAbstractTest",
>>> | "traitcomposition" : "{}",
>>> | "type" : "normal" }
>>> |
>>> | why you cannot use a regular smalltalk literal syntax for this data?
>>> | What/why there is need to store this data in json format?
>>> |
>>> | On 23 April 2012 23:57, Dale Henrichs <dhenrich(a)vmware.com> wrote:
>>> | > Bernhard,
>>> | >
>>> | > With regards to sharing code between dialects, I'd like to
>>> | > recommend that you look into porting Cypress to Cuis (I'm willing
>>> | > to help as much as I can).
>>> | >
>>> | > The Cypress project is aimed from the get go to enable sharing of
>>> | > packages between Smalltalk dialects with a recognition that
>>> | > possibly the most important aspect is a shared VCS (git/github).
>>> | >
>>> | > If you look at the current code base in Cypress, you will see a
>>> | > reference implementation written against Pharo. The reference
>>> | > implementation is a work in progress and the initial
>>> | > implementation was done for Amber[2].
>>> | >
>>> | > Cypress has Monticello-like packages, but other than taking a few
>>> | > ideas from Monticello (definitions, packages and snapshots ...
>>> | > more than a few:)) the code base is independent of Monticello. The
>>> | > fact that Cypress runs on top of Amber (sans file system access)
>>> | > speaks volumes for it's portability.
>>> | >
>>> | > To paraphrase a point from my STIC talk[3] on this subject:
>>> | >
>>> | > Cypress is not intended to be the primary version control
>>> | > system for any dialect, however, if you want to share code
>>> | > between dialects you should allow your developers to import
>>> | > and export code using the Cypress package format.
>>> | >
>>> | > If you are interested, there are bits and pieces of code in a few
>>> | > other projects that I would want to pull into the Cypress project
>>> | > and couple other things that I'd like to move out of the Cypress
>>> | > project before tackling another port ...
>>> | >
>>> | > We can correspond via private email if you'd like to take me up on
>>> | > the offer of help:)
>>> | >
>>> | > Dale
>>> | >
>>> | > [1] https://github.com/CampSmalltalk/Cypress
>>> | > [2] https://github.com/CampSmalltalk/amber-cypress
>>> | > [3]
>>> | >
>>> http://portal.sliderocket.com/vmware/STIC-2012-Practical-Git-for-Smalltalk
>>> | >
>>> | > ----- Original Message -----
>>> | > | From: "Bernhard Pieber" <bernhard(a)pieber.com>
>>> | > | To: Pharo-project(a)lists.gforge.inria.fr
>>> | > | Sent: Monday, April 23, 2012 9:53:35 AM
>>> | > | Subject: Re: [Pharo-project] [ANN] Styled Text Editor for Cuis
>>> | > | 4.0 Smalltalk
>>> | > |
>>> | > | Hi Göran,
>>> | > |
>>> | > | Thanks for your question! I have posted the announcement of the
>>> | > | Styled Text Editor to the Pharo list as well because I still have
>>> | > | not given up on the idea to port it to Squeak and Pharo. It is
>>> | > | not
>>> | > | straightforward but I consider it possible.
>>> | > |
>>> | > | Currently the Styled Text Editor is an external package which is
>>> | > | loaded on top of Cuis 4.0. The API it uses is quite specific to
>>> | > | Cuis
>>> | > | so to port it alone is probably too much effort. What I think can
>>> | > | be
>>> | > | done is the following:
>>> | > | Split Cuis into three parts,
>>> | > | a) the parts which are not needed for Styled Text Editor, like
>>> | > | the
>>> | > | Cuis tools
>>> | > | b) the parts of Cuis Morphic the Styled Text Editor depends on â
>>> | > | this
>>> | > | is in my opinion the most valuable part of Cuis because Juan
>>> | > | spent
>>> | > | years cleaning it
>>> | > | c) the Smalltalk kernel below
>>> | > |
>>> | > | The idea is to port only part b) and the Styled Text Editor. And
>>> | > | it
>>> | > | has to be done automatically by a tool which creates packages for
>>> | > | Squeak and Pharo, always from the latest code base. In addition
>>> | > | you
>>> | > | will probably need small Cuis portability packages done manually,
>>> | > | one for Squeak and one for Pharo.
>>> | > |
>>> | > | Being able to always load the latest code base of Styled Text
>>> | > | Editor
>>> | > | and Cuis Morphic as an external package in Pharo is a
>>> | > | prerequisite
>>> | > | to look into possibilities of sharing more of the code.
>>> | > |
>>> | > | I plan to write a more detailed proposal and then to approach
>>> | > | ESUG
>>> | > | and ask for support for the funding. Any ideas for other sources
>>> | > | of
>>> | > | funding are highly welcome and could speed things up
>>> | > | considerably,
>>> | > | of course! ;-)
>>> | > |
>>> | > | I for one have not given up on the idea that it might be possible
>>> | > | to
>>> | > | develop substantial components as you called it â thank you for
>>> | > | that
>>> | > | as well â in a more Squeak-dialect-independent way. ;-)
>>> | > |
>>> | > | Finally, I would like to take the opportunity and kindly ask
>>> | > | everyone
>>> | > | who has not done so yet: Please check out Cuis 4.0 and the Styled
>>> | > | Text Editor and give us feedback, even if it does not (yet) run
>>> | > | on
>>> | > | your favourite Squeak dialect! Thank you!
>>> | > |
>>> | > | Peace,
>>> | > | Bernhard
>>> | > |
>>> | > | P.S. Thanks to Göran and Janko for trying to establish different
>>> | > | threads for the rather off-topic discussions that my announcement
>>> | > | posting has caused.
>>> | > |
>>> | > | Am 23.04.2012 um 16:04 schrieb Göran Krampe:
>>> | > | > Hi!
>>> | > | >
>>> | > | > On 04/23/2012 03:40 PM, Stéphane Ducasse wrote:
>>> | > | >>> Just cloning it off into Pharo and forking seems... less
>>> | > | >>> optimal.
>>> | > | >>> Any ideas or thoughts?
>>> | > | >>
>>> | > | >> I do not get what you mean. I just want to work on our roadmap
>>> | > | >> and
>>> | > | >> make it getting real.
>>> | > | >> It is hard enough to get some momentum and to deliver for
>>> | > | >> real.
>>> | > | >> So can you help us to get focused?
>>> | > | >> People can do what they want. I wrote a vision document. We
>>> | > | >> have a
>>> | > | >> roadmap
>>> | > | >> and we will do it.
>>> | > | >
>>> | > | > Ok, let me clarify. I was just wondering how the Pharo
>>> | > | > community
>>> | > | > wants to handle a case where a substantial component (in this
>>> | > | > case, this new editor) is not *primarily* developed in Pharo
>>> | > | > (in
>>> | > | > this case Cuis).
>>> | > | >
>>> | > | > The simple route is to just copy and fork. But IMHO this
>>> | > | > doesn't
>>> | > | > leverage the team already around this editor, right? We (Pharo)
>>> | > | > can't just go around and forking everything and maintaining
>>> | > | > everything for ourselves, right?
>>> | > | >
>>> | > | > I just got interested in that problem - now, later replies
>>> | > | > indicated that it would still need a substantial rewrite for
>>> | > | > Pharo, so perhaps the situation I am describing is not really
>>> | > | > applicable in this case.
>>> | > | >
>>> | > | > regards, Göran
>>> | > | >
>>> | > |
>>> | > |
>>> | > |
>>> | >
>>> |
>>> |
>>> |
>>> | --
>>> | Best regards,
>>> | Igor Stasenko.
>>> |
>>> |
>>>
>>
>>
>>
>
> --
> Janko Mivšek
> Aida/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
>
>
April 24, 2012
Re: [Pharo-project] SimpleLiteralArrayParser
by Stéphane Ducasse
> Hi guys
>
> We should develop a simple Literal Array parser that is dialect independant
> so that we can avoid using JSON for meta data. So I will start to develop. I will start to write some tests and do it test first.
>
> Gofer new
> repository: 'http://ss3.gemstone.com/ss/SimpleLiteralArrayParser';
> package: 'SimpleLiteralArrayParser';
> load
>
> Now I still wonder what do we do about floats. May be the situation changed but Squeak and VW floats were not the same.
>
> I don't get it. You define your own float format, and then each dialect parses it and converts it to their correspondant format... Now, I do not know the format
> differences so I do not know which one take :).
It can work for simple scenario but if you save a float with e120 and save it and you get e70
then you are in trouble.
Stef
April 24, 2012
Re: [Pharo-project] About Cypress [Was: Re: [ANN] Styled Text Editor for Cuis 4.0 Smalltalk]
by Igor Stasenko
On 24 April 2012 11:54, Dale Henrichs <dhenrich(a)vmware.com> wrote:
> Stef,
>
> There is no Parser class and there is no Compiler class. There is a primitive call that takes method source, class, methodDictionary, etc. and produces a method installed in the methodDictionary.
>
so you can take 1st literal from such method and you done. or you
cannot access method's literals?
it of course not as simple as parsing the source, but if you cannot
avoid compilation..
> ... JSON is and was a pragmatic choice...
>
well, i did not realized that GemStone have no own parser/compiler
written in smalltalk.
> Dale
>
> ----- Original Message -----
> | From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
> | To: Pharo-project(a)lists.gforge.inria.fr
> | Sent: Tuesday, April 24, 2012 2:41:24 AM
> | Subject: Re: [Pharo-project] About Cypress [Was: Re: [ANN] Styled   Text   Editor for Cuis 4.0 Smalltalk]
> |
> |
> | On Apr 24, 2012, at 11:30 AM, Dale Henrichs wrote:
> |
> | > Stef,
> | >
> | > ... JSON is and was a pragmatic choice... GemStone produces methods
> | > from source via a primitive call... it is what it is ... JSON is
> | > and was a pragmatic choiceâ¦
> |
> | so you cannot put the array in a file and call the parser (even if
> | this is a primitive)?
> | I'm confused.
> |
> |
> | >
> | > Dale
> | >
> | > ----- Original Message -----
> | > | From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
> | > | To: Pharo-project(a)lists.gforge.inria.fr
> | > | Sent: Monday, April 23, 2012 10:28:00 PM
> | > | Subject: Re: [Pharo-project] About Cypress [Was: Re: [ANN] Styled
> | > | Text    Editor for Cuis 4.0 Smalltalk]
> | > |
> | > |
> | > | On Apr 24, 2012, at 2:32 AM, Dale Henrichs wrote:
> | > |
> | > | > Igor,
> | > | >
> | > | > GemStone's Smalltalk parser/compiler is implemented in C â¦
> | > |
> | > | This puzzled me a lot:
> | > | Â so you cannot invoke it from Smalltalk?
> | > |
> | > | Then how do you compile code in Gemstome? Via the command line?
> | > |
> | > | As I said if this is only that we can write a parser for literal
> | > | array.
> | > | But yo should not say that you need a literal array syntax that
> | > | support dictionaries
> | > | because syntax and semantics are two different things.
> | > | Â Â Â Â Â (x 33)
> | > | Â Â Â Â Â (z 24)
> | > | can be binding for dictionary.
> | > |
> | > | Stef
> | > |
> | > |
> | > | > I told you that JSON is and was a pragmatic choice ...
> | > | >
> | > | > The seaside JSON parser is 27 methods and runs without change
> | > | > in
> | > | > GemStone ... this is all covered in the other two threads, so
> | > | > maybe you should spend some time reading up on the issues that
> | > | > have already been hashed over twice so far... Oh wait, now
> | > | > there
> | > | > are now three threads that are covering the "why JSON"
> | > | > question:)
> | > | >
> | > | > Dale
> | > | >
> | > | > ----- Original Message -----
> | > | > | From: "Igor Stasenko" <siguctua(a)gmail.com>
> | > | > | To: Pharo-project(a)lists.gforge.inria.fr
> | > | > | Sent: Monday, April 23, 2012 5:21:57 PM
> | > | > | Subject: Re: [Pharo-project] About Cypress [Was: Re: [ANN]
> | > | > | Styled
> | > | > | Text Editor for Cuis 4.0 Smalltalk]
> | > | > |
> | > | > | On 24 April 2012 03:17, Dale Henrichs <dhenrich(a)vmware.com>
> | > | > | wrote:
> | > | > | > Igor,
> | > | > | >
> | > | > | > A lot of your questions/assertions were addressed in the
> | > | > | > two
> | > | > | > existing threads ...
> | > | > | >
> | > | > | > Smalltalk parsers are not available in all Smalltalk
> | > | > | > dialects,
> | > | > | > so
> | > | > | > again, JSON is and was a pragmatic choice, pure and simple.
> | > | > | >
> | > | > | what? how is that? smalltalk which cannot parse smalltalk?
> | > | > | but
> | > | > | can
> | > | > | parse JSON? ;)
> | > | > |
> | > | > | > The entire disk-based package structure has a number of
> | > | > | > warts
> | > | > | > of
> | > | > | > varying sizes and qualities, but the one thing that is true
> | > | > | > is
> | > | > | > that we have 5 Smalltalk dialects (with more coming)
> | > | > | > sharing
> | > | > | > the
> | > | > | > same package structure and the same version control system
> | > | > | > ...
> | > | > | > something that has never been true before and _that_ is the
> | > | > | > most
> | > | > | > important thing right now...
> | > | > | >
> | > | > | that's out of the question
> | > | > |
> | > | > | > Dale
> | > | > | >
> | > | > | > ----- Original Message -----
> | > | > | > | From: "Igor Stasenko" <siguctua(a)gmail.com>
> | > | > | > | To: Pharo-project(a)lists.gforge.inria.fr
> | > | > | > | Sent: Monday, April 23, 2012 4:07:04 PM
> | > | > | > | Subject: Re: [Pharo-project] About Cypress [Was: Re:
> | > | > | > | [ANN]
> | > | > | > | Styled
> | > | > | > | Text Editor for Cuis 4.0 Smalltalk]
> | > | > | > |
> | > | > | > | On 24 April 2012 01:54, Dale Henrichs
> | > | > | > | <dhenrich(a)vmware.com>
> | > | > | > | wrote:
> | > | > | > | > Igor,
> | > | > | > | >
> | > | > | > | > The short answer is:
> | > | > | > | >
> | > | > | > | > Â We could have used literal arrays, but it would have
> | > | > | > | > Â taken
> | > | > | > | > Â more
> | > | > | > | > Â work up
> | > | > | > | > Â front than using the existing (portable) Seaside JSON
> | > | > | > | > Â parser.
> | > | > | > | >
> | > | > | > | umm.. what more work? Use if existing Smalltalk parser is
> | > | > | > | more
> | > | > | > | work?
> | > | > | > |
> | > | > | > | IMO, binding to JSON format and introducing dependency is
> | > | > | > | more
> | > | > | > | like a
> | > | > | > | problem to me..
> | > | > | > |
> | > | > | > | but anyways, since i late on party.. i don't wanna put
> | > | > | > | sticks
> | > | > | > | into
> | > | > | > | already rotating wheel..
> | > | > | > |
> | > | > | > | you made a decision, if it works for you, fine.
> | > | > | > |
> | > | > | > | P.S. I dealt with JSON when playing with SCouchDB
> | > | > | > | project.. i
> | > | > | > | wouldn't
> | > | > | > | say that i adore this format.
> | > | > | > | but it ok.. yeah.. everyone using it. Still s-expressions
> | > | > | > | is
> | > | > | > | IMO
> | > | > | > | far
> | > | > | > | more elegant.
> | > | > | > |
> | > | > | > |
> | > | > | > | > Â At this point we have working implementations in 5
> | > | > | > | > Â different
> | > | > | > | > Â Smalltalk dialects
> | > | > | > | > Â written to use JSON for properties files.
> | > | > | > | >
> | > | > | > | > Â Cypress is designed to be flexible. FileTree the
> | > | > | > | > Â original
> | > | > | > | > Â Cypress
> | > | > | > | > Â implementation
> | > | > | > | > Â reads 3 different disk-based package. We're going to
> | > | > | > | > Â stick
> | > | > | > | > Â with
> | > | > | > | > Â the current
> | > | > | > | > Â implementation for the foreseeable future while we
> | > | > | > | > Â expend
> | > | > | > | > Â our
> | > | > | > | > Â effort on
> | > | > | > | > Â problems for which we don't have ready-made solutions.
> | > | > | > | >
> | > | > | > | > Hannes has the correct link for the latter discussion,
> | > | > | > | > but
> | > | > | > | > the
> | > | > | > | > original discussion took place at the beginning of
> | > | > | > | > Feb[1].
> | > | > | > | >
> | > | > | > | > Dale
> | > | > | > | >
> | > | > | > | > [1]
> | > | > | > | > http://forum.world.st/feedback-on-using-JSON-to-specify-baselines-for-git-r…
> | > | > | > | >
> | > | > | > | >
> | > | > | > | > ----- Original Message -----
> | > | > | > | > | From: "Igor Stasenko" <siguctua(a)gmail.com>
> | > | > | > | > | To: Pharo-project(a)lists.gforge.inria.fr
> | > | > | > | > | Sent: Monday, April 23, 2012 2:34:54 PM
> | > | > | > | > | Subject: [Pharo-project] About Cypress [Was: Re:
> | > | > | > | > | [ANN]
> | > | > | > | > | Styled
> | > | > | > | > | Text Editor for Cuis 4.0 Smalltalk]
> | > | > | > | > |
> | > | > | > | > | Hi, Dale
> | > | > | > | > |
> | > | > | > | > | it is great to see an effort in such direction.
> | > | > | > | > | I just wonder what .js files doing there?
> | > | > | > | > |
> | > | > | > | > | According to what i see, it is just a meta data which
> | > | > | > | > | holding
> | > | > | > | > | additional properties per entity..
> | > | > | > | > |
> | > | > | > | > | {
> | > | > | > | > | "category" : "Cypress-Tests",
> | > | > | > | > | "classinstvars" : [
> | > | > | > | > | ],
> | > | > | > | > | "classtraitcomposition" : "{}",
> | > | > | > | > | "classvars" : [
> | > | > | > | > | ],
> | > | > | > | > | "commentStamp" : "",
> | > | > | > | > | "instvars" : [
> | > | > | > | > | ],
> | > | > | > | > | "name" : "CypressPatchTest",
> | > | > | > | > | "pools" : [
> | > | > | > | > | ],
> | > | > | > | > | "super" : "CypressAbstractTest",
> | > | > | > | > | "traitcomposition" : "{}",
> | > | > | > | > | "type" : "normal" }
> | > | > | > | > |
> | > | > | > | > | why you cannot use a regular smalltalk literal syntax
> | > | > | > | > | for
> | > | > | > | > | this
> | > | > | > | > | data?
> | > | > | > | > | What/why there is need to store this data in json
> | > | > | > | > | format?
> | > | > | > | > |
> | > | > | > | > | On 23 April 2012 23:57, Dale Henrichs
> | > | > | > | > | <dhenrich(a)vmware.com>
> | > | > | > | > | wrote:
> | > | > | > | > | > Bernhard,
> | > | > | > | > | >
> | > | > | > | > | > With regards to sharing code between dialects, I'd
> | > | > | > | > | > like
> | > | > | > | > | > to
> | > | > | > | > | > recommend that you look into porting Cypress to
> | > | > | > | > | > Cuis
> | > | > | > | > | > (I'm
> | > | > | > | > | > willing
> | > | > | > | > | > to help as much as I can).
> | > | > | > | > | >
> | > | > | > | > | > The Cypress project is aimed from the get go to
> | > | > | > | > | > enable
> | > | > | > | > | > sharing
> | > | > | > | > | > of
> | > | > | > | > | > packages between Smalltalk dialects with a
> | > | > | > | > | > recognition
> | > | > | > | > | > that
> | > | > | > | > | > possibly the most important aspect is a shared VCS
> | > | > | > | > | > (git/github).
> | > | > | > | > | >
> | > | > | > | > | > If you look at the current code base in Cypress,
> | > | > | > | > | > you
> | > | > | > | > | > will
> | > | > | > | > | > see a
> | > | > | > | > | > reference implementation written against Pharo. The
> | > | > | > | > | > reference
> | > | > | > | > | > implementation is a work in progress and the
> | > | > | > | > | > initial
> | > | > | > | > | > implementation was done for Amber[2].
> | > | > | > | > | >
> | > | > | > | > | > Cypress has Monticello-like packages, but other
> | > | > | > | > | > than
> | > | > | > | > | > taking
> | > | > | > | > | > a
> | > | > | > | > | > few
> | > | > | > | > | > ideas from Monticello (definitions, packages and
> | > | > | > | > | > snapshots
> | > | > | > | > | > ...
> | > | > | > | > | > more than a few:)) the code base is independent of
> | > | > | > | > | > Monticello.
> | > | > | > | > | > The
> | > | > | > | > | > fact that Cypress runs on top of Amber (sans file
> | > | > | > | > | > system
> | > | > | > | > | > access)
> | > | > | > | > | > speaks volumes for it's portability.
> | > | > | > | > | >
> | > | > | > | > | > To paraphrase a point from my STIC talk[3] on this
> | > | > | > | > | > subject:
> | > | > | > | > | >
> | > | > | > | > | > Â Cypress is not intended to be the primary version
> | > | > | > | > | > Â control
> | > | > | > | > | > Â system for any dialect, however, if you want to
> | > | > | > | > | > Â share
> | > | > | > | > | > Â code
> | > | > | > | > | > Â between dialects you should allow your developers
> | > | > | > | > | > Â to
> | > | > | > | > | > Â import
> | > | > | > | > | > Â and export code using the Cypress package format.
> | > | > | > | > | >
> | > | > | > | > | > If you are interested, there are bits and pieces of
> | > | > | > | > | > code in
> | > | > | > | > | > a
> | > | > | > | > | > few
> | > | > | > | > | > other projects that I would want to pull into the
> | > | > | > | > | > Cypress
> | > | > | > | > | > project
> | > | > | > | > | > and couple other things that I'd like to move out
> | > | > | > | > | > of
> | > | > | > | > | > the
> | > | > | > | > | > Cypress
> | > | > | > | > | > project before tackling another port ...
> | > | > | > | > | >
> | > | > | > | > | > We can correspond via private email if you'd like
> | > | > | > | > | > to
> | > | > | > | > | > take
> | > | > | > | > | > me up
> | > | > | > | > | > on
> | > | > | > | > | > the offer of help:)
> | > | > | > | > | >
> | > | > | > | > | > Dale
> | > | > | > | > | >
> | > | > | > | > | > [1] https://github.com/CampSmalltalk/Cypress
> | > | > | > | > | > [2] https://github.com/CampSmalltalk/amber-cypress
> | > | > | > | > | > [3]
> | > | > | > | > | > http://portal.sliderocket.com/vmware/STIC-2012-Practical-Git-for-Smalltalk
> | > | > | > | > | >
> | > | > | > | > | > ----- Original Message -----
> | > | > | > | > | > | From: "Bernhard Pieber" <bernhard(a)pieber.com>
> | > | > | > | > | > | To: Pharo-project(a)lists.gforge.inria.fr
> | > | > | > | > | > | Sent: Monday, April 23, 2012 9:53:35 AM
> | > | > | > | > | > | Subject: Re: [Pharo-project] [ANN] Styled Text
> | > | > | > | > | > | Editor
> | > | > | > | > | > | for
> | > | > | > | > | > | Cuis
> | > | > | > | > | > | 4.0 Smalltalk
> | > | > | > | > | > |
> | > | > | > | > | > | Hi Göran,
> | > | > | > | > | > |
> | > | > | > | > | > | Thanks for your question! I have posted the
> | > | > | > | > | > | announcement
> | > | > | > | > | > | of
> | > | > | > | > | > | the
> | > | > | > | > | > | Styled Text Editor to the Pharo list as well
> | > | > | > | > | > | because
> | > | > | > | > | > | I
> | > | > | > | > | > | still
> | > | > | > | > | > | have
> | > | > | > | > | > | not given up on the idea to port it to Squeak and
> | > | > | > | > | > | Pharo.
> | > | > | > | > | > | It
> | > | > | > | > | > | is
> | > | > | > | > | > | not
> | > | > | > | > | > | straightforward but I consider it possible.
> | > | > | > | > | > |
> | > | > | > | > | > | Currently the Styled Text Editor is an external
> | > | > | > | > | > | package
> | > | > | > | > | > | which
> | > | > | > | > | > | is
> | > | > | > | > | > | loaded on top of Cuis 4.0. The API it uses is
> | > | > | > | > | > | quite
> | > | > | > | > | > | specific
> | > | > | > | > | > | to
> | > | > | > | > | > | Cuis
> | > | > | > | > | > | so to port it alone is probably too much effort.
> | > | > | > | > | > | What
> | > | > | > | > | > | I
> | > | > | > | > | > | think
> | > | > | > | > | > | can
> | > | > | > | > | > | be
> | > | > | > | > | > | done is the following:
> | > | > | > | > | > | Split Cuis into three parts,
> | > | > | > | > | > | a) the parts which are not needed for Styled Text
> | > | > | > | > | > | Editor,
> | > | > | > | > | > | like
> | > | > | > | > | > | the
> | > | > | > | > | > | Cuis tools
> | > | > | > | > | > | b) the parts of Cuis Morphic the Styled Text
> | > | > | > | > | > | Editor
> | > | > | > | > | > | depends
> | > | > | > | > | > | on â
> | > | > | > | > | > | this
> | > | > | > | > | > | is in my opinion the most valuable part of Cuis
> | > | > | > | > | > | because
> | > | > | > | > | > | Juan
> | > | > | > | > | > | spent
> | > | > | > | > | > | years cleaning it
> | > | > | > | > | > | c) the Smalltalk kernel below
> | > | > | > | > | > |
> | > | > | > | > | > | The idea is to port only part b) and the Styled
> | > | > | > | > | > | Text
> | > | > | > | > | > | Editor.
> | > | > | > | > | > | And
> | > | > | > | > | > | it
> | > | > | > | > | > | has to be done automatically by a tool which
> | > | > | > | > | > | creates
> | > | > | > | > | > | packages
> | > | > | > | > | > | for
> | > | > | > | > | > | Squeak and Pharo, always from the latest code
> | > | > | > | > | > | base.
> | > | > | > | > | > | In
> | > | > | > | > | > | addition
> | > | > | > | > | > | you
> | > | > | > | > | > | will probably need small Cuis portability
> | > | > | > | > | > | packages
> | > | > | > | > | > | done
> | > | > | > | > | > | manually,
> | > | > | > | > | > | one for Squeak and one for Pharo.
> | > | > | > | > | > |
> | > | > | > | > | > | Being able to always load the latest code base of
> | > | > | > | > | > | Styled
> | > | > | > | > | > | Text
> | > | > | > | > | > | Editor
> | > | > | > | > | > | and Cuis Morphic as an external package in Pharo
> | > | > | > | > | > | is a
> | > | > | > | > | > | prerequisite
> | > | > | > | > | > | to look into possibilities of sharing more of the
> | > | > | > | > | > | code.
> | > | > | > | > | > |
> | > | > | > | > | > | I plan to write a more detailed proposal and then
> | > | > | > | > | > | to
> | > | > | > | > | > | approach
> | > | > | > | > | > | ESUG
> | > | > | > | > | > | and ask for support for the funding. Any ideas
> | > | > | > | > | > | for
> | > | > | > | > | > | other
> | > | > | > | > | > | sources
> | > | > | > | > | > | of
> | > | > | > | > | > | funding are highly welcome and could speed things
> | > | > | > | > | > | up
> | > | > | > | > | > | considerably,
> | > | > | > | > | > | of course! ;-)
> | > | > | > | > | > |
> | > | > | > | > | > | I for one have not given up on the idea that it
> | > | > | > | > | > | might
> | > | > | > | > | > | be
> | > | > | > | > | > | possible
> | > | > | > | > | > | to
> | > | > | > | > | > | develop substantial components as you called it â
> | > | > | > | > | > | thank
> | > | > | > | > | > | you
> | > | > | > | > | > | for
> | > | > | > | > | > | that
> | > | > | > | > | > | as well â in a more Squeak-dialect-independent
> | > | > | > | > | > | way.
> | > | > | > | > | > | ;-)
> | > | > | > | > | > |
> | > | > | > | > | > | Finally, I would like to take the opportunity and
> | > | > | > | > | > | kindly
> | > | > | > | > | > | ask
> | > | > | > | > | > | everyone
> | > | > | > | > | > | who has not done so yet: Please check out Cuis
> | > | > | > | > | > | 4.0
> | > | > | > | > | > | and
> | > | > | > | > | > | the
> | > | > | > | > | > | Styled
> | > | > | > | > | > | Text Editor and give us feedback, even if it does
> | > | > | > | > | > | not
> | > | > | > | > | > | (yet)
> | > | > | > | > | > | run
> | > | > | > | > | > | on
> | > | > | > | > | > | your favourite Squeak dialect! Thank you!
> | > | > | > | > | > |
> | > | > | > | > | > | Peace,
> | > | > | > | > | > | Bernhard
> | > | > | > | > | > |
> | > | > | > | > | > | P.S. Thanks to Göran and Janko for trying to
> | > | > | > | > | > | establish
> | > | > | > | > | > | different
> | > | > | > | > | > | threads for the rather off-topic discussions that
> | > | > | > | > | > | my
> | > | > | > | > | > | announcement
> | > | > | > | > | > | posting has caused.
> | > | > | > | > | > |
> | > | > | > | > | > | Am 23.04.2012 um 16:04 schrieb Göran Krampe:
> | > | > | > | > | > | > Hi!
> | > | > | > | > | > | >
> | > | > | > | > | > | > On 04/23/2012 03:40 PM, Stéphane Ducasse wrote:
> | > | > | > | > | > | >>> Just cloning it off into Pharo and forking
> | > | > | > | > | > | >>> seems...
> | > | > | > | > | > | >>> less
> | > | > | > | > | > | >>> optimal.
> | > | > | > | > | > | >>> Any ideas or thoughts?
> | > | > | > | > | > | >>
> | > | > | > | > | > | >> I do not get what you mean. I just want to
> | > | > | > | > | > | >> work on
> | > | > | > | > | > | >> our
> | > | > | > | > | > | >> roadmap
> | > | > | > | > | > | >> and
> | > | > | > | > | > | >> make it getting real.
> | > | > | > | > | > | >> It is hard enough to get some momentum and to
> | > | > | > | > | > | >> deliver
> | > | > | > | > | > | >> for
> | > | > | > | > | > | >> real.
> | > | > | > | > | > | >> So can you help us to get focused?
> | > | > | > | > | > | >> People can do what they want. I wrote a vision
> | > | > | > | > | > | >> document.
> | > | > | > | > | > | >> We
> | > | > | > | > | > | >> have a
> | > | > | > | > | > | >> roadmap
> | > | > | > | > | > | >> and we will do it.
> | > | > | > | > | > | >
> | > | > | > | > | > | > Ok, let me clarify. I was just wondering how
> | > | > | > | > | > | > the
> | > | > | > | > | > | > Pharo
> | > | > | > | > | > | > community
> | > | > | > | > | > | > wants to handle a case where a substantial
> | > | > | > | > | > | > component
> | > | > | > | > | > | > (in
> | > | > | > | > | > | > this
> | > | > | > | > | > | > case, this new editor) is not *primarily*
> | > | > | > | > | > | > developed
> | > | > | > | > | > | > in
> | > | > | > | > | > | > Pharo
> | > | > | > | > | > | > (in
> | > | > | > | > | > | > this case Cuis).
> | > | > | > | > | > | >
> | > | > | > | > | > | > The simple route is to just copy and fork. But
> | > | > | > | > | > | > IMHO
> | > | > | > | > | > | > this
> | > | > | > | > | > | > doesn't
> | > | > | > | > | > | > leverage the team already around this editor,
> | > | > | > | > | > | > right? We
> | > | > | > | > | > | > (Pharo)
> | > | > | > | > | > | > can't just go around and forking everything and
> | > | > | > | > | > | > maintaining
> | > | > | > | > | > | > everything for ourselves, right?
> | > | > | > | > | > | >
> | > | > | > | > | > | > I just got interested in that problem - now,
> | > | > | > | > | > | > later
> | > | > | > | > | > | > replies
> | > | > | > | > | > | > indicated that it would still need a
> | > | > | > | > | > | > substantial
> | > | > | > | > | > | > rewrite
> | > | > | > | > | > | > for
> | > | > | > | > | > | > Pharo, so perhaps the situation I am describing
> | > | > | > | > | > | > is
> | > | > | > | > | > | > not
> | > | > | > | > | > | > really
> | > | > | > | > | > | > applicable in this case.
> | > | > | > | > | > | >
> | > | > | > | > | > | > regards, Göran
> | > | > | > | > | > | >
> | > | > | > | > | > |
> | > | > | > | > | > |
> | > | > | > | > | > |
> | > | > | > | > | >
> | > | > | > | > |
> | > | > | > | > |
> | > | > | > | > |
> | > | > | > | > | --
> | > | > | > | > | Best regards,
> | > | > | > | > | Igor Stasenko.
> | > | > | > | > |
> | > | > | > | > |
> | > | > | > | >
> | > | > | > |
> | > | > | > |
> | > | > | > |
> | > | > | > | --
> | > | > | > | Best regards,
> | > | > | > | Igor Stasenko.
> | > | > | > |
> | > | > | > |
> | > | > | >
> | > | > |
> | > | > |
> | > | > |
> | > | > | --
> | > | > | Best regards,
> | > | > | Igor Stasenko.
> | > | > |
> | > | > |
> | > | >
> | > |
> | > |
> | > |
> | >
> |
> |
> |
>
--
Best regards,
Igor Stasenko.
April 24, 2012
Re: [Pharo-project] SimpleLiteralArrayParser
by Mariano Martinez Peck
On Tue, Apr 24, 2012 at 12:31 PM, Mariano Martinez Peck <
marianopeck(a)gmail.com> wrote:
>
>
> On Tue, Apr 24, 2012 at 12:15 PM, Sven Van Caekenberghe <sven(a)beta9.be>wrote:
>
>>
>> On 24 Apr 2012, at 11:40, stephane ducasse wrote:
>>
>> > Hi guys
>> >
>> > We should develop a simple Literal Array parser that is dialect
>> independant
>> > so that we can avoid using JSON for meta data. So I will start to
>> develop. I will start to write some tests and do it test first.
>> >
>> > Gofer new
>> > repository: 'http://ss3.gemstone.com/ss/SimpleLiteralArrayParser';
>> > package: 'SimpleLiteralArrayParser';
>> > load
>> >
>> > Now I still wonder what do we do about floats. May be the situation
>> changed but Squeak and VW floats were not the same.
>> >
>> > Stef
>>
>> Good idea!
>>
>> I was already thinking about doing that ;-)
>>
>> But shouldn't there be a specification first ?
>>
>
>> For primitives, have a look at JSON, don't make it more complicated than
>> that.
>>
>>
> Taking your last two sentences I would conclude that then we are yet
> reinventing the wheele again?
> I think noone has still say which is the big problem of using JSON. The
> answer "we need a parser" is not enough. You will need a parser for the
> literal array also.
> Dale said the parser for JSON was decoupled from Seaside and quite small.
> So...can someone tell me the real problem with numbers and facts please?
>
>
BTW...wasn't Sven working in a kind of JSON for Smalltalk ?
>
--
Mariano
http://marianopeck.wordpress.com
April 24, 2012
Re: [Pharo-project] Pharo and the rest of the ecosystem
by Stéphane Ducasse
>> Now I do not see the points related to spoon and cuis. I do not understand what is the point.
>> If people wants to collaborate with us this is ok now we do not count on that for our future.
>>
>> You do not have to reply. Just think about what you want to build and your future. Everybody
>> make choices and is free.
>
> I see the point behind Cuis/Spoon discussion in a wish to avoid
> duplication efforts in Smalltalk community. A wish to hear from you a
> word, something like: "yes we will look in Cuis to see if we can reuse
> some ideas or even code". To express just a will to look at achievements
> of others would help here. I think this is what many of us wants to hear.
Did you notice that we ***already*** harvested some of the CUIS items?
Now it does not make sense to stay compatible for the sake of it.
Look CUIS changes the class definition meta data and this is ok. Now nobody went to say
to Juan that he should not ⦠blablbalbalba
Stef
> Best regards
> Janko
>
>
>
> --
> Janko Mivšek
> Aida/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
>
April 24, 2012
Re: [Pharo-project] SimpleLiteralArrayParser
by Mariano Martinez Peck
On Tue, Apr 24, 2012 at 12:15 PM, Sven Van Caekenberghe <sven(a)beta9.be>wrote:
>
> On 24 Apr 2012, at 11:40, stephane ducasse wrote:
>
> > Hi guys
> >
> > We should develop a simple Literal Array parser that is dialect
> independant
> > so that we can avoid using JSON for meta data. So I will start to
> develop. I will start to write some tests and do it test first.
> >
> > Gofer new
> > repository: 'http://ss3.gemstone.com/ss/SimpleLiteralArrayParser';
> > package: 'SimpleLiteralArrayParser';
> > load
> >
> > Now I still wonder what do we do about floats. May be the situation
> changed but Squeak and VW floats were not the same.
> >
> > Stef
>
> Good idea!
>
> I was already thinking about doing that ;-)
>
> But shouldn't there be a specification first ?
>
> For primitives, have a look at JSON, don't make it more complicated than
> that.
>
>
Taking your last two sentences I would conclude that then we are yet
reinventing the wheele again?
I think noone has still say which is the big problem of using JSON. The
answer "we need a parser" is not enough. You will need a parser for the
literal array also.
Dale said the parser for JSON was decoupled from Seaside and quite small.
So...can someone tell me the real problem with numbers and facts please?
--
Mariano
http://marianopeck.wordpress.com
April 24, 2012
Re: [Pharo-project] [ANN] PharoLauncher for Mac users
by HwaJong Oh
Simple.
I want to use Autolayout feature, which requires Lion(Mac OS X 10.7). :-)
It is such a magic. Morphic may be great with it.
HwaJong Oh
--
View this message in context: http://forum.world.st/ANN-PharoLauncher-for-Mac-users-tp4580756p4582996.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
April 24, 2012
Re: [Pharo-project] [Pharo-users] Organization for the Pharo Conf.
by Stéphane Ducasse
yes to me and marcus
Stef
On Apr 24, 2012, at 11:58 AM, Bernat Romagosa wrote:
> Good idea!
>
> I've just been told Citilab is letting me go to the conference, so we'll meet there. :)
>
> We're currently developing an application in Iliad and Pharo, involving also a plugin for Firefox, Chrome and Safari, which will be used by about 70 knowledge centres in Spain totalling around 250 users. Our intention was to try to present it at ESUG'12, but maybe we can also introduce it in the PharoConference. Should I send these 3 slides directly to you?
>
> Cheers!
>
> Bernat.
>
> 2012/4/23 Stéphane Ducasse <Stephane.Ducasse(a)inria.fr>
> Hi guys,
>
> I'm preparing the conference. I would like to make sure that we can get discussion around technology and business.
>
> I was thinking that we could have a session where you provide a presentation with 3 () slides
> - Your business
> - Your technological asset
> - What you can share
>
> We could put theses slides on the web as an advertisement.
>
> What I would like to get is the message that
> - other people should be able to see that we can do business in Pharo,
> - that they could get some knowledge, librariesâ¦
>
> I'm looking for your ideas on how to setup the program so that we could have exchange on business opportunities.
>
>
> Stef
>
>
>
>
>
>
>
> --
> Bernat Romagosa.
April 24, 2012
Re: [Pharo-project] SimpleLiteralArrayParser
by Sven Van Caekenberghe
On 24 Apr 2012, at 11:40, stephane ducasse wrote:
> Hi guys
>
> We should develop a simple Literal Array parser that is dialect independant
> so that we can avoid using JSON for meta data. So I will start to develop. I will start to write some tests and do it test first.
>
> Gofer new
> repository: 'http://ss3.gemstone.com/ss/SimpleLiteralArrayParser';
> package: 'SimpleLiteralArrayParser';
> load
>
> Now I still wonder what do we do about floats. May be the situation changed but Squeak and VW floats were not the same.
>
> Stef
Good idea!
I was already thinking about doing that ;-)
But shouldn't there be a specification first ?
For primitives, have a look at JSON, don't make it more complicated than that.
Sven
April 24, 2012
Re: [Pharo-project] Pharo and the rest of the ecosystem
by Janko Mivšek
Hi Stef,
Dne 24. 04. 2012 11:22, piše Stéphane Ducasse:
> Now I do not see the points related to spoon and cuis. I do not understand what is the point.
> If people wants to collaborate with us this is ok now we do not count on that for our future.
>
> You do not have to reply. Just think about what you want to build and your future. Everybody
> make choices and is free.
I see the point behind Cuis/Spoon discussion in a wish to avoid
duplication efforts in Smalltalk community. A wish to hear from you a
word, something like: "yes we will look in Cuis to see if we can reuse
some ideas or even code". To express just a will to look at achievements
of others would help here. I think this is what many of us wants to hear.
Best regards
Janko
--
Janko Mivšek
Aida/Web
Smalltalk Web Application Server
http://www.aidaweb.si
April 24, 2012