Re: [Pharo-users] GUI Applications

2016-06-08 Thread Dimitris Chloupis
Thank you Sergio I will be building a ton of new custom GUIs for Pharo for
my Ephestos project which ChronosManager is part of , so this is only the
beginning of testing the limitations of Morphic ;) Will keep you posted
about my progress.

On Wed, Jun 8, 2016 at 6:23 PM sergio ruiz  wrote:

> whoa!
>
> chronosmanager is way awesome!
>
> i am going to start using it for my task/pomodoro timer!
>
>
> > On Jun 8, 2016, at 7:34 AM, Dimitris Chloupis 
> wrote:
> >
> > Its also the best solution for custom designed GUIs which is what I used
> for my ChronosManager project you can find in Catalog Browser.
>
> 
> peace,
> sergio
> photographer, journalist, visionary
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> http://www.Village-Buzz.com
> http://www.ThoseOptimizeGuys.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
>
>


Re: [Pharo-users] Smalltalkhub Admin

2016-06-08 Thread Esteban Lorenzano
yes, but is just the connection reset problem. 
refreshing browser should correct it. 

and the amber debugger is there “by design” :P

Esteban

> On 08 Jun 2016, at 21:02, stepharo  wrote:
> 
> please post to the mailing-list.
> 
> We do not have all the time to get present still having the information is 
> important.
> 
> 
> Le 8/6/16 à 15:06, Pierce Ng a écrit :
>> On Tue, Jun 07, 2016 at 06:42:04PM +0200, Esteban Lorenzano wrote:
>>> Me
>>> What happens?
>> See screenshot I pasted in the #random channel.
>> 
>> Pierce
>> 
>> 
> 
> 




Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread stepharo

Thanks Alistair

This is a great initiative. Documentation is our shared knowledge. I 
spent time editing the document


but I do not have time and the need for glorp now.

Stef


Le 8/6/16 à 09:50, Alistair Grant a écrit :

Hi All,

I'm working my way through some of the examples in
PharoInProgress/Glorp.  Adapting Pierce's code from his announcement:


| workingDir dbName login session |

workingDir := SmalltalkImage current imagePath asFileReference parent 
fullName
, FileSystem disk delimiter asString.
dbName := 'glorpbook.db'.
login := Login new
database: UDBCSQLite3Platform new;
host: workingDir;
port: '';
username: '';
password: '';
databaseName: dbName;
yourself.
PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
session := GlorpBookDescriptorSystem sessionForLogin: login.
session createTables.

However this fails with:

MessageNotUnderstood: receiver of "basicExecuteSQLString:" is nil

If I add a breakpoint in GlorpSession>>accessor: manually execute:

accessor login

and then proceed, everything works fine.

Given that Glorp has been around for so long, I guess that this is more
likely an issue with the new UDBC driver, however I don't yet understand
the architecture well enough to propose a fix.

Any suggestions?


Thanks!
Alistair







Re: [Pharo-users] VOMongoRepository

2016-06-08 Thread Yanni Chiu
You might have to do:

ConfigurationOfVoyageMongo loadBleedingEdge.
ConfigurationOfMongoTalk loadBleedingEdge.

to load the latest package versions. It worked for me, at the time I did
it, but the bleeding edge packages are not a fixed code base.
Unfortunately, the "stable" configuration has the "frozen" problem you're
seeing, which is fixed in new code, but the configuration has not been
updated.



On Wed, Jun 8, 2016 at 2:55 PM, Franklin Mike 
wrote:

> Hi every body,
> I'm doing the Pharo Mooc and I have a proble with Voyage.
> I used memory repository withoud problem and when I try to use external
> repository(after install MongoDB) my Pharo system stop working as it was
> frozen.
>
> After some days I try to run VORepositoryTest it do the same thing.
>
> I'm on window 10 and my MongoDB is not protected by a password.
>
> Thanks.
>


Re: [Pharo-users] Smalltalkhub Admin

2016-06-08 Thread stepharo

please post to the mailing-list.

We do not have all the time to get present still having the information 
is important.



Le 8/6/16 à 15:06, Pierce Ng a écrit :

On Tue, Jun 07, 2016 at 06:42:04PM +0200, Esteban Lorenzano wrote:

Me
What happens?

See screenshot I pasted in the #random channel.

Pierce







Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
Hi Mariano,
Great, I will try this tomorrow!
Regards
Sabine

Am Mittwoch, 8. Juni 2016 schrieb Mariano Martinez Peck [via Smalltalk] :

> Sabine,
>
> I did not yet tested OSProcess but with OSSubprocess (in 5.0) I cannot
> reproduce the issue:
>
> *Polling strategy works:*
>
> Delay delaySchedulerClass: DelayMillisecondScheduler.
> 20 timesRepeat: [OSSUnixSubprocess new
> command: 'echo';
> arguments: {
> ' };
> redirectStdout;
> *runAndWaitPollingEvery: (Delay forMilliseconds: 50) retrievingStreams:
> true onExitDo: [*
>   :process :outString :errString |
>   Transcript show: outString;cr .
>   ].
> ].
>
>
> *Semaphore-based (child watcher) works:*
>
>
> Delay delaySchedulerClass: DelayMillisecondScheduler.
> 20 timesRepeat: [OSSUnixSubprocess new
> command: 'echo';
> arguments: { 'Hi There' };
> redirectStdout;
> *runAndWaitOnExitDo:* [
>   :process :outString :errString |
>   Transcript show: outString;cr .
>   ].
> ].
>
>
> *Using shellCommand: (bash) instead of #command: and #arguments: does work
> too:*
>
>
> Delay delaySchedulerClass: DelayMillisecondScheduler.
> 20 timesRepeat: [OSSUnixSubprocess new
> *shellCommand: ('echo "Hi there"');*
> redirectStdout;
> runAndWaitOnExitDo: [
>   :process :outString :errString |
>   Transcript show: outString;cr .
>   ].
> ].
>
> On Wed, Jun 8, 2016 at 3:11 PM, Sabine Manaa <[hidden email]
> > wrote:
>
>> Hi Mariano,
>>
>> if you take the download Image from the Pharo website, then load
>> commandShell and then zinc from the catalog browser and then do
>>
>> Delay delaySchedulerClass: DelayMillisecondScheduler.
>> and then
>> 20 timesRepeat: [OSProcess  command: ('echo "Hi there"').]
>>
>> Then you will get the lock.
>>
>> Does this help to find the reason for the problem?
>>
>> Regards
>> Sabine
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p490.html
> To start a new topic under Pharo Smalltalk Users, email
> ml-node+s1294792n1310670...@n4.nabble.com
> 
> To unsubscribe from Pharo Smalltalk Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p494.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] VOMongoRepository

2016-06-08 Thread Franklin Mike
Hi every body,
I'm doing the Pharo Mooc and I have a proble with Voyage.
I used memory repository withoud problem and when I try to use external
repository(after install MongoDB) my Pharo system stop working as it was
frozen.

After some days I try to run VORepositoryTest it do the same thing.

I'm on window 10 and my MongoDB is not protected by a password.

Thanks.


Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Alistair Grant
On Wed, Jun 08, 2016 at 07:49:13PM +0200, Alistair Grant wrote:
> Hi Pierce,
> 
> On Wed, Jun 08, 2016 at 09:22:10PM +0800, Pierce Ng wrote:
> > On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote:
> > >   PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
> > >   session := GlorpBookDescriptorSystem sessionForLogin: login.
> > 
> > Listing 1.12 on page 9 of the PDF says your code is missing a line:
> > 
> > session login.
> > 
> > The example I posted in the announcement thread also sends #login, but to 
> > the
> > accessor.
> > 
> >   | login accessor |
> >   login := Login new
> > ...
> > yourself.
> >   PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
> >   accessor := PharoDatabaseAccessor forLogin: login.
> > "==>"  accessor login. "<=="
> >   (accessor executeSQLString: 'select * from sqlite_master') explore.
> >   accessor logout.  
> > 
> > If you follow the implementation of GlorpSession>>login you will see that it
> > eventually sends #login to the accessor.
> > 
> > Pierce
> 
> 
> Thanks for your response.  You're right, and I had tried this, however
> asking the session to login results in the following:
> 
> UDBCSQLite3Connection(Object)>>doesNotUnderstand: #queryEncoding
> PharoDatabaseAccessor>>encoding
> GlorpSession>>loginIfError:
> GlorpSession>>login
> GlorpBookDescriptorSystem class>>getSession
> UndefinedObject>>DoIt
> 
> In my image at least, there are no implementers of #queryEncoding.

P.S.  If I add:

UDBCSQLite3BaseConnection>>queryEncoding

^#'utf-8'


I'm able to create tables and populate the database (which is as far as
I've got).  But of course, not sure if this is the appropriate solution.

Thanks!
Alistair




Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
Hi Mariano,

if you take the download Image from the Pharo website, then load
commandShell and then zinc from the catalog browser and then do

Delay delaySchedulerClass: DelayMillisecondScheduler.
and then
20 timesRepeat: [OSProcess  command: ('echo "Hi there"').]

Then you will get the lock.

Does this help to find the reason for the problem?

Regards
Sabine


Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Alistair Grant
Hi Pierce,

On Wed, Jun 08, 2016 at 09:22:10PM +0800, Pierce Ng wrote:
> On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote:
> > PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
> > session := GlorpBookDescriptorSystem sessionForLogin: login.
> 
> Listing 1.12 on page 9 of the PDF says your code is missing a line:
> 
> session login.
> 
> The example I posted in the announcement thread also sends #login, but to the
> accessor.
> 
>   | login accessor |
>   login := Login new
> ...
> yourself.
>   PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
>   accessor := PharoDatabaseAccessor forLogin: login.
> "==>"  accessor login. "<=="
>   (accessor executeSQLString: 'select * from sqlite_master') explore.
>   accessor logout.  
> 
> If you follow the implementation of GlorpSession>>login you will see that it
> eventually sends #login to the accessor.
> 
> Pierce


Thanks for your response.  You're right, and I had tried this, however
asking the session to login results in the following:

UDBCSQLite3Connection(Object)>>doesNotUnderstand: #queryEncoding
PharoDatabaseAccessor>>encoding
GlorpSession>>loginIfError:
GlorpSession>>login
GlorpBookDescriptorSystem class>>getSession
UndefinedObject>>DoIt

In my image at least, there are no implementers of #queryEncoding.


Thanks!
Alistair



Re: [Pharo-users] GUI Applications

2016-06-08 Thread Pavel Krivanek
It is possible but not without JavaScript. There is (non Smalltalk) XUL
based project of this type.

http://pencil.evolus.vn/Features.html

-- Pavel

2016-06-08 17:13 GMT+02:00 Petr Fischer :

> Interesting - is possible to write app like CASE diagram editor with this
> phobos-XUL thing (so a lot of custom drawing to something like canvas), or
> it's intended rather for "form apps"?
>
> pf
>
>
> > You may be interested in Phobos:
> > https://github.com/pavel-krivanek/phobos-framework
> >
> > -- Pavel
> >
> > 2016-06-06 20:56 GMT+02:00 sergio ruiz :
> >
> > > It would seem to me that in order for an ecosystem to really take hold
> on
> > > the part of the users, it’s really important that it’s efficient and
> easy
> > > to create a GUI based application.
> > >
> > > Can anyone comment on the current state of libraries for creating and
> > > distributing GUI applications?
> > >
> > > Thanks!
> > >
> > > 
> > > peace,
> > > sergio
> > > photographer, journalist, visionary
> > > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> > > http://www.Village-Buzz.com
> > > http://www.ThoseOptimizeGuys.com
> > > http://www.coffee-black.com
> > > http://www.painlessfrugality.com
> > > http://www.twitter.com/sergio_101
> > > http://www.facebook.com/sergio101
> > >
> > >
> > >
>
>


Re: [Pharo-users] GUI Applications

2016-06-08 Thread sergio ruiz
whoa!

chronosmanager is way awesome!

i am going to start using it for my task/pomodoro timer!


> On Jun 8, 2016, at 7:34 AM, Dimitris Chloupis  wrote:
> 
> Its also the best solution for custom designed GUIs which is what I used for 
> my ChronosManager project you can find in Catalog Browser.


peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [Pharo-users] GUI Applications

2016-06-08 Thread Petr Fischer
Interesting - is possible to write app like CASE diagram editor with this 
phobos-XUL thing (so a lot of custom drawing to something like canvas), or it's 
intended rather for "form apps"?

pf


> You may be interested in Phobos:
> https://github.com/pavel-krivanek/phobos-framework
> 
> -- Pavel
> 
> 2016-06-06 20:56 GMT+02:00 sergio ruiz :
> 
> > It would seem to me that in order for an ecosystem to really take hold on
> > the part of the users, it’s really important that it’s efficient and easy
> > to create a GUI based application.
> >
> > Can anyone comment on the current state of libraries for creating and
> > distributing GUI applications?
> >
> > Thanks!
> >
> > 
> > peace,
> > sergio
> > photographer, journalist, visionary
> > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> > http://www.Village-Buzz.com
> > http://www.ThoseOptimizeGuys.com
> > http://www.coffee-black.com
> > http://www.painlessfrugality.com
> > http://www.twitter.com/sergio_101
> > http://www.facebook.com/sergio101
> >
> >
> >



Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
Hi Mariano,

ok, now I understand. But it is not clear to me, why
"Delay delaySchedulerClass: DelayMillisecondScheduler"

creates the locked image in my case.

With a new Pharo5 image, there is no lock.

I have to find out, what is causing this locks and report this to you, I
hope tomorrow.

Sabine

2016-06-08 15:58 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <
ml-node+s1294792n489993...@n4.nabble.com>:

> As I said in a previous email I found out a bug in Pharo 5.0 related to
> delays. This affected OSSubprocess but could affect OSProcess as well. The
> workaround is setting ANOTHER kind of delay scheduler than the one that has
> the bug. I thought that the "locks" you were having could have been because
> of this issue. But if the workaround does not solve it, then the lockups
> you are having are because of another reason :(
>
> Cheers,
>
> On Wed, Jun 8, 2016 at 10:49 AM, Sabine Manaa <[hidden email]
> > wrote:
>
>> I dont understand
>>
>> Am Mittwoch, 8. Juni 2016 schrieb Mariano Martinez Peck [via Smalltalk] :
>>
>>>
>>>
>>> On Wed, Jun 8, 2016 at 10:33 AM, Sabine Manaa <[hidden email]
>>> > wrote:
>>>
 Hi Mariano,

 yes, I tried this. It creates a non-responding image. I have to kill it.


>>>
>>> Uhhh too bad :(  I thought we were talking about the same issue.
>>>
>>>
>>>
 Regards
 Sabine

 2016-06-08 15:26 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <[hidden
 email] >:

> Sabine,
>
> Did you test if the one-liner (Delay delaySchedulerClass:
> DelayMillisecondScheduler.)  fixes these lookups?
>
> Thanks
>
> On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa <[hidden email]
> > wrote:
>
>> Hi Thierry, all,
>>
>> you were right, it was not so complicated to write my own version for
>> calling an external program based on your Github code. It worked fine
>> on
>> Pharo3+4 but on Pharo5 there are the locking problems described, also
>> in
>> your code.
>>
>> Until there is a decision if supporting windows in OSSubprocess or
>> not and
>> until the locking problem is not solved, I go back to Pharo4. (I
>> loose to
>> much time which I don't have).
>>
>> I will miss the code critics :-)
>>
>> Thank you all for your help.
>>
>> Regards
>> Sabine
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
>> Sent from the Pharo Smalltalk Users mailing list archive at
>> Nabble.com.
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> --
> If you reply to this email, your message will be added to the
> discussion below:
>
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899923.html
> To start a new topic under Pharo Smalltalk Users, email [hidden email]
> 
> To unsubscribe from Pharo Smalltalk Users, click here.
> NAML
> 
>


 --
 View this message in context: Re: OSProcess command - non responding
 image when calling often
 
 Sent from the Pharo Smalltalk Users mailing list archive
  at
 Nabble.com.

>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>>
>>> --
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899933.html
>>> To start a new topic under Pharo Smalltalk Users, email >> href="javascript:_e(%7B%7D,cvml,

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Mariano Martinez Peck
As I said in a previous email I found out a bug in Pharo 5.0 related to
delays. This affected OSSubprocess but could affect OSProcess as well. The
workaround is setting ANOTHER kind of delay scheduler than the one that has
the bug. I thought that the "locks" you were having could have been because
of this issue. But if the workaround does not solve it, then the lockups
you are having are because of another reason :(

Cheers,

On Wed, Jun 8, 2016 at 10:49 AM, Sabine Manaa 
wrote:

> I dont understand
>
> Am Mittwoch, 8. Juni 2016 schrieb Mariano Martinez Peck [via Smalltalk] :
>
>>
>>
>> On Wed, Jun 8, 2016 at 10:33 AM, Sabine Manaa <[hidden email]
>> > wrote:
>>
>>> Hi Mariano,
>>>
>>> yes, I tried this. It creates a non-responding image. I have to kill it.
>>>
>>>
>>
>> Uhhh too bad :(  I thought we were talking about the same issue.
>>
>>
>>
>>> Regards
>>> Sabine
>>>
>>> 2016-06-08 15:26 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <[hidden
>>> email] >:
>>>
 Sabine,

 Did you test if the one-liner (Delay delaySchedulerClass:
 DelayMillisecondScheduler.)  fixes these lookups?

 Thanks

 On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa <[hidden email]
 > wrote:

> Hi Thierry, all,
>
> you were right, it was not so complicated to write my own version for
> calling an external program based on your Github code. It worked fine
> on
> Pharo3+4 but on Pharo5 there are the locking problems described, also
> in
> your code.
>
> Until there is a decision if supporting windows in OSSubprocess or not
> and
> until the locking problem is not solved, I go back to Pharo4. (I loose
> to
> much time which I don't have).
>
> I will miss the code critics :-)
>
> Thank you all for your help.
>
> Regards
> Sabine
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


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


 --
 If you reply to this email, your message will be added to the
 discussion below:

 http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899923.html
 To start a new topic under Pharo Smalltalk Users, email [hidden email]
 
 To unsubscribe from Pharo Smalltalk Users, click here.
 NAML
 

>>>
>>>
>>> --
>>> View this message in context: Re: OSProcess command - non responding
>>> image when calling often
>>> 
>>> Sent from the Pharo Smalltalk Users mailing list archive
>>>  at
>>> Nabble.com.
>>>
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899933.html
>> To start a new topic under Pharo Smalltalk Users, email > href="javascript:_e(%7B%7D,cvml,

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
I dont understand

Am Mittwoch, 8. Juni 2016 schrieb Mariano Martinez Peck [via Smalltalk] :

>
>
> On Wed, Jun 8, 2016 at 10:33 AM, Sabine Manaa <[hidden email]
> > wrote:
>
>> Hi Mariano,
>>
>> yes, I tried this. It creates a non-responding image. I have to kill it.
>>
>>
>
> Uhhh too bad :(  I thought we were talking about the same issue.
>
>
>
>> Regards
>> Sabine
>>
>> 2016-06-08 15:26 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <[hidden
>> email] >:
>>
>>> Sabine,
>>>
>>> Did you test if the one-liner (Delay delaySchedulerClass:
>>> DelayMillisecondScheduler.)  fixes these lookups?
>>>
>>> Thanks
>>>
>>> On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa <[hidden email]
>>> > wrote:
>>>
 Hi Thierry, all,

 you were right, it was not so complicated to write my own version for
 calling an external program based on your Github code. It worked fine on
 Pharo3+4 but on Pharo5 there are the locking problems described, also in
 your code.

 Until there is a decision if supporting windows in OSSubprocess or not
 and
 until the locking problem is not solved, I go back to Pharo4. (I loose
 to
 much time which I don't have).

 I will miss the code critics :-)

 Thank you all for your help.

 Regards
 Sabine





 --
 View this message in context:
 http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.


>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>>
>>> --
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899923.html
>>> To start a new topic under Pharo Smalltalk Users, email [hidden email]
>>> 
>>> To unsubscribe from Pharo Smalltalk Users, click here.
>>> NAML
>>> 
>>>
>>
>>
>> --
>> View this message in context: Re: OSProcess command - non responding
>> image when calling often
>> 
>> Sent from the Pharo Smalltalk Users mailing list archive
>>  at
>> Nabble.com.
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899933.html
> To start a new topic under Pharo Smalltalk Users, email
> ml-node+s1294792n1310670...@n4.nabble.com
> 
> To unsubscribe from Pharo Smalltalk Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899937.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Mariano Martinez Peck
On Wed, Jun 8, 2016 at 10:33 AM, Sabine Manaa 
wrote:

> Hi Mariano,
>
> yes, I tried this. It creates a non-responding image. I have to kill it.
>
>

Uhhh too bad :(  I thought we were talking about the same issue.



> Regards
> Sabine
>
> 2016-06-08 15:26 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <[hidden
> email] >:
>
>> Sabine,
>>
>> Did you test if the one-liner (Delay delaySchedulerClass:
>> DelayMillisecondScheduler.)  fixes these lookups?
>>
>> Thanks
>>
>> On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa <[hidden email]
>> > wrote:
>>
>>> Hi Thierry, all,
>>>
>>> you were right, it was not so complicated to write my own version for
>>> calling an external program based on your Github code. It worked fine on
>>> Pharo3+4 but on Pharo5 there are the locking problems described, also in
>>> your code.
>>>
>>> Until there is a decision if supporting windows in OSSubprocess or not
>>> and
>>> until the locking problem is not solved, I go back to Pharo4. (I loose to
>>> much time which I don't have).
>>>
>>> I will miss the code critics :-)
>>>
>>> Thank you all for your help.
>>>
>>> Regards
>>> Sabine
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
>>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899923.html
>> To start a new topic under Pharo Smalltalk Users, email [hidden email]
>> 
>> To unsubscribe from Pharo Smalltalk Users, click here.
>> NAML
>> 
>>
>
>
> --
> View this message in context: Re: OSProcess command - non responding
> image when calling often
> 
> Sent from the Pharo Smalltalk Users mailing list archive
>  at Nabble.com.
>



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


Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
Hi Mariano,

yes, I tried this. It creates a non-responding image. I have to kill it.

Regards
Sabine

2016-06-08 15:26 GMT+02:00 Mariano Martinez Peck [via Smalltalk] <
ml-node+s1294792n489992...@n4.nabble.com>:

> Sabine,
>
> Did you test if the one-liner (Delay delaySchedulerClass:
> DelayMillisecondScheduler.)  fixes these lookups?
>
> Thanks
>
> On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa <[hidden email]
> > wrote:
>
>> Hi Thierry, all,
>>
>> you were right, it was not so complicated to write my own version for
>> calling an external program based on your Github code. It worked fine on
>> Pharo3+4 but on Pharo5 there are the locking problems described, also in
>> your code.
>>
>> Until there is a decision if supporting windows in OSSubprocess or not and
>> until the locking problem is not solved, I go back to Pharo4. (I loose to
>> much time which I don't have).
>>
>> I will miss the code critics :-)
>>
>> Thank you all for your help.
>>
>> Regards
>> Sabine
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899923.html
> To start a new topic under Pharo Smalltalk Users, email
> ml-node+s1294792n1310670...@n4.nabble.com
> To unsubscribe from Pharo Smalltalk Users, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899929.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Mariano Martinez Peck
Sabine,

Did you test if the one-liner (Delay delaySchedulerClass:
DelayMillisecondScheduler.)  fixes these lookups?

Thanks

On Wed, Jun 8, 2016 at 5:31 AM, Sabine Manaa  wrote:

> Hi Thierry, all,
>
> you were right, it was not so complicated to write my own version for
> calling an external program based on your Github code. It worked fine on
> Pharo3+4 but on Pharo5 there are the locking problems described, also in
> your code.
>
> Until there is a decision if supporting windows in OSSubprocess or not and
> until the locking problem is not solved, I go back to Pharo4. (I loose to
> much time which I don't have).
>
> I will miss the code critics :-)
>
> Thank you all for your help.
>
> Regards
> Sabine
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


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


Re: [Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Pierce Ng
On Wed, Jun 08, 2016 at 09:50:41AM +0200, Alistair Grant wrote:
>   PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
>   session := GlorpBookDescriptorSystem sessionForLogin: login.

Listing 1.12 on page 9 of the PDF says your code is missing a line:

session login.

The example I posted in the announcement thread also sends #login, but to the
accessor.

  | login accessor |
  login := Login new
...
yourself.
  PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
  accessor := PharoDatabaseAccessor forLogin: login.
"==>"  accessor login. "<=="
  (accessor executeSQLString: 'select * from sqlite_master') explore.
  accessor logout.  

If you follow the implementation of GlorpSession>>login you will see that it
eventually sends #login to the accessor.

Pierce




Re: [Pharo-users] Smalltalkhub Admin

2016-06-08 Thread Pierce Ng
On Tue, Jun 07, 2016 at 06:42:04PM +0200, Esteban Lorenzano wrote:
> Me
> What happens?

See screenshot I pasted in the #random channel.

Pierce



Re: [Pharo-users] GUI Applications

2016-06-08 Thread Dimitris Chloupis
Morphic is so far for me my favorite option

Morphic has a lot of ugly code inside it but its by far the most powerful
of all, and its not hard at all to implement your own cleaners
implementations since the functionality is already there
its also well tested
based on a brilliant design
lacks documentation but it comes with a ton of examples since its what
Pharo and Squeak uses
and with its decade old history is by far the most mature.

Its also the best solution for custom designed GUIs which is what I used
for my ChronosManager project you can find in Catalog Browser.

On Wed, Jun 8, 2016 at 10:18 AM stepharo  wrote:

>
>
> Le 6/6/16 à 22:01, sergio ruiz a écrit :
> > yes, but i kind of want to avoid the web.. i just want something that
> works natively without the headaches of browser incompatibility. I also
> want an app to feel snappy and able to make OS calls..
> me too :)
>
> >
> >
> >> On Jun 6, 2016, at 3:51 PM, Alexandre Bergel 
> wrote:
> >>
> >> Hi Sergio,
> >>
> >> You are very right. Pharo offers several GUI framework, including Spec,
> Glamour.
> >> Check for Deep Into Pharo, a book which talk about theses.
> >>
> >> Cheers,
> >> Alexandre
> >> --
> >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> Alexandre Bergel  http://www.bergel.eu
> >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>
> >>
> >>
> >>> On Jun 6, 2016, at 2:56 PM, sergio ruiz  wrote:
> >>>
> >>> It would seem to me that in order for an ecosystem to really take hold
> on the part of the users, it’s really important that it’s efficient and
> easy to create a GUI based application.
> >>>
> >>> Can anyone comment on the current state of libraries for creating and
> distributing GUI applications?
> >>>
> >>> Thanks!
> >>>
> >>> 
> >>> peace,
> >>> sergio
> >>> photographer, journalist, visionary
> >>> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> >>> http://www.Village-Buzz.com
> >>> http://www.ThoseOptimizeGuys.com
> >>> http://www.coffee-black.com
> >>> http://www.painlessfrugality.com
> >>> http://www.twitter.com/sergio_101
> >>> http://www.facebook.com/sergio101
> >>>
> >>>
> > 
> > peace,
> > sergio
> > photographer, journalist, visionary
> > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> > http://www.Village-Buzz.com
> > http://www.ThoseOptimizeGuys.com
> > http://www.coffee-black.com
> > http://www.painlessfrugality.com
> > http://www.twitter.com/sergio_101
> > http://www.facebook.com/sergio101
> >
>
>
>


Re: [Pharo-users] Enterprise Pharo ePub: The Second Pass

2016-06-08 Thread Julius Peinelt
Hi,

Looks good after a (really) short look, except for the content table. At least 
if I open the book in iBooks on my Mac every entry for ‘Conclusion’ has the 
page number 19, and every ‘Getting Started’ links to page 2.

Best,
Julius

https://wokabulary.com  – Learn and Manage your 
Vocabulary



> On 08 Jun 2016, at 09:45, Thibault ARLOING  
> wrote:
> 
> Hi,
> 
> I reworked the Enterprise Pharo book as ePub taking into account feedbacks of 
> the pass on first version.
> So, now the navigation menu is more developed and I added a cover for the 
> book.
> 
> It would be great to have new feedbacks on this version
> If some of you have electronic readers, it would be good to test the book on 
> it too
> 
> You can download the ePub here 
> 
>  
> 
> 
> Thanks,
> Thibault



Re: [Pharo-users] OSProcess command - non responding image when calling often

2016-06-08 Thread Sabine Manaa
Hi Thierry, all,

you were right, it was not so complicated to write my own version for
calling an external program based on your Github code. It worked fine on
Pharo3+4 but on Pharo5 there are the locking problems described, also in
your code.

Until there is a decision if supporting windows in OSSubprocess or not and
until the locking problem is not solved, I go back to Pharo4. (I loose to
much time which I don't have). 

I will miss the code critics :-)

Thank you all for your help. 

Regards
Sabine





--
View this message in context: 
http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4899816.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] question on message passing.

2016-06-08 Thread Sven Van Caekenberghe
Sergio,

Here is my code: https://github.com/svenvc/mpdclient - the README.md should get 
you started.

Have fun !

Sven

> On 07 Jun 2016, at 22:17, sergio ruiz  wrote:
> 
>> 
>> I have a (almost complete) MPD client in Pharo, talks the protocol directly. 
>> As well as a simple web UI to control music selection/playback.
>> 
> 
> wow! this sounds like a good building block for what i am doing.
> 
> i am building a standalone/headless player that just uses buttons to select 
> tags, and flip through the tags..
> 
> having a web client would be good in that you could edit the radio station 
> lists through the client via wifi..
> 
>> I wrote it for fun and for my own usage, but it works pretty well, I use it 
>> every day as an alternative to volumio.org (see my side project web shop 
>> http://audio359.eu). I did not (yet) publish it, because I do not want to 
>> support it as I do with my other open source projects.
>> 
>> Interested ?
> 
> yes! the only catch is, i’d like to open source the whole thing.. and maybe 
> start a few pharo based open source projects for raspberry pi..
> 
> if you would be willing to open source it, i would be willing to help you 
> support it..
> 
> i think pharo is a natural fit with raspberry pi.. and if we can get some 
> hands on, it would be a killer ..
> 
> thanks!
> 
> 
> 
> peace,
> sergio
> photographer, journalist, visionary
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> http://www.Village-Buzz.com
> http://www.ThoseOptimizeGuys.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> 




[Pharo-users] Glorp / SQLite3 issue

2016-06-08 Thread Alistair Grant
Hi All,

I'm working my way through some of the examples in
PharoInProgress/Glorp.  Adapting Pierce's code from his announcement:


| workingDir dbName login session |

workingDir := SmalltalkImage current imagePath asFileReference parent 
fullName
, FileSystem disk delimiter asString.
dbName := 'glorpbook.db'.
login := Login new
database: UDBCSQLite3Platform new;
host: workingDir;
port: '';
username: '';
password: '';
databaseName: dbName;
yourself.
PharoDatabaseAccessor DefaultDriver: GlorpSQLite3Driver.
session := GlorpBookDescriptorSystem sessionForLogin: login.
session createTables.

However this fails with:

MessageNotUnderstood: receiver of "basicExecuteSQLString:" is nil

If I add a breakpoint in GlorpSession>>accessor: manually execute:

accessor login

and then proceed, everything works fine.

Given that Glorp has been around for so long, I guess that this is more
likely an issue with the new UDBC driver, however I don't yet understand
the architecture well enough to propose a fix.

Any suggestions?


Thanks!
Alistair



[Pharo-users] Enterprise Pharo ePub: The Second Pass

2016-06-08 Thread Thibault ARLOING
Hi,


I reworked the Enterprise Pharo book as ePub taking into account feedbacks of 
the pass on first version.

So, now the navigation menu is more developed and I added a cover for the book.


It would be great to have new feedbacks on this version

If some of you have electronic readers, it would be good to test the book on it 
too


You can download the ePub 
here


Thanks,

Thibault


Re: [Pharo-users] GUI Applications

2016-06-08 Thread stepharo



Le 6/6/16 à 22:01, sergio ruiz a écrit :

yes, but i kind of want to avoid the web.. i just want something that works 
natively without the headaches of browser incompatibility. I also want an app 
to feel snappy and able to make OS calls..

me too :)





On Jun 6, 2016, at 3:51 PM, Alexandre Bergel  wrote:

Hi Sergio,

You are very right. Pharo offers several GUI framework, including Spec, Glamour.
Check for Deep Into Pharo, a book which talk about theses.

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




On Jun 6, 2016, at 2:56 PM, sergio ruiz  wrote:

It would seem to me that in order for an ecosystem to really take hold on the 
part of the users, it’s really important that it’s efficient and easy to create 
a GUI based application.

Can anyone comment on the current state of libraries for creating and 
distributing GUI applications?

Thanks!


peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101




peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101






Re: [Pharo-users] GUI Applications

2016-06-08 Thread stepharo

I agree with you

this is why we worked on

building Spec (still working on a new tutorial)

cleaning morphic

helping people to rethink the core graphics and all the stack


Stef


Le 6/6/16 à 20:56, sergio ruiz a écrit :

It would seem to me that in order for an ecosystem to really take hold on the 
part of the users, it’s really important that it’s efficient and easy to create 
a GUI based application.

Can anyone comment on the current state of libraries for creating and 
distributing GUI applications?

Thanks!


peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101