Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Johan Fabry
On Mar 30, 2015, at 09:23, Christophe Demarey christophe.dema...@inria.fr wrote: Le 30 mars 2015 à 09:10, Marcus Denker a écrit : On 29 Mar 2015, at 10:32, stepharo steph...@free.fr wrote: Before that I would like that the compiler outputs classes definition in an environment

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Werner Kassens
On 03/30/2015 09:10 AM, Marcus Denker wrote: What the compiler does not have is to look up references e.g. to symbols regarding to an environment, but that is because we don’t have that concept right now in the system in general. globals/class vars are requested from the class (which defines

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Thierry Goubier
A use case: the ability to test and debug the code generation part of SmaCC. SmaCC, when compiling a parser, generates dozens of classes and hundreds of methods, some of those very long, as a sequence of refactorings (and optimise them). Then SmaCC apply them all in one step. I'd dream of

Re: [Pharo-users] MySQL framework for Pharo to analyze futures and options.

2015-03-30 Thread nacho
Hi, Thanks for all the input. I've managed to download Glorp and the MySQL Glorp driver. However I'm having serious difficulties in setting it to work. I've search for some documentation in the Glorp page but seems there's a problem with Google Drive. Is there any place to search / look at an

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Christophe Demarey
Le 30 mars 2015 à 09:10, Marcus Denker a écrit : On 29 Mar 2015, at 10:32, stepharo steph...@free.fr wrote: Before that I would like that the compiler outputs classes definition in an environment (that can be the default one) but that can be the one I want and specified from the outside

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Johan Fabry
On Mar 30, 2015, at 11:01, Werner Kassens wkass...@libello.com wrote: i had a little program, that constructs an array of blocks (no object methods) via opal from scratch (using strings). now this worked of course without problems, but there are situations where it would be nice if those

Re: [Pharo-users] MySQL framework for Pharo to analyze futures and options.

2015-03-30 Thread Cameron Sanders via Pharo-users
---BeginMessage--- Of general educational nature are two Glorp guides that I know of: 1) Glorp / User Guide by Nevin Pratt, and 2) San Diego State University Glorp Tutorial by Roger Whitney. - Otherwise, there are members on this board who can direct your attention to test code to test your

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Marcus Denker
Ok, I noted all the use cases. On 30 Mar 2015, at 16:25, Thierry Goubier thierry.goub...@gmail.com wrote: A use case: the ability to test and debug the code generation part of SmaCC. SmaCC, when compiling a parser, generates dozens of classes and hundreds of methods, some of those

Re: [Pharo-users] MySQL framework for Pharo to analyze futures and options.

2015-03-30 Thread jtuc...@objektfabrik.de
Hi, the most current documentation of (the most current) Glorp ships with VisualWorks. So your best bet is downloading their PUL product. The two tutorials mentioned by Cameron are not too outdated yet to be useless, but The DescriptorSystem has learned quite a few tricks since the time

[Pharo-users] Problem in creating new project on smalltalk hub

2015-03-30 Thread rohit sharma
hi all, when i am creating new project it is showing *Oops! *Invalid username or password , any suggestion? I am already login to my account and using web interface (http://smalltalkhub.com/#!/register). Regards Rohit

Re: [Pharo-users] MySQL framework for Pharo to analyze futures and options.

2015-03-30 Thread Merwan Ouddane
There is a mail Niall send me after I asked him for documentation Good luck ;) Merwan Forwarded Message Subject:Re: Glorp Documentation Date: Sun, 8 Feb 2015 18:18:13 + From: Niall Ross (Cincom) nr...@cincom.com Organization: Cincom To: Merwan Ouddane

[Pharo-users] Pharo 4.0 / Roassal2

2015-03-30 Thread Volkert
Hi, can someone tell me, how to load Roassal2 into a Pharo4.0 Image? Or is it not a good idea with the current state of Pharo4.0? Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; configurationOf: 'Roassal2'; loadDevelopment loaded it, but it the examples do not

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Johan Fabry
Here is a class that can be of use for you then :-) It’s a bit more complicated than what you need exactly, because I have lexical scoping and subscopes et cetera, but you can ignore that really. The relevant methods for you are generateNamedClass:withSuper: and compileBlock:forScope: Success!

Re: [Pharo-users] Pharo 4.0 / Roassal2

2015-03-30 Thread Volkert
Thanks Peter. Ok this work. Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; configurationOf: 'Roassal2'; loadDevelopment Gofer new smalltalkhubUser: 'Moose' project: 'GToolkit'; package: 'GT-InspectorExtensions-CoreRoassal'; load. Gofer new smalltalkhubUser: 'Moose'

Re: [Pharo-users] Pharo 4.0 / Roassal2

2015-03-30 Thread Peter Uhnák
Hi, try also adding this ~~ Gofer new smalltalkhubUser: 'Moose' project: 'GToolkit'; package: 'GT-InspectorExtensions-CoreRoassal'; load. Gofer new smalltalkhubUser: 'Moose' project: 'Glamour'; package: 'Glamour-Tools'; package:

Re: [Pharo-users] How to silently generate and remove code

2015-03-30 Thread Werner Kassens
Hi Johan, thanks, i see how it works and removes the object later. werner On 03/30/2015 06:42 PM, Johan Fabry wrote: Here is a class that can be of use for you then :-)

Re: [Pharo-users] Uncommon keyboard shortcuts on Windows

2015-03-30 Thread Peter Uhnák
Hi, there is currently ongoing discussion about shortcuts since there is a bit Ctrl vs Alt chaos in both Linux and Windows. Note for example that in many cases (undo, copy, paste, ...) you can use both ctrl and alt. Unfortunately there are many different tools (Nautilus, TextEditor, Rubic,

Re: [Pharo-users] Uncommon keyboard shortcuts on Windows

2015-03-30 Thread Laura Risani
Hi Jan , (Under Windows...) For redoing ctrl+shif+z works fine on Workspace and Class Browser and in any other place i can remember. Copy, cut, paste, find, text selecting, moving to previous/next word (not exactly the same semantics) shortcuts convey Windows ones. Which other keyboard shortcuts,

[Pharo-users] Uncommon keyboard shortcuts on Windows

2015-03-30 Thread Jan B.
Hello First of all, I don't use much keyboard shortcuts on linux or mac, so all I write is just from point of Windows-only user. I would like to ask what is the reason of very uncommon keyboard shortcuts on Windows. Best example is redo/do again/invert undo... undo is ctrl+Z (which is right),

[Pharo-users] quick poll - which OS do you use for Pharo?

2015-03-30 Thread Peter Uhnák
Hi, I've made a quick poll because I'm interested in the distribution of Pharo users among OSes. It's a single anonymous question, so it shouldn't take more than five seconds to complete :) http://strawpoll.me/4001583 Thanks :) Peter

Re: [Pharo-users] Problem in creating new project on smalltalk hub

2015-03-30 Thread Sean P. DeNigris
Maybe try logging out and then back in? Or logging in with a different browser? - Cheers, Sean -- View this message in context: http://forum.world.st/Problem-in-creating-new-project-on-smalltalk-hub-tp4816163p4816238.html Sent from the Pharo Smalltalk Users mailing list archive at

Re: [Pharo-users] Problem in creating new project on smalltalk hub

2015-03-30 Thread rohit sharma
Thanks Sean. Problem solved. This is the first time i am facing such problem. I have one more doubt, Is there any case in which if we don't do write super initialize and we face problems. Regards rohit_01 On Tue, Mar 31, 2015 at 4:57 AM, Sean P. DeNigris s...@clipperadams.com wrote: Maybe try

Re: [Pharo-users] Problem in creating new project on smalltalk hub

2015-03-30 Thread rohit sharma
ok, thanks. Greetings, rohit_01 On Tue, Mar 31, 2015 at 6:20 AM, Sean P. DeNigris s...@clipperadams.com wrote: I have one more doubt, Is there any case in which if we don't do write super initialize and we face problems. It's a common practice to always send #initialize to super on the

Re: [Pharo-users] Problem in creating new project on smalltalk hub

2015-03-30 Thread Sean P. DeNigris
I have one more doubt, Is there any case in which if we don't do write super initialize and we face problems. It's a common practice to always send #initialize to super on the instance side. If you don't, and super does something important (e.g. in a Morph subclass), you will have problems.