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

2015-03-30 Thread Marcus Denker
> On 29 Mar 2015, at 10:32, stepharo 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 of the compiler. For installing, it is the ClassInstaller that

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

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 > wrote: > > > Le 30 mars 2015 à 09:10, Marcus Denker a écrit : > >> >>> On 29 Mar 2015, at 10:32, stepharo wrote: >>> >>> Before that I would like that the compiler outputs classes definition in an >>> environment (that can be the default o

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 it

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 havin

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 examp

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

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

2015-03-30 Thread Werner Kassens
Hi Johan, you did surprise me! thanks for that info, i can use that indeed. werner On 03/30/2015 04:47 PM, Johan Fabry wrote: Werner, let me surprise you: what I am doing is in the end exactly that! :-) ...

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

2015-03-30 Thread Cameron Sanders via Pharo-users
--- Begin Message --- 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 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 very long, as a sequ

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 thos

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) Organization: Cincom To: Merwan Ouddane Dear Merwan,

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!

[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

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

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: 'Glamour-Roassal2-Presentatio

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

[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), but

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

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

2015-03-30 Thread Sean P. DeNigris
rohit_01 wrote > when i am creating new project it is showing "*Oops! *Invalid username or > password" , any suggestion? Hmm... I've never encountered that. Can you take a screenshot? - Cheers, Sean -- View this message in context: http://forum.world.st/Problem-in-creating-new-project-on-

[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] 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,

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 Nabble.co

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 wrote: > Maybe try logging out and then

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.

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 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 instance > side. If y

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

2015-03-30 Thread kilon alios
more linux than mac ? thats a surprise . On Tue, Mar 31, 2015 at 12:39 AM, Peter Uhnák wrote: > 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 :)

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

2015-03-30 Thread Bernat Romagosa
I think that's because we GNU/Linux users tend to reply quicker when asked which OS we use. El dia 31/03/2015 7.58, "kilon alios" va escriure: > more linux than mac ? thats a surprise . > > On Tue, Mar 31, 2015 at 12:39 AM, Peter Uhnák wrote: > >> Hi, >> >> I've made a quick poll because I'm int

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

2015-03-30 Thread Norbert Hartl
> Am 31.03.2015 um 07:58 schrieb kilon alios : > > more linux than mac ? thats a surprise . > You didn't ask about desktop (GUI) or server (headless). There probably a lot of people having a server running somewhere. I clicked both options: Mac and Linux Norbert > On Tue, Mar 31, 2015 at 12

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

2015-03-30 Thread Sven Van Caekenberghe
> On 31 Mar 2015, at 08:05, Norbert Hartl wrote: > > You didn't ask about desktop (GUI) or server (headless). There probably a lot > of people having a server running somewhere. I clicked both options: Mac and > Linux Me too, for the same reason. Desktop/server linux are two very different p