Re: [Pharo-users] Updated Pharo by Example

2016-01-17 Thread stepharo

Yes this is why I started to hate this slack interface today :)


Le 17/1/16 18:44, Dimitris Chloupis a écrit :
looks great I see you added the link for slack invitation that I could 
not find, awesome


On Sun, Jan 17, 2016 at 7:35 PM stepharo > wrote:


Here is the reviewed Preface of UpdatePharoByExample.

https://github.com/SquareBracketAssociates/UpdatedPharoByExample
for typos...

stef





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

2016-01-17 Thread Nicolai Hess
2016-01-17 22:09 GMT+01:00 Tudor Girba :

> Hi,
>
> > On Jan 17, 2016, at 7:56 PM, Nicolai Hess  wrote:
> >
> >
> > […]
>
> > > - I really miss the "List Methods using 'varname'/List Methods storing
> into ‘varname'
> >
> > Please open an issue for this.
> >
> > This issue is one year old:
> > 14583 inspector and instvars : list methods storing into/using
> >
>
> Ok. Thanks. Fixed.
>
>
Thanks Doru,
I commented on the bug report.
Will this be included in the (left most) inspector pane in the debugger?
(this is difficult to use in the "State"-pane, because as soon as you try to
bring up the popup-menu, the pane "slides away").

nicolai



> --
> www.tudorgirba.com
> www.feenk.com
>
> "To utilize feedback, you first have to acquire it."
>
>
>


Re: [Pharo-users] Memory mapped files and Pharo (aka Unreal Engine 4 integration with Pharo)

2016-01-17 Thread Dimitris Chloupis
Pipes are actually slower than sockets (local UNIX sockets that is) and I
dont need sockets if I am using shared memory.

I could create an event que and not allow direct access to shared memory,
this way I make sure everything happens in order and in sequence. This way
I can make sure multiple writes and reads dont happen at the same time.
This could be a first implementation and if the need arises for multi
threading then I can revise this design but frankly I rather stay away from
multithreading and other complexities and keep this simple and easy to
learn and code.

On Sun, Jan 17, 2016 at 10:19 PM David Allouche  wrote:

> First a disclaimer, I do not have a lot of experience with inter-process
> communication (I have a bit, though), and no direct experience with mmaped
> files.
>
> On 17 Jan 2016, at 17:41, Dimitris Chloupis  wrote:
>
> 1) Do you think this is possible with the current Pharo ?
>
> 2) Will I be limited by the fact that the VM currently does not
> multithread or cannot use multithreading libraries ? ( I have no intention
> of using multithreading but some handling of process access to the data may
> be necessary to make sure data is safe from concurent modification)
>
>
> Communication through mmaped files, or shared memory in general, is
> inherently asynchronous, so lack of multiple OS threads should not be a
> blocker if the protocol is well designed.
>
> 3) Is there anything else I should be aware of as common pitfalls for such
> implementation ?
>
>
> I expect you would need some sort of out-of-band signalling so polling is
> not necessary. Pipes or sockets could be used for that, slower for data
> transfer (more copying), but they are compatible with select() and other OS
> polling features.
>
> You could build synchronisation primitives on top of sockets, too. But
> building things like mutexes would be inefficient. I guess you could use
> pipes for all the  message sending and memory management, and shared memory
> for bulk data transfer. Large number of messages could be handled in batch
> this way:
>
>
>- allocate a message area (socket round trip)
>- fill the message area
>- signal to process a block of messages (socket one way)
>- optimistically check for incoming messages in shared memory
>- wait for socket input
>
>
> Not very efficient for messages that depend on one another. But I am not
> sure you could do better without things like interprocess semaphores or a
> FFI.
>
> 4) Can the current FFI help in this task or would I need to implement this
> as a C DLL and load it from Pharo
>
> PS: I have no intention of messing with the Pharo VM and I also want to
> avoid the use of plugins as I want this to work with standard Pharo
> distributions.
>
>


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

2016-01-17 Thread Mariano Martinez Peck
Fuel all the way down :)

On Sun, Jan 17, 2016 at 5:17 PM, Tudor Girba  wrote:

> Hi,
>
> > On Jan 17, 2016, at 8:27 PM, Sven Van Caekenberghe  wrote:
> >
> >
> >> On 17 Jan 2016, at 19:58, Stephan Eggermont  wrote:
> >>
> >> On 16-01-16 13:50, Dimitris Chloupis wrote:
> >>> Seems that creating forms and morph from pngs is super slow
> >>
> >> Put the forms in one fuel file and materialize that
> >>
> >> Stephan
> >
> > That is exactly what I showed him in
> https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow
>
> That is actually a very cool idea. Thank you both :)
>
> Doru
>
> > The speedup was massive and it was so easy to do.
> >
> > But the fact remains that the PNG parser itself, being written in pure
> Pharo, could use a Plugin counterpart, like in the JPG case.
> >
> > Sven
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Sometimes the best solution is not the best solution."
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com


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

2016-01-17 Thread Stephan Eggermont

On 16-01-16 15:40, Dimitris Chloupis wrote:

I report a sever limitation and I have been told
c) that its a hardware limitation when the hardware is able to perform
light years ahead of what pharo is currently doing


That is because disks can not do much more than that. If you need more 
speed you need to make sure the files are not on different tracks, or 
cached.


Stephan





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

2016-01-17 Thread Nicolai Hess
2016-01-15 13:39 GMT+01:00 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 Tue, Jan 12, 2016 at 11:24 PM, Nicolai Hess 
> wrote:
> >
> >
> > 2016-01-08 11:24 GMT+01:00 Tudor Girba :
> > Hi,
> >
> > We are about to integrate in Pharo a new member of the Glamorous
> Toolkit: the GTDebugger. As this is a significant change that might affect
> your workflow, here is some background information to help you deal with
> the change.
> >
> > First, you should know that the change is not irreversible and it is
> easily possible to disabled the new debugger through a setting. However,
> please do take the time to provide us feedback if something does not work
> out for you. We want to know what can be improved and we try to react as
> fast as we can.
> >
> > A practical change comes from the fact that the variables are
> manipulated through a GTInspector, which makes it cheaper to maintain in
> the longer run.
> >
> > Accept and Cancel buttons shouldn't be there
> > or should not act on if the codepane hasn't changed.
> > (every press on "accept" writes a new method version, although the
> contents didn't changed - tested on
> > Latest update: #50524 )
>
> Good catch. This will happen even if the button would not be present.
>
>
> > Most (all?) other tools don't have Accept/Cancel buttons.
>
> The logic is that these are actions that do not depend on the selection,
> so in Glamour we map these on actions that are applicable to the entire
> presentation. A similar approach is present in the inspector, although
> probably it does not appear so prominently because there is no text. We
> could try to add them in a dropdown menu. Would that help?
>
>
> > - I really miss the "List Methods using 'varname'/List Methods storing
> into ‘varname'
>
> Please open an issue for this.
>

This issue is one year old:
14583

inspector and instvars : list methods storing into/using


>
>
> > - is "stackTop" now gone ? I thought you wanted to add it to the stack ?
> > - thisContext is gone as well ?
>
> These were removed due to emergency mail exchange that happened during the
> last weekend.
>
>
> > - the Bytecode/GT button is badly placed, it looks like the "downarrow"
> window menu icon
> >   is a dropdown menu with label “Bytecode"
>
> We could try to fix by adding more space to the left of the menu bar in
> the theme. Could you open an issue?
>
>
> > (since when do we put buttons in the title pane?
>
> Since Glamour makes it easy to have them there :). The GTPlayground and
> GTInspector have them, too.
>

still I don't think this is a good idea. What is the difference between
action buttons in the title pane
and the other one.


>
>
> > - the evaluator pane is shown as "dirty", as it does not make a
> difference if we
> >   accept the text in this pane, there shouldn't be a dirty indicator.
>
> This is a problem that seems to exist with basically every pharoScript in
> Glamour. You commented on an issue for this:
>
> https://pharo.fogbugz.com/f/cases/16757/GLMHighlighterTextRubEditingMode-always-indicates-text-was-changed-even-when-it-wasn-t


Yes this is working nwo in 3.8.


>
>
>
>
> > - you can not use the inspector pane to change inst var values
>
> This is a problem but it is not specific to the debugger.
>
>
> > - there is no way to refresh the inspector pane
>
> Indeed. Would it be enough if we added a refresh for the whole debugger?
>

I don't know if there is an easy solution. But it was nice in the old
debugger resp. inspector pane to have auto-updates for this values.


>
> Cheers,
> Doru
>
>
> > I don't open bugtracker entries now, I 'll wait maybe this issues aren't
> bugs but
> > features.
> >
> >
> > nicolai
> >
> >
> >
> > ___
> > Moose-dev mailing list
> > moose-...@list.inf.unibe.ch
> > https://www.list.inf.unibe.ch/listinfo/moose-dev
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Not knowing how to do something is not an argument for how it cannot be
> done."
>
>
>


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

2016-01-17 Thread Dimitris Chloupis
Fuel is great indeed and very convenient ,will definetly use this approach
if I end up dealing with a lot of PNGs and experience some serious delays,
but for now, lazy loading with some forking should be enough to make this
instantaneous .  I prefer to stick with pngs because it easy to update them
and version control them via git and github

On Sun, Jan 17, 2016 at 11:18 PM Mariano Martinez Peck <
marianop...@gmail.com> wrote:

> Fuel all the way down :)
>
> On Sun, Jan 17, 2016 at 5:17 PM, Tudor Girba  wrote:
>
>> Hi,
>>
>> > On Jan 17, 2016, at 8:27 PM, Sven Van Caekenberghe 
>> wrote:
>> >
>> >
>> >> On 17 Jan 2016, at 19:58, Stephan Eggermont  wrote:
>> >>
>> >> On 16-01-16 13:50, Dimitris Chloupis wrote:
>> >>> Seems that creating forms and morph from pngs is super slow
>> >>
>> >> Put the forms in one fuel file and materialize that
>> >>
>> >> Stephan
>> >
>> > That is exactly what I showed him in
>> https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow
>>
>> That is actually a very cool idea. Thank you both :)
>>
>> Doru
>>
>> > The speedup was massive and it was so easy to do.
>> >
>> > But the fact remains that the PNG parser itself, being written in pure
>> Pharo, could use a Plugin counterpart, like in the JPG case.
>> >
>> > Sven
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "Sometimes the best solution is not the best solution."
>>
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>


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

2016-01-17 Thread john pfersich
No, it's age. I'm 63 and I forget stuff all the time. That's why I cut back
the languages I program in to a few. I used to eat up new languages like
candy.

On Sun, Jan 17, 2016 at 9:40 AM, stepharo  wrote:

>
>
> Le 17/1/16 17:17, Dimitris Chloupis a écrit :
>
> hehe you forget who translated this chapter from French to English, though
> I cannot take most of the credit that belongs to Google translate :D
>
>
> Ok add it.
> I do not remember things (doing too many things I guess)
>
>
> On Sun, Jan 17, 2016 at 5:18 PM stepharo < 
> steph...@free.fr> wrote:
>
>> Can you check the attached pdf?
>>
>>
>>
>>
>> Le 16/1/16 13:27, Dimitris Chloupis a écrit :
>> > 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-Pharo-4
>> >
>>
>>
>


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

2016-01-17 Thread Tudor Girba
Hi,

> On Jan 17, 2016, at 8:27 PM, Sven Van Caekenberghe  wrote:
> 
> 
>> On 17 Jan 2016, at 19:58, Stephan Eggermont  wrote:
>> 
>> On 16-01-16 13:50, Dimitris Chloupis wrote:
>>> Seems that creating forms and morph from pngs is super slow
>> 
>> Put the forms in one fuel file and materialize that
>> 
>> Stephan
> 
> That is exactly what I showed him in 
> https://pharo.fogbugz.com/f/cases/17403/Creating-Forms-from-PNGs-is-very-slow

That is actually a very cool idea. Thank you both :)

Doru

> The speedup was massive and it was so easy to do.
> 
> But the fact remains that the PNG parser itself, being written in pure Pharo, 
> could use a Plugin counterpart, like in the JPG case.
> 
> Sven

--
www.tudorgirba.com
www.feenk.com

"Sometimes the best solution is not the best solution."




Re: [Pharo-users] Memory mapped files and Pharo (aka Unreal Engine 4 integration with Pharo)

2016-01-17 Thread David Allouche
First a disclaimer, I do not have a lot of experience with inter-process 
communication (I have a bit, though), and no direct experience with mmaped 
files.

> On 17 Jan 2016, at 17:41, Dimitris Chloupis  wrote:
> 
> 1) Do you think this is possible with the current Pharo ?
> 
> 2) Will I be limited by the fact that the VM currently does not multithread 
> or cannot use multithreading libraries ? ( I have no intention of using 
> multithreading but some handling of process access to the data may be 
> necessary to make sure data is safe from concurent modification) 

Communication through mmaped files, or shared memory in general, is inherently 
asynchronous, so lack of multiple OS threads should not be a blocker if the 
protocol is well designed.

> 3) Is there anything else I should be aware of as common pitfalls for such 
> implementation ? 

I expect you would need some sort of out-of-band signalling so polling is not 
necessary. Pipes or sockets could be used for that, slower for data transfer 
(more copying), but they are compatible with select() and other OS polling 
features.

You could build synchronisation primitives on top of sockets, too. But building 
things like mutexes would be inefficient. I guess you could use pipes for all 
the  message sending and memory management, and shared memory for bulk data 
transfer. Large number of messages could be handled in batch this way:

allocate a message area (socket round trip)
fill the message area
signal to process a block of messages (socket one way)
optimistically check for incoming messages in shared memory
wait for socket input

Not very efficient for messages that depend on one another. But I am not sure 
you could do better without things like interprocess semaphores or a FFI.

> 4) Can the current FFI help in this task or would I need to implement this as 
> a C DLL and load it from Pharo
> 
> PS: I have no intention of messing with the Pharo VM and I also want to avoid 
> the use of plugins as I want this to work with standard Pharo distributions. 



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

2016-01-17 Thread Tudor Girba
Hi,

> On Jan 17, 2016, at 7:56 PM, Nicolai Hess  wrote:
> 
> 
> […]

> > - I really miss the "List Methods using 'varname'/List Methods storing into 
> > ‘varname'
> 
> Please open an issue for this.
> 
> This issue is one year old:
> 14583 inspector and instvars : list methods storing into/using
>  

Ok. Thanks. Fixed.

> […]

> > (since when do we put buttons in the title pane?
> 
> Since Glamour makes it easy to have them there :). The GTPlayground and 
> GTInspector have them, too.
> 
> still I don't think this is a good idea. What is the difference between 
> action buttons in the title pane 
> and the other one.

We have now moved the accept and cancel to the contextual menu for now. 
However, the longer term goal is to change this pattern. Here is a longer 
explanation.

We think of the IDE like terms an object-oriented system built using a 
language. From this point of view, an action is put in the context that 
provides enough information to trigger it. So, for actions that do not rely on 
the selection, or on the cursor position, we can safely put them in the toolbar 
of the presentation. For global actions (like refreshing the whole inspector), 
we put them all the way in the title bar.

For example:
- "Do It” depends on the selection or cursor, and thus it is added to the 
context menu
- “Accept" is not specific to the current location of the cursor or of the 
selection and can be made presentation specific (added to the toolbar of the 
presentation).
- Switching the whole debugger to a “Bytecode” one is global for the whole 
debugger, and it is added to the top of the visual hierarchy.

This choice also documents the scope of an action. For example, imagine having 
a global toolbar with actions that only do something in a certain pane (out of 
possible many). How will you know before triggering what is the effect going to 
be? But, if you always put the action to the scope that it affects, there is a 
more clear connection because cause and effect.

And there is yet another advantage. When you stick with this design, you get 
potentially reusable components.

This does require some getting used to. And this design will not necessarily 
work for general UIs. But, an IDE is not a general UI. It is made for 
programmers, and in our case, it is made for object-oriented programmers, and 
we can use the abilities of such programmers in our designs.

Does this explanation make more sense?

Cheers,
Doru


--
www.tudorgirba.com
www.feenk.com

"To utilize feedback, you first have to acquire it."




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

2016-01-17 Thread Stephan Eggermont

On 16-01-16 13:50, Dimitris Chloupis wrote:

Seems that creating forms and morph from pngs is super slow


Put the forms in one fuel file and materialize that

Stephan





[Pharo-users] (no subject)

2016-01-17 Thread john pfersich
When I try to download the latest stable Pharo 5, I get this:

curl get.pharo.org/50+vm | bash

  % Total% Received % Xferd  Average Speed   TimeTime Time
Current

 Dload  Upload   Total   SpentLeft
Speed

100  2901  100  29010 0   4931  0 --:--:-- --:--:-- --:--:--
4925

Downloading the latest 50 Image:

http://files.pharo.org/get-files/50/pharo.zip


It never finishes, and if I try to unzip the file artifacts I get:

Archive:  image.zip

  End-of-central-directory signature not found.  Either this file is not

  a zipfile, or it constitutes one disk of a multi-part archive.  In the

  latter case the central directory and zipfile comment will be found on

  the last disk(s) of this archive.

unzip:  cannot find zipfile directory in one of image.zip or

image.zip.zip, and cannot find image.zip.ZIP, period.


What am I doing wrong? I tried the download with curl and wget. I'm on Mac
OSX 10.10.5 (Yosemite).


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

2016-01-17 Thread stepharo

I saw that bug too.

Stef

Le 16/1/16 16:50, Johan Fabry a écrit :

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 ?





---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
Chile





[Pharo-users] Getting Updated Pharo By Example out the door

2016-01-17 Thread stepharo

Hi guys

I will read from start to end the book and we will get it on lulu. I 
plan to read up to 3 chapters per week.

If you want to help for real this is the time.

https://ci.inria.fr/pharo-contribution/view/Books/job/UpdatedPharoByExample/lastSuccessfulBuild/artifact/book-result/UpdatedPharoByExample.pdf

I rewrote the chapter on metaclass and a couple of other points because 
TranslucentColor is not available anymore.
I will not rewrite what I do not like (I should now have written in the 
first place :). So I'm not looking

for the perfect solution but to get something done.

- First
we will host http://www.pharoByExample.org at http://books.pharo.org

- Second
we will create a new entry for Updated pharo by example and (a new 
entry for numerical method book too).


- Third
Read and fix Updated
Need a new cover (will ask lusy)
-> done




Stef




Re: [Pharo-users] (no subject)

2016-01-17 Thread john pfersich
It worked this time. It takes about 5 minutes from Nevada, USA. Thanks.

On Sun, Jan 17, 2016 at 12:46 AM, Tudor Girba  wrote:

> Hi,
>
> I just tried and it worked fine. Could you try again?
>
> Doru
>
>
> > On Jan 17, 2016, at 9:28 AM, john pfersich  wrote:
> >
> > When I try to download the latest stable Pharo 5, I get this:
> >
> > curl get.pharo.org/50+vm | bash
> >
> >   % Total% Received % Xferd  Average Speed   TimeTime Time
> Current
> >
> >  Dload  Upload   Total   SpentLeft
> Speed
> >
> > 100  2901  100  29010 0   4931  0 --:--:-- --:--:--
> --:--:--  4925
> >
> > Downloading the latest 50 Image:
> >
> > http://files.pharo.org/get-files/50/pharo.zip
> >
> >
> >
> > It never finishes, and if I try to unzip the file artifacts I get:
> >
> > Archive:  image.zip
> >
> >   End-of-central-directory signature not found.  Either this file is not
> >
> >   a zipfile, or it constitutes one disk of a multi-part archive.  In the
> >
> >   latter case the central directory and zipfile comment will be found on
> >
> >   the last disk(s) of this archive.
> >
> > unzip:  cannot find zipfile directory in one of image.zip or
> >
> >
> > image.zip.zip, and cannot find image.zip.ZIP, period.
> >
> >
> >
> > What am I doing wrong? I tried the download with curl and wget. I'm on
> Mac OSX 10.10.5 (Yosemite).
> >
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "One cannot do more than one can do."
>
>
>
>
>
>


Re: [Pharo-users] (no subject)

2016-01-17 Thread Dimitris Chloupis
john I had exactly the same problem as you, I think its a hiccup of the
server sometimes it does this , I tried it again and worked fine.

On Sun, Jan 17, 2016 at 11:37 AM john pfersich  wrote:

> It worked this time. It takes about 5 minutes from Nevada, USA. Thanks.
>
> On Sun, Jan 17, 2016 at 12:46 AM, Tudor Girba 
> wrote:
>
>> Hi,
>>
>> I just tried and it worked fine. Could you try again?
>>
>> Doru
>>
>>
>> > On Jan 17, 2016, at 9:28 AM, john pfersich  wrote:
>> >
>> > When I try to download the latest stable Pharo 5, I get this:
>> >
>> > curl get.pharo.org/50+vm | bash
>> >
>> >   % Total% Received % Xferd  Average Speed   TimeTime Time
>> Current
>> >
>> >  Dload  Upload   Total   SpentLeft
>> Speed
>> >
>> > 100  2901  100  29010 0   4931  0 --:--:-- --:--:--
>> --:--:--  4925
>> >
>> > Downloading the latest 50 Image:
>> >
>> > http://files.pharo.org/get-files/50/pharo.zip
>> >
>> >
>> >
>> > It never finishes, and if I try to unzip the file artifacts I get:
>> >
>> > Archive:  image.zip
>> >
>> >   End-of-central-directory signature not found.  Either this file is not
>> >
>> >   a zipfile, or it constitutes one disk of a multi-part archive.  In the
>> >
>> >   latter case the central directory and zipfile comment will be found on
>> >
>> >   the last disk(s) of this archive.
>> >
>> > unzip:  cannot find zipfile directory in one of image.zip or
>> >
>> >
>> > image.zip.zip, and cannot find image.zip.ZIP, period.
>> >
>> >
>> >
>> > What am I doing wrong? I tried the download with curl and wget. I'm on
>> Mac OSX 10.10.5 (Yosemite).
>> >
>>
>> --
>> www.tudorgirba.com
>> www.feenk.com
>>
>> "One cannot do more than one can do."
>>
>>
>>
>>
>>
>>
>


Re: [Pharo-users] (no subject)

2016-01-17 Thread John Pfersich
Yeah, I'm never sure whether it's the remote site or my ISP. Can't wait until 
my contract is up. They won't let me use bit torrent and they arbitrarily don't 
allow certain downloads through. I end up at the library in order to download 
some things like unix distros.

Sent from my iPad

> On Jan 17, 2016, at 01:38, Dimitris Chloupis  wrote:
> 
> john I had exactly the same problem as you, I think its a hiccup of the 
> server sometimes it does this , I tried it again and worked fine. 
> 
>> On Sun, Jan 17, 2016 at 11:37 AM john pfersich  wrote:
>> It worked this time. It takes about 5 minutes from Nevada, USA. Thanks.
>> 
>>> On Sun, Jan 17, 2016 at 12:46 AM, Tudor Girba  wrote:
>>> Hi,
>>> 
>>> I just tried and it worked fine. Could you try again?
>>> 
>>> Doru
>>> 
>>> 
>>> > On Jan 17, 2016, at 9:28 AM, john pfersich  wrote:
>>> >
>>> > When I try to download the latest stable Pharo 5, I get this:
>>> >
>>> > curl get.pharo.org/50+vm | bash
>>> >
>>> >   % Total% Received % Xferd  Average Speed   TimeTime Time  
>>> > Current
>>> >
>>> >  Dload  Upload   Total   SpentLeft  
>>> > Speed
>>> >
>>> > 100  2901  100  29010 0   4931  0 --:--:-- --:--:-- --:--:--  
>>> > 4925
>>> >
>>> > Downloading the latest 50 Image:
>>> >
>>> > http://files.pharo.org/get-files/50/pharo.zip
>>> >
>>> >
>>> >
>>> > It never finishes, and if I try to unzip the file artifacts I get:
>>> >
>>> > Archive:  image.zip
>>> >
>>> >   End-of-central-directory signature not found.  Either this file is not
>>> >
>>> >   a zipfile, or it constitutes one disk of a multi-part archive.  In the
>>> >
>>> >   latter case the central directory and zipfile comment will be found on
>>> >
>>> >   the last disk(s) of this archive.
>>> >
>>> > unzip:  cannot find zipfile directory in one of image.zip or
>>> >
>>> >
>>> > image.zip.zip, and cannot find image.zip.ZIP, period.
>>> >
>>> >
>>> >
>>> > What am I doing wrong? I tried the download with curl and wget. I'm on 
>>> > Mac OSX 10.10.5 (Yosemite).
>>> >
>>> 
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>> 
>>> "One cannot do more than one can do."


[Pharo-users] Fogbuz issues

2016-01-17 Thread Dimitris Chloupis
Since I am on a complaining spree lately let me complain once more.

I really dont like Fogbuz and in order not to bore with blah blah lets get
to 2 big issues

1) If you open a bug report it does not subscribe you to it, WTF !!! Who
else could be more interested in my bug report than I ?

2) If I go to My Cases its shows none of the reports I opened , actually it
shows nothing, none, zero , empty space  WTF^2

And people then wonder why on earth I keep pushing for github integration,
thats why !


Re: [Pharo-users] (no subject)

2016-01-17 Thread Dimitris Chloupis
I think its the server,  I have internet connections issues too, my adsl is
down because of a faulty cable that the adsl provide not my ISP refused so
far to replace, I use my mobile internet connection that is rock solid
(ironic that mobile phone offers better internet connection than adsl) so I
am pretty sure it was the pharo server.

On Sun, Jan 17, 2016 at 11:55 AM John Pfersich  wrote:

> Yeah, I'm never sure whether it's the remote site or my ISP. Can't wait
> until my contract is up. They won't let me use bit torrent and they
> arbitrarily don't allow certain downloads through. I end up at the library
> in order to download some things like unix distros.
>
> Sent from my iPad
>
> On Jan 17, 2016, at 01:38, Dimitris Chloupis 
> wrote:
>
> john I had exactly the same problem as you, I think its a hiccup of the
> server sometimes it does this , I tried it again and worked fine.
>
> On Sun, Jan 17, 2016 at 11:37 AM john pfersich 
> wrote:
>
>> It worked this time. It takes about 5 minutes from Nevada, USA. Thanks.
>>
>> On Sun, Jan 17, 2016 at 12:46 AM, Tudor Girba 
>> wrote:
>>
>>> Hi,
>>>
>>> I just tried and it worked fine. Could you try again?
>>>
>>> Doru
>>>
>>>
>>> > On Jan 17, 2016, at 9:28 AM, john pfersich 
>>> wrote:
>>> >
>>> > When I try to download the latest stable Pharo 5, I get this:
>>> >
>>> > curl get.pharo.org/50+vm | bash
>>> >
>>> >   % Total% Received % Xferd  Average Speed   TimeTime
>>>  Time  Current
>>> >
>>> >  Dload  Upload   Total   Spent
>>> Left  Speed
>>> >
>>> > 100  2901  100  29010 0   4931  0 --:--:-- --:--:--
>>> --:--:--  4925
>>> >
>>> > Downloading the latest 50 Image:
>>> >
>>> > http://files.pharo.org/get-files/50/pharo.zip
>>> >
>>> >
>>> >
>>> > It never finishes, and if I try to unzip the file artifacts I get:
>>> >
>>> > Archive:  image.zip
>>> >
>>> >   End-of-central-directory signature not found.  Either this file is
>>> not
>>> >
>>> >   a zipfile, or it constitutes one disk of a multi-part archive.  In
>>> the
>>> >
>>> >   latter case the central directory and zipfile comment will be found
>>> on
>>> >
>>> >   the last disk(s) of this archive.
>>> >
>>> > unzip:  cannot find zipfile directory in one of image.zip or
>>> >
>>> >
>>> > image.zip.zip, and cannot find image.zip.ZIP, period.
>>> >
>>> >
>>> >
>>> > What am I doing wrong? I tried the download with curl and wget. I'm on
>>> Mac OSX 10.10.5 (Yosemite).
>>> >
>>>
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>>
>>> "One cannot do more than one can do."
>>>
>>>
>>>
>>>
>>>
>>>
>>


Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :

> Since I am on a complaining spree lately let me complain once more.
>
> I really dont like Fogbuz and in order not to bore with blah blah lets get
> to 2 big issues
>
> 1) If you open a bug report it does not subscribe you to it, WTF !!! Who
> else could be more interested in my bug report than I ?
>
> 2) If I go to My Cases its shows none of the reports I opened , actually
> it shows nothing, none, zero , empty space  WTF^2
>

Yes this is confusing, "My Cases" only shows issues "assigned to you".

Instaed, you can filter all cases by

editedBy:theKilon
or
openedBy:theKilon



>
> And people then wonder why on earth I keep pushing for github integration,
> thats why !
>


Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Henrik Nergaard
In the top right corner of Fogbugz there is a menu which has an entry called 
“subscriptions” here you can configure what you want to be automatically 
subscribed to. See attachment.

Best regards,
Henrik

From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of 
Nicolai Hess
Sent: Sunday, January 17, 2016 11:25 AM
To: Any question about pharo is welcome 
Subject: Re: [Pharo-users] Fogbuz issues



2016-01-17 11:00 GMT+01:00 Dimitris Chloupis 
>:
Since I am on a complaining spree lately let me complain once more.
I really dont like Fogbuz and in order not to bore with blah blah lets get to 2 
big issues
1) If you open a bug report it does not subscribe you to it, WTF !!! Who else 
could be more interested in my bug report than I ?
2) If I go to My Cases its shows none of the reports I opened , actually it 
shows nothing, none, zero , empty space  WTF^2

Yes this is confusing, "My Cases" only shows issues "assigned to you".

Instaed, you can filter all cases by

editedBy:theKilon
or
openedBy:theKilon


And people then wonder why on earth I keep pushing for github integration, 
thats why !



Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Dimitris Chloupis
Or the alternative is just go down, down , down the list to My Open Cases.
Which by the way it does not just show the cases opened by you but also
cases you have commented on

Welcome to the land of endless WTF :D

And by the way your solution does not work either because there is a catch
, you have to change assigned to Everybody

so lets all sing

 WTF dancing in the rain
 WTF dancing in the rain 

On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess  wrote:

> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :
>
>> Since I am on a complaining spree lately let me complain once more.
>>
>> I really dont like Fogbuz and in order not to bore with blah blah lets
>> get to 2 big issues
>>
>> 1) If you open a bug report it does not subscribe you to it, WTF !!! Who
>> else could be more interested in my bug report than I ?
>>
>> 2) If I go to My Cases its shows none of the reports I opened , actually
>> it shows nothing, none, zero , empty space  WTF^2
>>
>
> Yes this is confusing, "My Cases" only shows issues "assigned to you".
>
> Instaed, you can filter all cases by
>
> editedBy:theKilon
> or
> openedBy:theKilon
>
>
>
>>
>> And people then wonder why on earth I keep pushing for github
>> integration, thats why !
>>
>


Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Dimitris Chloupis
Thanks Henrik

I assumed that something like this existed, but I did not search for it. I
was merely noticing pitfalls of the system that will confuse a newcomer.

On Sun, Jan 17, 2016 at 12:32 PM Dimitris Chloupis 
wrote:

> Or the alternative is just go down, down , down the list to My Open Cases.
> Which by the way it does not just show the cases opened by you but also
> cases you have commented on
>
> Welcome to the land of endless WTF :D
>
> And by the way your solution does not work either because there is a catch
> , you have to change assigned to Everybody
>
> so lets all sing
>
>  WTF dancing in the rain
>  WTF dancing in the rain 
>
> On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess 
> wrote:
>
>> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :
>>
>>> Since I am on a complaining spree lately let me complain once more.
>>>
>>> I really dont like Fogbuz and in order not to bore with blah blah lets
>>> get to 2 big issues
>>>
>>> 1) If you open a bug report it does not subscribe you to it, WTF !!! Who
>>> else could be more interested in my bug report than I ?
>>>
>>> 2) If I go to My Cases its shows none of the reports I opened , actually
>>> it shows nothing, none, zero , empty space  WTF^2
>>>
>>
>> Yes this is confusing, "My Cases" only shows issues "assigned to you".
>>
>> Instaed, you can filter all cases by
>>
>> editedBy:theKilon
>> or
>> openedBy:theKilon
>>
>>
>>
>>>
>>> And people then wonder why on earth I keep pushing for github
>>> integration, thats why !
>>>
>>


Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
2016-01-17 11:32 GMT+01:00 Dimitris Chloupis :

> Or the alternative is just go down, down , down the list to My Open Cases.
> Which by the way it does not just show the cases opened by you but also
> cases you have commented on
>


Yes, that is why I showed you the filter
editedBy:theKilon
instead of
alsoEditedBy:



>
> Welcome to the land of endless WTF :D
>
> And by the way your solution does not work either because there is a catch
> , you have to change assigned to Everybody
>

I don't understand this one.



>
> so lets all sing
>
>  WTF dancing in the rain
>  WTF dancing in the rain 
>
> On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess 
> wrote:
>
>> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :
>>
>>> Since I am on a complaining spree lately let me complain once more.
>>>
>>> I really dont like Fogbuz and in order not to bore with blah blah lets
>>> get to 2 big issues
>>>
>>> 1) If you open a bug report it does not subscribe you to it, WTF !!! Who
>>> else could be more interested in my bug report than I ?
>>>
>>> 2) If I go to My Cases its shows none of the reports I opened , actually
>>> it shows nothing, none, zero , empty space  WTF^2
>>>
>>
>> Yes this is confusing, "My Cases" only shows issues "assigned to you".
>>
>> Instaed, you can filter all cases by
>>
>> editedBy:theKilon
>> or
>> openedBy:theKilon
>>
>>
>>
>>>
>>> And people then wonder why on earth I keep pushing for github
>>> integration, thats why !
>>>
>>


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

2016-01-17 Thread Tudor Girba
Hi,

For your tabulator example, you can do something like:

browser := GLMTabulator new.
browser title: 'Código'.
browser column: #code.
browser transmit 
to: #code;
  transformed: [ :text | GTPlayPage new content: text ];
andShow: [ :a :page | a custom: (GTPlayground new startOn: page) ].
^ browser openOn: 'a := 42’.

Does this help?

Cheers,
Doru


> On Jan 16, 2016, at 6:24 PM, Offray Vladimir Luna Cárdenas 
>  wrote:
> 
> 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 keys/values: 
> one which is shown as text and other that is shown as a playground, both 
> populated with the content in the dict values and both, embedded in a widget 
> instead of on separate windows. Is this possible with the current 
> Spec-Glamour implementation?, if not how can be it extended to make this 
> happen?
> 
> Thanks,
> 
> Offray
> 
> On 16/01/16 10:36, Johan Fabry wrote:
>> 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 openOn: GTPlayPage new) model.
>> 
>> “… lots of things happen … the world turns … sun and moon go up and down … "
>> 
>> play entity saveContent: '42'.
>> play update.
>> 
>> Still like this ?
>> 
>>> On Jan 16, 2016, at 12:27, Tudor Girba  wrote:
>>> 
>>> 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 something 
 like the following:
 
 | play |
 “play is the GTPlayground instance"
 play := (GTPlayground new openOn: GTPlayPage new) model.
 play entity saveContent: '42'.
 play update.
 
 I don’t know if this is the officially approved way of doing it, maybe the 
 Glamour crew can enlighten us.
 
> On Jan 14, 2016, at 18:34, Nicolai Hess  wrote:
> 
> but if I try running the interface with this I get: 
> "MessageNotUnderstood: GlamourPresentationModel>>content:", so I think 
> that something more is needed to create Playgrounds in the Spec-Glamour 
> that are pre-populated with content.
> 
> How can I create a playground inside a Spec-Glamour interface that is 
> already populated with a given content?
> 
> 
> I would expect (content is the GlamourPresentationModel)
> 
> content glmPres codePresentation text: 'new text'.
> 
> but it does not work.
 
 
 ---> Save our in-boxes! http://emailcharter.org <---
 
 Johan Fabry   -   http://pleiad.cl/~jfabry
 PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University 
 of Chile
 
>>> --
>>> www.tudorgirba.com
>>> www.feenk.com
>>> 
>>> "Problem solving efficiency grows with the abstractness level of problem 
>>> understanding."
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> ---> Save our in-boxes! http://emailcharter.org <---
>> 
>> Johan Fabry   -   http://pleiad.cl/~jfabry
>> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
>> Chile
>> 
>> 
>> 
> 
> 

--
www.tudorgirba.com
www.feenk.com

"Speaking louder won't make the point worthier."



Re: [Pharo-users] (no subject)

2016-01-17 Thread Tudor Girba
Hi,

I just tried and it worked fine. Could you try again?

Doru


> On Jan 17, 2016, at 9:28 AM, john pfersich  wrote:
> 
> When I try to download the latest stable Pharo 5, I get this:
> 
> curl get.pharo.org/50+vm | bash
> 
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
> 
>  Dload  Upload   Total   SpentLeft  Speed
> 
> 100  2901  100  29010 0   4931  0 --:--:-- --:--:-- --:--:--  4925
> 
> Downloading the latest 50 Image:
> 
> http://files.pharo.org/get-files/50/pharo.zip
> 
> 
> 
> It never finishes, and if I try to unzip the file artifacts I get:
> 
> Archive:  image.zip
> 
>   End-of-central-directory signature not found.  Either this file is not
> 
>   a zipfile, or it constitutes one disk of a multi-part archive.  In the
> 
>   latter case the central directory and zipfile comment will be found on
> 
>   the last disk(s) of this archive.
> 
> unzip:  cannot find zipfile directory in one of image.zip or
> 
> 
> image.zip.zip, and cannot find image.zip.ZIP, period.
> 
> 
> 
> What am I doing wrong? I tried the download with curl and wget. I'm on Mac 
> OSX 10.10.5 (Yosemite).
> 

--
www.tudorgirba.com
www.feenk.com

"One cannot do more than one can do."







Re: [Pharo-users] Getting Updated Pharo By Example out the door

2016-01-17 Thread Dimitris Chloupis
I am here to help you Stef , I am actually doing what you are doing going
one chapter at a time, but for me its not 3 chapter per week but rather 1
chapter per week but I can boost my speed to 3 chapters per week and just
dont pay so much attention to detail as I currently do. My goal so far was
to focus on Pharo 4 and not Pharo 5, so I can make a Pharo 4 release
(github release and github tag) and then move to pharo 5 at least one month
before pharo 5 is released.

But because I know that your MOOC is based on Pharo 5 maybe you want to
move UPBE directly to pharo 5 (not hard to do because we have already
documented some parts of pharo 5) which works for me too.

On Sun, Jan 17, 2016 at 11:05 AM stepharo  wrote:

> Hi guys
>
> I will read from start to end the book and we will get it on lulu. I
> plan to read up to 3 chapters per week.
> If you want to help for real this is the time.
>
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/UpdatedPharoByExample/lastSuccessfulBuild/artifact/book-result/UpdatedPharoByExample.pdf
>
> I rewrote the chapter on metaclass and a couple of other points because
> TranslucentColor is not available anymore.
> I will not rewrite what I do not like (I should now have written in the
> first place :). So I'm not looking
> for the perfect solution but to get something done.
>
> - First
>  we will host http://www.pharoByExample.org at http://books.pharo.org
>
> - Second
>  we will create a new entry for Updated pharo by example and (a new
> entry for numerical method book too).
>
> - Third
>  Read and fix Updated
>  Need a new cover (will ask lusy)
>  -> done
>
>
>
>
> Stef
>
>
>


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

2016-01-17 Thread Alexandre Bergel
I have seen this already. I avoid the problem by not resizing the window while 
saving with Monticello. 

Hope it helps 

Alexandre 


> Le 16 janv. 2016 à 12:50, Johan Fabry  a écrit :
> 
> 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 ?
> 
> 
> 
> 
> 
> ---> Save our in-boxes! http://emailcharter.org <---
> 
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
> Chile
> 



Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Nicolai Hess
2016-01-17 11:43 GMT+01:00 Dimitris Chloupis :

> Ok let me explain
>
> if you go to My Cases it has already setup a filter for you that shows
> issues assigned to you, the problem is that when you open a bug report it
> is not assigned to you, it actually assigned to our lovely victim , Esteban
> and anyone else that cares to set the report assigned to him so even if you
> add additional filter like opened by you or edited by you it will show you
> zero result if you have not been assigned any of those issues which will be
> the case.
>

Yes it is confusing but not wrong. You can interpret "My Cases" as
"assigned to me".


>
> Instead you need to change the existing filter to assigned to Everybody so
> it included all bug reports and then you can add the filters you mentioned
> and yes then it will work.
>

You can define you own filters, like
openedBy:me status:open


>
> On Sun, Jan 17, 2016 at 12:39 PM Nicolai Hess 
> wrote:
>
>> 2016-01-17 11:32 GMT+01:00 Dimitris Chloupis :
>>
>>> Or the alternative is just go down, down , down the list to My Open
>>> Cases. Which by the way it does not just show the cases opened by you but
>>> also cases you have commented on
>>>
>>
>>
>> Yes, that is why I showed you the filter
>> editedBy:theKilon
>> instead of
>> alsoEditedBy:
>>
>>
>>
>>>
>>> Welcome to the land of endless WTF :D
>>>
>>> And by the way your solution does not work either because there is a
>>> catch , you have to change assigned to Everybody
>>>
>>
>> I don't understand this one.
>>
>>
>>
>>>
>>> so lets all sing
>>>
>>>  WTF dancing in the rain
>>>  WTF dancing in the rain 
>>>
>>> On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess 
>>> wrote:
>>>
 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :

> Since I am on a complaining spree lately let me complain once more.
>
> I really dont like Fogbuz and in order not to bore with blah blah lets
> get to 2 big issues
>
> 1) If you open a bug report it does not subscribe you to it, WTF !!!
> Who else could be more interested in my bug report than I ?
>
> 2) If I go to My Cases its shows none of the reports I opened ,
> actually it shows nothing, none, zero , empty space  WTF^2
>

 Yes this is confusing, "My Cases" only shows issues "assigned to you".

 Instaed, you can filter all cases by

 editedBy:theKilon
 or
 openedBy:theKilon



>
> And people then wonder why on earth I keep pushing for github
> integration, thats why !
>



Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Dimitris Chloupis
You can indeed interpret My Cases as "assigned to me" but my first thought
was when I saw "My Cases" is to assume that is the cases i opened.

In any case I created my own custom filter with openedBy:me and saved it as
"My Opened Cases" and I also used the Henrik suggestion to subscribe to all
relevant opened and closed case I am interested for. So hopefully this is
the end of my frustration though I am sure I will find something to
complain about :D

So yes fogbuz is not that bad once you figure out how it works, but is
confusing for newcomers to say the least.

On Sun, Jan 17, 2016 at 1:01 PM Nicolai Hess  wrote:

>
> 2016-01-17 11:43 GMT+01:00 Dimitris Chloupis :
>
>> Ok let me explain
>>
>> if you go to My Cases it has already setup a filter for you that shows
>> issues assigned to you, the problem is that when you open a bug report it
>> is not assigned to you, it actually assigned to our lovely victim , Esteban
>> and anyone else that cares to set the report assigned to him so even if you
>> add additional filter like opened by you or edited by you it will show you
>> zero result if you have not been assigned any of those issues which will be
>> the case.
>>
>
> Yes it is confusing but not wrong. You can interpret "My Cases" as
> "assigned to me".
>
>
>>
>> Instead you need to change the existing filter to assigned to Everybody
>> so it included all bug reports and then you can add the filters you
>> mentioned and yes then it will work.
>>
>
> You can define you own filters, like
> openedBy:me status:open
>
>
>>
>> On Sun, Jan 17, 2016 at 12:39 PM Nicolai Hess 
>> wrote:
>>
>>> 2016-01-17 11:32 GMT+01:00 Dimitris Chloupis :
>>>
 Or the alternative is just go down, down , down the list to My Open
 Cases. Which by the way it does not just show the cases opened by you but
 also cases you have commented on

>>>
>>>
>>> Yes, that is why I showed you the filter
>>> editedBy:theKilon
>>> instead of
>>> alsoEditedBy:
>>>
>>>
>>>

 Welcome to the land of endless WTF :D

 And by the way your solution does not work either because there is a
 catch , you have to change assigned to Everybody

>>>
>>> I don't understand this one.
>>>
>>>
>>>

 so lets all sing

  WTF dancing in the rain
  WTF dancing in the rain 

 On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess 
 wrote:

> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :
>
>> Since I am on a complaining spree lately let me complain once more.
>>
>> I really dont like Fogbuz and in order not to bore with blah blah
>> lets get to 2 big issues
>>
>> 1) If you open a bug report it does not subscribe you to it, WTF !!!
>> Who else could be more interested in my bug report than I ?
>>
>> 2) If I go to My Cases its shows none of the reports I opened ,
>> actually it shows nothing, none, zero , empty space  WTF^2
>>
>
> Yes this is confusing, "My Cases" only shows issues "assigned to you".
>
> Instaed, you can filter all cases by
>
> editedBy:theKilon
> or
> openedBy:theKilon
>
>
>
>>
>> And people then wonder why on earth I keep pushing for github
>> integration, thats why !
>>
>


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

2016-01-17 Thread Nicolai Hess
2016-01-17 11:23 GMT+01:00 Alexandre Bergel :

> I have seen this already. I avoid the problem by not resizing the window
> while saving with Monticello.
>
> Hope it helps
>

Did not happen yet to me on windows. What platform and VM-Version do you
use?


>
> Alexandre
>
>
> > Le 16 janv. 2016 à 12:50, Johan Fabry  a écrit :
> >
> > 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 ?
> >
> >
> > 
> >
> >
> > ---> Save our in-boxes! http://emailcharter.org <---
> >
> > Johan Fabry   -   http://pleiad.cl/~jfabry
> > PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -
> University of Chile
> >
>
>


Re: [Pharo-users] Morphic is super slow

2016-01-17 Thread Offray Vladimir Luna Cárdenas

Hi,

On 16/01/16 03:03, Dimitris Chloupis wrote:

[...]


I am not abandoning pharo, I love it even with its flaws. But I try to 
outsource as much as I can my workflow from pharo to external 
libraries and apps that are way more mature and efficient for what I 
am trying to do.



[...]

Nice to see this in your work flow. That's a similar case for mine with 
pandoc ;-).


Cheers,

Offray




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

2016-01-17 Thread Offray Vladimir Luna Cárdenas
Thanks Johan, it's working fine. Once I have better results I'll share 
them with all of you.


Cheers,

Offray

On 16/01/16 14:00, Johan Fabry wrote:

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 the examples in the class comment. 
I have updated the class comment to reflect this.

I hope this resolves all your issues!


On Jan 16, 2016, at 14:24, Offray Vladimir Luna Cárdenas  
wrote:

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 keys/values: one which 
is shown as text and other that is shown as a playground, both populated with 
the content in the dict values and both, embedded in a widget instead of on 
separate windows. Is this possible with the current Spec-Glamour 
implementation?, if not how can be it extended to make this happen?

Thanks,

Offray

On 16/01/16 10:36, Johan Fabry wrote:

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 openOn: GTPlayPage new) model.

“… lots of things happen … the world turns … sun and moon go up and down … "

play entity saveContent: '42'.
play update.

Still like this ?




---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
Chile








Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Ben Coman
On Sun, Jan 17, 2016 at 7:06 PM, Dimitris Chloupis
 wrote:
> You can indeed interpret My Cases as "assigned to me" but my first thought
> was when I saw "My Cases" is to assume that is the cases i opened.
>
> In any case I created my own custom filter with openedBy:me and saved it as
> "My Opened Cases" and I also used the Henrik suggestion to subscribe to all
> relevant opened and closed case I am interested for. So hopefully this is
> the end of my frustration though I am sure I will find something to complain
> about :D
>
> So yes fogbuz is not that bad once you figure out how it works, but is
> confusing for newcomers to say the least.

This impedance mismatch is because its a professional tool designed
for commercial in-house bug tracking, where users have no access to
it.  So the "my" is "my cases" is always a developer working on
someone else's bug.   In our case there is little distinction between
our users and our developers.  For this reason, Fogbugz doesn't always
exactly match our needs, but I think it is sufficient, and we are
lucky to have the free access to it that we have. It would be a big
job moving, which we should delay as long as reasonably possible.

cheers -ben

>
> On Sun, Jan 17, 2016 at 1:01 PM Nicolai Hess  wrote:
>>
>>
>> 2016-01-17 11:43 GMT+01:00 Dimitris Chloupis :
>>>
>>> Ok let me explain
>>>
>>> if you go to My Cases it has already setup a filter for you that shows
>>> issues assigned to you, the problem is that when you open a bug report it is
>>> not assigned to you, it actually assigned to our lovely victim , Esteban and
>>> anyone else that cares to set the report assigned to him so even if you add
>>> additional filter like opened by you or edited by you it will show you zero
>>> result if you have not been assigned any of those issues which will be the
>>> case.
>>
>>
>> Yes it is confusing but not wrong. You can interpret "My Cases" as
>> "assigned to me".
>>
>>>
>>>
>>> Instead you need to change the existing filter to assigned to Everybody
>>> so it included all bug reports and then you can add the filters you
>>> mentioned and yes then it will work.
>>
>>
>> You can define you own filters, like
>> openedBy:me status:open
>>
>>>
>>>
>>> On Sun, Jan 17, 2016 at 12:39 PM Nicolai Hess 
>>> wrote:

 2016-01-17 11:32 GMT+01:00 Dimitris Chloupis :
>
> Or the alternative is just go down, down , down the list to My Open
> Cases. Which by the way it does not just show the cases opened by you but
> also cases you have commented on



 Yes, that is why I showed you the filter
 editedBy:theKilon
 instead of
 alsoEditedBy:


>
>
> Welcome to the land of endless WTF :D
>
> And by the way your solution does not work either because there is a
> catch , you have to change assigned to Everybody


 I don't understand this one.


>
>
> so lets all sing
>
>  WTF dancing in the rain
>  WTF dancing in the rain 
>
> On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess 
> wrote:
>>
>> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis :
>>>
>>> Since I am on a complaining spree lately let me complain once more.
>>>
>>> I really dont like Fogbuz and in order not to bore with blah blah
>>> lets get to 2 big issues
>>>
>>> 1) If you open a bug report it does not subscribe you to it, WTF !!!
>>> Who else could be more interested in my bug report than I ?
>>>
>>> 2) If I go to My Cases its shows none of the reports I opened ,
>>> actually it shows nothing, none, zero , empty space  WTF^2
>>
>>
>> Yes this is confusing, "My Cases" only shows issues "assigned to you".
>>
>> Instaed, you can filter all cases by
>>
>> editedBy:theKilon
>> or
>> openedBy:theKilon
>>
>>
>>>
>>>
>>> And people then wonder why on earth I keep pushing for github
>>> integration, thats why !



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

2016-01-17 Thread Ben Coman
So actually, just realised that a couple of times recently,  although
my image did not crash, a few window panes got red-screen of death,
and once the Image locked up.  So there is something there we need to
hunt for...

cheers -ben

On Sun, Jan 17, 2016 at 6:23 PM, Alexandre Bergel
 wrote:
> I have seen this already. I avoid the problem by not resizing the window 
> while saving with Monticello.
>
> Hope it helps
>
> Alexandre
>
>
>> Le 16 janv. 2016 à 12:50, Johan Fabry  a écrit :
>>
>> 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 ?
>>
>>
>> 
>>
>>
>> ---> Save our in-boxes! http://emailcharter.org <---
>>
>> Johan Fabry   -   http://pleiad.cl/~jfabry
>> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
>> Chile
>>
>



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

2016-01-17 Thread Cyril Ferlicot D.
Le 16/01/2016 16:50, Johan Fabry a écrit :
> 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 ?
> 
> 
> ---> Save our in-boxes! http://emailcharter.org <---
> 
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of 
> Chile
> 

Hi,

I had this issue not long ago by resizing during the setting loading.

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


[Pharo-users] Memory mapped files and Pharo (aka Unreal Engine 4 integration with Pharo)

2016-01-17 Thread Dimitris Chloupis
An apology for the long post but this is not a simple issue and hence not a
simple question.

So I am looking into ways to integrate Pharo with Unreal to bring some
nuclear powered graphics to Pharo and make us first class citizents to 2D
and 3D world.

For those not aware this is unreal

https://www.unrealengine.com/what-is-unreal-engine-4

As suprising it may sound Unreal and Pharo share a lot in common

1) Both integrated languages with IDEs
2) Both promote live coding and live manipulation of data
3) Both promote visual coding
4) Both promote ease of use and wizard based development (aka RAD)

Unreal is indeed a C++ based project made to be used by C++ coders but it
comes with a very powerful visual coding language that can map visual nodes
to any C++ function/Method and another common ground with Pharo is the very
strict OO nature of both projects. But then OOP is very big in game
development anyway.

Of course my goal is not to force Pharoers to learn C++, but rather make a
Pharo API so Pharo can be used to do some simple graphics development in
the start and then we can continue importing more and more functionality.
Unreal is generally a heavy engine that requires quite a powerful GPU but
its rendering is just amazing.

So how I make Pharo talk to Unreal is the million dollar question.

The road of compiling Unreal as a set of DLLs to be loaded by Pharo via FFI
is a road full of thorns because its quite an undertaking cause Unreal is
HUGE and it will be nightmare to maintain since Unreal moves forward very
fast.

So we come to the subject of IPC, or Inter Process Communication. I am not
new to this as you know I have build a socket bridge between Pharo and
Python that allows Pharo to use Python libraries and in my implementation I
focus on Blender Python API.

But sockets are not exactly blazzing fast, calling functions is fine
because you can even get responses bellow 1 millisecond but if try to run
some heavy loops you will be in trouble. There are work arounds of course,
like sending the loop with the socket and language etc but they
overcomplicate something that at least in my opinion should remain simple.

Another IPC method is shared memory, it is what it says , basically
processes that share a place in memory where they can access the same data.
Extremely fast but it has its own traps for example how to make sure the
processes dont access the same data at the same time etc.

So after some reading I came across to a shared memory model called Memory
mapped files, basically what that means is essentially a virtual file that
resides on memory (it may also reside on the hard disk or other permanent
physical storage but its not necessary) that different processes can
access.

So in our case we can have memory mapped file that Unreal , Pharo and even
Blender can access where we can store command / messages that each
diffirent application must execute, let them share data and sky is the
limit.

Now I know this will not be a walk in the park specially to someone like me
a C++ noob but I am looking for the Pharo wisemen wisewomen to guide me at
least through the obstacles of this.

So the questions are the following

1) Do you think this is possible with the current Pharo ?

2) Will I be limited by the fact that the VM currently does not multithread
or cannot use multithreading libraries ? ( I have no intention of using
multithreading but some handling of process access to the data may be
necessary to make sure data is safe from concurent modification)

3) Is there anything else I should be aware of as common pitfalls for such
implementation ?

4) Can the current FFI help in this task or would I need to implement this
as a C DLL and load it from Pharo

PS: I have no intention of messing with the Pharo VM and I also want to
avoid the use of plugins as I want this to work with standard Pharo
distributions.


Re: [Pharo-users] Fogbuz issues

2016-01-17 Thread Dimitris Chloupis
ah ok did not know that is a common practice for pro devs , well if fogbuz
is a pro approved tool and it works very well I am perfectly ok with using
it and documenting it for newcomers.

On Sun, Jan 17, 2016 at 4:40 PM Ben Coman  wrote:

> On Sun, Jan 17, 2016 at 7:06 PM, Dimitris Chloupis
>  wrote:
> > You can indeed interpret My Cases as "assigned to me" but my first
> thought
> > was when I saw "My Cases" is to assume that is the cases i opened.
> >
> > In any case I created my own custom filter with openedBy:me and saved it
> as
> > "My Opened Cases" and I also used the Henrik suggestion to subscribe to
> all
> > relevant opened and closed case I am interested for. So hopefully this is
> > the end of my frustration though I am sure I will find something to
> complain
> > about :D
> >
> > So yes fogbuz is not that bad once you figure out how it works, but is
> > confusing for newcomers to say the least.
>
> This impedance mismatch is because its a professional tool designed
> for commercial in-house bug tracking, where users have no access to
> it.  So the "my" is "my cases" is always a developer working on
> someone else's bug.   In our case there is little distinction between
> our users and our developers.  For this reason, Fogbugz doesn't always
> exactly match our needs, but I think it is sufficient, and we are
> lucky to have the free access to it that we have. It would be a big
> job moving, which we should delay as long as reasonably possible.
>
> cheers -ben
>
> >
> > On Sun, Jan 17, 2016 at 1:01 PM Nicolai Hess 
> wrote:
> >>
> >>
> >> 2016-01-17 11:43 GMT+01:00 Dimitris Chloupis :
> >>>
> >>> Ok let me explain
> >>>
> >>> if you go to My Cases it has already setup a filter for you that shows
> >>> issues assigned to you, the problem is that when you open a bug report
> it is
> >>> not assigned to you, it actually assigned to our lovely victim ,
> Esteban and
> >>> anyone else that cares to set the report assigned to him so even if
> you add
> >>> additional filter like opened by you or edited by you it will show you
> zero
> >>> result if you have not been assigned any of those issues which will be
> the
> >>> case.
> >>
> >>
> >> Yes it is confusing but not wrong. You can interpret "My Cases" as
> >> "assigned to me".
> >>
> >>>
> >>>
> >>> Instead you need to change the existing filter to assigned to Everybody
> >>> so it included all bug reports and then you can add the filters you
> >>> mentioned and yes then it will work.
> >>
> >>
> >> You can define you own filters, like
> >> openedBy:me status:open
> >>
> >>>
> >>>
> >>> On Sun, Jan 17, 2016 at 12:39 PM Nicolai Hess 
> >>> wrote:
> 
>  2016-01-17 11:32 GMT+01:00 Dimitris Chloupis :
> >
> > Or the alternative is just go down, down , down the list to My Open
> > Cases. Which by the way it does not just show the cases opened by
> you but
> > also cases you have commented on
> 
> 
> 
>  Yes, that is why I showed you the filter
>  editedBy:theKilon
>  instead of
>  alsoEditedBy:
> 
> 
> >
> >
> > Welcome to the land of endless WTF :D
> >
> > And by the way your solution does not work either because there is a
> > catch , you have to change assigned to Everybody
> 
> 
>  I don't understand this one.
> 
> 
> >
> >
> > so lets all sing
> >
> >  WTF dancing in the rain
> >  WTF dancing in the rain 
> >
> > On Sun, Jan 17, 2016 at 12:25 PM Nicolai Hess  >
> > wrote:
> >>
> >> 2016-01-17 11:00 GMT+01:00 Dimitris Chloupis  >:
> >>>
> >>> Since I am on a complaining spree lately let me complain once more.
> >>>
> >>> I really dont like Fogbuz and in order not to bore with blah blah
> >>> lets get to 2 big issues
> >>>
> >>> 1) If you open a bug report it does not subscribe you to it, WTF
> !!!
> >>> Who else could be more interested in my bug report than I ?
> >>>
> >>> 2) If I go to My Cases its shows none of the reports I opened ,
> >>> actually it shows nothing, none, zero , empty space  WTF^2
> >>
> >>
> >> Yes this is confusing, "My Cases" only shows issues "assigned to
> you".
> >>
> >> Instaed, you can filter all cases by
> >>
> >> editedBy:theKilon
> >> or
> >> openedBy:theKilon
> >>
> >>
> >>>
> >>>
> >>> And people then wonder why on earth I keep pushing for github
> >>> integration, thats why !
>
>


[Pharo-users] Updated Pharo by Example

2016-01-17 Thread stepharo

Here is the reviewed Preface of UpdatePharoByExample.

https://github.com/SquareBracketAssociates/UpdatedPharoByExample 
for typos...


stef


Preface.pdf
Description: Adobe PDF document


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

2016-01-17 Thread stepharo

Ok this is good to know for 50.
Did you check the " baseSoundSystem "

Le 16/1/16 13:27, Dimitris Chloupis a écrit :
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-Pharo-4






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

2016-01-17 Thread stepharo



Le 17/1/16 17:17, Dimitris Chloupis a écrit :
hehe you forget who translated this chapter from French to English, 
though I cannot take most of the credit that belongs to Google 
translate :D


Ok add it.
I do not remember things (doing too many things I guess)



On Sun, Jan 17, 2016 at 5:18 PM stepharo > wrote:


Can you check the attached pdf?




Le 16/1/16 13:27, Dimitris Chloupis a écrit :
> 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-Pharo-4
>





Re: [Pharo-users] Updated Pharo by Example

2016-01-17 Thread Dimitris Chloupis
looks great I see you added the link for slack invitation that I could not
find, awesome

On Sun, Jan 17, 2016 at 7:35 PM stepharo  wrote:

> Here is the reviewed Preface of UpdatePharoByExample.
>
>  https://github.com/SquareBracketAssociates/UpdatedPharoByExample
> for typos...
>
> stef
>


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

2016-01-17 Thread Dimitris Chloupis
"Ok add it.
I do not remember things (doing too many things I guess)"

nah that ok I am joking of course

"Ok this is good to know for 50.
Did you check the " baseSoundSystem "

No I did not, and I will but please note that the exact same code works
fine on Pharo 5. But most likely I will migrate back to 5 at some point and
will end up closing this bug report so its not a big deal for me. I dont
like leaving bug reports open ;)

On Sun, Jan 17, 2016 at 7:42 PM stepharo  wrote:

>
>
> Le 17/1/16 17:17, Dimitris Chloupis a écrit :
>
> hehe you forget who translated this chapter from French to English, though
> I cannot take most of the credit that belongs to Google translate :D
>
>
> Ok add it.
> I do not remember things (doing too many things I guess)
>
>
>
> On Sun, Jan 17, 2016 at 5:18 PM stepharo  wrote:
>
>> Can you check the attached pdf?
>>
>>
>>
>>
>> Le 16/1/16 13:27, Dimitris Chloupis a écrit :
>> > 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-Pharo-4
>> >
>>
>>
>