Re: [Pharo-users] Pharo 5 new vm crash on window resize

2016-01-16 Thread Ben Coman
I think logging every one-off non-reproducible bug leads to bug bankruptcy. Until there is a reproducible case, reporting here and waiting for similar reports from a few people or a more occurrences yourself is a good plan. cheers -ben On Sat, Jan 16, 2016 at 11:50 PM, Johan Fabry wrote: > Hi al

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Denis Kudriashov
2016-01-16 15:30 GMT+01:00 Dimitris Chloupis : > Images are needed on startup when the project is updated which means any > of the image files could change. > > Its a big problem for me , I can preload everything, save it to an image > and distribute the image instead with zero delays. I dont care

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 21:36 GMT+01:00 Dimitris Chloupis : > how the bug report is bad ? > > No the workarounds were not helpful because I was already aware of them :) > > I appreciate people trying to help as always but yes it was upsetting to > me , to be told that my bug report is bad, that loading 60 tiny

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
how the bug report is bad ? No the workarounds were not helpful because I was already aware of them :) I appreciate people trying to help as always but yes it was upsetting to me , to be told that my bug report is bad, that loading 60 tiny images in 1 second is acceptable for a GUI and that openi

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 15:40 GMT+01:00 Dimitris Chloupis : > disk, 1TB. why it matters ? from my profile its clear that its not the > primitive that is the problem but how Pharo processes pngs. > > I happen to work with a lot of big data both in 3d graphics, a blender > file can easily reach 250 mb and it ope

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-16 Thread Johan Fabry
Well that’s actually much easier. :-) What you need to do is to use the presentationClass:startOn: API method. | ui | ui := GlamourPresentationModel new. ui presentationClass: GTPlayground startOn: (GTPlayPage new saveContent: '42'). ui openWithSpec I just realized that this was not clear from

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Hilaire
No it is ok as Pharo depth is also 32 bits Hilaire Le 16/01/2016 18:00, Dimitris Chloupis a écrit : > ah yes you are correct is per channel, my bad. You think thats what > slows pharo down ? -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-16 Thread Offray Vladimir Luna Cárdenas
Hi, I'm still kind of lost here. If I try with these approaches I get a *new* GTPlayground window populated with content, instead of an embedded one. How can I made this GTPlayPage one that is embedded in a spec glamour interface, like the one in the minimalist example: a dictionary with two

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
ah yes you are correct is per channel, my bad. You think thats what slows pharo down ? On Sat, Jan 16, 2016 at 6:55 PM Hilaire wrote: > 8 bits * 4 = 32 bits right? > > Le 15/01/2016 22:32, Dimitris Chloupis a écrit : > > > > The images are PNGs and RGBA , 8bit > > > > -- > Dr. Geo > http://drgeo

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Hilaire
8 bits * 4 = 32 bits right? Le 15/01/2016 22:32, Dimitris Chloupis a écrit : > > The images are PNGs and RGBA , 8bit > -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
yes Goran introduced me to the Nim language that compiles to C and they hired the creator of it to work for their company , Goran made a squeak (it also works with pharo) to nim bridge . But I was not aware of him using Unreal. Definetely will send him a message . Will keep you posted on my progres

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Esteban Lorenzano
> On 16 Jan 2016, at 17:17, Dimitris Chloupis wrote: > > Thanks Estaban as I said I am not giving up on Pharo. > > I am actually very interested making pharo work with Unreal to give Pharo > access to the most powerful graphics engine out there. Yeap moving to SDL > could help a lot, I am 10

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
Thanks Estaban as I said I am not giving up on Pharo. I am actually very interested making pharo work with Unreal to give Pharo access to the most powerful graphics engine out there. Yeap moving to SDL could help a lot, I am 100% behind this idea. Definetly will keep using Pharo but I will try to

[Pharo-users] Pharo 5 new vm crash on window resize

2016-01-16 Thread Johan Fabry
Hi all, this just happened to me: I opened a new image (today’s build), resized it and the VM segfaulted. I am on MacOS. crash.dmp is in attachment. I have been unable to reproduce, sadly. Is this a known issue or should I add a new bug report ? crash.dmp Description: Binary data ---> Sav

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Esteban Lorenzano
Hi Kilon, I’m sorry to feel you frustrated. Is clear than morphic (and the world) as it is now is not well suited to the kind of development you want to do, and clearly documentation is not good enough (even if we have moved forward recently, in part with your collaboration)… Anyway, yes, us

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-16 Thread Johan Fabry
Ah, sorry for the confusion, for the sake of the example I oversimplified things. Let’s say that I have a GTPlayground instance that has been around for some time, and then I want to change its content. What should I do? | play | “play is the GTPlayground instance" play := (GTPlayground new ope

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-16 Thread Tudor Girba
Here is a simpler way: GTPlayground new openOn: (GTPlayPage new content: '42’) Cheers, Doru > On Jan 16, 2016, at 4:23 PM, Johan Fabry wrote: > > > Ah this is actually a Glamour question: If I have a GTPlayground, how do I > set its content programmatically? I have been able to do it with som

Re: [Pharo-users] Spec: Populating a playground with a particular content (was Re: Spec: Binding widgets how to)

2016-01-16 Thread Johan Fabry
Ah this is actually a Glamour question: If I have a GTPlayground, how do I set its content programmatically? I have been able to do it with something like the following: | play | “play is the GTPlayground instance" play := (GTPlayground new openOn: GTPlayPage new) model. play entity saveContent

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Ben Coman
Cool. cheers -ben On Sat, Jan 16, 2016 at 10:51 PM, Dimitris Chloupis wrote: > Ben just leave it, dont waste your time, again 1.000.000 thank you for > helping me out but i am just too tired of battling with lack of > documentation and pharo limitations. I will port my project to Unreal engine >

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Ben just leave it, dont waste your time, again 1.000.000 thank you for helping me out but i am just too tired of battling with lack of documentation and pharo limitations. I will port my project to Unreal engine and maybe I will keep pharo just for scripting , but then I doubt that because Unreal h

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
in any case, ignore my bug reports, I am done with this, I waste my time and your time . Its clear pharo is not really suited for my needs, life goes on. On Sat, Jan 16, 2016 at 4:40 PM Dimitris Chloupis wrote: > disk, 1TB. why it matters ? from my profile its clear that its not the > primitive

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Ben is super simple with github, you just load it from package browser in a clean image (it will always get the latest version) or if you want to get the latest version on top of existing ChronosManager version , because Package Browser has a problem that does not get the latest version when you ha

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
disk, 1TB. why it matters ? from my profile its clear that its not the primitive that is the problem but how Pharo processes pngs. I happen to work with a lot of big data both in 3d graphics, a blender file can easily reach 250 mb and it opens under a second and audio files , plus instrument that

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
Images are needed on startup when the project is updated which means any of the image files could change. Its a big problem for me , I can preload everything, save it to an image and distribute the image instead with zero delays. I dont care if this is going to be improved or not , since I can wor

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Ben Coman
Okay. So I haven't with git from Pharo before. What definite actions do I need to take to update? I see the github://kilon/ChronosManager:master repository only contains: * one BaselineOfChronosManager.package revision 4, which is the current loaded * one ChronosManager.package revision 62, which

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Stephan Eggermont
On 16-01-16 14:48, Dimitris Chloupis wrote: sorry but thats plain horrible performance wise and those images are needed as soon as the gui is opened. So there can be no lazy loading for them. The total size for all the 60 images is 530kbs . What would happen if I did some serious animations of 10

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Denis Kudriashov
Hi. I am not understand why you need to load images on startup? Why you not save pharo image with preloaded png files? With that case you will get immediate startup with ready to use forms. Best regards, Denis 16 янв. 2016 г. 14:50 пользователь "Dimitris Chloupis" < kilon.al...@gmail.com> написал

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
sorry but thats plain horrible performance wise and those images are needed as soon as the gui is opened. So there can be no lazy loading for them. The total size for all the 60 images is 530kbs . What would happen if I did some serious animations of 10s of mbs , I will have to go to buy a coffee t

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
there is no need to update the catalog, my project is in github and catalog always loads the latest github version . One of the advantages of using github ;) and any change I do my code is immediately commited and pushed into github. On Sat, Jan 16, 2016 at 3:37 PM Ben Coman wrote: > On Sat, J

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Nicolai Hess
2016-01-16 13:50 GMT+01:00 Dimitris Chloupis : > Seems that creating forms and morph from pngs is super slow > > opened bug report > > > https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow > > your are loading 0-59 images in one turn. this takes ~ 1000 ms. Thats not bad.

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Ben Coman
On Sat, Jan 16, 2016 at 8:43 PM, Dimitris Chloupis wrote: > Hello Ben with your help and some more digging around I managed to solve my > issues and I am now also able to update the taskbar button moprh without any > major hit to my cpu. Pharo is now at 6-7% of one core which is not bad at > all.

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Marcus Denker
and this is all fixed by https://pharo.fogbugz.com/f/cases/17201/Marking-Diffs-broken-in-Pharo5 > On 16 Jan 2016, at 13:55, Henrik Nergaard wrote: > > Both the syntax highlighting and critics run their own background process to > do work. > The general Morphic UI runs at priority 40, critics

[Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-16 Thread Dimitris Chloupis
Seems that creating forms and morph from pngs is super slow opened bug report https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Hello Ben with your help and some more digging around I managed to solve my issues and I am now also able to update the taskbar button moprh without any major hit to my cpu. Pharo is now at 6-7% of one core which is not bad at all. So what you mention does not seem to affect my performance. Howeve

[Pharo-users] Nautilus code critic panel non functional

2016-01-16 Thread Dimitris Chloupis
Used to work ok, now with the latest pharo 5 image its just seem to scan forever with no results relevant bug report https://pharo.fogbugz.com/f/cases/17401/

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Ben Coman
On Sat, Jan 16, 2016 at 4:03 PM, Dimitris Chloupis wrote: > Hello Ben :) > > First thanks for investing 1 hour of your precious time to look through my > code. I really appreciate it . If there is one thing I love about pharo is > the super amazing community. > > Yes definetly my fault as always :

[Pharo-users] Pharo Sound does not work on Pharo 4

2016-01-16 Thread Dimitris Chloupis
even though it works fine for me in Pharo 5 (with the exception I have to restart the sound player because the primitive fails at times) in Pharo 4 I have no sound and no errors. Just Silence of the Lamps. opened bug report https://pharo.fogbugz.com/f/cases/17402/Pharo-Sound-does-not-work-on-Phar

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
my bad Marcus done https://pharo.fogbugz.com/f/cases/16020/Syntax-Highlighting-Rubric-First-shows-non-highlighted-text-then-color-Looks-slow and https://pharo.fogbugz.com/f/cases/17401/Nautilus-code-critic-seem-not-working On Sat, Jan 16, 2016 at 2:03 PM Marcus Denker wrote: > > > On 16 J

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
If there is anything I can do to help you out dont hesitate to ask. I tried to improve auto completion but I have to confess after 30 hours of work I could not figure out how things really worked. So I gave up and went back to coding my own stuff. On Sat, Jan 16, 2016 at 1:39 PM stepharo wrote:

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Marcus Denker
> On 16 Jan 2016, at 12:38, stepharo wrote: > > >>> syntax highlighting does not work, critics its keep looping forever with >>> "Updating critics..." message. I have to minimise and restore the nautlius >>> window to get back syntax highlighting for one method then the next method >>> i hav

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread stepharo
syntax highlighting does not work, critics its keep looping forever with "Updating critics..." message. I have to minimise and restore the nautlius window to get back syntax highlighting for one method then the next method i have to do the same. syntax highlighting is because there is a new

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Take your time, no rush, Pharo 4 is fine for me. It even has Spotter that I use a lot. More than enough for my needs. I was using Pharo 5 to report back issues and problems but I just cant work with it anymore. So I will sit here and wait here, using a stable version that I know works very well fo

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Esteban Lorenzano
> On 16 Jan 2016, at 11:59, Dimitris Chloupis wrote: > > syntax highlighting does not work, critics its keep looping forever with > "Updating critics..." message. I have to minimise and restore the nautlius > window to get back syntax highlighting for one method then the next method i > have

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Esteban Lorenzano
yes, there is a problem in the cleanup of freetype fonts. that’s not a vm bug, but it started to happen very often after migrating. Is in my high priority TODO list, right after a couple of FFI tweaks :S Esteban > On 16 Jan 2016, at 11:54, Dimitris Chloupis wrote: > > > ok if I open a nautil

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Esteban I also get doSemantics: errors , I have been getting way way back before Spur while trying to use shortcuts. It was messing also with the rendering of the method list in Nautilus when there were too many methods, it turned to a red box of death. So I am not convinced my problem are just VM

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Esteban Lorenzano
> On 16 Jan 2016, at 11:27, Dimitris Chloupis wrote: > > yes thanks Esteban I am back to Pharo 4 and I am fine :) you do not need to go back to Pharo 4… just downloading stable VM is enough :) (and I need people helping me to find the bugs on Pharo 5, spur, FFI, etc. *before* release :P) che

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
yes thanks Esteban I am back to Pharo 4 and I am fine :) will stick with it, till the release of Pharo 5. On Sat, Jan 16, 2016 at 12:25 PM Esteban Lorenzano wrote: > On 16 Jan 2016, at 01:01, Dimitris Chloupis wrote: > > > > and by the way menus on latest pharo 5 are broken > > > not the menu

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Esteban Lorenzano
> On 16 Jan 2016, at 01:01, Dimitris Chloupis wrote: > > > > and by the way menus on latest pharo 5 are broken not the menus there is a problem with WideString and string primitives in latest spur vm. in the mean time you can download stable instead latest and you will be ok. Esteban > >

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
ok found how to update the taskbar button , I add this to my step World submorphs do: [ :each| (each isKindOf: TaskbarMorph) ifTrue: [each updateTaskButtons]] pharo at 6-9% consumption of course depending on the size of the pharo window. Not bad at all :) Thank you all for your help, problem sol

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Yeap I cannot wait for Bloc :) a big thanks to Alain, Bloc already looks amazing from the little I tried. I am sure the loading of PNGs will be optimised at some point too in the future. Everything is a matter of time. Stef see my previous posts to see what was the issue but that summary is that

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread stepharo
taskbar was the problem, what was it? damn pharo gui is a huge pain in the hat. And we improved it a lot already. But this is not by accident that Alain spent a couple of years working on Bloc On Fri, Jan 15, 2016 at 11:32 PM Dimitris Chloupis mailto:kilon.al...@gmail.com>> wrote: I

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread stepharo
Yes nautilus is full of wrong changed messages and others. Stef Le 16/1/16 00:11, Nicolai Hess a écrit : 2016-01-16 0:06 GMT+01:00 Sven Van Caekenberghe >: > On 15 Jan 2016, at 23:30, Dimitris Chloupis mailto:kilon.al...@gmail.com>> wrote: > > taskbar

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread stepharo
nicolai I could not get what you wrote :) could you repeat it ? Le 15/1/16 22:21, Nicolai Hess a écrit : 2016-01-15 21:53 GMT+01:00 Hilaire >: It depends on what you are doing in a step, but 1s step should not hurt. May be the problem is somewhere else.

Re: [Pharo-users] Morphic is super slow

2016-01-16 Thread Dimitris Chloupis
Hello Ben :) First thanks for investing 1 hour of your precious time to look through my code. I really appreciate it . If there is one thing I love about pharo is the super amazing community. Yes definetly my fault as always :D I did not know about this profiling, I used it for the creating of m