Re: [Pharo-users] Fresh downloaded Pharo 2.0 and Pharo 3.0 doesn't run on macos (mavericks)

2013-11-27 Thread vmusulainen
Sven Van Caekenberghe-2 wrote
 I have Allow apps downloaded from: to “Mac App Store and identified
 developers” set permanently. Then you have to manually approve a new
 application launch “Open” by using control/right-click “Open” and then
 confirming that you know what you are doing. Once done, you can next
 double-click like before.

It doesn't work for me. What version OS you have? Mountain Lion or
Mavericks?



--
View this message in context: 
http://forum.world.st/Fresh-downloaded-Pharo-2-0-and-Pharo-3-0-doesn-t-run-on-macos-mavericks-tp4725451p4725525.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Fresh downloaded Pharo 2.0 and Pharo 3.0 doesn't run on macos (mavericks)

2013-11-27 Thread Marcus Denker

On 27 Nov 2013, at 10:46, Sven Van Caekenberghe s...@stfx.eu wrote:

 
 On 27 Nov 2013, at 10:25, vmusulainen vmusulai...@mail.ru wrote:
 
 Sven Van Caekenberghe-2 wrote
 I have Allow apps downloaded from: to “Mac App Store and identified
 developers” set permanently. Then you have to manually approve a new
 application launch “Open” by using control/right-click “Open” and then
 confirming that you know what you are doing. Once done, you can next
 double-click like before.
 
 It doesn't work for me. What version OS you have? Mountain Lion or
 Mavericks?
 
 I am on 10.9 Mavericks

Yes, we need to compile with a certificate… there is already a bug entry for
that (of course).

12089 OS X VM unsigned
https://pharo.fogbugz.com/f/cases/12089

Marcus




[Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Sabine Knöfel
Hi Esteban, all,

I work with mongo daily an it works fine, I am very happy with it.

As you told me, with
VORepository current reset.
I can force re loading all objects from database and resetting the cache
completely.
This is helpful for development eg. after changing the magritte
descriptions.

My question:
Is there a possibility to make a query and tell voyage that THIS query
should be done within the database and NOT within the cached objets? And
that all objects and the child objects from this query are loaded freshly
from database into the cache.

My concrete situation:
I want that if the user logs in, his objects are loaded from database and
NOT from cache. This means the person, his trips etc.

And the question coming along with this:
How long does the cache keeps objects/when are they reseted (except the
VORepository current reset)? 
If I would never take a new image and never make a reset, would all objects
remain in the image (and the database objects wold never be read)? In this
case what about the size of the image?

Regards
Sabine



--
View this message in context: 
http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Fresh downloaded Pharo 2.0 and Pharo 3.0 doesn't run on macos (mavericks)

2013-11-27 Thread Sven Van Caekenberghe

On 27 Nov 2013, at 13:22, vmusulainen vmusulai...@mail.ru wrote:

 Once again - this is not my case.
 
 IN following cases: double click, ctrl+open i get same dialog
 
 http://forum.world.st/file/n472/Screen_Shot_2013-11-27_at_16.14.26.png 
 
 Clicking on the question mark gives the following information:
 
 /The app has been modified, and it’s code does not match the original
 signed code. The app may be broken or corrupted, or it may have been
 tampered with. If you feel that an app has been damaged or tampered with,
 you should delete it by dragging it to the Trash.
 
 Some apps and tools, such as AppleScript applications and some legacy tools,
 modify themselves after signing. These types of apps cannot be opened unless
 the Gatekeeper setting in Security  Privacy preferences is set to
 Anywhere./“

I know which dialog you see, it just doesn’t happen for me.
The question thus is, what are you doing differently ?
Did you take this download http://files.pharo.org/platform/Pharo3.0-mac.zip ?

 --
 View this message in context: 
 http://forum.world.st/Fresh-downloaded-Pharo-2-0-and-Pharo-3-0-doesn-t-run-on-macos-mavericks-tp4725451p472.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 




Re: [Pharo-users] Is there a template engine in Pharo

2013-11-27 Thread Norbert Hartl

Am 27.11.2013 um 13:21 schrieb Damien Cassou damien.cas...@gmail.com:

 Hi,
 
 I'm looking for a template engine for Pharo. What I mean by that is
 the same as Stringformat: but much more powerful.
 
Be my guest

http://norbert.hartl.name/blog/2013/10/03/mustache-templates-for-smalltalk/

Norbert




Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Norbert Hartl

Am 27.11.2013 um 13:20 schrieb Sabine Knöfel sabine.knoe...@gmail.com:

 Hi Esteban, all,
 
 I work with mongo daily an it works fine, I am very happy with it.
 
 As you told me, with
 VORepository current reset.
 I can force re loading all objects from database and resetting the cache
 completely.
 This is helpful for development eg. after changing the magritte
 descriptions.
 
Indeed. You need to flush/reset the repository in order to have new 
descriptions to take effect.

 My question:
 Is there a possibility to make a query and tell voyage that THIS query
 should be done within the database and NOT within the cached objets? And
 that all objects and the child objects from this query are loaded freshly
 from database into the cache.
 
All queries go to the database. The cache is just used at resolve time. And it 
is necessary to have identical objects. Meaning you query the database directly 
and then objects are materialized. If the object is already in the cache the 
cached one is returned. Otherwise you would lose identity because having two 
requests containing the same object as a result would lead to two objects 
instead of one. You could only load trees instead of a graph. 

 My concrete situation:
 I want that if the user logs in, his objects are loaded from database and
 NOT from cache. This means the person, his trips etc.
 
 And the question coming along with this:
 How long does the cache keeps objects/when are they reseted (except the
 VORepository current reset)? 
 If I would never take a new image and never make a reset, would all objects
 remain in the image (and the database objects wold never be read)? In this
 case what about the size of the image?
 
I’m not sure on this one. I think the cache does not clean anything. The thing 
about being able to load a graph I wrote above has also the constraint that all 
loaded objects that are still participating in the active graph need to be in 
the cache. But then the cache is a weak dictionary meaning that all objects 
leaving the active graph are removed from the cache (well at GC time, I think)

Norbert
 
 Regards
 Sabine
 
 
 
 --
 View this message in context: 
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 




Re: [Pharo-users] Is there a template engine in Pharo

2013-11-27 Thread Damien Cassou
On Wed, Nov 27, 2013 at 1:42 PM, Norbert Hartl norb...@hartl.name wrote:
 Be my guest

 http://norbert.hartl.name/blog/2013/10/03/mustache-templates-for-smalltalk/


thank you Norbert, that's really useful.

-- 
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] Mongo cache vs database objects

2013-11-27 Thread Sabine Knöfel
Hi Norbert,

thank you very much for the clarification.

I had to read it several times  but now I understand and I know what to
change in my model for this (something with references to objects which
have been deleted by the user).

Perhaps your answer is also interesting for the documentation of Johan.

Greets
Sabine


On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] 
ml-node+s1294792n4725577...@n4.nabble.com wrote:


 Am 27.11.2013 um 13:20 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725577i=0:


  Hi Esteban, all,
 
  I work with mongo daily an it works fine, I am very happy with it.
 
  As you told me, with
  VORepository current reset.
  I can force re loading all objects from database and resetting the cache
  completely.
  This is helpful for development eg. after changing the magritte
  descriptions.
 
 Indeed. You need to flush/reset the repository in order to have new
 descriptions to take effect.

  My question:
  Is there a possibility to make a query and tell voyage that THIS query
  should be done within the database and NOT within the cached objets? And
  that all objects and the child objects from this query are loaded
 freshly
  from database into the cache.
 
 All queries go to the database. The cache is just used at resolve time.
 And it is necessary to have identical objects. Meaning you query the
 database directly and then objects are materialized. If the object is
 already in the cache the cached one is returned. Otherwise you would lose
 identity because having two requests containing the same object as a result
 would lead to two objects instead of one. You could only load trees instead
 of a graph.

  My concrete situation:
  I want that if the user logs in, his objects are loaded from database
 and
  NOT from cache. This means the person, his trips etc.
 
  And the question coming along with this:
  How long does the cache keeps objects/when are they reseted (except the
  VORepository current reset)?
  If I would never take a new image and never make a reset, would all
 objects
  remain in the image (and the database objects wold never be read)? In
 this
  case what about the size of the image?
 
 I’m not sure on this one. I think the cache does not clean anything. The
 thing about being able to load a graph I wrote above has also the
 constraint that all loaded objects that are still participating in the
 active graph need to be in the cache. But then the cache is a weak
 dictionary meaning that all objects leaving the active graph are removed
 from the cache (well at GC time, I think)

 Norbert

  Regards
  Sabine
 
 
 
  --
  View this message in context:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 




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

 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725577.html
  To start a new topic under Pharo Smalltalk Users, email
 ml-node+s1294792n1310670...@n4.nabble.com
 To unsubscribe from Mongo cache vs database objects, click 
 herehttp://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4725554code=c2FiaW5lLmtub2VmZWxAZ21haWwuY29tfDQ3MjU1NTR8MTA0OTM5MTYx
 .
 NAMLhttp://forum.world.st/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725585.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Norbert Hartl

Am 27.11.2013 um 14:05 schrieb Sabine Knöfel sabine.knoe...@gmail.com:

 Hi Norbert,
 
 thank you very much for the clarification. 
 
 I had to read it several times  but now I understand and I know what to 
 change in my model for this (something with references to objects which have 
 been deleted by the user).
 
Yep, it _is_ a horrible explanation but the only one I can come up in a short 
timeframe :) Making it easily readably and clear would talk some more time.

 Perhaps your answer is also interesting for the documentation of Johan.
 
Uh? I’ve never seen a documentation about Johan. That is a nice idea! I was 
always thinking about how to use him!

Norbert

 Greets
 Sabine
 
 
 On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] [hidden 
 email] wrote:
 
 Am 27.11.2013 um 13:20 schrieb Sabine Knöfel [hidden email]: 
 
  Hi Esteban, all, 
  
  I work with mongo daily an it works fine, I am very happy with it. 
  
  As you told me, with 
  VORepository current reset. 
  I can force re loading all objects from database and resetting the cache 
  completely. 
  This is helpful for development eg. after changing the magritte 
  descriptions. 
 
 Indeed. You need to flush/reset the repository in order to have new 
 descriptions to take effect.
 
  My question: 
  Is there a possibility to make a query and tell voyage that THIS query 
  should be done within the database and NOT within the cached objets? And 
  that all objects and the child objects from this query are loaded freshly 
  from database into the cache. 
  
 All queries go to the database. The cache is just used at resolve time. And 
 it is necessary to have identical objects. Meaning you query the database 
 directly and then objects are materialized. If the object is already in the 
 cache the cached one is returned. Otherwise you would lose identity because 
 having two requests containing the same object as a result would lead to two 
 objects instead of one. You could only load trees instead of a graph. 
 
  My concrete situation: 
  I want that if the user logs in, his objects are loaded from database and 
  NOT from cache. This means the person, his trips etc. 
  
  And the question coming along with this: 
  How long does the cache keeps objects/when are they reseted (except the 
  VORepository current reset)? 
  If I would never take a new image and never make a reset, would all objects 
  remain in the image (and the database objects wold never be read)? In this 
  case what about the size of the image? 
 
 I’m not sure on this one. I think the cache does not clean anything. The 
 thing about being able to load a graph I wrote above has also the constraint 
 that all loaded objects that are still participating in the active graph need 
 to be in the cache. But then the cache is a weak dictionary meaning that all 
 objects leaving the active graph are removed from the cache (well at GC time, 
 I think)
 
 Norbert 
   
  Regards 
  Sabine 
  
  
  
  -- 
  View this message in context: 
  http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. 
  
 
 
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725577.html
 To start a new topic under Pharo Smalltalk Users, email [hidden email] 
 To unsubscribe from Mongo cache vs database objects, click here.
 NAML
 
 
 View this message in context: Re: Mongo cache vs database objects
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Sabine Knöfel
Hi Norbert,

ooh sorry, it was absolutely NOT  my intention to critisize your
explanation I wanted to say it is  complicated for my small brain ;-) I am
very happy about your quick answer which helped me finding a solution for
my problem!!! sorry!

This was the post FROM Johan about the documentation:
http://forum.world.st/Cleaning-up-Voyage-Documentation-td4723834.html

LOL now, after writing the answer I understand the joke ;-) (of Johan, from
johan)

Sabine





On Wed, Nov 27, 2013 at 2:17 PM, Norbert Hartl [via Smalltalk] 
ml-node+s1294792n4725590...@n4.nabble.com wrote:


 Am 27.11.2013 um 14:05 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725590i=0
 :

 Hi Norbert,

 thank you very much for the clarification.

 I had to read it several times  but now I understand and I know what to
 change in my model for this (something with references to objects which
 have been deleted by the user).

 Yep, it _is_ a horrible explanation but the only one I can come up in a
 short timeframe :) Making it easily readably and clear would talk some more
 time.

 Perhaps your answer is also interesting for the documentation of Johan.

 Uh? I’ve never seen a documentation about Johan. That is a nice idea! I
 was always thinking about how to use him!

 Norbert

 Greets
 Sabine


 On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] a
 href=x-msg://256/user/SendEmail.jtp?type=nodeamp;node=4725585amp;i=0
 target=_top rel=nofollow link=external[hidden email] wrote:


 Am 27.11.2013 um 13:20 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725577i=0
 :

  Hi Esteban, all,
 
  I work with mongo daily an it works fine, I am very happy with it.
 
  As you told me, with
  VORepository current reset.
  I can force re loading all objects from database and resetting the cache

  completely.
  This is helpful for development eg. after changing the magritte
  descriptions.
 
 Indeed. You need to flush/reset the repository in order to have new
 descriptions to take effect.

  My question:
  Is there a possibility to make a query and tell voyage that THIS query
  should be done within the database and NOT within the cached objets? And

  that all objects and the child objects from this query are loaded
 freshly
  from database into the cache.
 
 All queries go to the database. The cache is just used at resolve time.
 And it is necessary to have identical objects. Meaning you query the
 database directly and then objects are materialized. If the object is
 already in the cache the cached one is returned. Otherwise you would lose
 identity because having two requests containing the same object as a result
 would lead to two objects instead of one. You could only load trees instead
 of a graph.

  My concrete situation:
  I want that if the user logs in, his objects are loaded from database
 and
  NOT from cache. This means the person, his trips etc.
 
  And the question coming along with this:
  How long does the cache keeps objects/when are they reseted (except the

  VORepository current reset)?
  If I would never take a new image and never make a reset, would all
 objects
  remain in the image (and the database objects wold never be read)? In
 this
  case what about the size of the image?
 
 I’m not sure on this one. I think the cache does not clean anything. The
 thing about being able to load a graph I wrote above has also the
 constraint that all loaded objects that are still participating in the
 active graph need to be in the cache. But then the cache is a weak
 dictionary meaning that all objects leaving the active graph are removed
 from the cache (well at GC time, I think)
 Norbert

  Regards
  Sabine
 
 
 
  --
  View this message in context:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

 




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

 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725577.html
 To start a new topic under Pharo Smalltalk Users, email a
 href=x-msg://256/user/SendEmail.jtp?type=nodeamp;node=4725585amp;i=1
 target=_top rel=nofollow link=external[hidden email]
 To unsubscribe from Mongo cache vs database objects, click here.
 NAMLhttp://forum.world.st/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



 --
 View this message in context: Re: Mongo cache vs database 
 objectshttp://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725585.html

 Sent from the Pharo Smalltalk Users mailing list 
 

Re: [Pharo-users] Is there a template engine in Pharo

2013-11-27 Thread Tudor Girba
Indeed, it is quite nice.

Doru


On Wed, Nov 27, 2013 at 2:03 PM, Damien Cassou damien.cas...@gmail.comwrote:

 On Wed, Nov 27, 2013 at 1:42 PM, Norbert Hartl norb...@hartl.name wrote:
  Be my guest
 
 
 http://norbert.hartl.name/blog/2013/10/03/mustache-templates-for-smalltalk/


 thank you Norbert, that's really useful.

 --
 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


Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Norbert Hartl

Am 27.11.2013 um 14:28 schrieb Sabine Knöfel sabine.knoe...@gmail.com:

 Hi Norbert,
 
 ooh sorry, it was absolutely NOT  my intention to critisize your explanation 
 I wanted to say it is  complicated for my small brain ;-) I am very happy 
 about your quick answer which helped me finding a solution for my problem!!! 
 sorry!
 
No pun taken. In fact _I_ was criticizing my explanation because it sucks :) So 
now let’s stop it because we are germans not canadians. No more sorrys needed.

 This was the post FROM Johan about the documentation:
 http://forum.world.st/Cleaning-up-Voyage-Documentation-td4723834.html
 
 LOL now, after writing the answer I understand the joke ;-) (of Johan, from 
 johan)
 
Ah, the other Johan! It is good to know because I did some changes to MongoTalk 
so I see what I can add.

Norbert

 Sabine
 
 
 
 
 
 On Wed, Nov 27, 2013 at 2:17 PM, Norbert Hartl [via Smalltalk] [hidden 
 email] wrote:
 
 Am 27.11.2013 um 14:05 schrieb Sabine Knöfel [hidden email]:
 
 Hi Norbert,
 
 thank you very much for the clarification. 
 
 I had to read it several times  but now I understand and I know what to 
 change in my model for this (something with references to objects which have 
 been deleted by the user).
 
 Yep, it _is_ a horrible explanation but the only one I can come up in a short 
 timeframe :) Making it easily readably and clear would talk some more time.
 
 Perhaps your answer is also interesting for the documentation of Johan.
 
 Uh? I’ve never seen a documentation about Johan. That is a nice idea! I was 
 always thinking about how to use him!
 
 Norbert
 
 Greets
 Sabine
 
 
 On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] a 
 href=x-msg://256/user/SendEmail.jtp?type=nodeamp;node=4725585amp;i=0 
 target=_top rel=nofollow link=external[hidden email] wrote:
 
 Am 27.11.2013 um 13:20 schrieb Sabine Knöfel [hidden email]: 
 
  Hi Esteban, all, 
  
  I work with mongo daily an it works fine, I am very happy with it. 
  
  As you told me, with 
  VORepository current reset. 
  I can force re loading all objects from database and resetting the cache 
  completely. 
  This is helpful for development eg. after changing the magritte 
  descriptions. 
 
 Indeed. You need to flush/reset the repository in order to have new 
 descriptions to take effect.
 
  My question: 
  Is there a possibility to make a query and tell voyage that THIS query 
  should be done within the database and NOT within the cached objets? And 
  that all objects and the child objects from this query are loaded freshly 
  from database into the cache. 
  
 All queries go to the database. The cache is just used at resolve time. And 
 it is necessary to have identical objects. Meaning you query the database 
 directly and then objects are materialized. If the object is already in the 
 cache the cached one is returned. Otherwise you would lose identity because 
 having two requests containing the same object as a result would lead to two 
 objects instead of one. You could only load trees instead of a graph. 
 
  My concrete situation: 
  I want that if the user logs in, his objects are loaded from database and 
  NOT from cache. This means the person, his trips etc. 
  
  And the question coming along with this: 
  How long does the cache keeps objects/when are they reseted (except the 
  VORepository current reset)? 
  If I would never take a new image and never make a reset, would all 
  objects 
  remain in the image (and the database objects wold never be read)? In this 
  case what about the size of the image? 
 
 I’m not sure on this one. I think the cache does not clean anything. The 
 thing about being able to load a graph I wrote above has also the constraint 
 that all loaded objects that are still participating in the active graph 
 need to be in the cache. But then the cache is a weak dictionary meaning 
 that all objects leaving the active graph are removed from the cache (well 
 at GC time, I think)
 Norbert 
   
  Regards 
  Sabine 
  
  
  
  -- 
  View this message in context: 
  http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
  Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. 
  
 
 
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725577.html
 To start a new topic under Pharo Smalltalk Users, email a 
 href=x-msg://256/user/SendEmail.jtp?type=nodeamp;node=4725585amp;i=1 
 target=_top rel=nofollow link=external[hidden email] 
 To unsubscribe from Mongo cache vs database objects, click here.
 NAML
 
 
 View this message in context: Re: Mongo cache vs database objects
 
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725590.html
 To start a new topic under Pharo 

Re: [Pharo-users] Is there a template engine in Pharo

2013-11-27 Thread Norbert Hartl

Am 27.11.2013 um 14:03 schrieb Damien Cassou damien.cas...@gmail.com:

 On Wed, Nov 27, 2013 at 1:42 PM, Norbert Hartl norb...@hartl.name wrote:
 Be my guest
 
 http://norbert.hartl.name/blog/2013/10/03/mustache-templates-for-smalltalk/
 
 
 thank you Norbert, that's really useful.
 
I would be glad if you would use it. If the additional emitted whitespaces are 
annoying to you drop me a note. I now postpone the implementation of the 
whitespace for too long anyway.

Norbert 




Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Sabine Knöfel
ok:-)

btw and ot:
http://adam-fletcher.co.uk/howtobegerman/
recommend!


On Wed, Nov 27, 2013 at 2:49 PM, Norbert Hartl [via Smalltalk] 
ml-node+s1294792n4725604...@n4.nabble.com wrote:


 Am 27.11.2013 um 14:28 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725604i=0
 :

  Hi Norbert,

 ooh sorry, it was absolutely NOT  my intention to critisize your
 explanation I wanted to say it is  complicated for my small brain ;-) I am
 very happy about your quick answer which helped me finding a solution for
 my problem!!! sorry!

 No pun taken. In fact _I_ was criticizing my explanation because it sucks
 :) So now let’s stop it because we are germans not canadians. No more
 sorrys needed.

 This was the post FROM Johan about the documentation:
 http://forum.world.st/Cleaning-up-Voyage-Documentation-td4723834.html

 LOL now, after writing the answer I understand the joke ;-) (of Johan,
 from johan)

 Ah, the other Johan! It is good to know because I did some changes to
 MongoTalk so I see what I can add.

 Norbert

 Sabine





 On Wed, Nov 27, 2013 at 2:17 PM, Norbert Hartl [via Smalltalk] a
 href=x-msg://257/user/SendEmail.jtp?type=nodeamp;node=4725597amp;i=0
 target=_top rel=nofollow link=external[hidden email] wrote:


 Am 27.11.2013 um 14:05 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725590i=0
 :

 Hi Norbert,

 thank you very much for the clarification.

 I had to read it several times  but now I understand and I know what to
 change in my model for this (something with references to objects which
 have been deleted by the user).

 Yep, it _is_ a horrible explanation but the only one I can come up in a
 short timeframe :) Making it easily readably and clear would talk some more
 time.

  Perhaps your answer is also interesting for the documentation of Johan.

 Uh? I’ve never seen a documentation about Johan. That is a nice idea! I
 was always thinking about how to use him!

 Norbert

 Greets
 Sabine


 On Wed, Nov 27, 2013 at 1:44 PM, Norbert Hartl [via Smalltalk] a
 href=a
 href=x-msg://256/user/SendEmail.jtp?type=nodeamp;amp;node=4725585amp;amp;i=0x-msg://256/user/SendEmail.jtp?type=nodeamp;node=4725585amp;i=0
 target=_top rel=nofollow link=external[hidden email] wrote:


 Am 27.11.2013 um 13:20 schrieb Sabine Knöfel [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4725577i=0
 :

  Hi Esteban, all,
 
  I work with mongo daily an it works fine, I am very happy with it.
 
  As you told me, with
  VORepository current reset.
  I can force re loading all objects from database and resetting the
 cache
  completely.
  This is helpful for development eg. after changing the magritte
  descriptions.
 
 Indeed. You need to flush/reset the repository in order to have new
 descriptions to take effect.

  My question:
  Is there a possibility to make a query and tell voyage that THIS query

  should be done within the database and NOT within the cached objets?
 And
  that all objects and the child objects from this query are loaded
 freshly
  from database into the cache.
 
 All queries go to the database. The cache is just used at resolve time.
 And it is necessary to have identical objects. Meaning you query the
 database directly and then objects are materialized. If the object is
 already in the cache the cached one is returned. Otherwise you would lose
 identity because having two requests containing the same object as a result
 would lead to two objects instead of one. You could only load trees instead
 of a graph.

  My concrete situation:
  I want that if the user logs in, his objects are loaded from database
 and
  NOT from cache. This means the person, his trips etc.
 
  And the question coming along with this:
  How long does the cache keeps objects/when are they reseted (except the

  VORepository current reset)?
  If I would never take a new image and never make a reset, would all
 objects
  remain in the image (and the database objects wold never be read)? In
 this
  case what about the size of the image?
 
 I’m not sure on this one. I think the cache does not clean anything. The
 thing about being able to load a graph I wrote above has also the
 constraint that all loaded objects that are still participating in the
 active graph need to be in the cache. But then the cache is a weak
 dictionary meaning that all objects leaving the active graph are removed
 from the cache (well at GC time, I think)
 Norbert

  Regards
  Sabine
 
 
 
  --
  View this message in context:
 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554.html
  Sent from the Pharo Smalltalk Users mailing list archive at 
  Nabble.comhttp://nabble.com/
 .
 




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

 http://forum.world.st/Mongo-cache-vs-database-objects-tp4725554p4725577.html
  To start a new topic under Pharo Smalltalk Users, email a href=a
 

Re: [Pharo-users] Fresh downloaded Pharo 2.0 and Pharo 3.0 doesn't run on macos (mavericks)

2013-11-27 Thread vmusulainen
Yes, I tried again with pharo 2.0 and pharo 3.0 a hour ago with same result.

I solved problem changed Security  Privacy preferences“ and it is not
actual for me right now.
But it's interesting in the general case



--
View this message in context: 
http://forum.world.st/Fresh-downloaded-Pharo-2-0-and-Pharo-3-0-doesn-t-run-on-macos-mavericks-tp4725451p4725608.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Johan Fabry

On Nov 27, 2013, at 10:16 AM, Norbert Hartl norb...@hartl.name wrote:

 Perhaps your answer is also interesting for the documentation of Johan.
 
 Uh? I’ve never seen a documentation about Johan. That is a nice idea! I was 
 always thinking about how to use him!

How to use me is easy apparently, just ask my wife how she does it :-P

Otherwise you can always pay me with beers ;-)


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

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




Re: [Pharo-users] Mongo cache vs database objects

2013-11-27 Thread Johan Fabry

In general, any comments/observations/additions are welcome of course! Latest 
version of the docs are always online and built by the pharo CI.

On Nov 27, 2013, at 10:48 AM, Norbert Hartl norb...@hartl.name wrote:

 Ah, the other Johan! It is good to know because I did some changes to 
 MongoTalk so I see what I can add.
 
 Norbert



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

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




[Pharo-users] may I be added to PharoExtras?

2013-11-27 Thread Paul DeBruicker
Hi - 


I'd like to get XMLParser working in Pharo 1.4.   The recent updates broke it 
because FileSystem class#workingDirectory does not exist.



I also have another ConfigurationOfJSON and I think Postmark to upload.  


Thanks

Paul


Re: [Pharo-users] may I be added to PharoExtras?

2013-11-27 Thread Paul DeBruicker
Stéphane Ducasse wrote
 Hi paul
 
 
 I'd like to get XMLParser working in Pharo 1.4.   The recent updates
 broke it because FileSystem class#workingDirectory does not exist.
 
 why don't you use an old version?
 


Thats the plan.  In the new configs the #stable version was raised for all
platforms.   I'll just specify the version 1.2 as #stable for pharo1.x and
it should work fine.  



--
View this message in context: 
http://forum.world.st/may-I-be-added-to-PharoExtras-tp4725654p4725720.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] may I be added to PharoExtras?

2013-11-27 Thread Stéphane Ducasse
ok good then

On Nov 27, 2013, at 9:49 PM, Paul DeBruicker pdebr...@gmail.com wrote:

 Stéphane Ducasse wrote
 Hi paul
 
 
 I'd like to get XMLParser working in Pharo 1.4.   The recent updates
 broke it because FileSystem class#workingDirectory does not exist.
 
 why don't you use an old version?
 
 
 
 Thats the plan.  In the new configs the #stable version was raised for all
 platforms.   I'll just specify the version 1.2 as #stable for pharo1.x and
 it should work fine.  
 
 
 
 --
 View this message in context: 
 http://forum.world.st/may-I-be-added-to-PharoExtras-tp4725654p4725720.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 




Re: [Pharo-users] Is there a template engine in Pharo

2013-11-27 Thread Esteban A. Maringolo
Did you try to build JSON responses with this templating solution?

Regards!

Esteban A. Maringolo


2013/11/27 Norbert Hartl norb...@hartl.name


 Am 27.11.2013 um 14:03 schrieb Damien Cassou damien.cas...@gmail.com:

  On Wed, Nov 27, 2013 at 1:42 PM, Norbert Hartl norb...@hartl.name
 wrote:
  Be my guest
 
 
 http://norbert.hartl.name/blog/2013/10/03/mustache-templates-for-smalltalk/
 
 
  thank you Norbert, that's really useful.
 
 I would be glad if you would use it. If the additional emitted whitespaces
 are annoying to you drop me a note. I now postpone the implementation of
 the whitespace for too long anyway.

 Norbert