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
April 2018
- 643 messages
[Pharo7] halt inside and outside tests
by Marcus Denker
Hi,
As we can not very easily decide if we are inside a test execution or not there was the idea to have special #halt messages
https://pharo.fogbugz.com/f/cases/20151/new-halt-messages <https://pharo.fogbugz.com/f/cases/20151/new-halt-messages>
This PR implements them:
https://github.com/pharo-project/pharo/pull/1177 <https://github.com/pharo-project/pharo/pull/1177>
There is now #haltIfInsideTest and #haltfOutsideTest. In addition, the PR adds a helper method to make checking if the current
execution environment is a test run a bit easier: "CurrentExecutionEnvironment value isTestâ.
Marcus
April 2, 2018
[Pharo 7.0-dev] Build #749: 21669-Style-deprecated-classes-in-source-code
by ci-pharo-ci-jenkins2@inria.fr
There is a new Pharo build available!
The status of the build #749 was: SUCCESS.
The Pull Request #1170 was integrated: "21669-Style-deprecated-classes-in-source-code"
Pull request url: https://github.com/pharo-project/pharo/pull/1170
Issue Url: https://pharo.fogbugz.com/f/cases/21669
Build Url: https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%2…
April 2, 2018
Regroup pharo ARMv6 builds (was: 324996: Add a main build stage for Squeak and Pharo)
by Alistair Grant
Hi Nicolas,
This is looking much better, thanks!
Can I suggest 1 more regrouping?
I think moving the Pharo.cog.spur, and Squeak if you want,
Linux32ArmV6 build(s) to the main Linux builds is worthwhile (when
convenient).
Thanks again,
Alistair
On 2 April 2018 at 19:02, GitHub <noreply(a)github.com> wrote:
>
> Branch: refs/heads/compile_sista_with_clang
> Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
> Commit: 3249967cf0ab72b59bce184afd19774d3e1e6957
> https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3249967cf0ab72b59b…
> Author: Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com>
> Date: 2018-04-02 (Mon, 02 Apr 2018)
>
> Changed paths:
> M .travis.yml
>
> Log Message:
> -----------
> Add a main build stage for Squeak and Pharo
>
>
> Commit: 1b0f7d285f589937e9be341d6ae7a3b91b59ddb1
> https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1b0f7d285f589937e9…
> Author: Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com>
> Date: 2018-04-02 (Mon, 02 Apr 2018)
>
> Changed paths:
> M .appveyor.yml
>
> Log Message:
> -----------
> Reorder the appveyor matrix so as to put main Squeak/Pharo build first
>
> While at it, add -L flag to curl so as to follow redirection
>
>
> Commit: b7b3943dfb38dd44bdca184cf1aa8f129486a5f0
> https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b7b3943dfb38dd44bd…
> Author: Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com>
> Date: 2018-04-02 (Mon, 02 Apr 2018)
>
> Changed paths:
> M .travis.yml
>
> Log Message:
> -----------
> Try to force CC=clang in the .travis.yml matrix for linux32x86 pharo.sista.spur
>
>
> Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/e2cfdcc731ba...b7…
April 2, 2018
Re: [Pharo-dev] AnnouncementSubscription and Ephemerons
by Esteban A. Maringolo
Thank you for the detailed info Stef.
Regards!
Esteban A. Maringolo
2018-04-01 16:16 GMT-03:00 Stephane Ducasse <stepharo.self(a)gmail.com>:
> My last email on VM topics...
>
> Hi esteban
>
> Just for the record, our team spent a lot of engineering time and
> money on Pharo.
> May be I forgot some people. Often we bent research projects to
> squeese in Pharo activities.
>
> - Pavel 1 year paid for bootstrap and general improvements
> - Denis 2 years paid for TelePharo (for research projects)
> - Igor 4 years paid for athens, SDL, VM Build, TxText
> - Christophe 5 years bootstrap, ci, infras, plauncher, cargo
> - Clement two years as young engineer on compiler/VM
> - Clement 6 months on Sista
>
> - Camillo 3 years for his Phd
> - Guille 3 years for his Phd
> - Pablo 3 years for his Phd
> - Mariano 3 years for his Phd
> - Clement 3 years for thisPhd
>
> - Guille two years on various improvements
> - Me several years
> - Marcus several years
> - Damien on side project
> - Esteban 4 years by Inria
>
> - Nicolas Passerini got paid by the consortium 9 months
> - Guillermo paid 6 months for database
> - you and mariano got paid for side projects for a couple of months
>
> Right now only Esteban is paid by the consortium because this what the
> consortium
> can pay!
>
> If I sum up Inria put a lot of money on the table compared to the
> users and people
> benefitting from Pharo. But this is like that.
>
> So I think that the consortium is a positive thing. Some people may
> think the contrary.
> Now do not expect miracles. A single guy cannot do much.
> Retrospectively I think that
> I made a mistake pushing to have tools for git. We should have go the
> filetree way
> and command line and gain 18 months of work. But I cannot be right all
> the time.
>
> Now if all the companies doing Pharo would put money on the table then
> we could have
> another full time engineer working to improve the situation. I hope
> that this will happen.
>
> Then about the VM: a VM is a complex piece of engineering.
> And in the open-source community people apparently like to put in addition
> not good process and extra constraints (super compatibility, different
> dialects), not good communication,
> So we end up with a not good situation.
>
> Now I will not read and send any emails about the VM in the future. I
> have a set a filter to
> automatically trash any emails on the topic. So if you send me an
> email and you see now reaction it is normal.
> I think that we make no progress and we are even on regression on this part.
>
> We will talk with the consortium members and asked them what is the priority
> and if the VM is one of them, then we will have to take real decisions
> to make progress.
> Now since we cannot form someone on VM core rapidly we will see what are the
> options. But to me what is clear is that the situation cannot continue
> to be like that.
> We cannot not control our process.
>
> Stef
>
>
> On Sun, Apr 1, 2018 at 6:02 PM, Esteban A. Maringolo
> <emaringolo(a)gmail.com> wrote:
>> Stef,
>>
>> I encourage you to disclose as much details as possible.
>>
>> For "bystanders" as myself, it is, a Pharo _user_ that always thinks
>> of Pharo as the first option but
>> doesn't contribute to the core of it, all this discussions only add
>> noise and concerns about the
>> stability of the whole Pharo ecosystem.
>>
>> I've always had the impression that Pharo is heavily dependent on
>> INRIA's/government institutions,
>> which in the end depend on political decisions instead of
>> "market/profit" objectives.
>> With the support of members of the Consortium I thought this had changed, but
>> reading your statements it seems it is not enough.
>>
>> It is known you don't have the best temper, but it is also known you
>> strive to get the best for Pharo,
>> so if you're also aware of that you can avoid restraining yourself,
>> and say what you have
>> in mind trying to not make personal accusations.
>>
>> I'd prefer a brutal and noisy truth instead of false quiet calm.
>>
>> I hope this helps.
>>
>> Regards,
>>
>> Esteban A. Maringolo
>>
>>
>> 2018-04-01 10:16 GMT-03:00 Stephane Ducasse <stepharo.self(a)gmail.com>:
>>> I will not reply publicly to this email because I think that it will get worse.
>>> So I will not talk publicly about anything related to the Pharo VM in
>>> the Pharo mailing-list and any other lists.
>>> I will put a filter and trash emails automatically. Like that I will
>>> get touched anymore by what I see.
>>>
>>> You may think that I'm wrong. I'm probably.
>>>
>>> Now just to make clear: I funded all the PhD of Clement, and all the
>>> work of Igor around the VM.
>>> And many other engineers and PhD (C. Bruni, Sophie, ...)
>>> I'm fighting to make the Pharo consortium working so that we can pay
>>> people like Esteban
>>> (Esteban is not working in Pharo just because he cannot find a job
>>> outside our little community and this
>>> is the case for many other people) and other people.
>>>
>>> Stef
>>>
>>> On Sun, Apr 1, 2018 at 2:33 PM, Nicolas Cellier
>>> <nicolas.cellier.aka.nice(a)gmail.com> wrote:
>>>>
>>>>
>>>> 2018-04-01 11:36 GMT+02:00 Stephane Ducasse <stepharo.self(a)gmail.com>:
>>>>>
>>>>> Hi Torsten
>>>>>
>>>>> Thanks for this question.
>>>>>
>>>>> Ephemerons do not work in Pharo sadly and we know it. We cannot then
>>>>> take advantage of them.
>>>>> What you see is in fact a degradation of the situation around the VM. :(
>>>>> We are concerned about this but the path for our future in this domain
>>>>> is unclear.
>>>>>
>>>>
>>>> Hi Stephane,
>>>> the future is in your hand.
>>>> Put milestones on opensmalltalk-vm, open new entries on opensmalltalk-vm
>>>> issue tracker, put engineering force to solve pharo-specific build failures.
>>>> In one word, help us to help you.
>>>>
>>>> So could you please explain what did you do exactly to help ephemerons being
>>>> implemented in spur, and what are the forces couter-acting your efforts?
>>>>
>>>>
>>>>>
>>>>> What is clear is that we will reduce the number of Plugin (as pablo
>>>>> did for freetype) and use FFI.
>>>>> But FFI callbacks are not really good. And we need a threaded VM. Now
>>>>> nothing happens on this front.
>>>>>
>>>>
>>>> Yes, we all want that!
>>>> It's just that it does not happen by magic nor handwaving.
>>>>
>>>>>
>>>>> Let us face it there is a bad energy around. After years of discussion
>>>>> our engineers
>>>>> are still struggling and slowed down because of the dispersion of plugin
>>>>> code.
>>>>> In addition, from what I understood there is no development branch :)
>>>>> amazing is not it in 2020!
>>>>>
>>>> How sarcasms are going to federate and encourage people to make progress?
>>>> What can you obtain with this sort of sentence but further splitting the
>>>> community?
>>>> Is it your goal?
>>>>
>>>>>
>>>>>
>>>>> On another scale, since 1 year, I was focusing on making that our
>>>>> institute offers a permanent position to Clement but I failed
>>>>> because the forces against where too strong (politics) and clement
>>>>> should reapply next year.
>>>>> Now to improve his CV, clement is doing a postdoc at VUB and will
>>>>> start working on Truffle (the VM of Oracle)
>>>>> and continue to work part time on Sista.
>>>>> This is not that bad, like that he will gain experience on other
>>>>> systems and in the future
>>>>> we will be in the position to see if there are real alternatives for
>>>>> us. May be writing a new VM
>>>>> on top of other existing infrastructure is the way to go. We will see
>>>>> in the future.
>>>>>
>>>>
>>>> Unfortunately, the rules of French institutions certainly do not help you...
>>>> Maybe Truffle is a possible future for you, more solid than 100% own fork
>>>> for sure.
>>>>
>>>>
>>>>> To be fully transparent
>>>>>
>>>>> - we will have one phd working on IoT and how to reduce/clean the image
>>>>> and
>>>>> VM size and many other points she will probably work on a fork because
>>>>> I cannot suicide a
>>>>> student (by asking her to understand the messy plugin architecture)
>>>>> and she will need some space to experiment.
>>>>> Now if improvements she will perform take ages to be integrated in the
>>>>> main VM I will ask
>>>>> her not to do it and to focus on her future and science.
>>>>> I imagine that everybody paying attention to people can understand this.
>>>>>
>>>>>
>>>>
>>>> Good to know that you are paying attention to people, I had the impression
>>>> that this was not allways the case.
>>>> I'm willing to help Pharo, I've helped producing Pharo brand 64 bits windows
>>>> VM more than one year ago.
>>>> I'm struggling to make the community beneficial to all, but I don't feel
>>>> like I get a lot of support and wonder if I'm not completely mistaken when I
>>>> see all the efforts deployed to tear it apart...
>>>>
>>>>
>>>>>
>>>>> Stef
>>>>>
>>>>> On Tue, Nov 7, 2017 at 9:00 PM, Torsten Bergmann <astares(a)gmx.de> wrote:
>>>>> > Hi,
>>>>> >
>>>>> > by accident I stumbled upon the following code in
>>>>> > AnnouncementSubscription:
>>>>> >
>>>>> > makeWeak
>>>>> > action isBlock ifTrue: [ self error: 'Not currently available due to
>>>>> > missing ephemerons support'].
>>>>> > ...
>>>>> >
>>>>> > My understanding is that we have Ephemeron support in Pharo now working.
>>>>> > Right?
>>>>> >
>>>>> > Anyone with more insights who knows how to fix/complete this? Should we
>>>>> > at least open an issue?
>>>>> >
>>>>> > Thx
>>>>> > T.
>>>>> >
>>>>> >
>>>>>
>>>>
>>>
>>
>
April 2, 2018
Re: [Pharo-dev] [Vm-dev] VM git commit hash (was: Image crashing on startup, apparently during GC)
by Alistair Grant
Hi Ben,
On 2 April 2018 at 15:42, Ben Coman <btc(a)openinworld.com> wrote:
>
>
>
> On 2 April 2018 at 20:26, Alistair Grant <akgrant0710(a)gmail.com> wrote:
>>
>>
>> On Sun, Apr 01, 2018 at 10:46:14AM -0700, Eliot Miranda wrote:
>> > Hi Alistair,
>> >
>> > _,,,^..^,,,_ (phone)
>> >
>> > > On Mar 31, 2018, at 1:42 PM, Alistair Grant <akgrant0710(a)gmail.com> wrote:
>> > >
>> > > git doesn't provide a substitution mechanism like sccs, but the script
>> > > we have that embeds the date can just as easily embed the hash. In
>> > > .git_filters/RevDateURL.smudge there's a line that retrieves the
>> > > commit date from git:
>> > >
>> > > $date = `git log --format=%ad -1`;
>> > >
>> > > to get the (short) hash we can simply add:
>> > >
>> > > $shorthash = `git log --format=%h -1`;
>> > >
>> > > The string substitution can then proceed as for the date.
>> > >
>> > > I think it would be worthwhile having both the date and hash in the
>> > > --version info.
>> > >
>> > > I'm happy to add this in and update the --version output if there's
>> > > general agreement.
>> >
>> > Yes please!!! The conventional alternative is to invoke git log from
>> > the makefiles and lass in the commit hash as a compiler-line default
>> > me. But this is messy and slows down compilation (unless there is a
>> > special rule for just one file, and that's fragile). I much prefer
>> > having the commit somewhere in source.
>>
>> Done:
>>
>> $ git log --oneline | head
>> 5a5b1c7 vm version string: add commit short hash
>> 4c4686e Skip SUnit testing in Sista builds
>> 79c0809 Merge pull request #230 from smalltalking/Cog
>> 804ed5c Fixed typo in the download URL
>>
>>
>> $ products/cogspur64linuxht/pharo --version
>> 5.0-201804012008-version_hash Sun Apr 1 22:15:07 CEST 2018 gcc 5.4.0 [Production Spur 64-bit VM]
>> CoInterpreter VMMaker.oscog-eem.2361 uuid: 7ca2f89a-de70-422f-b92b-54f91ac4e47b Apr 1 2018
>> StackToRegisterMappingCogit VMMaker.oscog-eem.2361 uuid: 7ca2f89a-de70-422f-b92b-54f91ac4e47b Apr 1 2018
>> VM: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm $
>> Date: Sun Apr 1 22:08:11 2018 +0200 $ Hash: 5a5b1c7 $
>
>
> Maybe rather than just "Hash:" could it be more explicit as "GitHash:" or even "GitSHA1:"
> One day the algorithm is likely to change... "Moving Git past SHA-1" (https://lwn.net/Articles/715716/)
> and it may be useful later to be able to distinguish.
I like "GitHash" as it may not be obvious what the hash refers to for
a newcomer. Even if/when git moves away from sha1, from a cli/ui
perspective presumably it will still just be "the hash".
>> Plugins: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm $
>> Linux 4c0a4b2bdb79 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>> plugin path: products/cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash [default: /home/alistair/vmmaker/opensmalltalk-vm/products/cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash/]
>>
>>
>> As expected, the hash is also included in:
>>
>> - the VirtualMachine object (in Pharo, and the equivalent in squeak)
>
>
> I presume this is what shows up under System > System Reporter ?
Yes.
>> - crash.dmp
>> - kill -USR1 output
>>
>>
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/233
>> if anyone wants to take a look.
>
>
>
> An interesting insight for me into how the version info is generated. thx.
Glad it was useful. :-)
Thanks for your feedback. I'll update the PR (probably tomorrow).
Cheers,
Alistair
April 2, 2018
Re: [Pharo-dev] [Vm-dev] VM git commit hash (was: Image crashing on startup, apparently during GC)
by Ben Coman
On 2 April 2018 at 20:26, Alistair Grant <akgrant0710(a)gmail.com> wrote:
>
> On Sun, Apr 01, 2018 at 10:46:14AM -0700, Eliot Miranda wrote:
> > Hi Alistair,
> >
> > _,,,^..^,,,_ (phone)
> >
> > > On Mar 31, 2018, at 1:42 PM, Alistair Grant <akgrant0710(a)gmail.com>
> wrote:
> > >
> > > git doesn't provide a substitution mechanism like sccs, but the script
> > > we have that embeds the date can just as easily embed the hash. In
> > > .git_filters/RevDateURL.smudge there's a line that retrieves the
> > > commit date from git:
> > >
> > > $date = `git log --format=%ad -1`;
> > >
> > > to get the (short) hash we can simply add:
> > >
> > > $shorthash = `git log --format=%h -1`;
> > >
> > > The string substitution can then proceed as for the date.
> > >
> > > I think it would be worthwhile having both the date and hash in the
> > > --version info.
> > >
> > > I'm happy to add this in and update the --version output if there's
> > > general agreement.
> >
> > Yes please!!! The conventional alternative is to invoke git log from
> > the makefiles and lass in the commit hash as a compiler-line default
> > me. But this is messy and slows down compilation (unless there is a
> > special rule for just one file, and that's fragile). I much prefer
> > having the commit somewhere in source.
>
> Done:
>
> $ git log --oneline | head
> 5a5b1c7 vm version string: add commit short hash
> 4c4686e Skip SUnit testing in Sista builds
> 79c0809 Merge pull request #230 from smalltalking/Cog
> 804ed5c Fixed typo in the download URL
>
>
> $ products/cogspur64linuxht/pharo --version
> 5.0-201804012008-version_hash Sun Apr 1 22:15:07 CEST 2018 gcc 5.4.0
> [Production Spur 64-bit VM]
> CoInterpreter VMMaker.oscog-eem.2361 uuid: 7ca2f89a-de70-422f-b92b-54f91ac4e47b
> Apr 1 2018
> StackToRegisterMappingCogit VMMaker.oscog-eem.2361 uuid:
> 7ca2f89a-de70-422f-b92b-54f91ac4e47b Apr 1 2018
> VM: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm
> $
> Date: Sun Apr 1 22:08:11 2018 +0200 $ Hash: 5a5b1c7 $
>
Maybe rather than just "Hash:" could it be more explicit as "GitHash:" or
even "GitSHA1:"
One day the algorithm is likely to change... "Moving Git past SHA-1" (
https://lwn.net/Articles/715716/)
and it may be useful later to be able to distinguish.
> Plugins: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm
> $
> Linux 4c0a4b2bdb79 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7
> 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> plugin path: products/cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash
> [default: /home/alistair/vmmaker/opensmalltalk-vm/products/
> cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash/]
>
>
> As expected, the hash is also included in:
>
> - the VirtualMachine object (in Pharo, and the equivalent in squeak)
>
I presume this is what shows up under System > System Reporter ?
> - crash.dmp
> - kill -USR1 output
>
>
> https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/233
> if anyone wants to take a look.
>
An interesting insight for me into how the version info is generated. thx.
cheers -ben
April 2, 2018
VM git commit hash (was: Image crashing on startup, apparently during GC)
by Alistair Grant
On Sun, Apr 01, 2018 at 10:46:14AM -0700, Eliot Miranda wrote:
> Hi Alistair,
>
> _,,,^..^,,,_ (phone)
>
> > On Mar 31, 2018, at 1:42 PM, Alistair Grant <akgrant0710(a)gmail.com> wrote:
> >
> > git doesn't provide a substitution mechanism like sccs, but the script
> > we have that embeds the date can just as easily embed the hash. In
> > .git_filters/RevDateURL.smudge there's a line that retrieves the
> > commit date from git:
> >
> > $date = `git log --format=%ad -1`;
> >
> > to get the (short) hash we can simply add:
> >
> > $shorthash = `git log --format=%h -1`;
> >
> > The string substitution can then proceed as for the date.
> >
> > I think it would be worthwhile having both the date and hash in the
> > --version info.
> >
> > I'm happy to add this in and update the --version output if there's
> > general agreement.
>
> Yes please!!! The conventional alternative is to invoke git log from
> the makefiles and lass in the commit hash as a compiler-line default
> me. But this is messy and slows down compilation (unless there is a
> special rule for just one file, and that's fragile). I much prefer
> having the commit somewhere in source.
Done:
$ git log --oneline | head
5a5b1c7 vm version string: add commit short hash
4c4686e Skip SUnit testing in Sista builds
79c0809 Merge pull request #230 from smalltalking/Cog
804ed5c Fixed typo in the download URL
$ products/cogspur64linuxht/pharo --version
5.0-201804012008-version_hash Sun Apr 1 22:15:07 CEST 2018 gcc 5.4.0 [Production Spur 64-bit VM]
CoInterpreter VMMaker.oscog-eem.2361 uuid: 7ca2f89a-de70-422f-b92b-54f91ac4e47b Apr 1 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2361 uuid: 7ca2f89a-de70-422f-b92b-54f91ac4e47b Apr 1 2018
VM: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm $
Date: Sun Apr 1 22:08:11 2018 +0200 $ Hash: 5a5b1c7 $
Plugins: 201804012008-version_hash alistair@4c0a4b2bdb79:vmmaker/opensmalltalk-vm $
Linux 4c0a4b2bdb79 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
plugin path: products/cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash [default: /home/alistair/vmmaker/opensmalltalk-vm/products/cogspur64linuxht/lib/pharo/5.0-201804012008-version_hash/]
As expected, the hash is also included in:
- the VirtualMachine object (in Pharo, and the equivalent in squeak)
- crash.dmp
- kill -USR1 output
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/233
if anyone wants to take a look.
> If you do go ahead with this also consider modifying the makefiles to
> ensure that updateSCCSVersions has been run at least once before the
> bulk of the build is done.
I'll think about this separately. updateSCCSVersions is quite slow to
execute on Windows in a VM, and I think there are other proposed changes
waiting to be reviewed.
Cheers,
Alistair
April 2, 2018
Re: [Pharo-dev] PharoDays: 14/15 June 2018
by Stephane Ducasse
Hi guys
We decided that we will not organize PharoDays at Lille this year
because this is too much for us.
We cannot organize ESUG and Pharodays (locally), this is too much
stress and extra work.
Now if someone wants to organize some events we will have all our support.
Personally, I decided that I will not spend energy on it because I
simply cannot anymore.
Pharo is taking too much of my time and energy already. I already do
not read this mailing-list
and I do not go on discord because of full saturation and I will
continue to lower the load.
The stress ratio is going too often over the fun one and this is not good.
Since I have to reconsider what I want to do in the future, this is a
good opportunity to reshuffle
the cards.
Stef
On Fri, Mar 23, 2018 at 1:48 PM, Stephan Eggermont <stephan(a)stack.nl> wrote:
> Stephane Ducasse <stepharo.self(a)gmail.com>
> wrote:
>> Hi All
>>
>> We would like to organise PharoDays the 14 and 15 June. Could you tell us
>> if you see big problems from your side before we announce it.
>
> Works better than 7/8, which I cannot make
>
> Stephan Eggermont
>
>
>
April 1, 2018
Re: [Pharo-dev] AnnouncementSubscription and Ephemerons
by Stephane Ducasse
My last email on VM topics...
Hi esteban
Just for the record, our team spent a lot of engineering time and
money on Pharo.
May be I forgot some people. Often we bent research projects to
squeese in Pharo activities.
- Pavel 1 year paid for bootstrap and general improvements
- Denis 2 years paid for TelePharo (for research projects)
- Igor 4 years paid for athens, SDL, VM Build, TxText
- Christophe 5 years bootstrap, ci, infras, plauncher, cargo
- Clement two years as young engineer on compiler/VM
- Clement 6 months on Sista
- Camillo 3 years for his Phd
- Guille 3 years for his Phd
- Pablo 3 years for his Phd
- Mariano 3 years for his Phd
- Clement 3 years for thisPhd
- Guille two years on various improvements
- Me several years
- Marcus several years
- Damien on side project
- Esteban 4 years by Inria
- Nicolas Passerini got paid by the consortium 9 months
- Guillermo paid 6 months for database
- you and mariano got paid for side projects for a couple of months
Right now only Esteban is paid by the consortium because this what the
consortium
can pay!
If I sum up Inria put a lot of money on the table compared to the
users and people
benefitting from Pharo. But this is like that.
So I think that the consortium is a positive thing. Some people may
think the contrary.
Now do not expect miracles. A single guy cannot do much.
Retrospectively I think that
I made a mistake pushing to have tools for git. We should have go the
filetree way
and command line and gain 18 months of work. But I cannot be right all
the time.
Now if all the companies doing Pharo would put money on the table then
we could have
another full time engineer working to improve the situation. I hope
that this will happen.
Then about the VM: a VM is a complex piece of engineering.
And in the open-source community people apparently like to put in addition
not good process and extra constraints (super compatibility, different
dialects), not good communication,
So we end up with a not good situation.
Now I will not read and send any emails about the VM in the future. I
have a set a filter to
automatically trash any emails on the topic. So if you send me an
email and you see now reaction it is normal.
I think that we make no progress and we are even on regression on this part.
We will talk with the consortium members and asked them what is the priority
and if the VM is one of them, then we will have to take real decisions
to make progress.
Now since we cannot form someone on VM core rapidly we will see what are the
options. But to me what is clear is that the situation cannot continue
to be like that.
We cannot not control our process.
Stef
On Sun, Apr 1, 2018 at 6:02 PM, Esteban A. Maringolo
<emaringolo(a)gmail.com> wrote:
> Stef,
>
> I encourage you to disclose as much details as possible.
>
> For "bystanders" as myself, it is, a Pharo _user_ that always thinks
> of Pharo as the first option but
> doesn't contribute to the core of it, all this discussions only add
> noise and concerns about the
> stability of the whole Pharo ecosystem.
>
> I've always had the impression that Pharo is heavily dependent on
> INRIA's/government institutions,
> which in the end depend on political decisions instead of
> "market/profit" objectives.
> With the support of members of the Consortium I thought this had changed, but
> reading your statements it seems it is not enough.
>
> It is known you don't have the best temper, but it is also known you
> strive to get the best for Pharo,
> so if you're also aware of that you can avoid restraining yourself,
> and say what you have
> in mind trying to not make personal accusations.
>
> I'd prefer a brutal and noisy truth instead of false quiet calm.
>
> I hope this helps.
>
> Regards,
>
> Esteban A. Maringolo
>
>
> 2018-04-01 10:16 GMT-03:00 Stephane Ducasse <stepharo.self(a)gmail.com>:
>> I will not reply publicly to this email because I think that it will get worse.
>> So I will not talk publicly about anything related to the Pharo VM in
>> the Pharo mailing-list and any other lists.
>> I will put a filter and trash emails automatically. Like that I will
>> get touched anymore by what I see.
>>
>> You may think that I'm wrong. I'm probably.
>>
>> Now just to make clear: I funded all the PhD of Clement, and all the
>> work of Igor around the VM.
>> And many other engineers and PhD (C. Bruni, Sophie, ...)
>> I'm fighting to make the Pharo consortium working so that we can pay
>> people like Esteban
>> (Esteban is not working in Pharo just because he cannot find a job
>> outside our little community and this
>> is the case for many other people) and other people.
>>
>> Stef
>>
>> On Sun, Apr 1, 2018 at 2:33 PM, Nicolas Cellier
>> <nicolas.cellier.aka.nice(a)gmail.com> wrote:
>>>
>>>
>>> 2018-04-01 11:36 GMT+02:00 Stephane Ducasse <stepharo.self(a)gmail.com>:
>>>>
>>>> Hi Torsten
>>>>
>>>> Thanks for this question.
>>>>
>>>> Ephemerons do not work in Pharo sadly and we know it. We cannot then
>>>> take advantage of them.
>>>> What you see is in fact a degradation of the situation around the VM. :(
>>>> We are concerned about this but the path for our future in this domain
>>>> is unclear.
>>>>
>>>
>>> Hi Stephane,
>>> the future is in your hand.
>>> Put milestones on opensmalltalk-vm, open new entries on opensmalltalk-vm
>>> issue tracker, put engineering force to solve pharo-specific build failures.
>>> In one word, help us to help you.
>>>
>>> So could you please explain what did you do exactly to help ephemerons being
>>> implemented in spur, and what are the forces couter-acting your efforts?
>>>
>>>
>>>>
>>>> What is clear is that we will reduce the number of Plugin (as pablo
>>>> did for freetype) and use FFI.
>>>> But FFI callbacks are not really good. And we need a threaded VM. Now
>>>> nothing happens on this front.
>>>>
>>>
>>> Yes, we all want that!
>>> It's just that it does not happen by magic nor handwaving.
>>>
>>>>
>>>> Let us face it there is a bad energy around. After years of discussion
>>>> our engineers
>>>> are still struggling and slowed down because of the dispersion of plugin
>>>> code.
>>>> In addition, from what I understood there is no development branch :)
>>>> amazing is not it in 2020!
>>>>
>>> How sarcasms are going to federate and encourage people to make progress?
>>> What can you obtain with this sort of sentence but further splitting the
>>> community?
>>> Is it your goal?
>>>
>>>>
>>>>
>>>> On another scale, since 1 year, I was focusing on making that our
>>>> institute offers a permanent position to Clement but I failed
>>>> because the forces against where too strong (politics) and clement
>>>> should reapply next year.
>>>> Now to improve his CV, clement is doing a postdoc at VUB and will
>>>> start working on Truffle (the VM of Oracle)
>>>> and continue to work part time on Sista.
>>>> This is not that bad, like that he will gain experience on other
>>>> systems and in the future
>>>> we will be in the position to see if there are real alternatives for
>>>> us. May be writing a new VM
>>>> on top of other existing infrastructure is the way to go. We will see
>>>> in the future.
>>>>
>>>
>>> Unfortunately, the rules of French institutions certainly do not help you...
>>> Maybe Truffle is a possible future for you, more solid than 100% own fork
>>> for sure.
>>>
>>>
>>>> To be fully transparent
>>>>
>>>> - we will have one phd working on IoT and how to reduce/clean the image
>>>> and
>>>> VM size and many other points she will probably work on a fork because
>>>> I cannot suicide a
>>>> student (by asking her to understand the messy plugin architecture)
>>>> and she will need some space to experiment.
>>>> Now if improvements she will perform take ages to be integrated in the
>>>> main VM I will ask
>>>> her not to do it and to focus on her future and science.
>>>> I imagine that everybody paying attention to people can understand this.
>>>>
>>>>
>>>
>>> Good to know that you are paying attention to people, I had the impression
>>> that this was not allways the case.
>>> I'm willing to help Pharo, I've helped producing Pharo brand 64 bits windows
>>> VM more than one year ago.
>>> I'm struggling to make the community beneficial to all, but I don't feel
>>> like I get a lot of support and wonder if I'm not completely mistaken when I
>>> see all the efforts deployed to tear it apart...
>>>
>>>
>>>>
>>>> Stef
>>>>
>>>> On Tue, Nov 7, 2017 at 9:00 PM, Torsten Bergmann <astares(a)gmx.de> wrote:
>>>> > Hi,
>>>> >
>>>> > by accident I stumbled upon the following code in
>>>> > AnnouncementSubscription:
>>>> >
>>>> > makeWeak
>>>> > action isBlock ifTrue: [ self error: 'Not currently available due to
>>>> > missing ephemerons support'].
>>>> > ...
>>>> >
>>>> > My understanding is that we have Ephemeron support in Pharo now working.
>>>> > Right?
>>>> >
>>>> > Anyone with more insights who knows how to fix/complete this? Should we
>>>> > at least open an issue?
>>>> >
>>>> > Thx
>>>> > T.
>>>> >
>>>> >
>>>>
>>>
>>
>
April 1, 2018
Re: [Pharo-dev] [Vm-dev] Image crashing on startup, apparently during GC
by Eliot Miranda
Hi Alistair,
_,,,^..^,,,_ (phone)
> On Mar 31, 2018, at 1:42 PM, Alistair Grant <akgrant0710(a)gmail.com> wrote:
>
> Hi Pablo & Eliot,
>
>> On 31 March 2018 at 20:49, Eliot Miranda <eliot.miranda(a)gmail.com> wrote:
>> Hi Pablo,
>>
>> On Sat, Mar 31, 2018 at 10:19 AM, tesonep(a)gmail.com <tesonep(a)gmail.com>
>> wrote:
>>>
>>> Hi,
>>> I am taking the VM from the latest VM in
>>> http://files.pharo.org/get-files/70/ (the one downloaded by the get pharo
>>> scripts, I believe is
>>> http://files.pharo.org/get-files/70/pharo-mac-latest.zip)
>>> The output of version in the VM is:
>>>
>>> 5.0 5.0.201803151936 Mac OS X built on Mar 15 2018 23:30:17 UTC Compiler:
>>> 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31) [Production Spur VM]
>>>
>>> CoInterpreter VMMaker.oscog-eem.2347 uuid:
>>> 062614a7-e3da-4b30-997a-9568911b9ff5 Mar 15 2018
>>>
>>> StackToRegisterMappingCogit VMMaker.oscog-eem.2347 uuid:
>>> 062614a7-e3da-4b30-997a-9568911b9ff5 Mar 15 2018
>>>
>>> VM: 201803151936 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
>>> Date: Thu Mar 15 20:36:43 2018 +0100 $
>>>
>>> Plugins: 201803151936
>>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
>>>
>>>
>>> I don't know if this information helps you to know the specific commit,
>>> but please feel free to tell me how I can get the exact commit from the VM.
>>> Or where to get other VMs to check the error.
>>
>>
>> The best one can do is either
>> - running the VM executable from the command line using --version
>> - via the System Reporter
>>
>> Alas git doesn't help here. Unlike many other scc systems git doesn't
>> provide a metalanguage to embed the current commit id into source. The best
>> we have is the time stamp and as we can see the granularity isn't good
>> enough when things are changing quickly.
>
> git doesn't provide a substitution mechanism like sccs, but the script
> we have that embeds the date can just as easily embed the hash. In
> .git_filters/RevDateURL.smudge there's a line that retrieves the
> commit date from git:
>
> $date = `git log --format=%ad -1`;
>
> to get the (short) hash we can simply add:
>
> $shorthash = `git log --format=%h -1`;
>
> The string substitution can then proceed as for the date.
>
> I think it would be worthwhile having both the date and hash in the
> --version info.
>
> I'm happy to add this in and update the --version output if there's
> general agreement.
Yes please!!! The conventional alternative is to invoke git log from the makefiles and lass in the commit hash as a compiler-line default me. But this is messy and slows down compilation (unless there is a special rule for just one file, and that's fragile). I much prefer having the commit somewhere in source.
If you do go ahead with this also consider modifying the makefiles to ensure that updateSCCSVersions has been run at least once before the bulk of the build is done.
>
>
>
>> As Alistair says, the issue is fixed in the VMMaker.oscog package commit
>> VMMaker.oscog-eem.2359, which is
>>
>> commit 1f0a7da9d4e8dcf4cdfac07014decdadac6937bb
>> Author: Eliot Miranda <eliot.miranda(a)gmail.com>
>> Date: Thu Mar 15 18:09:12 2018 -0700
>
>
> Which unfortunately is 1 commit after the version you have.
>
> There appears to be a separate problem that MacOS VMs aren't being
> uploaded to files.pharo.org, so while running the VM through the Pharo
> automated test suite and bootstrap process is a great idea, right now
> we need to wait for an updated VM for MacOS. :-(.
>
>
> Cheers,
> Alistair
>
>
>
>> CogVM source as per VMMaker.oscog-eem.2359
>>
>> Cogits:
>> Fix regression introduced in VMMaker.oscog-eem.2333 or thereabouts when
>> improving comoilation breakpoint. maybeSelectorOfMethod can answer nil so a
>> guard is needed.
>>
>> I'm sorry but the crash.dmp doesn't appear to include the VMMaker.oscog
>> commit. I thought it did. I'll fix this.
>>
>>>
>>> Cheers,
>>> Pablo
>>>
>>> On Sat, Mar 31, 2018 at 6:53 PM, Alistair Grant <akgrant0710(a)gmail.com>
>>> wrote:
>>>>
>>>> Hi Pablo,
>>>>
>>>>> On 31 March 2018 at 18:36, tesonep(a)gmail.com <tesonep(a)gmail.com> wrote:
>>>>> Hi Everyone,
>>>>> I have created the PR in Pharo, so the CI runs the bootstrap with the
>>>>> latest VM (March 15th).
>>>>> Running the process fails during execution of the tests in 32bits OSX.
>>>>> It crashes the VM with a segmentation fault.
>>>>> I could reproduce the crash, running the tests from the command line,
>>>>> and
>>>>> also running OCBytecodeGeneratorTest test.
>>>>
>>>>
>>>> There were several VMs built on / around the 15th. Would you mind
>>>> letting me know the commit hash as Eliot fixed this particular problem
>>>> about then.
>>>>
>>>> I tested 43a2f5c.
>>>>
>>>> Thanks,
>>>> Alistair
>>>>
>>>>
>>>>
>>>>>
>>>>> I am attaching the crash.dmp with both executions (from the commandLine
>>>>> and
>>>>> headful), both are in the same point.
>>>>>
>>>>> Cheers,
>>>>> Pablo
>>>>>
>>>>> On Sat, Mar 31, 2018 at 3:52 PM, Stephane Ducasse
>>>>> <stepharo.self(a)gmail.com>
>>>>> wrote:
>>>>>>
>>>>>>> I will try to promote then the one of 15 march. Weâll see next week.
>>>>>>> but then, this is part of my observation: We cannot know which VMs
>>>>>>> are
>>>>>>> stable, and thatâs because the *process* to make them stable is very
>>>>>>> âhuman
>>>>>>> dependentâ: We consider a version stable when it builds on CI and
>>>>>>> Eliot
>>>>>>> says
>>>>>>> is stable. But since Eliot does not use Pharo (not a critic, a
>>>>>>> reality),
>>>>>>> that may be not true for Pharo. And thatâs actually what happens,
>>>>>>> Pharo
>>>>>>> crashes.
>>>>>>
>>>>>> Hi esteban
>>>>>>
>>>>>> What would be a way to fix the process and make your work easier?
>>>>>>
>>>>>> If you do not know what can be a release candidate then who can?
>>>>>> We should really improve this situation.
>>>>>>
>>>>>> Stef
>>>>>>
>>>>>>
>>>>>>> I tried to avoid a bit this problem with our fork and nightly builds
>>>>>>> that
>>>>>>> runs the pharo tests (to knew about problems as early as possible).
>>>>>>> But
>>>>>>> to
>>>>>>> be honest I didnât have the time (and the will) to work on it
>>>>>>> recently,
>>>>>>> then
>>>>>>> pharo fork is in practice stalled. I will revive that eventuallyâ¦
>>>>>>> but
>>>>>>> just
>>>>>>> when I find the time and the spirit to do it.
>>>>>>>
>>>>>>>
>>>>>>> to one more up to date than 2017 08 27 (in fact more up-to-date than
>>>>>>> opensmalltalk/vm commit 0fe1e1ea108e53501a0e728736048062c83a66ce,
>>>>>>> Fri
>>>>>>> Jan 19
>>>>>>> 13:17:57 2018 -0800). The bug that VMMaker.oscog-eem.2320 fixes can
>>>>>>> result
>>>>>>> in image corruption in large images, and can occur (as it has here)
>>>>>>> at
>>>>>>> start-up, causing one's work to be irretrievably lost.
>>>>>>>
>>>>>>>
>>>>>>> Most, if not all, the VMs between 1 Jan and 15 Mar have bugs that
>>>>>>> are
>>>>>>> triggered either by the automated test suite or the bootstrap
>>>>>>> process.
>>>>>>>
>>>>>>>
>>>>>>> The blocks I can see at the moment are:
>>>>>>>
>>>>>>> - Multiple builds have failed with an internal compiler error on the
>>>>>>> sista builds.
>>>>>>> -- The earliest occurrence I could find was commit 1f0a7da, but it
>>>>>>> may
>>>>>>> have been earlier.
>>>>>>> - Even if the Mac builds show success in travis, they aren't making
>>>>>>> it
>>>>>>> on to files.pharo.org.
>>>>>>>
>>>>>>>
>>>>>>> latest VM copied into files.pharo.org is 16/03.
>>>>>>> we need to see whatâs happening there.
>>>>>>>
>>>>>>> -- I haven't ever worked with this code.
>>>>>>>
>>>>>>> Not directly related, but:
>>>>>>> - Bintray hasn't been updated since 8 March 2018.
>>>>>>>
>>>>>>>
>>>>>>> I think it could also be useful for files.pharo.org to have release
>>>>>>> candidate links available, which would help people to focus testing
>>>>>>> on
>>>>>>> a particular VM. They would need to be manually maintained, but I
>>>>>>> think the benefits would be worthwhile.
>>>>>>>
>>>>>>>
>>>>>>> all VMs are available to test.
>>>>>>> just⦠not available *directly* to general users.
>>>>>>> now⦠I could have a 70rc link in vm subdir. But since I cannot know
>>>>>>> which VM
>>>>>>> is RC I find it pointless at this moment.
>>>>>>>
>>>>>>> cheers,
>>>>>>> Esteban
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Alistair
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Pablo Tesone.
>>>>> tesonep(a)gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Pablo Tesone.
>>> tesonep(a)gmail.com
>>
>>
>>
>>
>> --
>> _,,,^..^,,,_
>> best, Eliot
>
April 1, 2018