Re: [Pharo-users] Another 32-bit on a 64 bit machine question.

2013-07-04 Thread Friedrich Dominicus
Mariano Martinez Peck marianop...@gmail.com writes: Yes, there was an old SerialPlugin bug which I think it was reported by Friedrich Dominicus  himself...but I am not sure if it was integrated. Sorry for the noise but there still is a problem in the code. At least here I can show you: sp :=

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-07-04 Thread Stéphane Ducasse
Thanks for your feedback. We would love to provide a better infrastructure. It just takes time. Stef On Jul 4, 2013, at 12:02 PM, Friedrich Dominicus fr...@q-software-solutions.de wrote: To everyone intersted/involved. I downloaded a new virtual machine today and the same code which has

[Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Bernat Romagosa
Hi! I realize probably only Esteban will be able to answer, but I prefer to write to the list so the mail is logged and other people can benefit from it. I'm trying to use blocks as arguments for #*selectOne:* and #*selectMany:*, but it doesn't seem to work. Here's my code: MyClass selectOne: {

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Esteban Lorenzano
Hi :) can you check if you have the MongoQueries package installed? cheers, Esteban ps: please notice that in anycase you will not be able to execute [ :each | each name first = $X ] because the MongoQueries package just translates the block into a mongo-query which is a dictionary (a JSON

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Bernat Romagosa
Hi Esteban, I installed MongoQueries-NicolasPetton.6, but I did it manually, should I have used some Monticello configuration perhaps? Thanks! 2013/7/4 Esteban Lorenzano esteba...@gmail.com Hi :) can you check if you have the MongoQueries package installed? cheers, Esteban ps: please

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Bernat Romagosa
Hmm, none of the MongoQueries tests pass, giving the following #dnu: MessageNotUnderstood: BlockClosurebsonTypeCode I guess I'm missing some packages? 2013/7/4 Bernat Romagosa tibabenfortlapala...@gmail.com Hi Esteban, I installed MongoQueries-NicolasPetton.6, but I did it manually, should

[Pharo-users] Pharo on Fedora 19

2013-07-04 Thread Daniel Miranda
Hello, I tried to set up Pharo 2.0 on Fedora 19 x86-64, and for that I needed the 32-bit libraries. Using ldd I could figure out most of them: glibc (obviously), X11, OpenGL libs, ALSA, libSM, libICE. All the bundled executables/libs are okay according to ldd. But when I start pharo I get a

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Esteban Lorenzano
Mmm... no idea... you could try by updating all the MongoTalk package, probably is out of sync :) On Jul 4, 2013, at 4:28 PM, Bernat Romagosa tibabenfortlapala...@gmail.com wrote: Hmm, none of the MongoQueries tests pass, giving the following #dnu: MessageNotUnderstood:

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Bernat Romagosa
I'm so ashamed I hadn't tried this before asking... a simple *ConfigurationOfMongoTalk load* did the job ¬¬ Thanks a lot! 2013/7/4 Esteban Lorenzano esteba...@gmail.com Mmm... no idea... you could try by updating all the MongoTalk package, probably is out of sync :) On Jul 4, 2013, at 4:28

Re: [Pharo-users] Pharo on Fedora 19

2013-07-04 Thread Pavel Krivanek
Hi, for me Pharo fully works after upgrade to Fedora 19. With this packages: glibc-devel.i686 mesa-libGLU.i686 libICE-devel.i686 libSM-devel.i686 I use XFCE without accelerated desktop. Cheers, -- Pavel On Thu, Jul 4, 2013 at 4:35 PM, Daniel Miranda danielk...@gmail.com wrote: Hello, I

Re: [Pharo-users] Pharo on Fedora 19

2013-07-04 Thread Pavel Krivanek
On KDE with acceleration it works fine too. Maybe some video card driver problem? -- Pavel On Thu, Jul 4, 2013 at 4:52 PM, Pavel Krivanek pavel.kriva...@gmail.comwrote: Hi, for me Pharo fully works after upgrade to Fedora 19. With this packages: glibc-devel.i686 mesa-libGLU.i686

Re: [Pharo-users] Convert 'è' to 'e'

2013-07-04 Thread Norbert Hartl
Am 04.07.2013 um 17:24 schrieb Davide Varvello varve...@yahoo.com: Hi there, Is there any method to convert an accented char (or string) to the not accented one? I.e from 'àéìòü' to 'aeiou' I think your best bet when it comes to transliteration is the ICU library. There is some adaption

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Stéphane Ducasse
On Jul 4, 2013, at 2:58 PM, Esteban Lorenzano esteba...@gmail.com wrote: Hi :) can you check if you have the MongoQueries package installed? cheers, Esteban ps: please notice that in anycase you will not be able to execute [ :each | each name first = $X ] because the

Re: [Pharo-users] [Pharo-dev] New Consortium Member: Debris Publishing

2013-07-04 Thread Mariano Martinez Peck
Cool! I am working for them and it is a very nice company! Thanks for supporting Pharo. On Thu, Jul 4, 2013 at 12:41 PM, Marcus Denker marcus.den...@inria.frwrote: New Consortium Member: Debris Publishing The Pharo Consortium welcomes a new member company: Debris Publishing Inc. :

Re: [Pharo-users] Convert 'è' to 'e'

2013-07-04 Thread Hernán Morales Durand
http://www.squeaksource.com/DiacriticSupport El 04/07/2013 12:24, Davide Varvello escribió: Hi there, Is there any method to convert an accented char (or string) to the not accented one? I.e from 'àéìòü' to 'aeiou' Thanks Davide -- View this message in context:

Re: [Pharo-users] Convert 'è' to 'e'

2013-07-04 Thread Davide Varvello
Thanks guys, I'll look at the ICU library and DiacriticSupport. Cheers Davide -- View this message in context: http://forum.world.st/Convert-e-to-e-tp4697373p4697407.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Bernat Romagosa
For other kinds of matches, you need javascript queries, if I understood: User selectOne: [ :each | each where: 'this.name[0] == s' ] Right? 2013/7/4 Stéphane Ducasse stephane.duca...@inria.fr Ok but how do I map conceptual a query to a dictionary Do I guess right that there is an exact

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Esteban Lorenzano
oops, is { number_field: { $gt: 42 } } but well, you got the idea :) On Jul 4, 2013, at 7:49 PM, Esteban Lorenzano esteba...@gmail.com wrote: you have different constructions: { $gt: { number_field: 42 } } and so on... always with dictionaries (bah, json structs). as a query

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Esteban A. Maringolo
2013/7/4 Bernat Romagosa tibabenfortlapala...@gmail.com: For other kinds of matches, you need javascript queries, if I understood: User selectOne: [ :each | each where: 'this.name[0] == s' ] Right? Just as a side note. Beware of the $where filter (it is: { $where: this.that == 's' }), it

Re: [Pharo-users] [Voyage] #selectOne: and #selectMany: with a block as the argument

2013-07-04 Thread Esteban Lorenzano
you also have regexp expressions (and I think they are better than the where clause): { #name - { '$regex' - '^P*'. '$options' - 'i' } asDictionary } asDictionary there is no support for it with MongoQueries,

Re: [Pharo-users] Regex question

2013-07-04 Thread jannik.laval
Yes, now in the chapter on Regex, it is written that '.' matches only a single character except cr. So, the command String cr matchesRegex: '.' should return false in this case. But since at least Pharo1.3 (I don't try previous version), it returns true. Jannik On Jul 5, 2013, at 12:33 AM,