Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- 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
August 2017
- 787 messages
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Stephane Ducasse
Thanks guille and pablo for the explanation.
One day we will have to work on a fuel solution for binary code loading.
On Wed, Aug 2, 2017 at 7:02 AM, Guillermo Polito <guillermopolito(a)gmail.com>
wrote:
> Hi all,
>
> I think Pablo answered most of the questions. But there is another
> important concern: Hermes is not designed to be a general purpose
> serializer. So it not in it goals to be extensible or fast. The main goals
> behind hermes are:
> - to be small (actually smaller than the compiler)
> - to have as few dependencies as possible
>
> This is because we want to have it in the first bootstrapped image to have
> a small kernel with faster build time, and be able to load the compiler
> afterwards using it. Concretely, after bootstrap we use Hermes to load only
> four packages (Compiler + 3 dependencies). Once that is done, we can go
> back into using the compiler to load the rest.
>
> We did not think about putting it at the level of monticello, that has to
> be thought for the future. In any case, moving to git/filetree makes
> sharing binary mcz more difficult. Another two points that hermes is not
> managing so far to be a more general code loading solution is that it does
> not manage source files (it installs methods without source) nor the
> reloading/update of code.
>
> From an implementation/format point of view, Hermes writes something
> somehow equivalent to a java .class file but with a package granularity. I
> think it may be valuable to nicely document the format. That could allow
> other dialects to have their implementation and share hermes files (delta
> some runtime compatibility :) ).
>
> Guille
>
> On Tue, Aug 1, 2017 at 11:14 PM, tesonep(a)gmail.com <tesonep(a)gmail.com>
> wrote:
>
>> Hi Mariano,
>> The definition is not serialized. What is serialized is all the
>> information to regenerate the class (eg: superclass name, instance variable
>> names, class variables names, share pool names, category, layout class, and
>> so on). This information is later used to regenerate the class as it is
>> created initially by the class builder and installer. The same happens with
>> the methods, they are built up from scratch without using the compiler. The
>> bytecode is stored, the literals are serialized and the information in the
>> header is serialized, as it has to be rebuilt when install.
>>
>> The same is applicable to the traits and extension methods.
>>
>> Basically it can be seen as a class builder / installer, that get all the
>> information from the serialized version and not from the text
>> representation of the class or the methods.
>>
>> That's why I said Hermes is so couple with Pharo.
>>
>> Thanks for clarifying, I am starting to understand where yours doubts
>> came from.
>>
>> Cheers,
>> Pablo
>>
>> On Tue, Aug 1, 2017 at 10:52 PM, Mariano Martinez Peck <
>> marianopeck(a)gmail.com> wrote:
>>
>>>
>>>
>>> On Tue, Aug 1, 2017 at 5:31 PM, tesonep(a)gmail.com <tesonep(a)gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> Yes for sure there are objects, and that is very powerful, but
>>>> comparing the algorithm of serialization of Hermes with Fuel (I don't
>>>> really know Parcels) is not possible. It is like comparing Filetree with
>>>> Fuel, The problems they have to take care are completely different.
>>>>
>>>> Maybe I am not seeing the point.
>>>>
>>>>
>>> Let me add one sentence that may explain Eliot questions... if you
>>> serialize the class definition, then it means you would need the compiler.
>>> I guess Eliot may be interested in NOT having the compiler at all and
>>> instead bring classes directly from binary format (like Fuel / Tanker )
>>>
>>>
>>>
>>>
>>>> Cheers.
>>>>
>>>> On Tue, Aug 1, 2017 at 10:25 PM, Eliot Miranda <eliot.miranda(a)gmail.com
>>>> > wrote:
>>>>
>>>>> Hi Pablo,
>>>>>
>>>>> On Tue, Aug 1, 2017 at 12:36 PM, tesonep(a)gmail.com <tesonep(a)gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi again,
>>>>>> thanks for the clarification, I haven't understood the question
>>>>>> initially, but now I think I can answer it.
>>>>>>
>>>>>> Hermes is only exporting the classes, not objects. so it does not
>>>>>> have to handle complex graphs of objects. Basically it serializes the
>>>>>> definition of the classes, traits and methods. Then they are loaded in
>>>>>> sequence. The only caring during the generation is to serialize first the
>>>>>> superclasses, and then the subclasses. There is no way of serializing
>>>>>> objects outside the classes, methods, traits and literals in a method.
>>>>>>
>>>>>
>>>>> Classes, traits, methods, literals *are* a graph of objects :-). The
>>>>> Parcel architecture, from which Fuel derived its architecture, was designed
>>>>> for loading code in VisualWorks. In fact, last time I looked Parcels were
>>>>> used only to store code and not as a general purpose (de)serializer.
>>>>>
>>>>> So the answer is that is not using Parcels or Fuel architecture
>>>>>> because they are intended for different uses.
>>>>>>
>>>>>
>>>>> Well, I don't think that's the reason ;-), but fine. I understand
>>>>> that it doesn't use this architecture. Thanks.
>>>>>
>>>>>
>>>>>> Also the format itself has no special design or considerations to be
>>>>>> fast to generate or fast to read (as It happens with Fuel)
>>>>>>
>>>>>> Cheers,
>>>>>> Pablo
>>>>>>
>>>>>> On Tue, Aug 1, 2017 at 9:16 PM, Eliot Miranda <
>>>>>> eliot.miranda(a)gmail.com> wrote:
>>>>>>
>>>>>>> Hi Pablo,
>>>>>>>
>>>>>>> I understand that Hermes has its own format. My question was
>>>>>>> about architecture. The Parcels/Fuel architecture is, AFAIA, the best
>>>>>>> architecture for binary storage because it is virtual, is fast to load and
>>>>>>> cleanly separates loading from initialization. What do I mean?
>>>>>>>
>>>>>>> - concrete formats like ImageSegment are tied to internal
>>>>>>> representations in the VM and do are difficult to read in forever FB
>>>>>>> systems and very hard to write in foreign systems. So a virtual format
>>>>>>> (like BOSS, Fuel, Parcels, etc) is better but unless done well can be slow
>>>>>>>
>>>>>>> - a first generation system like BOSS is a flattening of a graph
>>>>>>> traversal using a simple grammar. Each phrase is either an object
>>>>>>> reference (object id) or an object definition (object is followed by type
>>>>>>> info and contents, contents being a sequence of phrases. This is slow to
>>>>>>> parse (because each phrase must be decoded), and has invalid intermediate
>>>>>>> states (e.g. a Set whose contents are not all present, hence whose external
>>>>>>> hash may change during loading, etc). A second generation system like
>>>>>>> Parcels and Fuel separates objects from references (nodes from arcs) and
>>>>>>> batches object creation, grouping all instances of a given class for bulk,
>>>>>>> and hence fast, instantiation. Following my the objects are the
>>>>>>> references. So loading has three phases:
>>>>>>> - instantiate the objects
>>>>>>> - connect the graph by filling in object references
>>>>>>> - initialize the objects that require it (e.g. rehash sets)
>>>>>>>
>>>>>>> Consequently the writer must be two pass, the first pass to collect
>>>>>>> the objects in the graph and sort them by class, the second to write the
>>>>>>> nodes followed by the references
>>>>>>>
>>>>>>> So let me ask again, does Hermes use the Parcels/Fuel architecture?
>>>>>>>
>>>>>>> _,,,^..^,,,_ (phone)
>>>>>>>
>>>>>>> On Aug 1, 2017, at 11:52 AM, "tesonep(a)gmail.com" <tesonep(a)gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> Hi Eliot,
>>>>>>>
>>>>>>> The last version of Hermes, that I have generated today and have to
>>>>>>> be tested for real yet, is able to load and save from and to 32 and 64
>>>>>>> bits, handling the conversion. Because the Hermes representation (if we can
>>>>>>> call it like that, because is really simple, does not care about the
>>>>>>> architecture).
>>>>>>>
>>>>>>> Hermes is using a custom format completely separated from Fuel or
>>>>>>> any other tool.
>>>>>>>
>>>>>>> This is a consequence of the design of Hermes. Hermes has been
>>>>>>> designed to only work as light way of loading code during the bootstrap. So
>>>>>>> that, it is heavily coupled with Pharo (it can be changed, for example
>>>>>>> implementing another loader / installer) and uses only really core classes.
>>>>>>>
>>>>>>> Of course it can be extended and used in another Smalltalk dialects,
>>>>>>> but I am not sure if the tool can be useful for them, or even for the Pharo
>>>>>>> community outside the Pharo bootstrap process.
>>>>>>>
>>>>>>> Today to be useful outside the bootstrap process, some work has to
>>>>>>> be done (perhaps a lot), but mainly new use cases have to be thinked. Once
>>>>>>> the Compiler, Monticello or Metacello is available, there is no need for
>>>>>>> Hermes. It is only used to generate some binary loadable packages for the
>>>>>>> compiler from the source code.
>>>>>>>
>>>>>>> Again, it was only thinked as a tool to improve the speed during the
>>>>>>> bootstrap. However, if somebody has ideas to use it or want to collaborate
>>>>>>> are of course welcomed.
>>>>>>>
>>>>>>> Hermes is actually in Github, because to me is more comfortable to
>>>>>>> have it there, but if somebody is really wanting to use it.... we can
>>>>>>> manage to have an export process to Smalltalkhub.
>>>>>>>
>>>>>>> I hope I have clarified a little the idea behind Hermes.
>>>>>>>
>>>>>>> Maybe you have better ideas of what can we do with it.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 1, 2017 at 7:59 PM, Eliot Miranda <
>>>>>>> eliot.miranda(a)gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Guille,
>>>>>>>>
>>>>>>>> On Aug 1, 2017, at 4:29 AM, Guillermo Polito <
>>>>>>>> guillermopolito(a)gmail.com> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Aug 1, 2017 at 12:57 PM, philippe.back(a)highoctane.be <
>>>>>>>> philippe.back(a)gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Massive.
>>>>>>>>>
>>>>>>>>> What is in the super small image?
>>>>>>>>> Is Hermes going to be a generic binary content loader?
>>>>>>>>>
>>>>>>>>
>>>>>>>> There is still work to do in this front.
>>>>>>>> - Hermes only works for 32bits format. We should adapt it to 64
>>>>>>>> bits (immediate floats and so on...)
>>>>>>>> - There is no format validation. We should add one for safety.
>>>>>>>>
>>>>>>>>
>>>>>>>> Will Hermes be able to save on 32-bits and load on 64-bits and vice
>>>>>>>> verse?
>>>>>>>>
>>>>>>>> Does Hermes use the Parcels/Fuel architecture of saving nodes,
>>>>>>>> grouped by class, followed by the arcs?
>>>>>>>>
>>>>>>>> If yes to both of these, are you willing to keep it in Monticello
>>>>>>>> and collaborate with the Squeak & Cuis communities in developing Hermes?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Phil
>>>>>>>>>
>>>>>>>>> On Aug 1, 2017 12:36, "Stephane Ducasse" <stepharo.self(a)gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Pavel
>>>>>>>>>>
>>>>>>>>>> This is super excellent! IMPRESSIVE. An image without the
>>>>>>>>>> compiler and
>>>>>>>>>> a reloadable compiler.
>>>>>>>>>> Super cool.
>>>>>>>>>>
>>>>>>>>>> Stef
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Aug 1, 2017 at 11:57 AM, Pavel Krivanek
>>>>>>>>>> <pavel.krivanek(a)gmail.com> wrote:
>>>>>>>>>> > Hello,
>>>>>>>>>> >
>>>>>>>>>> > we are checking a huge pull request #177
>>>>>>>>>> > (https://github.com/pharo-project/pharo/pull/177) that will
>>>>>>>>>> change some
>>>>>>>>>> > basics of the bootstrap process:
>>>>>>>>>> >
>>>>>>>>>> > Now we will bootstrap a smaller image that will not include
>>>>>>>>>> compiler/parser.
>>>>>>>>>> > Compiler and related packages are exported and loaded using a
>>>>>>>>>> binary
>>>>>>>>>> > exporter named Hermes.
>>>>>>>>>> > The compiler is then used to load FileSystem and Monticello.
>>>>>>>>>> The rest of the
>>>>>>>>>> > bootstrap process will be the same as before.
>>>>>>>>>> > As the result we will have faster bootstrap and better system
>>>>>>>>>> modularization
>>>>>>>>>> > and possibilities.
>>>>>>>>>> >
>>>>>>>>>> > It required some modularization efforts:
>>>>>>>>>> >
>>>>>>>>>> > - simplified initialization scripts
>>>>>>>>>> > - Use Zinc converters and encoders instead of FilePathEncoder
>>>>>>>>>> and old
>>>>>>>>>> > TextConverter
>>>>>>>>>> > - Use Stdio instead of FileStream
>>>>>>>>>> > - Using File instead of FileSystem
>>>>>>>>>> > - Deprecated FileStream & childs (Moved to Deprecated70)
>>>>>>>>>> > - Extracted Path classes to their on package: FileSystem-Path
>>>>>>>>>> > - Moved OpalEncoders to their own package. They are required by
>>>>>>>>>> the runtime
>>>>>>>>>> > (not only for compilation)
>>>>>>>>>> > - Introduced AsciiCharset in the kernel to answer to #isLetter
>>>>>>>>>> #isUppercase
>>>>>>>>>> > and so on without requiring full Unicode tables from the
>>>>>>>>>> beginning
>>>>>>>>>> > - Cleaning up a bit the full exception logging infrastructure
>>>>>>>>>> (streams,
>>>>>>>>>> > transcript, files, stack printing...)
>>>>>>>>>> > - Split Ring methods required for system navigation to the
>>>>>>>>>> Ring-Navigation
>>>>>>>>>> > package
>>>>>>>>>> > - Remove usages of #translated in the kernel
>>>>>>>>>> > - Refactored the bootstrapping classes to remove duplications
>>>>>>>>>> > - Cleaning up dependencies in CompiledMethod>>printOn:
>>>>>>>>>> > - fix path printing
>>>>>>>>>> >
>>>>>>>>>> > We need to merge these changes at once and of course it can
>>>>>>>>>> cause some
>>>>>>>>>> > conflicts with the existing pull requests or external code.
>>>>>>>>>> Anyway, we need
>>>>>>>>>> > to merge it as soon as possible.
>>>>>>>>>> >
>>>>>>>>>> > So please, try to look at the PR and test the resultant image
>>>>>>>>>> [1] to avoid
>>>>>>>>>> > some major problems.
>>>>>>>>>> >
>>>>>>>>>> > [1]
>>>>>>>>>> > https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/last
>>>>>>>>>> SuccessfulBuild/artifact/bootstrap-cache/Pharo7.0-32bit-9c06
>>>>>>>>>> 91d.zip
>>>>>>>>>> >
>>>>>>>>>> > Cheers,
>>>>>>>>>> > -- Pavel
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Guille Polito
>>>>>>>>
>>>>>>>>
>>>>>>>> Research Engineer
>>>>>>>>
>>>>>>>> French National Center for Scientific Research -
>>>>>>>> *http://www.cnrs.fr* <http://www.cnrs.fr>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *Web:* *http://guillep.github.io* <http://guillep.github.io>
>>>>>>>>
>>>>>>>> *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Pablo Tesone.
>>>>>>> tesonep(a)gmail.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Pablo Tesone.
>>>>>> tesonep(a)gmail.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> _,,,^..^,,,_
>>>>> best, Eliot
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Pablo Tesone.
>>>> tesonep(a)gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>>
>>
>> --
>> Pablo Tesone.
>> tesonep(a)gmail.com
>>
>
>
>
> --
>
>
>
> Guille Polito
>
>
> Research Engineer
>
> French National Center for Scientific Research - *http://www.cnrs.fr*
> <http://www.cnrs.fr>
>
>
>
> *Web:* *http://guillep.github.io* <http://guillep.github.io>
>
> *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013>
>
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Henrik Sperre Johansen
Pavel Krivanek-3 wrote
> - Deprecated FileStream & childs (Moved to Deprecated70)
*Counts direct references to FileStream & subclasses in a 6.1 Moose image*
Brave souls!
I hope the migration guide will be up to snuff, or I imagine a large
percentage will be staying on 7.0 for a looong while :)
Cheers,
Henry
--
View this message in context: http://forum.world.st/IMPORTANT-Following-changes-in-the-bootstrapping-proc…
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Aug. 2, 2017
Re: [Pharo-dev] Epicea: Revert the removal of a class
by Henrik Sperre Johansen
tinchodias wrote
> However, I can say the Epicea changes browser is prepared
> to this scenario because it delays its UI refresh some milliseconds after
> a
> change announcement happened.
Can verify this really helps, having loaded large batches in a 6.1 image
(with no other browsers open, for obvious reasons...)
Though, it would be nice if the UI/change flushing updates were sent by
signals to corresponding threads, instead of being forked off each time.
That way, they doesn't clutter up a "start profiling all processes" with 5 -
20 ms entries for 999 different processes, so finding other slowdowns is
less of a hassle...
I assume its done the current way to avoid requiring explicit closing in
order to not leak memory (running deferrer process referencing receiver,
etc), but that can be avoided using a WeakMessageSend, see attached for
example changes:
OmDeferrerThreaded.cs
<http://forum.world.st/file/n4958297/OmDeferrerThreaded.cs>
Cheers,
Henry
--
View this message in context: http://forum.world.st/Epicea-Revert-the-removal-of-a-class-tp4957466p495829…
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Aug. 2, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Tim Mackinnon
Ah, I think Iâm starting to get closer to what I needâ¦
So if I want to load in that last piece to enable more general remote loading - how do I figure out how to do that? Iâm trying to work out where the build steps for building up the image (can I see them in Jenkins? It wasnât clear to me if I can look it up? Or the BaselineOfIDE was mentioned - looking there I can see a few metacello and gofer packages - but then I guess Iâm looking for an easy Mcz I can use with the example below?
Or do I just load Metacello as a git submodule and then it will be on my local filesystem to then bootstrap up?
I guess Iâm trying to work out the best sustainable approach to getting to a good server based image that has minimal tools and the ability to easily load remote code for pre-req projects.
Tim
> On 2 Aug 2017, at 07:05, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
>
> Yes, you should be able to load an mcz in that image by doing:
>
> (MCDirectoryRepository new directory: 'where-your-mcz-is')
> loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz') load.
>
> Guille
>
> On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>
> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
> Hi Pavel - I tried it again and the problem is do with Metacello dependencies in your baseline.
>
> The SUnit baseline doesnât specify any additional dependencies to load (it just loads local packages), whereas my baseline that fails looks like this:
>
> baseline: spec
> <baseline>
>
> spec for: #common do: [
> spec configuration: 'ZTimestamp' with: [
> spec
> versionString: #stable;
> repository: 'http://mc.stfx.eu/Neo <http://mc.stfx.eu/Neo>' ].
>
> spec baseline: 'AWS' with: [
> spec repository: 'github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-repository <>' ].
>
> spec
> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>
> ].
>
>
> The âspec configuration: â¦.â Specifications cause the error:
>
> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
> 26 MCRepositoryGroup>>addRepository:
>
> If I remove those lines from my baseline above (as well the requires: reference to them) I can then successfully load my packages.
>
> So is this something the minimal image should support (otherwise how do you load external packages into your image without checking them in locally?) OR is there something simple I can checkin and load locally to return that behaviour? (Personally I think it would make sense to allow remote loading - Iâm guessing Pharo itself as a core has everything it needs - but if you want to do any experimentation on the core and need remote packages, you would hit this too - so it feels a bit limiting).
>
> The dependencies in th baseline are supported but the support for most of external repositories (like package Metacello-GitBasedRepository) is loaded at the end of bootstrapping process in BaselineOfIDE. We should check/solve dependencies and move it into the minimal Pharo. For now you can try to load it by yourself or work with already prepared local clones of required repositories.
>
> -- Pavel
>
>
>
>
> Tim
>
>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>>
>>
>>
>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess… <https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess…> one still shows as being last updated 7 days ago.
>>
>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu… <https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu…> one gives me a mismatch error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>
>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu… <https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu…> one gives me a walkback when trying to run my install script :
>>
>> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
>> 26 MCRepositoryGroup>>addRepository:
>> 27 createRepository
>> | repo |
>> repo := self project createRepository: self.
>> ^ MCRepositoryGroup default repositories
>> detect: [ :each | each = repo ]
>> ifNone: [
>> MCRepositoryGroup default addRepository: repo.
>> repo ] in MetacelloRepositorySpec>>createRepository
>>
>> I think this is because the image doesnât support Metacello? As in:
>> Metacello new
>> repository: 'filetree://../src <>';
>> baseline: 'Lambda';
>> load.
>>
>> How do you guys load things into the minimal images (I thought you used Metacello - but maybe you do it some other way?)
>>
>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd really like a minimal solution - that can load in libraries like AWS S3, or XML parsing etc. and it seems like I should be a good customer for kicking the tires on all of this.
>>
>> Tim
>>
>>
>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of SUnit from pharo-project/pharo) works:
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new baseline: 'SUnit'; repository: 'filetree://./pharo-core/src <>'; load."
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>
>> Can you test it too?
>>
>> -- Pavel
>
>
>
>
>
> --
>
> Guille Polito
>
> Research Engineer
> French National Center for Scientific Research - http://www.cnrs.fr <http://www.cnrs.fr/>
>
>
> Web: http://guillep.github.io <http://guillep.github.io/>
> Phone: +33 06 52 70 66 13
Aug. 2, 2017
Re: [Pharo-dev] Calypso browser and categories?
by Denis Kudriashov
2017-08-02 13:55 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>
>
> On Tue, Aug 1, 2017 at 11:32 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
> wrote:
>
>> And I released new version with all fixes
>>
>>
> Cool! I just tested and everything seems to work nicely. Thanks Denis for
> the fixes and new release. A pleasure to be using this browser.
> You know... it's easier for me to simply complain about bugs or missing
> features than talk about the cool things about it. The latter would take me
> hours ;)
>
Do not stop complain. It forced me to fix boring things :)
>
>
>
>> 2017-08-01 14:56 GMT+02:00 Denis Kudriashov <dionisiydk(a)gmail.com>:
>>
>>> Also try alt+left to navigation back in such cases.
>>>>
>>>>
>>>>
>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>>> displayed on right click menu.
>>>>
>>>
>>> There is no special tool for this. But you can browse all references
>>> to CmdShortcutCommandActivator. It will gives you list of command
>>> classes which can be accessed by shortcut. And in every found method you
>>> will see keymap.
>>>
>>>
>>>> Maybe there are shortcuts for moving across panes? I always wanted
>>>> that... say I am in the code area of a method and I would like to move to
>>>> the package panel, or the class panel.. with the keyboard...
>>>
>>>
>>> I not implemented it. If you know how to do it in Morphic with given
>>> morph instance then you can try implement it by yourself. Look at
>>> ClyShowMessageSenderCommand as example of command which interact with
>>> browser. You can ask it for methodView, classView, packageView and so on.
>>> They are all just morphs.
>>>
>>>
>>> 2017-08-01 14:26 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>> :
>>>
>>>>
>>>>
>>>> On Tue, Aug 1, 2017 at 9:10 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> 2017-07-31 23:50 GMT+02:00 Mariano Martinez Peck <
>>>>> marianopeck(a)gmail.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 31, 2017 at 6:15 PM, Denis Kudriashov <
>>>>>> dionisiydk(a)gmail.com> wrote:
>>>>>>
>>>>>>> Hi Mariano.
>>>>>>>
>>>>>>> You right. Method for this was implemented but I forgot to use it in
>>>>>>> #selectClass: logic.
>>>>>>> I committed fix to dev branch. I will realze new version soon.
>>>>>>>
>>>>>>>
>>>>>> OK, great. Let me know when you want me to test it. I am glad it was
>>>>>> a "bug". I thought it might have been some "decision".
>>>>>>
>>>>>
>>>>> It was not a bug but missing feature :)
>>>>>
>>>>>
>>>>
>>>> :)
>>>>
>>>>
>>>>
>>>>>
>>>>>>
>>>>>>> But I am not sure that it is only issue you are talking about.
>>>>>>>
>>>>>>
>>>>>> Yeah, I figured I can see it elsewhere. But I will find them if there
>>>>>> are other places...
>>>>>>
>>>>>>
>>>>>> BTW, I also found some other small issues which I comment below. Do
>>>>>> you want me to open issues on github for them?
>>>>>>
>>>>>
>>>>> Yes, please :)
>>>>>
>>>>>
>>>>>>
>>>>>> * "Windows" -> "Delete all windows discarding edits" -> does not
>>>>>> close Calypso windows with none saved edits
>>>>>>
>>>>>
>>>>> Never use it. Now I look at implementation and it is super naive. Not
>>>>> sure that we should modify Calypso to satisfy this approach. I thing there
>>>>> are other tools which will be not closed by this command
>>>>>
>>>>
>>>>
>>>> Well, I use it quite frequently. Whenever I am done with implementing a
>>>> given feature, or fixing a given bug, I close everything, I evaluate a
>>>> workspace that I always have at hand that does some cleanup, and I am ready
>>>> to go to the next task. So I hate when I cannot easily close all windows.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>> * When I have a class opened, with a method opened, then I go to the
>>>>>> class comment tab and I save the class comment, calypso automatically gives
>>>>>> me focus
>>>>>> back to the "method tab" rather than staying in the class comment.
>>>>>> This is annoying as i like to save my class comment frequently and not they
>>>>>> flip to another tab.
>>>>>>
>>>>>
>>>>> Strangely I can not reproduce it. Do you see this all the time? Try
>>>>> open new browser and repeat it.
>>>>>
>>>>
>>>>
>>>> mmmm weird. I tried again and I failed to reproduce it hahah. Ok.....
>>>> ignore it... unless I find a reproducible case.
>>>>
>>>>
>>>>
>>>>> Also try alt+left to navigation back in such cases.
>>>>>
>>>>>
>>>>
>>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>>> displayed on right click menu.
>>>> Maybe there are shortcuts for moving across panes? I always wanted
>>>> that... say I am in the code area of a method and I would like to move to
>>>> the package panel, or the class panel.. with the keyboard...
>>>>
>>>>
>>>>
>>>>
>>>>> * I wish the "new protocol" offers me the existing ones as I type...as
>>>>>> I normally re-use existing protocols (on purpose) and its easy to make
>>>>>> small typos or differences with the original ones.
>>>>>>
>>>>>
>>>>> Done. Use Iceberg to update SystemCommands project (metacello script
>>>>> could not work)
>>>>>
>>>>
>>>>
>>>> Awesome. Thanks.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Thoughts?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> 2017-07-31 18:25 GMT+02:00 Mariano Martinez Peck <
>>>>>>> marianopeck(a)gmail.com>:
>>>>>>>
>>>>>>>> Hi Denis,
>>>>>>>>
>>>>>>>> I wanted to give a serious test to Calypso, that is, start using it
>>>>>>>> all day long. However, there is a critical thing I am missing, which is the
>>>>>>>> grouping of categories (inside packages).
>>>>>>>>
>>>>>>>> I do not want to start discussing again packages vs categories and
>>>>>>>> what are good and bad practices. I do have a few packages and each package
>>>>>>>> may have several categories inside. So... seeing all classes together
>>>>>>>> inside a package is not nice for me.
>>>>>>>>
>>>>>>>> Is there a way in calypso to auto-escope to category level? I
>>>>>>>> mean... say my package is XXX and I have categories XXX-A and XXX-B. I know
>>>>>>>> I can go to left side column and with the tree, I can go to XXX-A and I get
>>>>>>>> what I want. But, for example, when I browse a class of XXX-A, the "focus"
>>>>>>>> of the left side column is XXX and not XXX-A. So I am wondering if we can
>>>>>>>> make it auto-scope to the category everywhere in Calypso.
>>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>>
>>>>>>>> --
>>>>>>>> Mariano
>>>>>>>> http://marianopeck.wordpress.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mariano
>>>>>> http://marianopeck.wordpress.com
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>
>>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Aug. 2, 2017
Re: [Pharo-dev] Calypso browser and categories?
by Mariano Martinez Peck
On Tue, Aug 1, 2017 at 11:32 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
wrote:
> And I released new version with all fixes
>
>
Cool! I just tested and everything seems to work nicely. Thanks Denis for
the fixes and new release. A pleasure to be using this browser.
You know... it's easier for me to simply complain about bugs or missing
features than talk about the cool things about it. The latter would take me
hours ;)
> 2017-08-01 14:56 GMT+02:00 Denis Kudriashov <dionisiydk(a)gmail.com>:
>
>> Also try alt+left to navigation back in such cases.
>>>
>>>
>>>
>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>> displayed on right click menu.
>>>
>>
>> There is no special tool for this. But you can browse all references
>> to CmdShortcutCommandActivator. It will gives you list of command
>> classes which can be accessed by shortcut. And in every found method you
>> will see keymap.
>>
>>
>>> Maybe there are shortcuts for moving across panes? I always wanted
>>> that... say I am in the code area of a method and I would like to move to
>>> the package panel, or the class panel.. with the keyboard...
>>
>>
>> I not implemented it. If you know how to do it in Morphic with given
>> morph instance then you can try implement it by yourself. Look at
>> ClyShowMessageSenderCommand as example of command which interact with
>> browser. You can ask it for methodView, classView, packageView and so on.
>> They are all just morphs.
>>
>>
>> 2017-08-01 14:26 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>>
>>>
>>>
>>> On Tue, Aug 1, 2017 at 9:10 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> 2017-07-31 23:50 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com
>>>> >:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Jul 31, 2017 at 6:15 PM, Denis Kudriashov <
>>>>> dionisiydk(a)gmail.com> wrote:
>>>>>
>>>>>> Hi Mariano.
>>>>>>
>>>>>> You right. Method for this was implemented but I forgot to use it in
>>>>>> #selectClass: logic.
>>>>>> I committed fix to dev branch. I will realze new version soon.
>>>>>>
>>>>>>
>>>>> OK, great. Let me know when you want me to test it. I am glad it was a
>>>>> "bug". I thought it might have been some "decision".
>>>>>
>>>>
>>>> It was not a bug but missing feature :)
>>>>
>>>>
>>>
>>> :)
>>>
>>>
>>>
>>>>
>>>>>
>>>>>> But I am not sure that it is only issue you are talking about.
>>>>>>
>>>>>
>>>>> Yeah, I figured I can see it elsewhere. But I will find them if there
>>>>> are other places...
>>>>>
>>>>>
>>>>> BTW, I also found some other small issues which I comment below. Do
>>>>> you want me to open issues on github for them?
>>>>>
>>>>
>>>> Yes, please :)
>>>>
>>>>
>>>>>
>>>>> * "Windows" -> "Delete all windows discarding edits" -> does not close
>>>>> Calypso windows with none saved edits
>>>>>
>>>>
>>>> Never use it. Now I look at implementation and it is super naive. Not
>>>> sure that we should modify Calypso to satisfy this approach. I thing there
>>>> are other tools which will be not closed by this command
>>>>
>>>
>>>
>>> Well, I use it quite frequently. Whenever I am done with implementing a
>>> given feature, or fixing a given bug, I close everything, I evaluate a
>>> workspace that I always have at hand that does some cleanup, and I am ready
>>> to go to the next task. So I hate when I cannot easily close all windows.
>>>
>>>
>>>
>>>>
>>>>
>>>>> * When I have a class opened, with a method opened, then I go to the
>>>>> class comment tab and I save the class comment, calypso automatically gives
>>>>> me focus
>>>>> back to the "method tab" rather than staying in the class comment.
>>>>> This is annoying as i like to save my class comment frequently and not they
>>>>> flip to another tab.
>>>>>
>>>>
>>>> Strangely I can not reproduce it. Do you see this all the time? Try
>>>> open new browser and repeat it.
>>>>
>>>
>>>
>>> mmmm weird. I tried again and I failed to reproduce it hahah. Ok.....
>>> ignore it... unless I find a reproducible case.
>>>
>>>
>>>
>>>> Also try alt+left to navigation back in such cases.
>>>>
>>>>
>>>
>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>> displayed on right click menu.
>>> Maybe there are shortcuts for moving across panes? I always wanted
>>> that... say I am in the code area of a method and I would like to move to
>>> the package panel, or the class panel.. with the keyboard...
>>>
>>>
>>>
>>>
>>>> * I wish the "new protocol" offers me the existing ones as I type...as
>>>>> I normally re-use existing protocols (on purpose) and its easy to make
>>>>> small typos or differences with the original ones.
>>>>>
>>>>
>>>> Done. Use Iceberg to update SystemCommands project (metacello script
>>>> could not work)
>>>>
>>>
>>>
>>> Awesome. Thanks.
>>>
>>>
>>>
>>>>
>>>>
>>>>>
>>>>> Thoughts?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>>
>>>>>> 2017-07-31 18:25 GMT+02:00 Mariano Martinez Peck <
>>>>>> marianopeck(a)gmail.com>:
>>>>>>
>>>>>>> Hi Denis,
>>>>>>>
>>>>>>> I wanted to give a serious test to Calypso, that is, start using it
>>>>>>> all day long. However, there is a critical thing I am missing, which is the
>>>>>>> grouping of categories (inside packages).
>>>>>>>
>>>>>>> I do not want to start discussing again packages vs categories and
>>>>>>> what are good and bad practices. I do have a few packages and each package
>>>>>>> may have several categories inside. So... seeing all classes together
>>>>>>> inside a package is not nice for me.
>>>>>>>
>>>>>>> Is there a way in calypso to auto-escope to category level? I
>>>>>>> mean... say my package is XXX and I have categories XXX-A and XXX-B. I know
>>>>>>> I can go to left side column and with the tree, I can go to XXX-A and I get
>>>>>>> what I want. But, for example, when I browse a class of XXX-A, the "focus"
>>>>>>> of the left side column is XXX and not XXX-A. So I am wondering if we can
>>>>>>> make it auto-scope to the category everywhere in Calypso.
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> --
>>>>>>> Mariano
>>>>>>> http://marianopeck.wordpress.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mariano
>>>>> http://marianopeck.wordpress.com
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>>
>
--
Mariano
http://marianopeck.wordpress.com
Aug. 2, 2017
Re: [Pharo-dev] Lots of "UTF8InvalidText: Invalid utf8 input detected" from OMBU
by Mariano Martinez Peck
On Tue, Aug 1, 2017 at 11:34 AM, Martin Dias <tinchodias(a)gmail.com> wrote:
> Hello:
> So, is this patch working fine?
>
>
Well...it's has been a couple of days already and I haven't seen the issue
again, so I guess yes, the workaround works...
> Cheers
> Martin
>
> On Thu, Jul 27, 2017 at 10:17 AM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>>
>>
>> On Wed, Jul 26, 2017 at 6:36 AM, Henrik Sperre Johansen <
>> henrik.s.johansen(a)veloxit.no> wrote:
>>
>>> There's https://pharo.fogbugz.com/f/cases/20112/, your error could be
>>> the
>>> same.
>>> (a multibyte character crossing the initial-guess block boundary)
>>>
>>> As outlined there, the (temp) fix is to put an error handler around the
>>> nextEntryPositionIfFound:ifNone: call in refreshNewBlocksFrom:
>>>
>>>
>> Hi Henry,
>>
>> Thanks for the pointer. I patched my images with your workaround. I will
>> use it for a couple of days and I will later tell if you it seems to fix it
>> or not.
>>
>> Cheers,
>>
>>
>>
>>> Cheers,
>>> Henry
>>>
>>>
>>>
>>> --
>>> View this message in context: http://forum.world.st/Lots-of-
>>> UTF8InvalidText-Invalid-utf8-input-detected-from-OMBU-tp4956
>>> 734p4956805.html
>>> Sent from the Pharo Smalltalk Developers mailing list archive at
>>> Nabble.com.
>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
--
Mariano
http://marianopeck.wordpress.com
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Alistair Grant
On Wed, Aug 02, 2017 at 09:35:02AM +0200, Pavel Krivanek wrote:
>
>
> 2017-08-02 9:28 GMT+02:00 Alistair Grant <akgrant0710(a)gmail.com>:
>
> Hi Pavel,
>
> On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> > Hello,
> >
> > we are checking a huge pull request #177 (https://github.com/pharo-
> project/
> > pharo/pull/177) that will change some basics of the bootstrap process:
> >
> > ...
> >
> > So please, try to look at the PR and test the resultant image [1] to
> avoid some
> > major problems.
> >
> > [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/
> lastSuccessfulBuild
> > /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
>
> This image had gone by the time I tried to download it, however the same
> directory contained Pharo7.0-32bit-58e8755.
>
>
> There were some fixing commits to the PR so the build hash changed. The
> original download link should contain build number, not symbolic
> lastSuccessfulBuild. Sorry for troubles.
Thanks for the clarification.
The main point of my message was that I was able to do some successfull
testing (as requested), and which version was tested. :-)
Cheers,
Alistair
> I did some ad hoc testing with my current Pharo 7 code and it worked
> without any problems. (but this is only a small test)
>
> P.S. It would be great if the archive name included something that would
> allow us to easily guess which is a newer version, e.g.
>
> git rev-list --count HEAD
>
>
> Thanks,
> Alistair
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Pavel Krivanek
2017-08-02 9:28 GMT+02:00 Alistair Grant <akgrant0710(a)gmail.com>:
> Hi Pavel,
>
> On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> > Hello,
> >
> > we are checking a huge pull request #177 (https://github.com/pharo-
> project/
> > pharo/pull/177) that will change some basics of the bootstrap process:
> >
> > ...
> >
> > So please, try to look at the PR and test the resultant image [1] to
> avoid some
> > major problems.
> >
> > [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/
> lastSuccessfulBuild
> > /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
>
> This image had gone by the time I tried to download it, however the same
> directory contained Pharo7.0-32bit-58e8755.
>
There were some fixing commits to the PR so the build hash changed. The
original download link should contain build number, not symbolic
lastSuccessfulBuild. Sorry for troubles.
-- Pavel
>
> I did some ad hoc testing with my current Pharo 7 code and it worked
> without any problems. (but this is only a small test)
>
> P.S. It would be great if the archive name included something that would
> allow us to easily guess which is a newer version, e.g.
>
> git rev-list --count HEAD
>
>
> Thanks,
> Alistair
>
>
>
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Alistair Grant
Hi Pavel,
On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> Hello,
>
> we are checking a huge pull request #177 (https://github.com/pharo-project/
> pharo/pull/177) that will change some basics of the bootstrap process:
>
> ...
>
> So please, try to look at the PR and test the resultant image [1] to avoid some
> major problems.
>
> [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/lastSuccessfulBuild
> /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
This image had gone by the time I tried to download it, however the same
directory contained Pharo7.0-32bit-58e8755.
I did some ad hoc testing with my current Pharo 7 code and it worked
without any problems. (but this is only a small test)
P.S. It would be great if the archive name included something that would
allow us to easily guess which is a newer version, e.g.
git rev-list --count HEAD
Thanks,
Alistair
Aug. 2, 2017