Re: [Pharo-users] Reddit discussion (rant) about Pharo 4.0 first time users' experiences

2015-04-29 Thread Sebastian Heidbrink
I am not willing to create an account there but Phil, I must say I share most things you wrote there. Just some small things I would add. 1: One must understand that Smalltalk is a live empty OS that one can modify with merely any rules or limitations. 2: One must be god if you can start imple

Re: [Pharo-users] Reddit discussion (rant) about Pharo 4.0 first time users' experiences

2015-04-29 Thread Stephan Eggermont
On 30/04/15 04:50, Esteban A. Maringolo wrote: I don't agree with most of the things mentioned, but I think its worth looking at to see if there is something to actually improve. http://www.reddit.com/r/smalltalk/comments/32xwmr/my_experience_with_pharo_40/ Please only add helpful comments, if

Re: [Pharo-users] Questions about MetaLink

2015-04-29 Thread Marcus Denker
> On 29 Apr 2015, at 22:59, Glenn Cavarlé wrote: > > Hi, > > I'm playing with Slots and MethodWrappers to customize instVar > reading/writing and method calls. > In my experiments, Slots and MethodWrappers hold meta-description objects > used at runtime to apply some filters, validations and to

Re: [Pharo-users] Reddit discussion (rant) about Pharo 4.0 first time users' experiences

2015-04-29 Thread p...@highoctane.be
put some replies. maybe someone can add links to Kilon videos there. Phil Le 30 avr. 2015 04:50, "Esteban A. Maringolo" a écrit : > I don't agree with most of the things mentioned, but I think its worth > looking at to see if there is something to actually improve. > > > http://www.reddit.com/r/

[Pharo-users] Reddit discussion (rant) about Pharo 4.0 first time users' experiences

2015-04-29 Thread Esteban A. Maringolo
I don't agree with most of the things mentioned, but I think its worth looking at to see if there is something to actually improve. http://www.reddit.com/r/smalltalk/comments/32xwmr/my_experience_with_pharo_40/ Regards, Esteban A. Maringolo

Re: [Pharo-users] Getting all the references to an object

2015-04-29 Thread Sergio Fedi
I think I've found it. Seems to be #pointersTo On Wed, Apr 29, 2015 at 10:23 PM, Sergio Fedi wrote: > In other smalltalks I used to send #allReferences to know, well, its > obvious. > > But this approach didn't work on Pharo. > > How can I do that? >

[Pharo-users] Getting all the references to an object

2015-04-29 Thread Sergio Fedi
In other smalltalks I used to send #allReferences to know, well, its obvious. But this approach didn't work on Pharo. How can I do that?

[Pharo-users] [Ann] MorphicDraw

2015-04-29 Thread Stephan Eggermont
To better understand Morphic, I've started writing a small application that can draw shapes and connect them. A pdf documenting what I've done is at https://github.com/StephanEggermont/MorphicDraw Code is on smalltalkhub, StephanEggermont/MorphicDraw Suggestions, fixes and improvements are wel

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Ben Coman
On Thu, Apr 30, 2015 at 12:51 AM, Thierry Goubier wrote: > Le 29/04/2015 16:01, Ben Coman a écrit : > >> >> >> So it seems that creating a new class does not call #initialize at all, >> let alone an inherited one. It is a Monticello behaviour. >> > > I'm nearly certain all other ways of loading

[Pharo-users] Questions about MetaLink

2015-04-29 Thread Glenn Cavarlé
Hi, I'm playing with Slots and MethodWrappers to customize instVar reading/writing and method calls. In my experiments, Slots and MethodWrappers hold meta-description objects used at runtime to apply some filters, validations and to compose or delegate methods behavior. I'm really interested in t

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

2015-04-29 Thread Mariano Martinez Peck
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. But this is a bit old, so not sure if this still works in Pharo 4.0: http://pharo.gemtalksystems.com/book/PharoTools/Script-Manager

[Pharo-users] Oracle FFI - External module not found on OS X

2015-04-29 Thread recursive68
I found to working solutions which fix issue, also doesn't require symlink in Plugins directory: 1) create plist file in /Library/LaunchAgents which sets library path and Oracle home or 2) create apple script that sets environment variables and run a user login

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

2015-04-29 Thread Nicolai Hess
2015-04-27 12:36 GMT+02:00 Cyril Ferlicot : > Hi, > I wanted to do a little text editor and I would like to know if > someone already did one with simple features like open a file, save a > file etc... > I don't want to lose too much time in something that already exist. > None that I know of.

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

2015-04-29 Thread Sanjay Minni
Hi what is the usual practice in reading in rows from a database table - is a loop usually written to read next n rows / till the end - does the arriving data have to be processed like a dictionary into a collection where each object corresponds to a row and each key/value into the objects met

Re: [Pharo-users] VoyageMongo and Aggregate functions

2015-04-29 Thread p...@highoctane.be
Doable in MongoTalk. I posted an example a while ago. Phil Le 29 avr. 2015 18:09, "Tommaso Dal Sasso" a écrit : > Hi, > > I am using VoyageMongo to store some data in a mongo database, and I am > trying to use some aggregate functions or map/reduce approach, as shown > on http://docs.mongodb.or

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Thierry Goubier
Le 29/04/2015 16:01, Ben Coman a écrit : So it seems that creating a new class does not call #initialize at all, let alone an inherited one. It is a Monticello behaviour. I'm nearly certain all other ways of loading smalltalk code in the image behave like that; MC only reproduces an older c

Re: [Pharo-users] Understanding Slices

2015-04-29 Thread Thierry Goubier
Le 29/04/2015 15:17, Ben Coman a écrit : Someone correct me - any package can have a dependent package added. We just don't do that (I've never seen it my past couple of years with Pharo). You're right. We do have packages with dependencies floating in places, with dedicated handling for thing

[Pharo-users] VoyageMongo and Aggregate functions

2015-04-29 Thread Tommaso Dal Sasso
Hi, I am using VoyageMongo to store some data in a mongo database, and I am trying to use some aggregate functions or map/reduce approach, as shown on http://docs.mongodb.org/manual/aggregation/. Is it possible to do it in Voyage, even by directly calling the MongoTalk objects? I am interested in

Re: [Pharo-users] MagicMagritte in Pharo 40.

2015-04-29 Thread Sean P. DeNigris
Sean P. DeNigris wrote > It looks like a bug in ConfigurationOfSeaside3... I reported to their > list... Johan Brichau informed me that Seaside configs now live at http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations The config now loads without warning in Pharo 3.0 and 4.0 :) - Chee

Re: [Pharo-users] STON references class removed in Pharo 5

2015-04-29 Thread Jan Blizničenko
Thank you. I always like to try latest images, that's why I ask so early, and this change in image seemed like one which will not be reverted or changed again. Jan Sven Van Caekenberghe-2 wrote > Pharo 5 is only a couple of days old, but here you go (in #bleedingEdge): > > Sven -- View thi

Re: [Pharo-users] Understanding Slices

2015-04-29 Thread Sergio Fedi
Great, thanks for the answers! ​

Re: [Pharo-users] Removing packages from a repository

2015-04-29 Thread Sergio Fedi
Awesome, I could remove the spurious packages. Thanks! (these packages where made in the first iterations of the project when I didn't use correctly the package structure)

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Jan Blizničenko
Thank you for sharing your experience with it. So, when I see all this, I think depending on initialize method on class side seems like a pretty bad idea. So I decided to leave this way of thoughts and I came up with lazy initialization. With lazy initialization it seems to work just fine and my pr

Re: [Pharo-users] Pharo and Hadoop

2015-04-29 Thread Ben Coman
And (as I've picked up listening to other conversations) with Sista doing hotspot optimisation *in-image* deployed images will be able to start hot rather than taking cycles to determine hot spots after startup. cheers -ben On Wed, Apr 29, 2015 at 9:55 PM, Esteban A. Maringolo wrote: > Having P

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Sean P. DeNigris
Jan Blizničenko wrote > Only way to aquire it seems to create initialize method in every subclass > class Maybe initialize all subclasses from the parent? But you'd have to reinitialize if you added more subclasses later... - Cheers, Sean -- View this message in context: http://forum.world

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Jan Blizničenko
Replying to myself... Here is example package with tests of behavior I expect: http://www.mediafire.com/download/bjmt7p20ndcgddf/Something-bliznjan.6.mcz Only way to aquire it seems to create initialize method in every subclass class, and write just "super initialize" there, but for about 30 subc

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Ben Coman
Each class needs its *own* initialize method. You can observe this behaviour as follows... 1. Create a new package MyPlay holding the following... Object subclass: #SomeClass SomeClass class>>#initialize self inform: 'Initializing... ' , self name. #SomeClass object: #S

Re: [Pharo-users] Pharo and Hadoop

2015-04-29 Thread Esteban A. Maringolo
Having Pharo playing there seems to be a good place to show its strengths. However, you mentioned too many acronyms of technologies I don't understand (but hear a lot about). The only thing I can agree with is that the self-contained nature of Pharo is a true advantage when deploying extra nodes.

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Andrei Chis
Aha, now I understand your question. >From what I remember #initialize might only be send to classes if they contain an explicit initialize method, but I might remember wrongly. Cheers, Andrei On Wed, Apr 29, 2015 at 3:08 PM, Jan Blizničenko wrote: > Thank you both for reply. Unfortunately, it

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Jan Blizničenko
Thank you both for reply. Unfortunately, it seems I didn't describe my goal well. I want both (all) classes to have separate variables, not shared among subclasses, but still initialized on class side, not instance side. So I want those variables to be class-side variables, my problem is with thei

Re: [Pharo-users] Understanding Slices

2015-04-29 Thread Ben Coman
Someone correct me - any package can have a dependent package added. We just don't do that (I've never seen it my past couple of years with Pharo). A Slice is simply an empty package that has dependencies. Now it seems somewhat tied to development of the Pharo image since it requires an issue numb

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Sean P. DeNigris
Jan Blizničenko wrote > Now I'm trying to do something similar for class-side variables, but with > no success. What you created is a class-side instance variable, which is private to just that class. What you want is a class variable, which is shared by all subclasses and instances. You declare i

Re: [Pharo-users] class initialization and class-side variables

2015-04-29 Thread Andrei Chis
Hi, SomeClass and SubClass are two different objects. Based on your setup, if you do not call any initialize method, initially calling both "SomeClass isOk" and "SubClass isOk" should return nil. Running "SomeClass initialize" initializes only the SomeClass object. So now "SomeClass isOk" retu

[Pharo-users] Pharo and Hadoop

2015-04-29 Thread p...@highoctane.be
I am involved in some Hadoop deployments and there is a very interesting possiblity for Pharo in that ecosystem. Namely, there is a YARN thing in there which is a scheduler for distributing computing on a cluster of nodes. It is possible to deploy all kinds of technologies on the nodes (e.g. Pyth

Re: [Pharo-users] moving to git and preserving monticello history

2015-04-29 Thread Thierry Goubier
Le 29/04/2015 14:32, Damien Pollet a écrit : On 20 February 2015 at 11:31, Thierry Goubier mailto:thierry.goub...@gmail.com>> wrote: Good point. Bad programmers do commits without messages :):) That could be easily remedied by integrating MC with http://whatthecommit.com :D Got 'made it

[Pharo-users] class initialization and class-side variables

2015-04-29 Thread Jan Blizničenko
Hello It seems I misunderstood some concept of classes in Pharo. My problem is following: Let's say I have class named SomeClass (subclass of Object) and class named SubClass (subclass of SomeClass). If I create instance variable on SomeClass and SomeClass>>#initialize which initializes the varia

Re: [Pharo-users] Removing packages from a repository

2015-04-29 Thread Sean P. DeNigris
Sergio Fedi wrote > How do I delete a package from a repository? > ... > I have one hosted on http://ss3.gemstone.com/ You can usually delete a package via the repos web interface. If you click on the package filename or "details" in ss3, "Delete Version" and "Delete Package" will appear in the Ac

Re: [Pharo-users] Understanding Slices

2015-04-29 Thread Sean P. DeNigris
Sergio Fedi wrote > Are Slices a way to represent a change accross packages? Exactly. In the MC browser, there is a button to create a slice from an issue number. During that workflow, you will be asked to select all relevant packages. When the slice is committed or loaded, it will bring all of th

Re: [Pharo-users] moving to git and preserving monticello history

2015-04-29 Thread Damien Pollet
On 20 February 2015 at 11:31, Thierry Goubier wrote: > Good point. Bad programmers do commits without messages :):) > That could be easily remedied by integrating MC with http://whatthecommit.com :D

[Pharo-users] Understanding Slices

2015-04-29 Thread Sergio Fedi
Are Slices a way to represent a change accross packages? For example, if I add a new functionality, then at least two packages will be modified. The one the feature is imlpemented in, and the one with the tests for that feature. So a Slice could encapsulate these changes to both packages in a si

[Pharo-users] Removing packages from a repository

2015-04-29 Thread Sergio Fedi
How do I delete a package from a repository? I didn't find the functionality in Monticello. I have one hosted on http://ss3.gemstone.com/

Re: [Pharo-users] [REQUEST] Script to copy repository from SmalltalkHub to Github

2015-04-29 Thread Esteban Lorenzano
this one was more or less working (from StHub to git): http://ws.stfx.eu/87U204VL1C9O of course is incomplete (it lacks the git parts, etc.) but I still didn’t have time to finish it, so feel free to improve it. My idea with it is to add a hook (I added hooks t