Re: [Pharo-users] VoyageMongo and Aggregate functions

2015-05-01 Thread Tommaso Dal Sasso
On 29/04/15 19:10, p...@highoctane.be wrote: > Doable in MongoTalk. > > I posted an example a while ago. > OK, it took me a while, but it works. Thanks! Tommaso > Phil > > Le 29 avr. 2015 18:09, "Tommaso Dal Sasso" > a écrit : > > Hi, > > I am u

[Pharo-users] inverting colors of athens(cairo)canvas

2015-05-01 Thread Peter Uhnák
Is it possible to invert the colors of a Athens Canvas? After some digging I found paintMode and paintTransform; however the former doesn't support such method (maybe some combination of xor and over?); and the former is only for some specific colors. I also tried changing Color>>asAthensPaintOn:

Re: [Pharo-users] [ANN] Screencast on Versionner (Part 2)

2015-05-01 Thread Esteban Lorenzano
> On 01 May 2015, at 02:14, Mariano Martinez Peck wrote: > > Esteban, > > Imagine I do have already the ConfigurationOfMyApp (with everything already > setup). I want to commit multiple packages together. By that I mean: > > 1) Wanna see a "Changes" from all dirty packages of my Configuratio

[Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread volkert
Dear all, i am trying to get a JSON Document with ZnEasy. The Document is UTF-8 encoded. (ZnEasy get: 'http:///api/atm/801813') entity string. Any hints? Volkert

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Esteban Lorenzano
I used to think like you (same names think alike ;) ) But Doru and Andrei convinced me that this way is better: 1) you actually have a save of everything you do in your Playground in play-cache subdirectory. You can even change the place your play-cache is, then you can share scripts between yo

Re: [Pharo-users] Question about Text Editor.

2015-05-01 Thread Esteban Lorenzano
> On 01 May 2015, at 02:57, Pierce Ng wrote: > > On Wed, Apr 29, 2015 at 06:04:49PM -0300, Mariano Martinez Peck wrote: >> Not a text editor, but there was a ScriptManager that was kind of a >> worksapce with ability to give scripts a name, save them, and then easily >> browse and execute them.

Re: [Pharo-users] [ANN] Screencast on Versionner (Part 2)

2015-05-01 Thread Esteban Lorenzano
> On 01 May 2015, at 03:10, Sean P. DeNigris wrote: > > EstebanLM wrote >> provide feedback and enhancement requests > > Now that our fogbugz issues can specify configs, often they need to be > copied to the inbox to be picked up by the monkey. That would be a nice > option. not *often* but al

Re: [Pharo-users] Package comments

2015-05-01 Thread Esteban Lorenzano
> On 01 May 2015, at 03:27, Sean P. DeNigris wrote: > > EstebanLM wrote >> now we also have the concept of “Package Manifest” where you can put >> comments and other stuff. > > Why does RPackage>>#packageManifest (which should just be named #manifest) > return an instance of the manifest class,

Re: [Pharo-users] Woden-Roassal 3d object rotations

2015-05-01 Thread stepharo
Le 27/4/15 09:36, Ronie Salgado a écrit : Hello Mr. Lusa, Sorry for not answering earlier, I added the missing support for the rotations by adding some methods that changes the internal scene node orientation. I also did a small refactoring in the support for orientation, because I received

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Sven Van Caekenberghe
Hi Volkert, Tip 1: use ZnClient and inspect the response in detail, more specifically to see whether the response content type specifies the encoding. ZnClient new get: 'http:///api/atm/801813'; yourself. Tip 2: you could try to force override the default encoding using ZnDefaultCharacterEnc

Re: [Pharo-users] Fuel version

2015-05-01 Thread Johannes Rasche Kreuzberg
Max, well the ConfigurationOfFuel in Pharo 3 does not know Fuel 1.9.4 and in Pharo 4 there is no ConfigurationOfFuel neither in the image (ConfigBrowser) nor on http://smalltalkhub.mc/Pharo/MetaRepoForPharo40/main what's up? do I oversee somthing relevant ? Johannes

Re: [Pharo-users] Package comments

2015-05-01 Thread Yuriy Tymchuk
One question, is someone working this kind of metadata management? Because 1) instead of keeping it in the class, we can keep it in objects. 2) It can be serialized into STON for git versioning and probably it can be stored in some way in Monticello Uko > On 01 May 2015, at 12:07, Esteban Lorenz

Re: [Pharo-users] Package comments

2015-05-01 Thread Marcus Denker
> On 01 May 2015, at 12:45, Yuriy Tymchuk wrote: > > One question, is someone working this kind of metadata management? Because > 1) instead of keeping it in the class, we can keep it in objects. > 2) It can be serialized into STON for git versioning and probably it can be > stored in some way

Re: [Pharo-users] Reading rows in a database table (select * from ...)

2015-05-01 Thread Sanjay Minni
Thanks Pierce - I go the drift of the loop but have actually tried it out with the odbc<->sqlite driver however in your notes below you mentioned that you used a dump of large size. My question is when faced with such large row sets how do you limit the size of data read in the select statement .

Re: [Pharo-users] RPackage extension methods using normal protocol names

2015-05-01 Thread Stephan Eggermont
On 30/04/15 17:57, Ben Coman wrote: On Thu, Apr 30, 2015 at 11:18 PM, Stephan Eggermont mailto:step...@stack.nl>> wrote: Just add a conversion mapping class to the package To be run manually after the package is loaded in each platform ? Well, there is more that needs translation than th

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread volkert
I tried ZnClient new get: 'http:///api/atm/801813'; yourself and got. This is the Doc i see in Firefox. The JSON is served with ZnServer / Teapot. ;-) Volkert Am 01.05.2015 um 12:21 schrieb Sven Van Caekenberghe: Hi Volkert, Tip 1: use ZnClient and inspect the response in detail, more

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Norbert Hartl
You need to look at the headers of the request. I would assume the sender sets an Content-Type: application/json without charset. In that moment it is uncertain what has to be done because the server needs to assume what charset it might be and this tasks seldomly works out good. In order to mak

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread volkert
I thought UTF-8 is the default encoding in case JSON Documents, and so for the Content-Type: application/json. I added "setCharSetUTF8" this Teapot-Output and all works fine now. :-) Danke, Volkert Am 01.05.2015 um 14:20 schrieb Norbert Hartl: You need to look at the headers of the request. I

[Pharo-users] Small workshop/hackathon today and tomorrow about Pharo and Agile Visualization.

2015-05-01 Thread Offray Vladimir Luna Cárdenas
Hi all, Today and tomorrow, a small group of persons will be doing a workshop/hackathon about Pharo and Agile Visualization at our local hackerspace. Details on the event are on: http://hackbo.co/hackboweb/eventos/evento/375 I will be sharing teaching materials, first impressions and questio

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Sven Van Caekenberghe
> On 01 May 2015, at 15:15, volkert wrote: > > I thought UTF-8 is the default encoding in case JSON Documents, and so for > the Content-Type: application/json. > > I added "setCharSetUTF8" this Teapot-Output and all works fine now. :-) Fine, but I still think this is strange, it should work b

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread Norbert Hartl
> Am 01.05.2015 um 15:15 schrieb volkert : > > I thought UTF-8 is the default encoding in case JSON Documents, and so for > the Content-Type: application/json. > > I added "setCharSetUTF8" this Teapot-Output and all works fine now. :-) > The combination assumption-character encoding is never a

Re: [Pharo-users] ZnEasy / UTF-8

2015-05-01 Thread volkert
Here a stripped down example d := { 'bank' -> 'Région Genève Rhône'. } asDictionary. teapot := Teapot configure: { #defaultOutput -> #json. #port -> 8081. #debugMode -> true }. teapot GET: '/api/d' -> d; exception: KeyNotFound -> (TeaResponse notFound body: 'asd'); st

Re: [Pharo-users] Small workshop/hackathon today and tomorrow about Pharo and Agile Visualization.

2015-05-01 Thread Sean P. DeNigris
Offray wrote > a workshop/hackathon about Pharo and Agile Visualization > ... > I will be sharing teaching materials, first impressions and questions > with you about the experience, while is happening and after that. Great! Can't wait to hear... - Cheers, Sean -- View this message in cont

Re: [Pharo-users] STON distributed control version and long lines (it was Re: Citizen example for manipulating a bibtex file)

2015-05-01 Thread Offray Vladimir Luna Cárdenas
Thanks Sven. Is working. I will keep you posted. Cheers, Offray El 27/04/15 a las 14:10, Sven Van Caekenberghe escribió: A package is not a configuration, try: Gofer new smalltalkhubUser: 'SvenVanCaekenberghe' project: 'STON'; configurationOf: 'Ston'; loadBleedingEdge. On 27 Apr 20

Re: [Pharo-users] builder pattern

2015-05-01 Thread Peter Uhnák
Somehow I missed your response -_- the first example is based on what is used in MenuModel ~ ApplicationWithToolbar>>initialize menu := MenuModel new addGroup: [ :group | group addItem: [ :item | item name: 'File'; icon: Smalltalk ui icons openIcon;

Re: [Pharo-users] inverting colors of athens(cairo)canvas

2015-05-01 Thread Werner Kassens
Hi Peter, at the morphic level you might eventually look at ColorMappingCanvas and make a subclass. werner

Re: [Pharo-users] Question about Text Editor.

2015-05-01 Thread Cyril Ferlicot
Thank you for your answers, i'll take a look ;) On 1 May 2015 at 11:59, Esteban Lorenzano wrote: > >> On 01 May 2015, at 02:57, Pierce Ng wrote: >> >> On Wed, Apr 29, 2015 at 06:04:49PM -0300, Mariano Martinez Peck wrote: >>> Not a text editor, but there was a ScriptManager that was kind of a >>

Re: [Pharo-users] When to use Versionner and when to use Monticello

2015-05-01 Thread Cyril Ferlicot
Everything you can do with a versionner, you can do it by writing a ConfigurationOfX package and with Monticiello. Versionner is just an easy way to do configurations. You can easily manage packages dependencies. I know that you can't do some things with Versionner (for example you have to write th

Re: [Pharo-users] [Moose-dev] Small workshop/hackathon today and tomorrow about Pharo and Agile Visualization.

2015-05-01 Thread Alexandre Bergel
Excellente!! Let us know how we can help Alexandre > Le 1 mai 2015 à 10:29, Offray Vladimir Luna Cárdenas a > écrit : > > Hi all, > > Today and tomorrow, a small group of persons will be doing a > workshop/hackathon about Pharo and Agile Visualization at our local > hackerspace. Details

[Pharo-users] Next Pharo sprint & Moose dojo

2015-05-01 Thread Jean-Christophe Bach
Hello Pharoers, We propose a Pharo sprint / Moose dojo on Friday, 22nd May, starting at 10:00am. (Local Time Lille). It will be at the Inria Lille, Building B, third floor (RMoD offices). Remotely, you can join us on the official IRC channel #pharo on irc.freenode.net server. During the sprint,

Re: [Pharo-users] inverting colors of athens(cairo)canvas

2015-05-01 Thread Nicolai Hess
2015-05-01 17:50 GMT+02:00 Werner Kassens : > Hi Peter, > at the morphic level you might eventually look at ColorMappingCanvas and > make a subclass. > werner > > > Inverting the color of a form: Display reverse:(0@0 extent:600@300). Inverting colors of an athens drawing: Paint a white rectangl

Re: [Pharo-users] When to use Versionner and when to use Monticello

2015-05-01 Thread Sean P. DeNigris
Sergio Fedi wrote > When do we use Versionner and when do we use Monticello? Simple answer: Monticello is our SCM system that groups code into packages. Metacello is a package management system that declares dependencies between those packages in configuration classes. Versionner is a GUI for Meta

Re: [Pharo-users] inverting colors of athens(cairo)canvas

2015-05-01 Thread Peter Uhnák
Thanks Nicolai! I should've tried all the paint modes before asking. -_- Peter On Fri, May 1, 2015 at 8:32 PM, Nicolai Hess wrote: > > > 2015-05-01 17:50 GMT+02:00 Werner Kassens : > >> Hi Peter, >> at the morphic level you might eventually look at ColorMappingCanvas and >> make a subclass. >>

[Pharo-users] accessing themed colors from morph

2015-05-01 Thread Peter Uhnák
Hi, how is set the background color of a morph? I could access directly "Smalltalk ui theme backgroundColor" from within the Morph, but I don't see anywhere that something is using themed colors this way. So I assume there is some other way; what am I missing? Note that I don't want to use the c

Re: [Pharo-users] accessing themed colors from morph

2015-05-01 Thread Nicolai Hess
2015-05-01 22:22 GMT+02:00 Peter Uhnák : > Hi, > > how is set the background color of a morph? > A morph has the fillStyle/color attribute, but this does not mean it uses this color for its drawing method. (for example ActiveHand color -> Color blue, and the hand/cursor is not blue). > > I coul

[Pharo-users] GTInspector: editable custom presentation?

2015-05-01 Thread Johan Fabry
Hi all, I’m trying to make a custom GT Inspector presentation for a variable store (i.e. something like a dictionary). The code I have right now shows me the data I want: gtInspectorDetailsIn: composite composite table title: 'Details'; display:

Re: [Pharo-users] accessing themed colors from morph

2015-05-01 Thread Peter Uhnák
Thank's for the pointers. It seems to me that they access it via 'self theme'; in any case my problem is, for the moment, solved. Thanks, Peter On Fri, May 1, 2015 at 11:11 PM, Nicolai Hess wrote: > > > 2015-05-01 22:22 GMT+02:00 Peter Uhnák : > >> Hi, >> >> how is set the background color of a

Re: [Pharo-users] GTInspector: editable custom presentation?

2015-05-01 Thread Andrei Chis
Use #column:evaluated:modified: Regarding documentation, if you inspect the class GTInspector you will get a presentation showing all custom presentation from the image. Cheers, Andrei On Fri, May 1, 2015 at 11:43 PM, Johan Fabry wrote: > Hi all, > > I’m trying to make a custom GT Inspector pr

Re: [Pharo-users] Aio Plugin error

2015-05-01 Thread Davorin Rusevljan
On Fri, May 1, 2015 at 11:54 PM, Demian Schkolnik wrote: > Hi all! > I get this strange error when executing some tests. What is it? I think It > has something to do with OSProcess. I will be happy to give more > information if needed. > Thanks! > It tells you that you do not have AIO plugin d

Re: [Pharo-users] Aio Plugin error

2015-05-01 Thread Demian Schkolnik
Thank you phil & Davorin. I'll try using a newer VM and see how that works. El vie., 1 de may. de 2015 a la(s) 6:29 p. m., Davorin Rusevljan < davorin.rusevl...@gmail.com> escribió: > On Fri, May 1, 2015 at 11:54 PM, Demian Schkolnik < > demianschkol...@gmail.com> wrote: > >> Hi all! >> I get thi

Re: [Pharo-users] GTInspector: editable custom presentation?

2015-05-01 Thread Johan Fabry
> On May 1, 2015, at 18:59, Andrei Chis wrote: > > Use #column:evaluated:modified: Cool that works, thanks a lot! BTW, in the Pharo4 image, this method is in the ‘as yet unclassified’ protocol. > Regarding documentation, if you inspect the class GTInspector you will get a > presentation show

Re: [Pharo-users] GTInspector: editable custom presentation?

2015-05-01 Thread Andrei Chis
On May 2, 2015 12:57 AM, "Johan Fabry" wrote: > > >> On May 1, 2015, at 18:59, Andrei Chis wrote: >> >> Use #column:evaluated:modified: > > > Cool that works, thanks a lot! > > BTW, in the Pharo4 image, this method is in the ‘as yet unclassified’ protocol. I saw that now. Will be fixed. > >> Re

Re: [Pharo-users] When to use Versionner and when to use Monticello

2015-05-01 Thread Sergio Fedi
Great, thanks for the answers. They made it way more clear. ​

Re: [Pharo-users] [Moose-dev] Re: Small workshop/hackathon today and tomorrow about Pharo and Agile Visualization.

2015-05-01 Thread Offray Vladimir Luna Cárdenas
Hi, It was a pretty good event. It went something like this: a. We starting by presenting ourselves and our motivations to be in the workshop/hackathon. We have people from IT technical support, political sciences, sociology, design and myself. b. Then we see the short video [1] "How the Int

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Sergio Fedi
Couple of questions: 1 - Since this start at 5 am (Buenos Aires Time, GMT -3) until what hour is the sprint? 2 - Is this event appropiate/useful for newbies to Pharo?

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Cyril Ferlicot
Hi Sergio. You can stop when you want! Usually that's around 17h-18h French time so 12-13h (0-1h pm) your time. During the sprint we usually take a bug entry on fogbugz and we try to correct it, so yes, a newbie can help if you take a decent bug. For my first sprint I knew almost nothing on smallt

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Sergio Fedi
I may be joining remotely. What applications do I need to do that? Skype? Teamviewer? ​

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Cyril Ferlicot
As JC said, you can use IRC with the #pharo channel on irc.freenode.net On 2 May 2015 at 03:47, Sergio Fedi wrote: > I may be joining remotely. > > What applications do I need to do that? > > Skype? Teamviewer? > -- Cheers Cyril Ferlicot

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Sergio Fedi
​Roger that, thanks!

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Cyril Ferlicot
By the way, the #pharo channel is not only for sprint, you can pass whenever you want On 2 May 2015 at 03:50, Cyril Ferlicot wrote: > As JC said, you can use IRC with the #pharo channel on irc.freenode.net > > On 2 May 2015 at 03:47, Sergio Fedi wrote: >> I may be joining remotely. >> >> What ap

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sergio Fedi
As a new user of Pharo, I can say that the use of Playground is not obvious at all (among other tools). Things that should be more clear: Why there's not a Workspace? -> Playground replaces it What usual practices with old Workspaces have been changed/improved on Playground and how What new pract

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sean P. DeNigris
Sergio Fedi wrote > As a new user of Pharo, I can say that the use of Playground is not > obvious > at all (among other tools). > ... > Why there's not a Workspace? I find this intriguing. I would think that Playground would only be confusing to longtime Smalltalkers, not new users who haven't got

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sergio Fedi
Yes, I am a longtime smalltalker (since 2001) but new to Pharo On Fri, May 1, 2015 at 10:53 PM, Sean P. DeNigris wrote: > Sergio Fedi wrote > > As a new user of Pharo, I can say that the use of Playground is not > > obvious > > at all (among other tools). > > ... > > Why there's not a Workspace?

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sergio Fedi
My previous smalltalks are Express, VisualAge and Pharo 1.2 but most of all Dolphin,

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sean P. DeNigris
Sergio Fedi wrote > My previous smalltalks are Express, VisualAge and Pharo 1.2 but most of > all > Dolphin Cool! From that unique perspective, how do you think we can balance prodding users to evolve without confusing users from other Smalltalks? The theory goes that if we just put Workspace back

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sean P. DeNigris
Sean P. DeNigris wrote > If so, what would you write there to explain the situation? And maybe after that snippet we can put the link to http://www.humane-assessment.com/blog/introducing-the-gtplayground/ - Cheers, Sean -- View this message in context: http://forum.world.st/Pharo-4-Playgro

Re: [Pharo-users] Pharo 4 Playground open file menu

2015-05-01 Thread Sergio Fedi
Oh! That link gives a GREAT explanation! Thanks. On the subject of how to show it better, I'm not a graphic designer (although I'm working with one) so I'll ask him for some insights on the matter. For now, he pointed out some issues like lack of consistency on some interfaces and some other det

Re: [Pharo-users] [Pharo-dev] Next Pharo sprint & Moose dojo

2015-05-01 Thread Tudor Girba
Thanks a lot for organizing this. Doru On Fri, May 1, 2015 at 7:59 PM, Jean-Christophe Bach < jeanchristophe.b...@inria.fr> wrote: > Hello Pharoers, > > We propose a Pharo sprint / Moose dojo on Friday, 22nd May, starting at > 10:00am. (Local Time Lille). > > It will be at the Inria Lille, Build