Re: [Pharo-users] Minimal delay in Pharo...

2015-06-11 Thread Thierry Goubier
Le 12/06/2015 04:08, Ben Coman a écrit : On Fri, Jun 12, 2015 at 1:00 AM, Thierry Goubier wrote: Hi all, anybody knows if, when doing something like: (Delay forMilliseconds: n) wait It is possible for the Delay to return immediately if n is small enough or do we have a guaranteed behavior of

Re: [Pharo-users] Minimal delay in Pharo...

2015-06-11 Thread Ben Coman
On Fri, Jun 12, 2015 at 1:00 AM, Thierry Goubier wrote: > Hi all, > > anybody knows if, when doing something like: > > (Delay forMilliseconds: n) wait > > It is possible for the Delay to return immediately if n is small enough or > do we have a guaranteed behavior of at least a 'yield' equivalent?

Re: [Pharo-users] Monticello / OS deadlock ?

2015-06-11 Thread Thierry Goubier
Hi Jose, I have pushed a new version of GitFileTree (the development version for Pharo4) with a complete rewrite of the underlying OSProcess use. Could you test to see if it solves your deadlocks? It should also be a tad faster. Regards, Thierry Le 03/06/2015 17:03, Jose San Leandro a écri

Re: [Pharo-users] Styling UI using Spec

2015-06-11 Thread Nicolai Hess
2015-06-11 13:23 GMT+02:00 Jigyasa Grover : > Hi > > I am using Spec to build the UI for an application. > It would be great if anyone could help me put up nice background and images > (just like we can do in Morphs). > I think spec does not support this. It could work (see example) but sadly the

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Johan Brichau
Hi all, Sven, I think what many people need is to have a ZnClient subclass that follows the ‘better safe than sorry’ approach. In this way, there is an easy escape when someone bumps into a server that is not strictly implementing the standard. We bumped into this too with the + character when

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Johan Brichau
Hi, first off, I found this article a good read on the topic: http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding > One thing which has not been looked at in this di

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread PBKResearch
Sven One thing which has not been looked at in this discussion is why Jimmie's first attempt to solve the problem failed. He replaced every comma in the query by its percent encoding, '%2C'. This failed because ZnClient replaced this by '%252C', i.e. it percent encoded the percent sign. In my f

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Jimmie Houchin
On 06/11/2015 09:48 AM, Sven Van Caekenberghe wrote: Here is one older discussion that let to Zn going away from the better safe than sorry approach to encoding: http://forum.world.st/Zinc-How-to-use-the-character-in-an-URL-td4716386.html#a4716459 You have to read it up to the end. On 11 J

[Pharo-users] Minimal delay in Pharo...

2015-06-11 Thread Thierry Goubier
Hi all, anybody knows if, when doing something like: (Delay forMilliseconds: n) wait It is possible for the Delay to return immediately if n is small enough or do we have a guaranteed behavior of at least a 'yield' equivalent? I'm looking into active polling for parallel stuff and I noticed

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Norbert Hartl
> Am 11.06.2015 um 16:51 schrieb PBKResearch : > > Norbert > > Apology accepted – I had never heard this term before. However, having read > the Wikipedia article Henry mentioned, I do not think it applies to what I > had done. If Sven accepts the argument that commas should always be encoded

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-11 Thread Tudor Girba
Hi Paul, Let's take it from the beginning. Spotter is a completely new tool whose goal is to help you find all sorts of objects. See here some more detailed explanations: http://www.humane-assessment.com/blog/introducing-gtspotter/ http://www.humane-assessment.com/blog/boosting-gtspotter-with-prev

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-11 Thread Tudor Girba
Hi, On Wed, Jun 10, 2015 at 8:36 PM, Trygve Reenskaug wrote: > Stef, > Why be sorry? It's great that you have a stable kernel in Pharo. Where do > I find the definition of the Pharo public API? > That is an interesting request coming from someone that > In which way is the Pharo technology

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-11 Thread Stephan Eggermont
On 10/06/15 20:36, Trygve Reenskaug wrote: In which way is the Pharo technology that underlies Moose more complex than BabyIDE? Porting BabyIDE from Squeak 3.10 to 4.5 was hard because it extends the Squeak Parser and debugger and that this is unknown territory to me. There remains, of course, m

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread PBKResearch
Norbert Apology accepted – I had never heard this term before. However, having read the Wikipedia article Henry mentioned, I do not think it applies to what I had done. If Sven accepts the argument that commas should always be encoded in query lines – and I can see a strong argument for that

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Sven Van Caekenberghe
Here is one older discussion that let to Zn going away from the better safe than sorry approach to encoding: http://forum.world.st/Zinc-How-to-use-the-character-in-an-URL-td4716386.html#a4716459 You have to read it up to the end. > On 11 Jun 2015, at 16:19, Jimmie Houchin wrote: > > This is e

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Sven Van Caekenberghe
> On 11 Jun 2015, at 08:35, Sven Van Caekenberghe wrote: > > @everybody > > The key method that defines how the query part of a URL is percent encoded is > ZnMetaResourceUtils class>>#querySafeSet > > Years ago, Zinc HTTP Components followed the better safe than sorry approach > of encoding

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Jimmie Houchin
This is exactly why I expressly state I am not a language lawyer and explicitly do not know what is and is not expressly forbidden or allowed with regards to a comma. You are correct about the Wikipedia article. Is it every wrong or illegal to use a complete safely encoded request? Is it just

[Pharo-users] Styling UI using Spec

2015-06-11 Thread Jigyasa Grover
Hi I am using Spec to build the UI for an application. It would be great if anyone could help me put up nice background and images (just like we can do in Morphs). Thanks Jigyasa PS: Can I put up an image like this ? (It doesnt seem to work) /ImageModel new image: (Form fromFileNamed: F

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Norbert Hartl
No offense meant. I assumed you would know the term. Sorry! Henry explained it quite good what I meant. Norbert > Am 11.06.2015 um 09:51 schrieb PBKResearch : > > I don’t quite understand Norbert’s comment. Does ‘monkey’ apply to me or to > what I have done? Either way, it seems unnecessary an

Re: [Pharo-users] New Tool: Catalog Browser in Pharo 5.0

2015-06-11 Thread Torsten Bergmann
Esteban wrote: > > If you want to contribute just tell Esteban so he can add you to the > > project. > well no… I just made it public access, so anyone can commit changes there… :) > (And I will move it to PharoExtras team soon, that’s the correct place once > integrated in image… but well… time

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread PBKResearch
Sven As I read the code, there are two methods in ZnMetaResourceUtils class which specify percent encoding of queries, #queryKeyValueSafeSet and #querySafeSet. The first is used in encoding the (key, value) pairs, the second in encoding the fragment after the #. It is not clear whether we need

Re: [Pharo-users] New Tool: Catalog Browser in Pharo 5.0

2015-06-11 Thread Esteban Lorenzano
Hi, > On 11 Jun 2015, at 08:55, Torsten Bergmann wrote: > > Hi, > > maybe you already noticed. The latest update for Pharo 5 which is 50103 (see > [1]). > includes a new tool called "Catalog Browser". > > Where to go > === > > You will find it under "Tools" -> "Catalog Browser" and

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-11 Thread Markus Schlager
issues opened Markus

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Henrik Johansen
> On 11 Jun 2015, at 9:51 , PBKResearch wrote: > > I don’t quite understand Norbert’s comment. Does ‘monkey’ apply to me or to > what I have done? Either way, it seems unnecessary and abusive. It's a phrase to describe the change: http://en.wikipedia.org/wiki/Monkey_patch

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread PBKResearch
I don’t quite understand Norbert’s comment. Does ‘monkey’ apply to me or to what I have done? Either way, it seems unnecessary and abusive. Thanks to Sven’s careful use of informative method names, the effect of my change is quite clear. Any comma in the value part of a query line will be e

Re: [Pharo-users] [Pharo-dev] New Tool: Catalog Browser in Pharo 5.0

2015-06-11 Thread Tudor Girba
Really cool! About the spotter integration, it is really nice to be able to search and find new projects like this. Well done. But, there are two things that I would change: - Right now, the processor order is 10. If you search for GTSpotter, you will get the catalog project before the class: [i

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-11 Thread Nicolai Hess
2015-06-11 7:05 GMT+02:00 Paul DeBruicker : > Hi Doru, > > By "the old version of Spotter" I meant whatever was in Pharo 3 that would > produce a list of search results with exact matches at the top when I'd hit > shift+enter and then type e.g. 'accept.' Sorry to have said "Pharo 4" & > been unne

Re: [Pharo-users] ZnClient and percent characters

2015-06-11 Thread Norbert Hartl
I was thinking of a reliable solution. Of course if it only needs to be tested than monkey patching foreign packages is ok. Norbert > Am 11.06.2015 um 01:22 schrieb PBKResearch : > > There is a simpler way than Norbert’s suggestion. Find the class > ZnResourceMetaUtils (in the package Zinc-Re

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-11 Thread Markus Schlager
Hi Johan, On Wed, 10 Jun 2015, Johan Fabry wrote: this is probably not how it should be done, but to get the last keystroke I have been doing the following: World activeHand instVarNamed: #lastKeyScanCode If you find a cleaner way I’d be grateful if you can share it. The solution proposed