[Pharo-users] Programmatically changing settings values

2015-01-09 Thread Torsten Bergmann
Pablo wrote >> I would like to change some of the environment settings by code Markus wrote: >The gobal compiler can be changed by SmalltalkImage compilerClass: Compiler There is an easy way how to find this out by yourself: - open World Menu >> System >> Settings and navigate to the setting

[Pharo-users] [ANN] Rewritten EventRecorder (now based on Spec)

2015-01-09 Thread Torsten Bergmann
Hi, I've rewritten, refactored, commented the Event Recorder. The most visible feature is that the UI is now based on Spec to fit Pharo style. Currently it can record and replay events. Saving and loading of events as *.tape files is still missing and (depending on time) will be added as a next s

Re: [Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread sergio_101
perfect! speed is not a huge issue, in that this will just be a set of methods that build data one time (sort of like a rails migration) and it will not be run again.. thanks! On Fri Jan 09 2015 at 4:29:04 PM Marcus Denker wrote: > > > On 09 Jan 2015, at 18:21, sergio_101 wrote: > > > > > > I

Re: [Pharo-users] Programmatically changing settings values

2015-01-09 Thread Marcus Denker
> On 09 Jan 2015, at 18:27, Pablo Herrero wrote: > > Hey everyone, > > I would like to change some of the environment settings by code, > specifically I would like to change the default compiler, from the > menu you would do: World Menu >> System >> Settings >> Compiler >> > Default Compiler ,

Re: [Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread Marcus Denker
> On 09 Jan 2015, at 18:21, sergio_101 wrote: > > > I would like to do something like: > > MyObject updateWIth: aDictionary. > > then, inside the object, treat the keys as instance variables, and the values > as values.. and do something like: > > (key1 asInstanceVariable(??)): value1. > >

[Pharo-users] Programmatically changing settings values

2015-01-09 Thread Pablo Herrero
Hey everyone, I would like to change some of the environment settings by code, specifically I would like to change the default compiler, from the menu you would do: World Menu >> System >> Settings >> Compiler >> Default Compiler , and then set you preference there. How can you do that programmat

[Pharo-users] Casting a string as an instance variable.

2015-01-09 Thread sergio_101
I would like to do something like: MyObject updateWIth: aDictionary. then, inside the object, treat the keys as instance variables, and the values as values.. and do something like: (key1 asInstanceVariable(??)): value1. this seems like it should be possible, but i am just not getting it. any

Re: [Pharo-users] Updating Pharo

2015-01-09 Thread stepharo
Le 9/1/15 17:55, nacho a écrit : Helo friends, When I update Pharo (World --> System --> Software Update) I see some progressbars that I don't undersand. what is exactly snapshoting? when you want to merge the code incoming with the code in the image you need to have a representation of the cod

Re: [Pharo-users] issue with and/or inlining

2015-01-09 Thread Marcus Denker
> On 09 Jan 2015, at 15:17, Marcus Denker wrote: > > >> On 09 Jan 2015, at 15:10, Evan Donahue > > wrote: >> >> Hello, >> >> I'm currently working on an embedding of the miniKanren logic programming >> language in Pharo (http://minikanren.org/

Re: [Pharo-users] issue with and/or inlining

2015-01-09 Thread Marcus Denker
> On 09 Jan 2015, at 15:10, Evan Donahue wrote: > > Hello, > > I'm currently working on an embedding of the miniKanren logic programming > language in Pharo (http://minikanren.org/ ) and I > have run into an issue with the method compilation internals I was hoping > s

[Pharo-users] issue with and/or inlining

2015-01-09 Thread Evan Donahue
Hello, I'm currently working on an embedding of the miniKanren logic programming language in Pharo (http://minikanren.org/) and I have run into an issue with the method compilation internals I was hoping someone could shed some light on: miniKanren has an operator, fresh, that basically evaluates

[Pharo-users] Updating Pharo

2015-01-09 Thread nacho
Helo friends, When I update Pharo (World --> System --> Software Update) I see some progressbars that I don't undersand. what is exactly snapshoting? Also, suppose I add Bloc's Monticello repository, does a Software Update also update Bloc when an update is released? Thanks in advance Nacho --

Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-09 Thread Damien Cassou
that is really great news, thank you very much. Do you plan a common interface to manipulate OSes polymorphically? This could include: - opening an external application - sending a file to the trash - ... Thanks again! On Fri, Jan 9, 2015 at 11:27 AM, Torsten Bergmann wrote: > Hi, > > beside

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
Both GTSpotter>>spotterImplementorsFor: and GTSpotterCandidatesProcessor>>is:matching: do substring matching, so I'm wondering if the matching logic is duplicated/distributed in several places. On 9 January 2015 at 15:55, Tudor Girba wrote: > I am not sure I understand the question. A duplication

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Tudor Girba
I am not sure I understand the question. A duplication of what? Doru On Fri, Jan 9, 2015 at 3:48 PM, Damien Pollet wrote: > I've seen #includesSubstring: in > GTSpotterCandidatesProcessor>>is:matching: as well… is it duplication > or a legitimately different use? (just trying to understand the

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
I've seen #includesSubstring: in GTSpotterCandidatesProcessor>>is:matching: as well… is it duplication or a legitimately different use? (just trying to understand the architecture) On 9 January 2015 at 14:46, Tudor Girba wrote: > The includesSubstring: is the simplest thing we could do to get som

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Tudor Girba
The includesSubstring: is the simplest thing we could do to get some value out of the interface. More is definitely required in this direction. To build a custom search logic, you should use "processor filter: [...]". For an example, look at GTSpotter>>spotterImplementorsFor: aStep. This is stil

Re: [Pharo-users] Extending GTSpotter

2015-01-09 Thread Damien Pollet
Back to this thread! I'm not completely fond of the way GTSpotter matches candidates using just #includesSubstring: Are there provisions already to rank candidates instead of binary matching/rejecting them? I'd like to try one of the fuzzy matching algorithms that other quick-selection tools have.