Re: [Pharo-users] Settings Browser: Moose 5.1 exported settings raises error in Pharo 4.0

2015-03-13 Thread stepharo
The problem is also when you rename a class. Having explicit class name is a problem. Damien C we wwna to extract and revisit the configuration approach of pillar to offer a nice way to support configurations. Now it is based on Ston and it will make the approach based on a little package. So

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-13 Thread stepharo
use String streamContents: [:s | s nextPutAll: 'jlklkjkl' ] or String streamContents: [:s | s << 'jlklkjkl' ] it is a great method for manipulating Le 10/3/15 19:09, sergio_101 a écrit : it seems that in more cases than not, i find that developers use a stream when concatenating

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-13 Thread Marcus Denker
> On 13 Mar 2015, at 08:41, stepharo wrote: > > use > > String streamContents: [:s | >s nextPutAll: 'jlklkjkl' ] > > > or > > String streamContents: [:s | >s << 'jlklkjkl' ] > > > it is a great method for manipulating > > Le 10/3/15 19:09, sergio_101 a écrit : >> >> it seems that

Re: [Pharo-users] Notebook/slideshow morph

2015-03-13 Thread stepharo
Pay attention that my code was an experiement to build test first a mini powerpoint. So there is not much. Is there a way to save and reload the slide show. Like in the good old squeak days (TM) with a *.morph file? No but nothing prevent you to plug fuel for that? Now I was thinking that I wa

Re: [Pharo-users] Cleaning changes file?

2015-03-13 Thread stepharo
You can do that using the expression: PharoChangesCondenser condense Although that also means you lose the version history of methods inside your image. This is typically not done a lot, maybe for production deploy, maybe for release of Pharo itself. Yes, but we need to change that. The

Re: [Pharo-users] Cleaning changes file?

2015-03-13 Thread Marcus Denker
> On 13 Mar 2015, at 09:18, stepharo wrote: > > > > You can do that using the expression: > > PharoChangesCondenser condense > > Although that also means you lose the version history of methods inside > your image. This is typically not done a lot, maybe for prod

[Pharo-users] [OT] DB Open Data-Train Challenge in Germany

2015-03-13 Thread Torsten Bergmann
Similar to the Dataton in Paris (http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2015-March/017444.html) with data from Africa to visualize possible with Roassal there is in germany next friday (20.3.2015) a day in Frankfurt organized by german railway, also with open data (timetabl

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-13 Thread Sven Van Caekenberghe
The breaking point seems to be around 5 concatenations: str:= Character alphabet. [ str, str, str, str, str ] bench. "'1,020,043 per second'" [ String new: str size * 5 streamContents: [ :out | 5 timesRepeat: [ out nextPutAll: str ] ] ] bench. "'949,738 per second'" > On 13 Mar 2015, at

Re: [Pharo-users] Question about NeoJSON

2015-03-13 Thread Mariano Martinez Peck
On Thu, Mar 12, 2015 at 6:09 PM, Sven Van Caekenberghe wrote: > I don't really understand why you want to keep the original JSON. It is a > bit like you don't trust the parsing and/or mapping. Now, the mapping I > understand (somewhat). > > Yes, there are a few domain-specific reasons, but let me

Re: [Pharo-users] Question about NeoJSON

2015-03-13 Thread Mariano Martinez Peck
On Thu, Mar 12, 2015 at 6:19 PM, Esteban A. Maringolo wrote: > 2015-03-12 17:22 GMT-03:00 Mariano Martinez Peck : > > On Thu, Mar 12, 2015 at 5:16 PM, Esteban A. Maringolo < > emaring...@gmail.com> > > wrote: > > >> Assuming you store the original JSON string as a String object in an > >> instanc

Re: [Pharo-users] Tide

2015-03-13 Thread Esteban Lorenzano
As one of the authors of Tide, I wouldn’t recommend to use it today… unless you are planning to maintain it too, because atm I do not have time to do it and Nico (the other/main author is not working on smalltalk anymore… nor amber or pharo). Instead, I would use Seaside+Reef :P Esteban > On

Re: [Pharo-users] configuration browser descriptions

2015-03-13 Thread Johan Fabry
+1 > On Mar 13, 2015, at 01:25, Sebastian Heidbrink wrote: > > Hi! > > Here is another information based on my last beginners session. > > One should discuss if it might be useful and easy to implement to have a > configuration browser that includes descriptions for the offered > configurat

Re: [Pharo-users] Tide

2015-03-13 Thread Tommaso Dal Sasso
As one of the few (maybe the only user) of Tide, I can say that it is powerful but painful ;-) Amber is changing (quite) fast, and the current version of Tide is not usable with the default version. I made some small changes to make Tide work with the current setup of Amber, but still there are

Re: [Pharo-users] Tide

2015-03-13 Thread Norbert Hartl
> Am 13.03.2015 um 14:51 schrieb Esteban Lorenzano : > > As one of the authors of Tide, I wouldn’t recommend to use it today… unless > you are planning to maintain it too, because atm I do not have time to do it > and Nico (the other/main author is not working on smalltalk anymore… nor > amber

Re: [Pharo-users] Tide

2015-03-13 Thread Norbert Hartl
> Am 13.03.2015 um 15:13 schrieb Tommaso Dal Sasso : > > As one of the few (maybe the only user) of Tide, I can say that it is > powerful but painful ;-) > Amber is changing (quite) fast, and the current version of Tide is not usable > with the default version. I made some small changes to make

Re: [Pharo-users] Datathon for development in Paris

2015-03-13 Thread Serge Stinckwich
On Thu, Mar 12, 2015 at 1:43 PM, Bernat Romagosa wrote: > Hi Serge, > > Do you know if these data will stay open and public after the event? At the > Citilab we're working a lot with open data and we're constantly looking for > new sources. I don't think we'll be able to come to Paris though... I

Re: [Pharo-users] pharo headless and without gui. Seaside app

2015-03-13 Thread Pablo R. Digonzelli
I understand , wher can i get Andrea's command line info? TIA 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: "David

[Pharo-users] configuration browser descriptions

2015-03-13 Thread Torsten Bergmann
Sebastian wrote: >One should discuss if it might be useful and easy to implement to have a >configuration browser >that includes descriptions for the offered configurations. I guess I'm knowledgable enough to answer this: a) it is useful b) if it is easy depends on where you get the descriptio

Re: [Pharo-users] [OT] DB Open Data-Train Challenge in Germany

2015-03-13 Thread Alexandre Bergel
We can help! Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Mar 13, 2015, at 7:49 AM, Torsten Bergmann wrote: > > Similar to the Dataton in Paris > (http://lists.pharo.org/pipermail

Re: [Pharo-users] pharo headless and without gui. Seaside app

2015-03-13 Thread Esteban Lorenzano
squeak vm info is for squeak vm, not for pharo vm (which has some differences… for example). I will ask you again to give us more information about your command line, what you are trying to do, etc. otherwise you will stay flipping around, because people will answer in general… not very usefu

Re: [Pharo-users] pharo headless and without gui. Seaside app

2015-03-13 Thread Pablo R. Digonzelli
Esteban, i am trying to deploy a Seaside app in Windows. I want pharo running headless and i will want to implement it as Windows Service. But does not matter. Trying start pharo4 last image last vm ( https://ci.inria.fr/pharo/) in headless . pharo -vm-display-null -vm-sound-null imagefile.im

[Pharo-users] pillar source import

2015-03-13 Thread Peter Uhnák
Hi, is it currently possible to import file contents into pillar? For example I have a script stored in my-script.st and I would like to do something like [[[source=my-script.st ]]] or {import 'my-another-pillar-file.pillar'} or something like that. I can overcome this with some bash preprocess

Re: [Pharo-users] pillar source import

2015-03-13 Thread stepharo
Hi peter I do not think that this is possible. We should probably add support for it. Stef is it currently possible to import file contents into pillar? For example I have a script stored in my-script.st and I would like to do something like [[[source=my-script.st

Re: [Pharo-users] Tide

2015-03-13 Thread stepharo
Am 13.03.2015 um 14:51 schrieb Esteban Lorenzano : As one of the authors of Tide, I wouldn’t recommend to use it today… unless you are planning to maintain it too, because atm I do not have time to do it and Nico (the other/main author is not working on smalltalk anymore… nor amber or pharo).

Re: [Pharo-users] Cleaning changes file?

2015-03-13 Thread stepharo
I do not understand your stress. If we produce a condense change files what is the problem. You are talking about the problem of having multiple .sources? yes. we download always *all* sources files with the VM. I do not get it. I only download once the source file and after only the vm. S

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-13 Thread stepharo
Le 10/3/15 14:40, Joachim Tuchel a écrit : Marcus So sorry for this false accusation. It is proprietary in Squeak. And even if it was Dan's idea to rename it, I'd like to learn more about the reasoning. My understanding would be: #do: iterates over a collection #doWithIndex: iterates over a c

Re: [Pharo-users] Searching package for comment content

2015-03-13 Thread stepharo
you can even use a nautilus plugin that shows you the list of all the flag: method in a package. Le 9/3/15 15:51, Marcus Denker a écrit : On 09 Mar 2015, at 15:44, sergio_101 wrote: Hi, all. Does anyone have any ideas on this? I would like to be able to do a quick text search in all classe

Re: [Pharo-users] Cleaning changes file?

2015-03-13 Thread Sven Van Caekenberghe
> On 13 Mar 2015, at 21:24, stepharo wrote: > > >>> I do not understand your stress. If we produce a condense change files what >>> is the problem. >>> You are talking about the problem of having multiple .sources? >> >> yes. we download always *all* sources files with the VM. >> > > I do n

Re: [Pharo-users] [ANN] RProjectConnector V1.0

2015-03-13 Thread Juan Pablo Sandoval Alcocer
Hi, I was trying to use RProjectConnector in my Mac (1.9.1) and i have some issues :(. I have copied the dynamic libraries of R to /usr/lib directory (.i.e. libR.dylib). But PharoVM does not find the libraries. For instance, this line of code returns always nil. self nbGetSymbolAddress

[Pharo-users] Group external method under custom tag

2015-03-13 Thread Laura Risani
Hi all, I have a 'package1' that defines methods in other packages (in a method group with its name). If while at a class browser i select 'package1' these methods are shown but not if i select any of the package's tags. Is it possible to show them under a custom package1's tag? (instead of defini

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-13 Thread Sean P. DeNigris
NorbertHartl wrote > anObject = aCollection last Of course the above and #indexOf: will only work if there are no duplicates in the collection and #indexOf: will require a lot of extra iterations. If you need the indices associated to the objects, maybe you should wrap them e.g. "indexedObjects :=

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-13 Thread Marcus Denker
> On 13 Mar 2015, at 21:44, stepharo wrote: > > > > Le 10/3/15 14:40, Joachim Tuchel a écrit : >> Marcus >> >> So sorry for this false accusation. It is proprietary in Squeak. >> And even if it was Dan's idea to rename it, I'd like to learn more about the >> reasoning. >> My understanding w