Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-31 Thread p...@highoctane.be
Le 31 mars 2015 08:17, "Sven Van Caekenberghe"  a écrit :
>
>
> > On 31 Mar 2015, at 08:05, Norbert Hartl  wrote:
> >
> > You didn't ask about desktop (GUI) or server (headless). There probably
a lot of people having a server running somewhere. I clicked both options:
Mac and Linux
>
> Me too, for the same reason. Desktop/server linux are two very different
profiles.

I am using CzntOS 6.6 Linux for both client and server. Can't click twice
;-)

I haven't been using OSX anymore because there was always that annoying
difference in the environment that was bringing surprises at deployment
time.

There is a CentOS VM now but still not a first class zeroconf citizen,
which I feel is very bad when one sees that CentOS/RHEL is used a *hell of
a lot* in the enterprise. I need to work on that.

Phil

>
>
>


Re: [Pharo-users] Uncommon keyboard shortcuts on Windows

2015-03-31 Thread Jan B.
Hi

You're right, ctrl+shift+z works, thanks for showing me.

Except of select all (which is, however, pretty important to me), there is
just a little more of ctrl/alt chaos mentioned by Peter. In code editor part
of class browser works both alt and ctrl (like ctrl+b for browse it or
ctrl+d for do it), but not in list of packages/classes/protocols/methods,
where only alt does, like alt+x,p for remove package. Of course, there isn't
any native Windows shortcut for remove package, but it would be nice to be
able to use ctrl there, too, to unify it. Another reason for using ctrl is
that is is much easily keeping pressed for me, but it may be just me :)

And last thing are means of selecting multiple items in class browser. It is
standard in Windows to be able to select everything between currently
selected element and clicked one when holding shift (which works just fine
everywhere), but adding single item to selection also works only with alt,
but not ctrl (like in Windows).
And this adding single items with ctrl (I mean alt here) does not work at
all with classes/protocols/methods, only with packages, but shift-selecting
works fine there. This one, however, might not be related to shortcuts.

Jan


laura wrote
> Hi Jan ,
> 
> (Under Windows...)
> For redoing ctrl+shif+z works fine on Workspace and Class Browser and in
> any other place i can remember.
> Copy, cut, paste, find, text selecting, moving to previous/next word (not
> exactly the same semantics) shortcuts convey Windows ones. Which other
> keyboard shortcuts, besides select-all, contradict Windows ones?
> 
> On Mon, Mar 30, 2015 at 5:39 PM, Jan B. <

> bliznjan@.cvut

> > wrote:
>> Best example is redo/do again/invert undo... undo is ctrl+Z (which is
>> right), but redo/do again is alt+J, which is something I have never seen
>> anywhere, because it is mostly ctrl+Y (microsoft products), ctrl+shift+Z
>> (photoshop for windows) or both (google and mozilla products on windows).
>> Also, for select all, I have never seen any other shortcut than ctrl+A,
>> but
>> it is alt+A in Pharo... ctrl+A works only in playground.





--
View this message in context: 
http://forum.world.st/Uncommon-keyboard-shortcuts-on-Windows-tp4816205p4816269.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-31 Thread Jan B.
Greater surprise for me is that amount of Windows is greater than zero :)
Sometimes I feel like I'm the only one stubborn fool who still uses that
thing :)

Jan


kilon.alios wrote
> more linux than mac ? thats a surprise .





--
View this message in context: 
http://forum.world.st/quick-poll-which-OS-do-you-use-for-Pharo-tp4816222p4816272.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-31 Thread kilon alios
you are not alone. As a matter of fact my iMac's MacOS runs also windows 8
and ubuntu 14 in the Virtualbox VM. I was tempted to install windows as
dual boot on my iMac because of a game I really like (Smite) but the
temptation has not been strong enough. In any case supporting most
platforms is my goal as (I assume) is the goal of most pharoers. Windoom
will remain a necessary evil for a long long time.

Yes I completely forgot that linux reigns supreme on servers. Makes sense
now with the mandatory web dev.

On Tue, Mar 31, 2015 at 10:47 AM, Jan B.  wrote:

> Greater surprise for me is that amount of Windows is greater than zero :)
> Sometimes I feel like I'm the only one stubborn fool who still uses that
> thing :)
>
> Jan
>
>
> kilon.alios wrote
> > more linux than mac ? thats a surprise .
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/quick-poll-which-OS-do-you-use-for-Pharo-tp4816222p4816272.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


[Pharo-users] DynaCASE

2015-03-31 Thread Peter Uhnák
Hi Serge,

I didn't want to hijack the original thread (more than I've already done),
so I made a new one instead.

Looks really impressive Peter !
> I put some pictures on my twitter account:
> https://twitter.com/SergeStinckwich/status/582799867409526784

Thanks! I'll guess I will have to start using twitter now. :)

Apparently there is an icon bug when you don't use the Eclipse set of icons.
>
Yeah, that's my mistake. Thanks for the bugreport.


> I'm interested by Petri Nets in order to do Process Mining.
>
Petri Nets are being developed by my colleague Jan Blizničenko (
https://github.com/bliznjan?tab=repositories ) so he may have some more
info. I've CCed him.


> What kind of process models are you expected to implement ?
> Do you plan to draw activity diagrams ?
>
Right now I'm working on BORM (Business and Object Relation Modeling)
http://ccm.fit.cvut.cz/methodologies/borm/ (some of the materials are in
Czech, but you can see diagrams in the first link in our current
Eclipse-based tool); the following will be DEMO
http://ccm.fit.cvut.cz/methodologies/demo/

I can imagine that it wouldn't be that complicated to extend current FSM to
have activity diagrams (it's just two extra elements), so if you are
interested in that I can look into it.
Also I still have to migrate documentation to github so other people can
extend it if they want.

Thanks!
Peter


Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-31 Thread Stephan Eggermont

On 31/03/15 07:58, kilon alios wrote:

more linux than mac ? thats a surprise .


As a development desktop I recently build
a silent 4790K i7 with a Philips 40" UHD.
That was about half the price of the mac
equivalent. I strongly prefer the mac
interface, but this is more similar to
the server. The laptops are all macs.
Just pragmatic choices. If there had
been a 4-core mac-mini with 60Hz 4K,
I would have bought that.

Stephan




[Pharo-users] Syslog client

2015-03-31 Thread olivier auverlot
Hi,

I just released an UDP client for the Syslog network protocol (RFC5424).
The product is available on SmalltalkHub.

http://smalltalkhub.com/#!/~olivierauverlot/Syslog

Best regards
Olivier ;-)


[Pharo-users] GTSpotter with no results

2015-03-31 Thread Christophe Demarey
Hi,

I would like to know if some of you already got this problem: when I open 
GTSpotter (with the shortcut) and I start to type quickly (before any result 
appears) in the text I'm searching for, I get no result at all. Even If I 
remove all characters from the search field, GTSpotter still presents an empty 
list.

Thanks,
Christophe.

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Andrei Chis
I got this error once or twice but could not reproduce it.


Cheers,
Andrei

On Tue, Mar 31, 2015 at 10:47 AM, Christophe Demarey <
christophe.dema...@inria.fr> wrote:

> Hi,
>
> I would like to know if some of you already got this problem: when I open
> GTSpotter (with the shortcut) and I start to type quickly (before any
> result appears) in the text I'm searching for, I get no result at all. Even
> If I remove all characters from the search field, GTSpotter still presents
> an empty list.
>
> Thanks,
> Christophe.


Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Nicolai Hess
2015-03-31 10:47 GMT+02:00 Christophe Demarey :

> Hi,
>
> I would like to know if some of you already got this problem: when I open
> GTSpotter (with the shortcut) and I start to type quickly (before any
> result appears) in the text I'm searching for, I get no result at all. Even
> If I remove all characters from the search field, GTSpotter still presents
> an empty list.
>
> Thanks,
> Christophe.



Yes, and sometimes it happens that the world menu does not work anymore.
15102  lost worldmenu


Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Tudor Girba
I never got it, but I would still be interested in how to reproduce it :).

Doru

On Tue, Mar 31, 2015 at 10:53 AM, Andrei Chis 
wrote:

> I got this error once or twice but could not reproduce it.
>
>
> Cheers,
> Andrei
>
> On Tue, Mar 31, 2015 at 10:47 AM, Christophe Demarey <
> christophe.dema...@inria.fr> wrote:
>
>> Hi,
>>
>> I would like to know if some of you already got this problem: when I open
>> GTSpotter (with the shortcut) and I start to type quickly (before any
>> result appears) in the text I'm searching for, I get no result at all. Even
>> If I remove all characters from the search field, GTSpotter still presents
>> an empty list.
>>
>> Thanks,
>> Christophe.
>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"


Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Christophe Demarey
I can reproduce it very easily by typing fast.
Maybe it is because I have an old computer ...

Le 31 mars 2015 à 11:00, Tudor Girba a écrit :

> I never got it, but I would still be interested in how to reproduce it :).
> 
> Doru
> 
> On Tue, Mar 31, 2015 at 10:53 AM, Andrei Chis  
> wrote:
> I got this error once or twice but could not reproduce it.
> 
> 
> Cheers,
> Andrei
> 
> On Tue, Mar 31, 2015 at 10:47 AM, Christophe Demarey 
>  wrote:
> Hi,
> 
> I would like to know if some of you already got this problem: when I open 
> GTSpotter (with the shortcut) and I start to type quickly (before any result 
> appears) in the text I'm searching for, I get no result at all. Even If I 
> remove all characters from the search field, GTSpotter still presents an 
> empty list.
> 
> Thanks,
> Christophe.
> 
> 
> 
> 
> -- 
> www.tudorgirba.com
> 
> "Every thing has its own flow"



smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Peter Uhnak
I also experience this daily, it happens when I start typing immediately, so 
maybe it isn't fully initialized yet?

As a sidenote this sometimes happens to me with spec windows, so maybe some 
problem in rendering loop.

Peter

-Original Message-
From: "Christophe Demarey" 
Sent: ‎3/‎31/‎2015 11:48 AM
To: "Any question about pharo is welcome" 
Subject: Re: [Pharo-users] GTSpotter with no results

I can reproduce it very easily by typing fast.
Maybe it is because I have an old computer ...



Le 31 mars 2015 à 11:00, Tudor Girba a écrit :


I never got it, but I would still be interested in how to reproduce it :).


Doru


On Tue, Mar 31, 2015 at 10:53 AM, Andrei Chis  
wrote:

I got this error once or twice but could not reproduce it.




Cheers,
Andrei


On Tue, Mar 31, 2015 at 10:47 AM, Christophe Demarey 
 wrote:

Hi,

I would like to know if some of you already got this problem: when I open 
GTSpotter (with the shortcut) and I start to type quickly (before any result 
appears) in the text I'm searching for, I get no result at all. Even If I 
remove all characters from the search field, GTSpotter still presents an empty 
list.

Thanks,
Christophe.







-- 

www.tudorgirba.com


"Every thing has its own flow"

Re: [Pharo-users] GTSpotter with no results

2015-03-31 Thread Sean P. DeNigris
Peter Uhnák wrote
> I also experience this daily, it happens when I start typing immediately,
> so maybe it isn't fully initialized yet?

I've experienced this intermittently too.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/GTSpotter-with-no-results-tp4816292p4816325.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-31 Thread Mariano Martinez Peck
I agree to the comments saying that there should be one choice for
development and one for deploying.

On Tue, Mar 31, 2015 at 5:24 AM, Stephan Eggermont  wrote:

> On 31/03/15 07:58, kilon alios wrote:
>
>> more linux than mac ? thats a surprise .
>>
>
> As a development desktop I recently build
> a silent 4790K i7 with a Philips 40" UHD.
> That was about half the price of the mac
> equivalent. I strongly prefer the mac
> interface, but this is more similar to
> the server. The laptops are all macs.
> Just pragmatic choices. If there had
> been a 4-core mac-mini with 60Hz 4K,
> I would have bought that.
>
> Stephan
>
>
>


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


Re: [Pharo-users] Syslog client

2015-03-31 Thread Dmitri Zagidulin
YES! Awesome! :) I was just about to look to see if there was a decent
Syslog client for Pharo!

On Tue, Mar 31, 2015 at 4:46 AM, olivier auverlot <
olivier.auver...@gmail.com> wrote:

> Hi,
>
> I just released an UDP client for the Syslog network protocol (RFC5424).
> The product is available on SmalltalkHub.
>
> http://smalltalkhub.com/#!/~olivierauverlot/Syslog
>
> Best regards
> Olivier ;-)
>


Re: [Pharo-users] Syslog client

2015-03-31 Thread Sven Van Caekenberghe
I believe logging to syslog(d) is part of SystemLogger.

http://www.smalltalkhub.com/#!/~StephaneDucasse/SystemLogger

See category SystemLogger-SysLogSender

> On 31 Mar 2015, at 15:11, Dmitri Zagidulin  wrote:
> 
> YES! Awesome! :) I was just about to look to see if there was a decent Syslog 
> client for Pharo!
> 
> On Tue, Mar 31, 2015 at 4:46 AM, olivier auverlot 
>  wrote:
> Hi,
> 
> I just released an UDP client for the Syslog network protocol (RFC5424). The 
> product is available on SmalltalkHub.
> 
> http://smalltalkhub.com/#!/~olivierauverlot/Syslog
> 
> Best regards
> Olivier ;-)
> 




Re: [Pharo-users] Syslog client

2015-03-31 Thread Norbert Hartl

> Am 31.03.2015 um 15:15 schrieb Sven Van Caekenberghe :
> 
> I believe logging to syslog(d) is part of SystemLogger.
> 
> http://www.smalltalkhub.com/#!/~StephaneDucasse/SystemLogger
> 
> See category SystemLogger-SysLogSender

Yes, it is. I used on a daily base. It does not implement all of the rfc 
standard but usual stuff is there. I use it like this

AnyClass>>log: aString
(aString asLog tag: 'event-server') emit

The SystemLogger emits a log object. Setting the tag sets the tag in the syslog 
protocol. Based on that information the logfiles are filtered on the central 
server.

It might be worth to have a look at each others code. The SyslogSender in the 
SystemLogger would be a good fit to utilize another syslog client. The 
SystemLogger SysLogSender just needs to be a bridge to any cllient. 

Norbert

> 
>> On 31 Mar 2015, at 15:11, Dmitri Zagidulin  wrote:
>> 
>> YES! Awesome! :) I was just about to look to see if there was a decent 
>> Syslog client for Pharo!
>> 
>> On Tue, Mar 31, 2015 at 4:46 AM, olivier auverlot 
>>  wrote:
>> Hi,
>> 
>> I just released an UDP client for the Syslog network protocol (RFC5424). The 
>> product is available on SmalltalkHub.
>> 
>> http://smalltalkhub.com/#!/~olivierauverlot/Syslog
>> 
>> Best regards
>> Olivier ;-)
>> 
> 
> 




[Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Jan B.
Hello

This is me again with problems with gitfiletree. In general it works just
fine, but in about 50 % cases it crashes VM. It happens to me when loading
via 

Gofer new
url: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main';
configurationOf: 'GitFileTree';
loadDevelopment.

Metacello new baseline:...; repository:'gitfiletree:///...'; load.

or when opening repository in Monticello.

Sometimes the crash is handled and dmp file is generated, but sometimes just
Pharo.exe stops.
Using Windows 7 64-bit, VM tried 420 (latest) from 2015-03-26 and stable
from 2014-05-15, images tried multiple between 40546 to 40588 and also
30864.

Here are links for dmp files:
http://www.mediafire.com/download/txbxi77a4nthyxg/Pharo_dmp.zip
crash1 and 2 are from stable VM and 3 and 4 from latest VM, all from image
40588.

Using git from http://git-scm.com/ .

Would be glad to help any further if you need.

Jan



--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] DynaCASE

2015-03-31 Thread Jan B.
Hi

Thank you for CC-ing me, Peter, since I don't watch Pharo developers mailing
list.

About petri nets... My main goal is to implement simulation for DynaCASE
(i.e. "make it move") and Petri nets are for me more like a tool for trying
simulation prototypes than goal itself. I'm currently stuck with them on
developing simulation itself and on Roassal (visualisation engine from Moose
which we use) problems with composite shapes.

Anyway, Serge, I will improve them in time and I would be glad to hear what
do you expect from it - what should it support, do etc.
Can't promise anything, but it might help us both.

Jan


Peter Uhnák wrote
> Hi Serge,
> 
> I didn't want to hijack the original thread (more than I've already done),
> so I made a new one instead.
> 
> Looks really impressive Peter !
>> I put some pictures on my twitter account:
>> https://twitter.com/SergeStinckwich/status/582799867409526784
> 
> Thanks! I'll guess I will have to start using twitter now. :)
> 
> Apparently there is an icon bug when you don't use the Eclipse set of
> icons.
>>
> Yeah, that's my mistake. Thanks for the bugreport.
> 
> 
>> I'm interested by Petri Nets in order to do Process Mining.
>>
> Petri Nets are being developed by my colleague Jan Blizničenko (
> https://github.com/bliznjan?tab=repositories ) so he may have some more
> info. I've CCed him.
> 
> 
>> What kind of process models are you expected to implement ?
>> Do you plan to draw activity diagrams ?
>>
> Right now I'm working on BORM (Business and Object Relation Modeling)
> http://ccm.fit.cvut.cz/methodologies/borm/ (some of the materials are in
> Czech, but you can see diagrams in the first link in our current
> Eclipse-based tool); the following will be DEMO
> http://ccm.fit.cvut.cz/methodologies/demo/
> 
> I can imagine that it wouldn't be that complicated to extend current FSM
> to
> have activity diagrams (it's just two extra elements), so if you are
> interested in that I can look into it.
> Also I still have to migrate documentation to github so other people can
> extend it if they want.
> 
> Thanks!
> Peter





--
View this message in context: 
http://forum.world.st/DynaCASE-tp4816281p4816360.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Jigyasa Grover
Yes Jan.
Using GitFileTree in Windows is quite a task.

On Thierry's suggestion, I had tried the following and it worked.

"An alternative solution is to load directly from github, with:

Metacello new
  baseline: 'FileTree';
  repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository';
  load: 'Git' "

Try this if it helps :)




--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816362.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Peter Uhnák
>
> Metacello new
>   baseline: 'FileTree';
>   repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository';
>   load: 'Git' "
>
I thought that you needed to have GitFileTree loaded to have github:// and
Git support. Is that false? Does that mean that github:// (bitbucket://)
doesn't use git at all?

Peter


Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Christophe Demarey

Le 31 mars 2015 à 16:29, Peter Uhnák a écrit :

> Metacello new
>   baseline: 'FileTree';
>   repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository';
>   load: 'Git' "
> I thought that you needed to have GitFileTree loaded to have github:// and 
> Git support. Is that false? Does that mean that github:// (bitbucket://) 
> doesn't use git at all?

right. It downloads a zip file with all sources from github and then a simple 
filetree repository is available.

Christophe.



smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Jan B.
Hi and thanks for the tip, but it doesn't work for me. Running this command
results in following exception:
FileDoesNotExist: File @
C:\Users\User\Pharo\images\DC-40588\github-cache\dalehenrich\filetree\pharo4.0_dev\dalehenrich-filetree-7f998e5\repository\MonticelloFileTree-Git.package\monticello.meta\version

Jan


Jigyasa Grover wrote
> Yes Jan.
> Using GitFileTree in Windows is quite a task.
> 
> On Thierry's suggestion, I had tried the following and it worked.
> 
> "An alternative solution is to load directly from github, with:
> 
> Metacello new
>   baseline: 'FileTree';
>   repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository';
>   load: 'Git' "
> 
> Try this if it helps :)





--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816371.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Uncommon keyboard shortcuts on Windows

2015-03-31 Thread Laura Risani
I forget to mention close-tab shortcut (ctrl+w) which is common to Windows.

I agree (in case you tacitly said so) keyboard shortcuts are really
important for usability and i agree select-all is really important. Related
to this, there is a select-word shortcut (alt+space) which selects the word
the caret is at, afaik Windows lacks natively this useful shortcut.

I didn't know you that multiple selecting items on class browsers works
pressing Alt Gr (for me left and right alt keys work differently), it's
nice you mentioned it   :).



On Tue, Mar 31, 2015 at 4:42 AM, Jan B.  wrote:

> Hi
>
> You're right, ctrl+shift+z works, thanks for showing me.
>
> Except of select all (which is, however, pretty important to me), there is
> just a little more of ctrl/alt chaos mentioned by Peter. In code editor
> part
> of class browser works both alt and ctrl (like ctrl+b for browse it or
> ctrl+d for do it), but not in list of packages/classes/protocols/methods,
> where only alt does, like alt+x,p for remove package. Of course, there
> isn't
> any native Windows shortcut for remove package, but it would be nice to be
> able to use ctrl there, too, to unify it. Another reason for using ctrl is
> that is is much easily keeping pressed for me, but it may be just me :)
>
> And last thing are means of selecting multiple items in class browser. It
> is
> standard in Windows to be able to select everything between currently
> selected element and clicked one when holding shift (which works just fine
> everywhere), but adding single item to selection also works only with alt,
> but not ctrl (like in Windows).
> And this adding single items with ctrl (I mean alt here) does not work at
> all with classes/protocols/methods, only with packages, but shift-selecting
> works fine there. This one, however, might not be related to shortcuts.
>
> Jan
>
>
> laura wrote
> > Hi Jan ,
> >
> > (Under Windows...)
> > For redoing ctrl+shif+z works fine on Workspace and Class Browser and in
> > any other place i can remember.
> > Copy, cut, paste, find, text selecting, moving to previous/next word (not
> > exactly the same semantics) shortcuts convey Windows ones. Which other
> > keyboard shortcuts, besides select-all, contradict Windows ones?
> >
> > On Mon, Mar 30, 2015 at 5:39 PM, Jan B. <
>
> > bliznjan@.cvut
>
> > > wrote:
> >> Best example is redo/do again/invert undo... undo is ctrl+Z (which is
> >> right), but redo/do again is alt+J, which is something I have never seen
> >> anywhere, because it is mostly ctrl+Y (microsoft products), ctrl+shift+Z
> >> (photoshop for windows) or both (google and mozilla products on
> windows).
> >> Also, for select all, I have never seen any other shortcut than ctrl+A,
> >> but
> >> it is alt+A in Pharo... ctrl+A works only in playground.
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/Uncommon-keyboard-shortcuts-on-Windows-tp4816205p4816269.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] what to use for simple parsing

2015-03-31 Thread Damien Cassou

Peter Uhnák  writes:

> Hi,
>
> I would like to parse text like
> -
> id(param1, param2, ... paramX)
> id -> id
> id ->> id
> -
> id is alphanumeric string,
> param is any string optionally enclosed in quotes (so both quoted and
> unquoted string is needed)


I would start with streams and regular expressions. If that's not
powerful enough I would use PetitParser. If that's not fast enough, I
would try SmaCC and compare speed.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



Re: [Pharo-users] what to use for simple parsing

2015-03-31 Thread Peter Uhnák
Thanks all,

in the end I've used PetitParser and I was really surprised and happy how
easy and far I've got with it.

TBH using regular expressions in Pharo feels extremely uncomfortable to me
compared to Perl or Ruby, but maybe that was design decision by the author
to not be too hacky.

So at least to me PetitParser feels like a more practical regex library
than Regex itself.

Peter

On Tue, Mar 31, 2015 at 5:08 PM, Damien Cassou 
wrote:

>
> Peter Uhnák  writes:
>
> > Hi,
> >
> > I would like to parse text like
> > -
> > id(param1, param2, ... paramX)
> > id -> id
> > id ->> id
> > -
> > id is alphanumeric string,
> > param is any string optionally enclosed in quotes (so both quoted and
> > unquoted string is needed)
>
>
> I would start with streams and regular expressions. If that's not
> powerful enough I would use PetitParser. If that's not fast enough, I
> would try SmaCC and compare speed.
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>
>


Re: [Pharo-users] Issue on enabling developer options in Pharo Launcher

2015-03-31 Thread Damien Cassou

Ben Coman  writes:

> Rohit, Would you like to have a go at adding this to PharoLauncher?
> Currently PharoLauncher filters to show only its own settings.  You would
> need to find how to add the Proxy Settings to the filter.

the launcher has its proxy settings too now.


-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Jigyasa Grover
Hey Jan

Try this:
" Metacello new
  baseline: 'FileTree';
  repository:
'filetree:///C:/Users/User/Pharo/../dalehenrich-filetree-7f998e5/repository';
  load: 'Git'
"

Put in the path to the repository folder.



--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816378.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Issue on enabling developer options in Pharo Launcher

2015-03-31 Thread Jigyasa Grover
Hey Damien !
You mean the update of PharoLauncher ?

PS - Pls ignore the triviality of my question , I am new to Pharo.

Thanks and Regards
Jigyasa Grover



--
View this message in context: 
http://forum.world.st/Issue-on-enabling-developer-options-in-Pharo-Launcher-tp4815732p4816395.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Jan B.
This way it loads, but unfortunately VM crashes anyway.


Jigyasa Grover wrote
> Hey Jan
> 
> Try this:
> " Metacello new
>   baseline: 'FileTree';
>   repository:
> 'filetree:///C:/Users/User/Pharo/../dalehenrich-filetree-7f998e5/repository';
>   load: 'Git'
> "
> 
> Put in the path to the repository folder.





--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816405.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Thierry Goubier

Hi Jan,

there is a chance the problem is in the interface GitFileTree uses to 
call git on windows.


Thierry

Le 31/03/2015 17:53, Jan B. a écrit :

This way it loads, but unfortunately VM crashes anyway.


Jigyasa Grover wrote

Hey Jan

Try this:
" Metacello new
   baseline: 'FileTree';
   repository:
'filetree:///C:/Users/User/Pharo/../dalehenrich-filetree-7f998e5/repository';
   load: 'Git'
"

Put in the path to the repository folder.






--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816405.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.








Re: [Pharo-users] Porting Voss to Pharo

2015-03-31 Thread Laura Risani
VOSS seems quite an interesting and useful technology.
Is know for sure that it could be ported without disturbing Pharo
opensourceness /  freeness?
Is anyone doing work to port it?


On Sat, Mar 7, 2015 at 10:45 AM, Ben Coman  wrote:

>
>
> On Sat, Mar 7, 2015 at 6:07 AM, Stephan Eggermont 
> wrote:
>
>> On 06/03/15 16:16, stepharo wrote:
>>
>>> Hi guys
>>>
>>> if some of you are interested to drive porting VOSS to Pharo, let me know
>>> John sent me the code and I can give it to you.
>>> There is a dual license
>>>  - LGPL
>>>  - commercial
>>>
>>
>> What does LGPL mean for VOSS? At FOSDEM I talked with Bradley Kuhn of the
>> FSF. It is something that has been on their to do list for a while
>> now. In the 'strict' interpretation it is as viral as GPL for smalltalk
>> code.
>>
>> Stephan
>>
>
>
>
> Actually just reading LGPL3 [1] , this seems less onerous for us than I
> remember. I think there are two concerns:
>
>
> 1. That distributing an Application with Pharo and VOSS together would
> somehow taint Pharo with the LGPL, but consider that if you simply load
> VOSS into Pharo, without any Application making use of VOSS then
> distributing that Image would seem to fall under Section 5 "Combined
> libraries", and be specifically excluded from the LGPL.
>
>
> 2. That the Application would be tainted by the LGPL.  In our case where
> we don't have a shared library mechanism, Section 4.d.0 would seem to
> apply.
>
> So with your Application you would need to provide a mechanism you upgrade
> the VOSS library, plus instructions to do so per Section 4.e.  This might
> be achieved by:
>  a. Leaving the compiler in the distributed Image such that new versions
> of VOSS can be loaded via standard mechanisms - maybe just from the command
> line.
>  b. Loading VOSS via Fuel over the top of the existing version in image.
>
>
> [1] https://www.gnu.org/licenses/lgpl.html
>
> cheers -ben
>


Re: [Pharo-users] Gitfiletree unstable on Windows

2015-03-31 Thread Thierry Goubier

Le 31/03/2015 16:43, Jan B. a écrit :

Hi and thanks for the tip, but it doesn't work for me. Running this command
results in following exception:
FileDoesNotExist: File @
C:\Users\User\Pharo\images\DC-40588\github-cache\dalehenrich\filetree\pharo4.0_dev\dalehenrich-filetree-7f998e5\repository\MonticelloFileTree-Git.package\monticello.meta\version


Nicolai Hess said the issue is with the path length with the API used in 
the pharo VM on Windows


Short of modifying the windows Pharo VM, a solution would be for 
filetree to read directly the repository from the github zip archive 
(without unzipping that archive). The code to do that is in gitfiletree 
in fact ;)


There is also a filesystem-like layer for archives somewhere inside 
Pharo, but, I do believe it doesn't work (I'm sure I tried it... and if 
I'm not using it, there is a good reason).


Thierry


Jan


Jigyasa Grover wrote

Yes Jan.
Using GitFileTree in Windows is quite a task.

On Thierry's suggestion, I had tried the following and it worked.

"An alternative solution is to load directly from github, with:

Metacello new
   baseline: 'FileTree';
   repository: 'github://dalehenrich/filetree:pharo4.0_dev/repository';
   load: 'Git' "

Try this if it helps :)






--
View this message in context: 
http://forum.world.st/Gitfiletree-unstable-on-Windows-tp4816354p4816371.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.








[Pharo-users] Spring CampSmalltalk

2015-03-31 Thread Sebastian Heidbrink

Hi Smalltalk enthusiasts!

Since Tim and I were already asked for a second CampSmalltalk this 
spring we decided hold another camp in Nanaimo at the end of April.


Last Camp in Nanaimo was amazingly successful and everyone had much fun.
If you’re in the general pacific north-west region do consider coming along.

When: Friday & Saturday April 25-26th

Location: Makerspace Nanaimo
2221 McGarrigle Rd
Nanaimo

their website:  makerspacenanaimo.org

Schedule/Presentations:
Non! We have the Space all weekend long and do not need to leave the 
place this time!


If you are interested in
... any kind of ScratchOnPI projects
... combining your Smalltalk project with any other peripheral device
... would like to try a different Smalltalk out
... just want to chat and meet old and new friends

then this should be the perfect weekend to do this and come over to 
Makerspace in Nanaimo.


Please contact us directly if you have questions regarding travel or 
accomodationa. We got some valuable feedback from last CampSmalltalk's 
participants.


Please let us also know if you’re interested.
Tim and Sebastian



Re: [Pharo-users] Issue on enabling developer options in Pharo Launcher

2015-03-31 Thread Damien Cassou
Hi Jigyasa,

Jigyasa Grover  writes:

> You mean the update of PharoLauncher ?

PharoLauncher has had this settings for quite a while now. It's not new.


> PS - Pls ignore the triviality of my question , I am new to Pharo.

no problem. Ask as many questions as you want.

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



Re: [Pharo-users] Spring CampSmalltalk

2015-03-31 Thread Sebastian Heidbrink

I am sorry this was a typo!

When: Saturday & Sunday April 25-26th

Location: Makerspace Nanaimo
2221 McGarrigle Rd
Nanaimo

Sebastian






Hi Smalltalk enthusiasts!

Since Tim and I were already asked for a second CampSmalltalk this 
spring we decided hold another camp in Nanaimo at the end of April.


Last Camp in Nanaimo was amazingly successful and everyone had much fun.
If you’re in the general pacific north-west region do consider coming 
along.


When: Friday & Saturday April 25-26th

Location: Makerspace Nanaimo
2221 McGarrigle Rd
Nanaimo

their website:  makerspacenanaimo.org

Schedule/Presentations:
Non! We have the Space all weekend long and do not need to leave the 
place this time!


If you are interested in
... any kind of ScratchOnPI projects
... combining your Smalltalk project with any other peripheral device
... would like to try a different Smalltalk out
... just want to chat and meet old and new friends

then this should be the perfect weekend to do this and come over 
to Makerspace in Nanaimo.


Please contact us directly if you have questions regarding travel or 
accomodationa. We got some valuable feedback from last CampSmalltalk's 
participants.


Please let us also know if you’re interested.
Tim and Sebastian







Re: [Pharo-users] Spring CampSmalltalk

2015-03-31 Thread Esteban Lorenzano
Hi, 

cool that you do a camp smalltalk. 
but please, take into account the world is a big place :)
you should subject your mail: Spring CampSmalltalk at Nanaimo, Columbia, Canada

cheers, and good luck!
Esteban

> On 31 Mar 2015, at 18:36, Sebastian Heidbrink  wrote:
> 
> I am sorry this was a typo!
> 
> When: Saturday & Sunday April 25-26th
> 
> Location: Makerspace Nanaimo
> 2221 McGarrigle Rd
> Nanaimo
> 
> Sebastian
> 
> 
> 
> 
> 
>> Hi Smalltalk enthusiasts!
>> 
>> Since Tim and I were already asked for a second CampSmalltalk this spring we 
>> decided hold another camp in Nanaimo at the end of April.
>> 
>> Last Camp in Nanaimo was amazingly successful and everyone had much fun.
>> If you’re in the general pacific north-west region do consider coming along.
>> 
>> When: Friday & Saturday April 25-26th
>> 
>> Location: Makerspace Nanaimo
>> 2221 McGarrigle Rd
>> Nanaimo
>> 
>> their website:  makerspacenanaimo.org
>> 
>> Schedule/Presentations:
>> Non! We have the Space all weekend long and do not need to leave the place 
>> this time!
>> 
>> If you are interested in
>> ... any kind of ScratchOnPI projects
>> ... combining your Smalltalk project with any other peripheral device
>> ... would like to try a different Smalltalk out
>> ... just want to chat and meet old and new friends
>> 
>> then this should be the perfect weekend to do this and come over to 
>> Makerspace in Nanaimo.
>> 
>> Please contact us directly if you have questions regarding travel or 
>> accomodationa. We got some valuable feedback from last CampSmalltalk's 
>> participants.
>> 
>> Please let us also know if you’re interested.
>> Tim and Sebastian
>> 
>> 
> 
> 




Re: [Pharo-users] Issue on enabling developer options in Pharo Launcher

2015-03-31 Thread rohit sharma
hey Damien,
before there was a confusion that pharo launcher is not saving proxy
settings whenever we close it and we again launch the pharo-launcher we
again have to add proxy settings. But the reason for launcher not saving
the settings was I was closing the launcher using close button ('X' on top
left side), later Nicolai Hess told me that if I use quit button (on bottom
right) then launcher will save the proxy settings.

greetings
rohit

On Tue, Mar 31, 2015 at 10:05 PM, Damien Cassou 
wrote:

> Hi Jigyasa,
>
> Jigyasa Grover  writes:
>
> > You mean the update of PharoLauncher ?
>
> PharoLauncher has had this settings for quite a while now. It's not new.
>
>
> > PS - Pls ignore the triviality of my question , I am new to Pharo.
>
> no problem. Ask as many questions as you want.
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>
>


[Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
>From "Design Patterns" pg. 215:

You can make[8] generic proxies in Smalltalk by defining classes whose
superclass is nil and defining the doesNotUnderstand: method to handle
messages.

[8] Almost all classes ultimately have Object as their superclass. Hence
this is the same as saying "defining a class that doesn't have Object as its
superclass."

but in Pharo:
nil subclass: #MyProxy
instanceVariableNames: ''
classVariableNames: ''
category: ''
-> MessageNotUnderstood: receiver of
"subclass:instanceVariableNames:classVariableNames:category:" is nil



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Proxies-Subclassing-nil-tp4816443.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Joachim Tuchel
Sean,

I am not an expert in Pharo, but I think you should try subclassing 
ProtoObject...

Joachim

Am 31.03.2015 18:51 schrieb "Sean P. DeNigris" :
>
> >From "Design Patterns" pg. 215: 
>
>     You can make[8] generic proxies in Smalltalk by defining classes whose 
> superclass is nil and defining the doesNotUnderstand: method to handle 
> messages. 
>
>     [8] Almost all classes ultimately have Object as their superclass. Hence 
> this is the same as saying "defining a class that doesn't have Object as its 
> superclass." 
>
> but in Pharo: 
>     nil subclass: #MyProxy 
> instanceVariableNames: '' 
> classVariableNames: '' 
> category: '' 
> -> MessageNotUnderstood: receiver of 
> "subclass:instanceVariableNames:classVariableNames:category:" is nil 
>
>
>
> - 
> Cheers, 
> Sean 
> -- 
> View this message in context: 
> http://forum.world.st/Proxies-Subclassing-nil-tp4816443.html 
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. 
>
>


Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Denis Kudriashov
Hi
if you want to build proxy look at Ghost library from Mariano Martinez
I not know right repository. Maybe this:
http://smalltalkhub.com/#!/~CAR/Ghost/ or http://ss3.gemstone.com/ss/Ghost

2015-03-31 19:51 GMT+03:00 Sean P. DeNigris :

> From "Design Patterns" pg. 215:
>
> You can make[8] generic proxies in Smalltalk by defining classes whose
> superclass is nil and defining the doesNotUnderstand: method to handle
> messages.
>
> [8] Almost all classes ultimately have Object as their superclass.
> Hence
> this is the same as saying "defining a class that doesn't have Object as
> its
> superclass."
>
> but in Pharo:
> nil subclass: #MyProxy
> instanceVariableNames: ''
> classVariableNames: ''
> category: ''
> -> MessageNotUnderstood: receiver of
> "subclass:instanceVariableNames:classVariableNames:category:" is nil
>
>
>
> -
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/Proxies-Subclassing-nil-tp4816443.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


[Pharo-users] [ANN] Dr. Geo 15.04

2015-03-31 Thread Hilaire
Hello,

Dr. Geo 15.04 released today, based on Pharo 3.
http://www.drgeo.eu/news/drgeo1504

Thanks for your support

Hilaire

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu





Re: [Pharo-users] what to use for simple parsing

2015-03-31 Thread Tudor Girba
Not to mention that you can also read it :)

Doru

On Tue, Mar 31, 2015 at 5:17 PM, Peter Uhnák  wrote:

> Thanks all,
>
> in the end I've used PetitParser and I was really surprised and happy how
> easy and far I've got with it.
>
> TBH using regular expressions in Pharo feels extremely uncomfortable to me
> compared to Perl or Ruby, but maybe that was design decision by the author
> to not be too hacky.
>
> So at least to me PetitParser feels like a more practical regex library
> than Regex itself.
>
> Peter
>
> On Tue, Mar 31, 2015 at 5:08 PM, Damien Cassou 
> wrote:
>
>>
>> Peter Uhnák  writes:
>>
>> > Hi,
>> >
>> > I would like to parse text like
>> > -
>> > id(param1, param2, ... paramX)
>> > id -> id
>> > id ->> id
>> > -
>> > id is alphanumeric string,
>> > param is any string optionally enclosed in quotes (so both quoted and
>> > unquoted string is needed)
>>
>>
>> I would start with streams and regular expressions. If that's not
>> powerful enough I would use PetitParser. If that's not fast enough, I
>> would try SmaCC and compare speed.
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>>
>>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"


[Pharo-users] Cormas Pharo Port v0.2 available

2015-03-31 Thread Serge Stinckwich
Dear all,

I made available a new version (v0.2) of Cormas on Pharo.
CORMAS is a multi-agent simulation engine that is running on
VisualWorks Smalltalk:
http://cormas.cirad.fr/indexeng.htm

You can download this version by using the last Moose 5.1 image :
https://ci.inria.fr/moose/job/moose-5.1/

and doing in a Playground:

Gofer new
   url: 'http://smalltalkhub.com/mc/SergeStinckwich/CORMAS/main';
   configurationOf: 'Cormas';
   loadStable.

At the moment, nothing is working ;-)
Almost classes of the original VW version are now in Pharo except some
classes like Jun* that will I guess disappear for the new version if
we use ROASSAL instead. I will start to clean the code now in order to
be able to run as simple model like Fire Automata model

All the code is also available on github here: https://github.com/cormas/cormas

If some of you want to be added in the CORMAS github org, please tell me:
https://github.com/cormas
I will feel less alone ;-)

You can join the mailing-list to help here:
https://groups.google.com/forum/#!forum/cormas-dev

Regards,

-- 
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/



Re: [Pharo-users] [ANN] Dr. Geo 15.04

2015-03-31 Thread Nicolai Hess
2015-03-31 21:44 GMT+02:00 Hilaire :

> Hello,
>
> Dr. Geo 15.04 released today, based on Pharo 3.
> http://www.drgeo.eu/news/drgeo1504
>

This looks great!



>
> Thanks for your support
>
> Hilaire
>
> --
> Dr. Geo - http://drgeo.eu
> iStoa - http://istoa.drgeo.eu
>
>
>
>


Re: [Pharo-users] [ANN] Dr. Geo 15.04

2015-03-31 Thread Sean P. DeNigris
Nicolai Hess wrote
> This looks great!

+1! Congrats :)



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/ANN-Dr-Geo-15-04-tp4816478p4816501.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
jtuchel wrote
> I am not an expert in Pharo, but I think you should try subclassing
> ProtoObject...

I wonder if it was correct that subclassing nil used to be allowed and the
proper way to create a proxy, and if so why it was changed...



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Proxies-Subclassing-nil-tp4816443p4816502.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
Denis Kudriashov wrote
> http://smalltalkhub.com/#!/~CAR/Ghost/ or http://ss3.gemstone.com/ss/Ghost

Thanks, Denis! I'll check it out. I'm not sure which repo either. Mariano's
commits are all in both places, but there seems to be some parallel
development after that...



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Proxies-Subclassing-nil-tp4816443p4816503.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] [ANN] Dr. Geo 15.04

2015-03-31 Thread p...@highoctane.be
I guess

Make ox and ox axes independent to the grid

is

Make ox and oy axes independent to the grid

Dr Geo is about 20 years old now.

Phil
Le 31 mars 2015 21:44, "Hilaire"  a écrit :

> Hello,
>
> Dr. Geo 15.04 released today, based on Pharo 3.
> http://www.drgeo.eu/news/drgeo1504
>
> Thanks for your support
>
> Hilaire
>
> --
> Dr. Geo - http://drgeo.eu
> iStoa - http://istoa.drgeo.eu
>
>
>
>
>


Re: [Pharo-users] [Moose-dev] loading Glamour in Pharo 4

2015-03-31 Thread Andrei Chis
Still in this case the problem seems to be that version 0.1 from
ConfigurationOfForum wants to load the development version of Glamour in a
Moose 5.0 image, which is not going to work.


Cheers,
Andrei

On Tue, Mar 31, 2015 at 4:46 PM, Stephan Eggermont  wrote:

> These configurations/the metacello handling of them are
> still pretty seriously broken. In Forum from the
> Moose CI I cannot run the script because it throws an
> error which triggers the broken debugger. As does opening
> the workspace. I suspect there are quite some broken
> green builds on ci atm.
>
> Stephan
>
>


Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Sean P. DeNigris
Sean P. DeNigris wrote
> Thanks, Denis! I'll check it out. I'm not sure which repo either

I loaded the Pharo 3.0 stable version of the Metacello config in
MetaRepoForPharo30 (1.2). All tests pass, so I updated the config for 4.0
and copied it to the meta repo for 40



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Proxies-Subclassing-nil-tp4816443p4816517.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Clément Bera
Hey Sean,

Now to create a proxy you need to subclass ProtoObject and not nil.

This was changed years ago to avoid some issues. An example of issue that
existed: when you subclass nil, as
#doesNotUnderstand: is not implemented by default on your proxy, any proxy
created receiving a message would crash the VM if you had not overridded
#doesNotUnderstand:. Another example is that when you iterate over memory
using #nextObject, if the proxy does not answer it you can end with severe
VM crashes. In these examples I am talking about the expected VM behavior
and not about bugs.

So basically the purpose of ProtoObject was to limit the number of VM
crashes when playing with proxies / ProtoObjects, instead having a default
behavior for several messages such as #doesNotUnderstand: or nextObject.

Note that the IDE support for ProtoObject is limited as ProtoObject API is
very restricted so it does not have methods such as #inspect, ... That's
also on purpose because Proxies may not implement introspection methods.





2015-03-31 14:53 GMT-07:00 Sean P. DeNigris :

> Denis Kudriashov wrote
> > http://smalltalkhub.com/#!/~CAR/Ghost/ or
> http://ss3.gemstone.com/ss/Ghost
>
> Thanks, Denis! I'll check it out. I'm not sure which repo either. Mariano's
> commits are all in both places, but there seems to be some parallel
> development after that...
>
>
>
> -
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/Proxies-Subclassing-nil-tp4816443p4816503.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread Mariano Martinez Peck
On Tue, Mar 31, 2015 at 8:05 PM, Clément Bera 
wrote:

> Hey Sean,
>
> Now to create a proxy you need to subclass ProtoObject and not nil.
>
>
Yes, subclassing from nil was never a good idea.


> This was changed years ago to avoid some issues. An example of issue that
> existed: when you subclass nil, as
> #doesNotUnderstand: is not implemented by default on your proxy, any proxy
> created receiving a message would crash the VM if you had not overridded
> #doesNotUnderstand:. Another example is that when you iterate over memory
> using #nextObject, if the proxy does not answer it you can end with severe
> VM crashes. In these examples I am talking about the expected VM behavior
> and not about bugs.
>
>
Marea (kind of extended Ghost proxies) proxies deal with object listing. If
you load Marea code, see class side of #MARAbstractProxy (#allInstances,
#allInstancesDo: etc).




> So basically the purpose of ProtoObject was to limit the number of VM
> crashes when playing with proxies / ProtoObjects, instead having a default
> behavior for several messages such as #doesNotUnderstand: or nextObject.
>
> Note that the IDE support for ProtoObject is limited as ProtoObject API is
> very restricted so it does not have methods such as #inspect, ... That's
> also on purpose because Proxies may not implement introspection methods.
>
>
Yes. Ghost proxies provided debugger facilities (printing, inspecting,
debugging, exploring, etc) which could be dynamically either enabled or
disabled. If enabled, you could debug proxies without intercepting the
"debugging" methods.


>
>
>
>
> 2015-03-31 14:53 GMT-07:00 Sean P. DeNigris :
>
> Denis Kudriashov wrote
>> > http://smalltalkhub.com/#!/~CAR/Ghost/ or
>> http://ss3.gemstone.com/ss/Ghost
>>
>> Thanks, Denis! I'll check it out. I'm not sure which repo either.
>> Mariano's
>> commits are all in both places, but there seems to be some parallel
>> development after that...
>>
>>
>>
>> -
>> Cheers,
>> Sean
>> --
>> View this message in context:
>> http://forum.world.st/Proxies-Subclassing-nil-tp4816443p4816503.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>


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


Re: [Pharo-users] Cormas Pharo Port v0.2 available

2015-03-31 Thread Alexandre Bergel
Hi Serge!

I’ve tried to load Cormas, but I got an error about some missing dependencies…

Alexandre


> On Mar 31, 2015, at 5:00 PM, Serge Stinckwich  
> wrote:
> 
> Dear all,
> 
> I made available a new version (v0.2) of Cormas on Pharo.
> CORMAS is a multi-agent simulation engine that is running on
> VisualWorks Smalltalk:
> http://cormas.cirad.fr/indexeng.htm
> 
> You can download this version by using the last Moose 5.1 image :
> https://ci.inria.fr/moose/job/moose-5.1/
> 
> and doing in a Playground:
> 
> Gofer new
>   url: 'http://smalltalkhub.com/mc/SergeStinckwich/CORMAS/main';
>   configurationOf: 'Cormas';
>   loadStable.
> 
> At the moment, nothing is working ;-)
> Almost classes of the original VW version are now in Pharo except some
> classes like Jun* that will I guess disappear for the new version if
> we use ROASSAL instead. I will start to clean the code now in order to
> be able to run as simple model like Fire Automata model
> 
> All the code is also available on github here: 
> https://github.com/cormas/cormas
> 
> If some of you want to be added in the CORMAS github org, please tell me:
> https://github.com/cormas
> I will feel less alone ;-)
> 
> You can join the mailing-list to help here:
> https://groups.google.com/forum/#!forum/cormas-dev
> 
> Regards,
> 
> -- 
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Re: [Pharo-users] Cormas Pharo Port v0.2 available

2015-03-31 Thread stepharo

Excellent serge!
Keep pushing.

Le 31/3/15 22:00, Serge Stinckwich a écrit :

Dear all,

I made available a new version (v0.2) of Cormas on Pharo.
CORMAS is a multi-agent simulation engine that is running on
VisualWorks Smalltalk:
http://cormas.cirad.fr/indexeng.htm

You can download this version by using the last Moose 5.1 image :
https://ci.inria.fr/moose/job/moose-5.1/

and doing in a Playground:

Gofer new
url: 'http://smalltalkhub.com/mc/SergeStinckwich/CORMAS/main';
configurationOf: 'Cormas';
loadStable.

At the moment, nothing is working ;-)
Almost classes of the original VW version are now in Pharo except some
classes like Jun* that will I guess disappear for the new version if
we use ROASSAL instead. I will start to clean the code now in order to
be able to run as simple model like Fire Automata model

All the code is also available on github here: https://github.com/cormas/cormas

If some of you want to be added in the CORMAS github org, please tell me:
https://github.com/cormas
I will feel less alone ;-)

You can join the mailing-list to help here:
https://groups.google.com/forum/#!forum/cormas-dev

Regards,






Re: [Pharo-users] Proxies: Subclassing nil

2015-03-31 Thread stepharo

Mariano spent a couple of years on it so...



Le 31/3/15 21:37, Denis Kudriashov a écrit :

Hi
if you want to build proxy look at Ghost library from Mariano Martinez
I not know right repository. Maybe 
this:http://smalltalkhub.com/#!/~CAR/Ghost/ 
 or 
http://ss3.gemstone.com/ss/Ghost


2015-03-31 19:51 GMT+03:00 Sean P. DeNigris >:


From "Design Patterns" pg. 215:

You can make[8] generic proxies in Smalltalk by defining
classes whose
superclass is nil and defining the doesNotUnderstand: method to handle
messages.

[8] Almost all classes ultimately have Object as their
superclass. Hence
this is the same as saying "defining a class that doesn't have
Object as its
superclass."

but in Pharo:
nil subclass: #MyProxy
instanceVariableNames: ''
classVariableNames: ''
category: ''
-> MessageNotUnderstood: receiver of
"subclass:instanceVariableNames:classVariableNames:category:" is nil



-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Proxies-Subclassing-nil-tp4816443.html
Sent from the Pharo Smalltalk Users mailing list archive at
Nabble.com.