2016-10-19 18:06 GMT+02:00 Aliaksei Syrel <[hidden email]>:
Strange crash detected. I just execute twice this script and pharo crashed. I use Mac sierra. And here is top of crash.dmp: C stack backtrace & registers: eax 0x0f986260 ebx 0x00000000 ecx 0x00000000 edx 0x00000000 edi 0x103bfc4e esi 0x103bfc4e ebp 0xbff58bf8 esp 0xbff58bd0 eip 0x103bfcd4 0 libMoz2D.dylib 0x103bfcd4 _ZN22nsComponentManagerImpl4InitEv + 148 1 Pharo 0x00067b16 reportStackState + 166 Smalltalk stack dump: 0xbff69b60 I MozServices class>primStartServices 0xca6c830: a(n) MozServices class 0xbff69b80 I MozServices class>start 0xca6c830: a(n) MozServices class |
Denis, Sierra seems to have some issues. A couple weeks ago one of our users ran into a problem with Pharo3.0 and Sierra --- Esteban jumped on that pretty quickly, but then we discovered some additional issues with GemStone and Sierra -- in our case it was a known bug in Sierra and we are waiting for a fix --- the upshot is that GemStone does not properly run on Sierra until that particular bug is fixed or we release a new version of GemStone with patches ... Upshot is that Sierra is apparently not quite ready for prime
time ... Dale On 10/21/2016 03:44 PM, Denis
Kudriashov wrote:
|
Hi Dale 2016-10-22 1:20 GMT+02:00 Dale Henrichs <[hidden email]>: Pharo works fine. When I first time load Sparta everything works well. I am not saw any problem.
But it crashed when MozServices are starting second time where dll call is failed (last log entry) |
In reply to this post by Denis Kudriashov
2016-10-21 16:20 GMT+02:00 Denis Kudriashov <[hidden email]>:
Unfortunately I not found TxText integration in dev Bloc. BlText uses new model. |
In reply to this post by Denis Kudriashov
Right, but since there are known bugs in Sierra perhaps
MozServices is hitting one of them. In our case we hit a bug in poll() which is a bit surprising and apparently the bug is hitting Apple's own curl implementation -- see discussion here[1]... Dale On 10/21/2016 04:56 PM, Denis
Kudriashov wrote:
|
In reply to this post by kilon.alios
We need some easy to use gem-style installer on the command line. Pharo is perfectly usable for any kind of project provided energy is poured in. Things are in flux, yes, and it is frustrating not to have it all perfect. So what? If we weren't interested in wild things why would we be here after all? Think long term: 10 years from now, improvements will have been massively compounding (not to mention 20). I hope to have a huge win with Pharo business wise and be able to fund a serious team. That's my dream. I am actively working on it. Pharo can stay relevant for that long I believe. I love the way it helps me think. I love the fact that I can look everywhere I want. I love the fact that this community has balls. I love to show the magic we can do with it. If it all goes nowhere, I do not even mind as I have a damn awesome time around here. Now, I also want a working text model. This feels like a kind of psychological roadblock. Like a self sabotage. Let's put that dead rat on the table and make something about it. I like Doru's Pillar editor. I guess the underlying engine will evolve to make it faster. Great. Grafoscopio will also be a driving force there I believe. Pharo can be superspeedy, no core problem. Sorry for the rant. Now back to promoting Pharo in front of Android/Angular/Java people this afternoon at http://devfest.be (note that this is the 3rd time I show Pharo/Amber there - they could kick me out but do not). /Phil On Fri, Oct 21, 2016 at 8:12 PM, Dimitris Chloupis <[hidden email]> wrote:
|
In reply to this post by Dale Henrichs-3
Dale, I looked at the docs but it was kind of a hunt as they were a bit kind of everywhere.\ * Book chapters (Pharo). This including preversions with more info than the published one * Google code wiki pages * Github * Other but can't even remember Is there an official place for all things Metacello? Metacello is great, especially with GTInspector so that we can see the directives etc. Compared to Maven pom.xml / parent and nexus/artefactory repos, it is easier to deal with I'd say. Phil On Fri, Oct 21, 2016 at 10:15 PM, Dale Henrichs <[hidden email]> wrote:
|
In reply to this post by philippeback
Actually we dont, I am using the terminal to get and build my own images. Curl + use of startup scripts are more than enough. Simply , easy and straightforward. Pharo offers a super easy way to export any method as a command line argument. So there is literally no excuse.
Pharo already offers a metacello argument so you are set to go on installing anything you want through the terminal in your image and also offers evaluation of smalltalk code as argument. But I prefer startup scripts, I have made a startup script that can detect the name of images and install different packages to them, you can do insane things with startup scripts actually. you can find my build setup here
|
Hi Kilon,
2016-10-22 9:52 GMT+02:00 Dimitris Chloupis <[hidden email]>:
Yes, that looks pretty cool. I still stick with Makefiles and command line Pharo to build images, in part because when I run different projects, I can store inside the git of the project (i.e. version them) both the squeleton of the build environment and all the build instructions, instead of having to put a project-specific startup script inside a settings directory shared among all projects. But I certainly see the value of running the startup scripts in the image in interactive mode, where it becomes a lot easier to debug them. While running them on the command line is convenient too (make build, switch to email, reply, come back when the build is done). I'll keep it in mind, thanks! Thierry
|
it depends, the power that pharo offers is just massive on this department. For example you say you dont like the idea of a global startup script, thats fine because you can have startup scripts per image, they go to the same folder as your image. If you really have a super complex setup it would make sense to make a git repo with just your make file and startup scripts. The makefile can be parameterized with command line arguments to perform diffirent installs then its a just a matter of copying the correct startup script to the folder with the appropriate image which of course is something the makefile can handle too. https://marianopeck.wordpress.com/2012/05/12/startuploader-running-startup-scripts-in-pharo/ On Sat, Oct 22, 2016 at 11:37 AM Thierry Goubier <[hidden email]> wrote:
|
In reply to this post by kilon.alios
I am having my (local) Jenkins CI do that for me. There are several projects: 1/ P1: download fresh pharo 2/ P2: build "base worker" (an image with all prerequisites to dev) (takes a while: Seaside, Magritte, ....) 3/ P3: take recent commits from Git project and build an image based on the base worker one. 2 is taking a long time and if I did 2 and 3 it would be reallly long to ensure the final image is done. Now, 3 takes only a few seconds, which allows to iterate fast (and as I keep a few artifacts back, save my ass at times) Phil On Sat, Oct 22, 2016 at 9:52 AM, Dimitris Chloupis <[hidden email]> wrote:
|
Yeah it takes long because of pharo compilation, this is not different than python and ruby. Though python has pyc files which are compiled py files , unfortunately we dont have something similar out of the box. This is where the monolithic nature of the image file bite us back. I dont know if gems distributes the binary version of the source file, if they do , then yes gem has there the advantage of speed, if they dont, its the same situation. Fuel does fit the job well in that department. Fuel files should be able to speed up your build process so massively that only your internet speed will be the bottleneck. Of course you will have to do the the export of pharo live code and date as fuel files but that is something your CI process can handle in the background. This means by the time you issue a rebuild or its issued auto magically because of webhook to a git commit, fuel files will be readily available and you will be able to reduce build time down to a minimal. Fuel files give also the advantage of live data which will come handy for reproducing errors and fine tuning unit tests.
|
In reply to this post by kilon.alios
Hi Kilon,
2016-10-22 10:56 GMT+02:00 Dimitris Chloupis <[hidden email]>:
Good point: the Makefile has to copy the startup script inside the image directory, if we keep that convention of building the new image inside a dedicated directory to be able to clean by rm -r that directory.
Yes. I've been using eval in Makefiles for a few years now. I even prefer an eval Metacello new baseline: ... to the command line configuration loader, because I can use the standard Smalltalk syntax with eval (and Metacello) whereas I need to read the doc for the configuration command line handler. I even have a 'deployment' version for external partners, where the Makefile detect it is started from an archive extracted from git and not the original git repo, and switches to filetree (and loading different packages) to build the image.
Yes. Oh well, in fact the metarepo thing doesnt work well with Pharo5 and Pharo6, as one of the user of the GitFileTree configuration discovered a week or two ago. If you are using Pharo5, a configuration in the Pharo6 metarepo will override the one in the Pharo5 metarepo.
Yes, Thierry
|
In reply to this post by Dale Henrichs-3
MozServices crash is intentional! I need to find a pretty solution for it. Actually it is complicated. Services can not just stop while image is running, because rendering would instantly crash. Imagine if Bloc is running on Sparta, playground is rendered on Sparta. And now you stop services to update. What should happen? :) Just take fresh image. I will add an assertion to forbid Sparta installation if it is already installed. Cheers On Oct 22, 2016 2:09 AM, "Dale Henrichs" <[hidden email]> wrote:
|
I use plugin for months and never had a single random crash :) On Oct 22, 2016 11:55 AM, "Aliaksei Syrel" <[hidden email]> wrote:
|
In reply to this post by Thierry Goubier
Didn't Esteban fixed metarepo ? I think I remember him saying that he did.
Don't know how heavy and complex your setup is but if I was in a situation where the building process became to complex with several builds at the same time , I think as Phil said a CI would have been more handy. Its what we use for a vast array of custom images. Obviously you could make your own command line tool with Pharo. An image dedicated to building your own images , you alias the Pharo executable passed the image name to any name that make it look as if it is a bash command or bash utility. For example Pharo-build gitfiletree ./filetree -replace -stable -runTests On Sat, 22 Oct 2016 at 12:34, Thierry Goubier <[hidden email]> wrote:
|
In reply to this post by kilon.alios
we have it: ./pharo Pharo.image get Seaside3 will load seaside into your Pharo.image this is catalog based, of course (there is no magic there, if you want an easy way to install things, you need a centralised repository). Esteban ps: there are a lot of perks like that people ignores… what we actually need is a better documentation system :)
|
In reply to this post by kilon.alios
fixed in what sense? Esteban |
I was replying to Thierry saying that we had issues with Pharo mixing metarepo6 with metarepo5
On Sat, 22 Oct 2016 at 13:11, Esteban Lorenzano <[hidden email]> wrote:
|
In reply to this post by Denis Kudriashov
As Doru already mentioned text editor is an important part of the tools. There are some requirements a text editor should fulfil.
Tests show that TxText model is very nice for basic cases, works well for "normal" use. However, when it comes to extreme cases linked list of spans just fails, while rope shows great performance - and it also scales. Cheers, Alex On 19 October 2016 at 23:51, Denis Kudriashov <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |