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

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 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 > NativePostgresDriver>>connectionArgsFromCurrentLogi

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

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

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

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 another.

Re: [Pharo-users] Devnology presentation slides

2015-04-02 Thread p...@highoctane.be
Nice slideware!​ And interesting points at that. Phil

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

[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] New success stories

2015-04-02 Thread Mariano Martinez Peck
On Thu, Apr 2, 2015 at 4:42 PM, Mariano Martinez Peck wrote: > > > On Thu, Apr 2, 2015 at 4:05 PM, Hilaire 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 D

Re: [Pharo-users] New success stories

2015-04-02 Thread Mariano Martinez Peck
On Thu, Apr 2, 2015 at 4:05 PM, Hilaire 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 multiple quuve

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 de

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" Para: pharo-users@lists.pharo.org Enviados

[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] 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] 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 GMT-07:0

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

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Norbert Hartl
> Am 02.04.2015 um 13:55 schrieb Esteban Lorenzano : > > >> On 02 Apr 2015, at 13:13, Norbert Hartl > > wrote: >> >> >>> Am 02.04.2015 um 12:52 schrieb Esteban A. Maringolo >> >: >>> >>> I don't know if you need full fledged access or ju

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 wrote: > > On 02 Apr 2015, at 13:13, Norbert Hartl wrote: > > > Am 02.04.2015 um 12:52 schrieb Esteban A.

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread Alexandre Bergel
col := #(1 2 3 4 5) asOrderedCollection. col copy do: [ :each | col remove: each. ]. col will work instead Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Apr 2, 2015, at 3:22 AM, Pete

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 : > 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

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Esteban Lorenzano
> On 02 Apr 2015, at 13:13, Norbert Hartl wrote: > > >> Am 02.04.2015 um 12:52 schrieb 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 (F

Re: [Pharo-users] Oracle on Linux

2015-04-02 Thread Norbert Hartl
> Am 02.04.2015 um 12:52 schrieb 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 loo

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 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 > necessary for a l

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: FD

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 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 PP, things we

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] 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 / temperatureStatus

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

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 t

[Pharo-users] Oracle on Linux

2015-04-02 Thread Norbert Hartl
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 necessary for a lot of people. Now have the need to access an oracle database. Is that possible? And if yes does it also work on linux? Norbert

Re: [Pharo-users] Bytecodes in Nautilus

2015-04-02 Thread Marcus Denker
> On 01 Apr 2015, at 19:24, Clément Bera 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 the menu was not a

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 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 string syntax.

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 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 happy customer :) > >

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread p...@highoctane.be
On Thu, Apr 2, 2015 at 9:33 AM, Peter Uhnák wrote: > On Thu, Apr 2, 2015 at 8:30 AM, Joachim Tuchel > 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 mentione

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread p...@highoctane.be
On Thu, Apr 2, 2015 at 8:22 AM, Peter Uhnák 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" > I tes

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 lik

Re: [Pharo-users] OrderedCollection remove:

2015-04-02 Thread Peter Uhnák
On Thu, Apr 2, 2015 at 8:30 AM, Joachim Tuchel 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