Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Ben Coman
On Sat, Jan 16, 2016 at 7:28 AM, Dimitris Chloupis wrote: > taskbarTask (self valueOfProperty: #noTaskbarTask ifAbsent: [ false ]) > ifTrue: [ ^ nil ]. ^ nil "TaskbarTask morph: self state: self taskbarState > icon: self taskbarIcon label: self taskbarLabel" > > The uncommented part was the one th

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Ben Coman
On Sat, Jan 16, 2016 at 4:35 AM, Dimitris Chloupis wrote: > So I decided to find out why Nuatilus delays to syntax highlight when I open > ChronosManager I open my activity monitor to be amazed by the fact that > pharo was consuming 30% of one of my cores. > > At the time I thought it was my fault

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Dimitris Chloupis
taskbarTask (self valueOfProperty: #noTaskbarTask ifAbsent: [ false ]) ifTrue: [ ^ nil ]. ^ nil "TaskbarTask morph: self state: self taskbarState icon: self taskbarIcon label: self taskbarLabel" The uncommented part was the one that was slowing me down, its a copy from SystemWindow, on a new image

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
2016-01-16 0:11 GMT+01:00 Nicolai Hess : > > > 2016-01-16 0:06 GMT+01:00 Sven Van Caekenberghe : > >> >> > On 15 Jan 2016, at 23:30, Dimitris Chloupis >> wrote: >> > >> > taskbar was the problem, damn pharo gui is a huge pain in the hat. >> >> How so ? >> > > I would like to now that too. > > Btw

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
2016-01-16 0:06 GMT+01:00 Sven Van Caekenberghe : > > > On 15 Jan 2016, at 23:30, Dimitris Chloupis > wrote: > > > > taskbar was the problem, damn pharo gui is a huge pain in the hat. > > How so ? > I would like to now that too. Btw, this is interesting too: WorldState debugShowDamage:true. A

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Sven Van Caekenberghe
> On 15 Jan 2016, at 23:30, Dimitris Chloupis wrote: > > taskbar was the problem, damn pharo gui is a huge pain in the hat. How so ? > On Fri, Jan 15, 2016 at 11:32 PM Dimitris Chloupis > wrote: > ITs not the step, I removed the step as I said in my first post. Still 30% > cpu consumption

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Dimitris Chloupis
taskbar was the problem, damn pharo gui is a huge pain in the hat. On Fri, Jan 15, 2016 at 11:32 PM Dimitris Chloupis wrote: > ITs not the step, I removed the step as I said in my first post. Still 30% > cpu consumption > > The images are PNGs and RGBA , 8bit > > > On Fri, Jan 15, 2016 at 10:54

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Dimitris Chloupis
ITs not the step, I removed the step as I said in my first post. Still 30% cpu consumption The images are PNGs and RGBA , 8bit On Fri, Jan 15, 2016 at 10:54 PM Hilaire wrote: > It depends on what you are doing in a step, but 1s step should not hurt. > May be the problem is somewhere else. > Wit

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Nicolai Hess
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. > With DrGeo, I noted Athens is faster to BitBlt with bitmap operations > (in my case, only scaling and displaying a From in a DrGeo canvas). > Al

Re: [Pharo-users] Morphic is super slow

2016-01-15 Thread Hilaire
It depends on what you are doing in a step, but 1s step should not hurt. May be the problem is somewhere else. With DrGeo, I noted Athens is faster to BitBlt with bitmap operations (in my case, only scaling and displaying a From in a DrGeo canvas). Also, do your bitmaps come with 32 bits depth? --

[Pharo-users] Morphic is super slow

2016-01-15 Thread Dimitris Chloupis
So I decided to find out why Nuatilus delays to syntax highlight when I open ChronosManager I open my activity monitor to be amazed by the fact that pharo was consuming 30% of one of my cores. At the time I thought it was my fault because when my GUI steps I load from a png a form that I attack to

Re: [Pharo-users] [ANN] OSSubprocess first milestone

2016-01-15 Thread Johan Fabry
That looks very cool to me, it would have come quite in handy for some project that I did last year ;-) > On Jan 15, 2016, at 13:13, Mariano Martinez Peck > wrote: > > Luc, Damien, et all. > > I implemented the kind of API Luc suggested, which was a great idea. I took > also his API to answ

Re: [Pharo-users] [ANN] OSSubprocess first milestone

2016-01-15 Thread Mariano Martinez Peck
Luc, Damien, et all. I implemented the kind of API Luc suggested, which was a great idea. I took also his API to answer Damien question of could we do a "tail -f" example. So I made a little example where I run "tail -f system.log" and I keep a Playground updated with the stdout :) Here is the vid

Re: [Pharo-users] SSL client certificates

2016-01-15 Thread Sven Van Caekenberghe
Wow, thanks for sharing! Please, please, Holger, share the new Mac SSL Plugin somewhere so that we can test it too. (Next step is to push this change upstream in the VM). > On 15 Jan 2016, at 14:49, Norbert Hartl wrote: > > Hi, > >> Am 12.01.2016 um 16:25 schrieb Sven Van Caekenberghe : >> >

Re: [Pharo-users] [ANN] OSSubprocess first milestone

2016-01-15 Thread Mariano Martinez Peck
> > > > defaultReadStreamCreationBlock: [ process > createTempFileToBeUsedAsReadStreamOn: '/tmp' ]; > > In the readme, the piece of code containing that is a bit suspicious > because it depends on the fact that the block is evaluated after the > variable 'process' is assigned. > Thanks, fixed! I

Re: [Pharo-users] SSL client certificates

2016-01-15 Thread Norbert Hartl
Hi, > Am 12.01.2016 um 16:25 schrieb Sven Van Caekenberghe : > > Given a ZdcSecureSocketStream you can access the #sslSession. In this session > object you can use #certificateName: to set the path or name of the > certificate (before you #connect !). That is the general idea. > > Now, I don't

Re: [Pharo-users] [ANN] OSSubprocess first milestone

2016-01-15 Thread Mariano Martinez Peck
> > > Quick feedback: > > - the API seems great > - thank you very much for the documentation > Thanks! > - I wonder why you pass strings for stdout and stderr instead of streams > In which part exactly? In the method like #runAndWaitOnExitDo: ? if that was the question, then I simply thought i

Re: [Pharo-users] [Moose-dev] [ann] gtdebugger in pharo 5.0

2016-01-15 Thread Tudor Girba
Hi, Thanks indeed for the feedback. I think not quite all are bugs, but see more details inside. > On Jan 14, 2016, at 12:59 PM, Andrei Chis wrote: > > Hi Nicolai, > > Thanks for reporting these issues. They are indeed bugs and we are working on > fixing them. > > Cheers, > Andrei > > On

Re: [Pharo-users] [ANN] OSSubprocess first milestone

2016-01-15 Thread Damien Cassou
On January 14, 2016 7:33:56 PM GMT+01:00, Mariano Martinez Peck wrote: >Dear all, > >I am happy to tell you I have a first prototype of the tool for >executing >OS processes: > >https://github.com/marianopeck/OSSubprocess > > As I said many times, the main idea was to be as much as possible >FFI-