Re: [Pharo-users] Bytecodes in Nautilus

2015-04-02 Thread Marcus Denker
On 01 Apr 2015, at 19:24, Clément Bera bera.clem...@gmail.com wrote: Seemingly, UI-wise, it was not good to have a button for the bytecode. As I use it al the time, I reintroduced it in the menu and you can use the shortcut Cmd+b+b, which reportedly was better. Yes, removing it from

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread Sean P. DeNigris
BriceG wrote Hi, it depends on what is your goal but if you want to clean an OrderedCollection there's removeAll of if you want to remove specific item there's removeAllSuchThat:aBlock I had the following code working for your example: col := #(1 2 3 4 5) asOrderedCollection. a := col

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread p...@highoctane.be
Sure works. Regex '((XXX Logical Channel) ([0-9])) on (((Upstream)|(Downstream)) ([0-9])) on ((chassis) ([0-9])), ((slot) ([0-9])), ((mac) ([0-9]))' asRegex But in PP, things were more comple and there were a lot of them, so: line ^ temperatureStatusDescrEntry token asParser /

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread p...@highoctane.be
On Thu, Apr 2, 2015 at 9:45 AM, kilon alios kilon.al...@gmail.com wrote: depends on your needs. I never used regex before , pharo regex was my first. I used on a specific case that was quite simple. I love its simplicity and its extremely compact syntax. Perfect fit for my needs, one very

[Pharo-users] OrderedCollection remove:

2015-04-02 Thread Peter Uhnák
Hi, I've just run into quite a nasty surprise col := #(1 2 3 4 5) asOrderedCollection. col do: [ :each | col remove: each. ]. col it throws NotFound: nil not found in OrderedCollection I tested it also in Pharo3 and there it just silently removed first, third and

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread Peter Uhnák
On Thu, Apr 2, 2015 at 8:30 AM, Joachim Tuchel jtuc...@objektfabrik.de wrote: In general, removing from a Collection while iterating through it leads to undefined results. The same is true for adding. That is a question of approach; apart from mentioned #copy I could also do something like

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread kilon alios
depends on your needs. I never used regex before , pharo regex was my first. I used on a specific case that was quite simple. I love its simplicity and its extremely compact syntax. Perfect fit for my needs, one very happy customer :) I think it depends on complexity of the parsing and how you

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread p...@highoctane.be
On Thu, Apr 2, 2015 at 8:22 AM, Peter Uhnák i.uh...@gmail.com wrote: Hi, I've just run into quite a nasty surprise col := #(1 2 3 4 5) asOrderedCollection. col do: [ :each | col remove: each. ]. col it throws NotFound: nil not found in OrderedCollection

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread kilon alios
I used Regex at first to do the job but it turned into an unholy mess (not that it couldn't parse what I needed) and PetitParser was there. it really depends how you approach this. For example in my case I quickly found out that would be insane to put everything in a single string, so I broke

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread p...@highoctane.be
On Thu, Apr 2, 2015 at 9:33 AM, Peter Uhnák i.uh...@gmail.com wrote: On Thu, Apr 2, 2015 at 8:30 AM, Joachim Tuchel jtuc...@objektfabrik.de wrote: In general, removing from a Collection while iterating through it leads to undefined results. The same is true for adding. That is a question

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread Damien Pollet
On 31 March 2015 at 17:17, Peter Uhnák i.uh...@gmail.com wrote: So at least to me PetitParser feels like a more practical regex library than Regex itself. In which use-cases is Regex less practical? I'm thinking it could get a builder with a PetitParser-like API in addition to the current

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread Joachim Tuchel
Peter, In general, removing from a Collection while iterating through it leads to undefined results. The same is true for adding. Just never do it Joachim Am 02.04.2015 um 08:22 schrieb Peter Uhnák i.uh...@gmail.com: Hi, I've just run into quite a nasty surprise

[Pharo-users] Devnology presentation slides

2015-04-02 Thread Stephan Eggermont
Yesterday, Diego and I presented Pharo at the Devnology meeting in Arnhem. http://www.slideshare.net/StephanEggermont/pharo-devnology20150401 Stephan

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Esteban A. Maringolo
My position is that OpenDBX as a library, independently of Pharo, is a dead end. It might have been a good candidate in the past, but today it has no real use. But it is also true that for Pharo it is the only option you have to run it on Linux. Regards, ps: I would also avoid Oracle altogether

Re: [Pharo-users] New success stories

2015-04-02 Thread Mariano Martinez Peck
On Thu, Apr 2, 2015 at 4:42 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Thu, Apr 2, 2015 at 4:05 PM, Hilaire hila...@drgeo.eu wrote: Hi Mariano, Chatting on IRC about Quuve.. We are curious about the look-like-desktop-application screenshot of Quuve. Is the screenshot from

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread p...@highoctane.be
This discussion about database connectivity feels like the early days of JDBC. Things got solved when people wrote the type 4 drivers in Java, making it all nice to use and all. Given our resources, I doubt we can get there very fast. But maybe could we leverage the Java work in a way or

[Pharo-users] Voyage performance issue

2015-04-02 Thread Josefina Arcidiacono
Hi! I'm using Voyage with MongoDB. I need to store an object with a large collection. Since both are voyageRoot, there is a Mongo table with all the collection objects and another with the first object pointing to them. With 20,000 objects in the collection it's taking 30 min to save. ¿Is that

Re: [Pharo-users] Spring CampSmalltalk

2015-04-02 Thread rjkwok
EstebanLM wrote you should subject your mail: Spring CampSmalltalk at Nanaimo, Columbia, Canada For the sake of accuracy, that should be Nanaimo,* British* Columbia, Canada. Sebastion Heidbrink wrote Please let us also know if you’re interested. Final exams finish on the 25th for me, and

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread jtuc...@objektfabrik.de
Peter, several approaches have been shown already. I'd like to add: * Iterate over a copy and remove from the original (slower because of lookup in the original) * If possible, sort the collection and use something like [col atEnd] whileTrue:/whileFalse: with removeFirst/removeLast * Select:

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Esteban A. Maringolo
I don't know if you need full fledged access or just to read a few tables. If it the latest you can use PostgreSQL Foreign Data Wrappers (FDW) and access the pgsql instance using the existing PGv2 driver. I know it might look convoluted, and maybe it is, but you avoid using DBX. Regards. Ps:

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread Thierry Goubier
2015-04-02 11:49 GMT+02:00 p...@highoctane.be p...@highoctane.be: Sure works. Regex '((XXX Logical Channel) ([0-9])) on (((Upstream)|(Downstream)) ([0-9])) on ((chassis) ([0-9])), ((slot) ([0-9])), ((mac) ([0-9]))' asRegex But in PP, things were more comple and there were a lot of them,

Re: [Pharo-users] what to use for simple parsing

2015-04-02 Thread kilon alios
yeap you use what makes your life easier ;) On Thu, Apr 2, 2015 at 12:49 PM, p...@highoctane.be p...@highoctane.be wrote: Sure works. Regex '((XXX Logical Channel) ([0-9])) on (((Upstream)|(Downstream)) ([0-9])) on ((chassis) ([0-9])), ((slot) ([0-9])), ((mac) ([0-9]))' asRegex But in

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Norbert Hartl
Am 02.04.2015 um 12:52 schrieb Esteban A. Maringolo emaring...@gmail.com: I don't know if you need full fledged access or just to read a few tables. If it the latest you can use PostgreSQL Foreign Data Wrappers (FDW) and access the pgsql instance using the existing PGv2 driver. I know

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Esteban Lorenzano
On 02 Apr 2015, at 13:13, Norbert Hartl norb...@hartl.name wrote: Am 02.04.2015 um 12:52 schrieb Esteban A. Maringolo emaring...@gmail.com mailto:emaring...@gmail.com: I don't know if you need full fledged access or just to read a few tables. If it the latest you can use PostgreSQL

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Tudor Girba
I managed to access Oracle through DBXTalk but on Windows 7. Cheers, Doru On Thu, Apr 2, 2015 at 11:06 AM, Norbert Hartl norb...@hartl.name wrote: I see from time to time topics like SQL popping up. Most of the time DBXTalk seems to be a requirement. It is also something that is considered

Re: [Pharo-users] Devnology presentation slides

2015-04-02 Thread Sven Van Caekenberghe
+10 On 03 Apr 2015, at 00:36, p...@highoctane.be wrote: Nice slideware!​ And interesting points at that. Phil

[Pharo-users] Glorp with PostgresV2 on Pharo 4

2015-04-02 Thread Pierce Ng
I'm on a roll. :-) I've written another blog post on installing Glorp with PostgresV2 on Pharo 4. To avoid this message looking like spam mail promoting my blog and devoid of content, here's the slightly edited blog post, in its original Markdown format sans JSON metadata. Outside of Smalltalk,

Re: [Pharo-users] Glorp with PostgresV2 on Pharo 4

2015-04-02 Thread Sven Van Caekenberghe
On 03 Apr 2015, at 06:58, Pierce Ng pie...@samadhiweb.com wrote: Now that we know the PostgresV2 driver can talk to our database, using the Monticello browser, open the PostgresV2 repository and load the package GlorpDriverPostgreSQL. Here I had to edit

Re: [Pharo-users] New success stories

2015-04-02 Thread Hilaire
Hi Mariano, Chatting on IRC about Quuve.. We are curious about the look-like-desktop-application screenshot of Quuve. Is the screenshot from a web application or a Dekstop one? Based on Pharo? Thanks Hilaire Le 28/03/2015 16:39, Mariano Martinez Peck a écrit : Hi guys, I am part of the

[Pharo-users] Spec with dynamic tabs

2015-04-02 Thread Hartmut
Hi to all, I'm working with Spec and appreciate the modularity a lot. However, I had some difficulties to discover, how I can have a dynamic widget in a tab. Plugging together the TabsExample and the DynamicWidgetChange didn't work either. In the end I discovered the flaw: - In

Re: [Pharo-users] Bytecodes in Nautilus

2015-04-02 Thread stepharo
In other IDE tools that nautilus you can't see anymore the bytecodes though. Yes, we need to streamline all the tools: We need these things to have *one* definition: adding it once should add it to all tools. not necessarily. It should be possible to customise. 2015-04-01 8:06

Re: [Pharo-users] Writing ConfigurationOf depending on beyond bleeding edge code

2015-04-02 Thread Pierce Ng
On Sun, Mar 29, 2015 at 11:43:53AM +0200, Sven Van Caekenberghe wrote: Done ! PS: I had forgotten about this, next time, ping me sooner. Thanks! Will do. Pierce

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Norbert Hartl
Am 02.04.2015 um 13:55 schrieb Esteban Lorenzano esteba...@gmail.com: On 02 Apr 2015, at 13:13, Norbert Hartl norb...@hartl.name mailto:norb...@hartl.name wrote: Am 02.04.2015 um 12:52 schrieb Esteban A. Maringolo emaring...@gmail.com mailto:emaring...@gmail.com: I don't know if

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Mariano Martinez Peck
Norbert, OpenDBXDriver worked for Oracle in Linux. Not sure the state about right now (FFI status etc), but with some work it should work. On Thu, Apr 2, 2015 at 8:55 AM, Esteban Lorenzano esteba...@gmail.com wrote: On 02 Apr 2015, at 13:13, Norbert Hartl norb...@hartl.name wrote: Am

[Pharo-users] Glorp with NBSQLite3 on Pharo 4

2015-04-02 Thread Pierce Ng
Hi all, I've integrated NBSQLite3 into Glorp on the current Pharo v40592 beta image. Details in my blog post here: http://www.samadhiweb.com/blog/ Pierce

Re: [Pharo-users] Glorp with NBSQLite3 on Pharo 4

2015-04-02 Thread Pablo R. Digonzelli
Excellent!!! Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 San Miguel de Tucumán Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714 - Mensaje original - De: Pierce Ng pie...@samadhiweb.com Para:

Re: [Pharo-users] New success stories

2015-04-02 Thread Mariano Martinez Peck
On Thu, Apr 2, 2015 at 4:05 PM, Hilaire hila...@drgeo.eu wrote: Hi Mariano, Chatting on IRC about Quuve.. We are curious about the look-like-desktop-application screenshot of Quuve. Is the screenshot from a web application or a Dekstop one? Based on Pharo? It's a desktop screenshot of