Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-16 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- ODBC worked fine as well if you don't need native driver access  - Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an

Re: [Pharo-users] Parser for javascript mongodb (json) notation selects

2017-04-16 Thread Tudor Girba
Hi, Take a look at the SmaCCParseNode to see the API to traverse the resulting AST. Furthermore, you can also use the query engine that SmaCC ships with. In your case, you seem to be interested only in the one argument of the find call. So, you can do this: ast := JSParser parse:

Re: [Pharo-users] Parser for javascript mongodb (json) notation selects

2017-04-16 Thread Христина Михайлюк
Thank you very much! But could you help me, please, to setup SmaCC into my Pharo? Your's faithfully, Khrystyna Mykhailiuk 2017-04-16 20:57 GMT+03:00 Tudor Girba : > Hi, > > SmaCC ships with a JS parser. Please take a look at it. > > Cheers, > Doru > > > > On Apr 16, 2017,

Re: [Pharo-users] Parser for javascript mongodb (json) notation selects

2017-04-16 Thread Tudor Girba
Hi, SmaCC ships with a JS parser. Please take a look at it. Cheers, Doru > On Apr 16, 2017, at 3:42 PM, chrismihaylyk wrote: > > Hello, friends! > > I'm creating MongoDBBrowser that have all CRUD operations and I need a > parser that translates javascript queries

Re: [Pharo-users] Convert Literal array into Dynamic array

2017-04-16 Thread Христина Михайлюк
Thank you very much! Now I understand. Actually, I need this interpretation {7. 8. "f"} for writing parser of javascript queries which is used in MongoDB shell, to be able to execute this with MongoQuery Pharo class. Maybe, you could help me how to implement it? 2017-04-16 18:19 GMT+03:00

Re: [Pharo-users] Convert Literal array into Dynamic array

2017-04-16 Thread Esteban Lorenzano
> On 16 Apr 2017, at 16:37, chrismihaylyk wrote: > > HI, friends! > > Can anyone help me how to convert literal array: #(2 3 4) > into the dynamic array: {2. 3. 4}? this is not a dynamic array (that does not exist on Pharo). check, if you do: #(2 3 4) = {2. 3. 4}

Re: [Pharo-users] Pharo image freeze and "Alt-." has no effect

2017-04-16 Thread Steven Rémot
Thanks Stephane ! I still get the freeze sometimes, but it's still really random, I can't find a way to reproduce it for sure. I had much less freezes on Pharo 5 the moment I stopped dumping and recreating athens surfaces at each layoutUpdate, that's all... I tell you if I find how to make it

[Pharo-users] Convert Literal array into Dynamic array

2017-04-16 Thread chrismihaylyk
HI, friends! Can anyone help me how to convert literal array: #(2 3 4) into the dynamic array: {2. 3. 4}? Thanks a lot, Khrystyna! -- View this message in context: http://forum.world.st/Convert-Literal-array-into-Dynamic-array-tp4942305.html Sent from the Pharo Smalltalk Users mailing list

Re: [Pharo-users] Pharo 6 snap install

2017-04-16 Thread Ben Coman
On Sat, Apr 15, 2017 at 8:53 PM, Luke Gorrie wrote: > On 15 April 2017 at 14:45, Esteban Lorenzano wrote: >> >> this belongs to pharo-dev, please continue there :) > > > Looks to me like I should make a small replacement for mvm that is for nix. > > Nix indeed

[Pharo-users] Parser for javascript mongodb (json) notation selects

2017-04-16 Thread chrismihaylyk
Hello, friends! I'm creating MongoDBBrowser that have all CRUD operations and I need a parser that translates javascript queries to MongoDB into the queries (for making selects, inserts etc.) using MongoQuery class. For example, I have query db.SomeCollection.find( {$or: [ { name: { $regex:

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-16 Thread Ben Coman
On Sat, Apr 15, 2017 at 3:11 PM, Holger Freyther wrote: > >> On 15. Apr 2017, at 07:59, Holger Freyther wrote: >> >> >> * Why isn't the migration from Ston to Fuel more explicit? >> * Why is "load" trying to save? >> * Why is "ensure:" used instead of

Re: [Pharo-users] Pharo 6 snap install

2017-04-16 Thread Ben Coman
Whoops, now copied to pharo-dev to continue discussion there. On Sun, Apr 16, 2017 at 9:13 PM, Ben Coman wrote: > On Sat, Apr 15, 2017 at 12:43 PM, Luke Gorrie wrote: >> >> On 14 April 2017 at 22:20, Stephane Ducasse wrote: >>> >>>

Re: [Pharo-users] Pharo 6 snap install

2017-04-16 Thread Ben Coman
On Sat, Apr 15, 2017 at 12:43 PM, Luke Gorrie wrote: > > On 14 April 2017 at 22:20, Stephane Ducasse wrote: >> >> This is what we always have when we release and we freeze it. >> The vm 60 will be compatible with latest pharo 60 image. > > > It is possible

Re: [Pharo-users] Pharo image freeze and "Alt-." has no effect

2017-04-16 Thread Stephane Ducasse
Steven welcome. I hope that you will make a great implementation. If you have a reproducible case where alt+ does not work we are interested. Denis improved the situation but we lack of a case that we can reproduce to improve it again. Stef On Sat, Apr 8, 2017 at 1:39 PM, Steven Rémot

Re: [Pharo-users] FileReference / and parent

2017-04-16 Thread Stephane Ducasse
Hi alistair I do not remember (may be I wrote this class comment because there were none and I got frustrated). So improving the class comments may be needed. Stef On Fri, Apr 7, 2017 at 10:31 PM, Alistair Grant wrote: > On Fri, Apr 07, 2017 at 08:43:50PM +0200, Esteban

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-16 Thread Dimitris Chloupis
Thanks Sven, as always top quality blog post On Sun, 16 Apr 2017 at 12:04, Sven Van Caekenberghe wrote: > > > On 16 Apr 2017, at 10:36, Dimitris Chloupis > wrote: > > > > Hey guys , I play with PostgreSQL and I really like it, sorry Esteban :D > > > > I am

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-16 Thread Sven Van Caekenberghe
> On 16 Apr 2017, at 10:36, Dimitris Chloupis wrote: > > Hey guys , I play with PostgreSQL and I really like it, sorry Esteban :D > > I am using Python for it but I would like to give access also to Pharo to my > database. I was informed that Garage has a driver for

[Pharo-users] PostgreSQL and Pharo 6

2017-04-16 Thread Dimitris Chloupis
Hey guys , I play with PostgreSQL and I really like it, sorry Esteban :D I am using Python for it but I would like to give access also to Pharo to my database. I was informed that Garage has a driver for PostgreSQL , is there any other candidate ? Any advice ?

Re: [Pharo-users] why is adding instance variables so slow?

2017-04-16 Thread Tudor Girba
Hi, Please let’s move this discussion on pharo-dev. And keep going :) Cheers, Doru > On Apr 14, 2017, at 12:09 PM, Denis Kudriashov wrote: > > > 2017-04-14 11:09 GMT+02:00 teso...@gmail.com : > Hi, I think the problem was not clearly explained.