Re: [Pharo-users] Native language support

2015-03-12 Thread Guillermo Polito
Hi Nick, Thanks for chasing the bug down. Since the code for event handling is probably going to change in favor of SDL2 events soon, I think it should be good to also provide some tests for this, to detect any regression or problem, or at least to document expected behavior. Do you have any

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

2015-03-12 Thread sergio_101
it seems that in more cases than not, i find that developers use a stream when concatenating some text strings. I am wondering if this is a smalltalk thing, or is there a real speed benefit when using streams in this way. Thanks!

Re: [Pharo-users] Pillar parser rewrite: PetitParser or not?

2015-03-12 Thread Thierry Goubier
2015-03-12 9:46 GMT+01:00 kilon alios kilon.al...@gmail.com: It would be nice to have a parser to rule them all. I am currently using SmaCC and gets the job done. I really like its condense syntax and its syntax tool but also love the smalltalky feel of pettit parser. Maybe one must bite

Re: [Pharo-users] GTTools and Mongo

2015-03-12 Thread Torsten Bergmann
Ben wrote: A blog article on that would be cool :) This was already in the pipe: https://medium.com/@astares/building-a-mongo-browser-in-pharo-fe2104052843 but dont tell anyone otherwise our community will be even cooler ;) Tudor wrote: And I see you used yet another undocumented feature:

Re: [Pharo-users] Pillar parser rewrite: PetitParser or not?

2015-03-12 Thread kilon alios
It would be nice to have a parser to rule them all. I am currently using SmaCC and gets the job done. I really like its condense syntax and its syntax tool but also love the smalltalky feel of pettit parser. Maybe one must bite the bullet and write perfomance critical parts in C or even use a C

Re: [Pharo-users] Native language support

2015-03-12 Thread Ben Coman
Hi Nick, The best way to ensure this will get included is log an issue and submit a code slice at pharo.fogbugz.com. Then your code can undergo review and be integrated in a managed way. Read the How to Contribute link from there, and if its not clear, please provide feedback so we can improve

Re: [Pharo-users] using spotter to navigate through the file system

2015-03-12 Thread kilon alios
Really impressive stuff. Looks like GTSpotter does not understand ~ for home folder. It also does not preview images as gtinspector can and also fails to preview text files that dont have a .txt extension like for example .profile again GTInspector has no problem previewing. Is it possible to

Re: [Pharo-users] Native language support

2015-03-12 Thread Thierry Goubier
Hi Nick, thanks for finding this. I can now, finally, use the compose key on my Linux keyboard to enter characters like Ç, É, À... Thierry 2015-03-12 8:48 GMT+01:00 Nick Doodka nickdoo...@gmail.com: After series of trial and error methods I found acceptable solution of my problem. That is

Re: [Pharo-users] using spotter to navigate through the file system

2015-03-12 Thread Tudor Girba
Hi, On Thu, Mar 12, 2015 at 10:38 AM, kilon alios kilon.al...@gmail.com wrote: Really impressive stuff. Looks like GTSpotter does not understand ~ for home folder. It also does not preview images Images should appear fine. What images are you missing? as gtinspector can and also fails to

Re: [Pharo-users] Native language support

2015-03-12 Thread Thierry Goubier
Hi Nick, Ben, 2015-03-12 10:17 GMT+01:00 Ben Coman b...@openinworld.com: Hi Nick, The best way to ensure this will get included is log an issue and submit a code slice at pharo.fogbugz.com. Then your code can undergo review and be integrated in a managed way. I've created an issue:

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

2015-03-12 Thread Bernat Romagosa
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... El dia 12/03/2015 12.20, Serge Stinckwich

Re: [Pharo-users] Native language support

2015-03-12 Thread Thierry Goubier
2015-03-12 14:41 GMT+01:00 Henrik Johansen henrik.s.johan...@veloxit.no: On 12 Mar 2015, at 10:39 , Thierry Goubier thierry.goub...@gmail.com wrote: Hi Nick, Ben, 2015-03-12 10:17 GMT+01:00 Ben Coman b...@openinworld.com: Hi Nick, The best way to ensure this will get included is log an

[Pharo-users] Tide

2015-03-12 Thread Norbert Hartl
For an upcoming project I'm thinking about what technology to use. I think it will be seaside or amber+tide. For the latter I would like to have some experience reports. Is anyone of you using tide and what is your experience with it? thanks, Norbert

Re: [Pharo-users] Native language support

2015-03-12 Thread stepharo
Hi nick We would love that you can. Now we need somebody with a non ascii language to help. Stef Le 4/3/15 10:37, Nick Doodka a écrit : Hi all. I would like to use Pharo in my native language (Ukrainian in my case or Cyrillic), but I cannot enter some capital letters to Workspace / System

Re: [Pharo-users] Pillar parser rewrite: PetitParser or not?

2015-03-12 Thread Christophe Demarey
Le 11 mars 2015 à 23:07, Tudor Girba a écrit : I completely agree. I think there are mostly pros. It can be that the parsing will be slower, but I do not think this is a critical issue for Pillar. not sure about the speed. I hope we will adopt pillar for class / packages comments. Then,

Re: [Pharo-users] Pillar parser rewrite: PetitParser or not?

2015-03-12 Thread stepharo
I do not think that we want to have many extensions of the syntax. We should enhance it but I do not see it changing and getting extended more. Le 11/3/15 23:07, Tudor Girba a écrit : I completely agree. I think there are mostly pros. It can be that the parsing will be slower, but I do not

Re: [Pharo-users] Native language support

2015-03-12 Thread Henrik Johansen
On 12 Mar 2015, at 10:39 , Thierry Goubier thierry.goub...@gmail.com wrote: Hi Nick, Ben, 2015-03-12 10:17 GMT+01:00 Ben Coman b...@openinworld.com mailto:b...@openinworld.com: Hi Nick, The best way to ensure this will get included is log an issue and submit a code slice at

[Pharo-users] configuration browser descriptions

2015-03-12 Thread Sebastian Heidbrink
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 configurations. Beginners have no idea what Seaside, AltBrowser, Artefact,... stand

[Pharo-users] We are so lucky!

2015-03-12 Thread Sean P. DeNigris
Problem: Scanning a bi-fold pamphlet produced a PDF with two non-contiguous pages per scanned image. After converting each page of the PDF into a png, compare the following approaches to split them in half: Assembler... I mean Write-Only... I mean Shell Solution [1]: #!/bin/sh if [ ! -e even-odd

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-12 Thread stepharo
Please open a bug entry that we do not forget and yes we need displayString Well, not now. In Pharo 5 :) Doru On Tue, Mar 10, 2015 at 12:18 PM, Tudor Girba tu...@tudorgirba.com mailto:tu...@tudorgirba.com wrote: Indeed. In GT, we introduced gtDisplayString which is meant to be used

[Pharo-users] Opening filtered Setting Browser in Pharo 4.0

2015-03-12 Thread Juraj Kubelka
Hi, I am looking for how we can open Setting Browser with only desired setting items and found this solution: SettingBrowser new changeSearchedText: 'sendUsageData'; open; expandAll Is there a better way? We want to have a possibility to open SettingBrowser from Spotter as it was

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Sven Van Caekenberghe
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). So I would parse once without mapping, which would give you pure Arrays and Dictionaries that you are guaranteed can be used

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

2015-03-12 Thread Pablo R. Digonzelli
I think phil is right. -vm-display-null is the question . it aborts the process. Does not matter wich vm and image are you using. For example i am trying pharo4 latest image latest vm. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 San

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Sven Van Caekenberghe
Mariano, I assume you what this while reading JSON. That won't be possible. NeoJSON is designed as an efficient stream parser, working as it goes. So it never knows the whole JSON expression. I would do it manually, but that can only be done at the top level. Sven On 12 Mar 2015, at 21:22,

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Mariano Martinez Peck
On Thu, Mar 12, 2015 at 5:32 PM, Sven Van Caekenberghe s...@stfx.eu wrote: Mariano, I assume you what this while reading JSON. That won't be possible. NeoJSON is designed as an efficient stream parser, working as it goes. So it never knows the whole JSON expression. U I imagined that

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Esteban A. Maringolo
2015-03-12 17:22 GMT-03:00 Mariano Martinez Peck marianop...@gmail.com: 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 instance variable named json you could map it as any other string.

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

2015-03-12 Thread Esteban Lorenzano
On 12 Mar 2015, at 21:23, p...@highoctane.be wrote: Headless on windows is not working I think. that’s not related, —no-quit should be working (and —headless should be letting a window in the try). can you provide more information? vm version? image version? anything relevant? just

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Esteban A. Maringolo
2015-03-12 18:09 GMT-03:00 Sven Van Caekenberghe s...@stfx.eu: 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). I guess this has to do with the fact that if you have a

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread Esteban A. Maringolo
Assuming you store the original JSON string as a String object in an instance variable named json you could map it as any other string. Or are you planning to store it as JSON object itself? Esteban A. Maringolo 2015-03-12 16:50 GMT-03:00 Mariano Martinez Peck marianop...@gmail.com: Hi, In

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

2015-03-12 Thread p...@highoctane.be
Headless on windows is not working I think. There is code in the VM but it looks more dead than alive. There is a console version of Squeak and we may want to revive that. There us even code for a Windows service in there... Phil Le 12 mars 2015 20:41, Pablo R. Digonzelli pdigonze...@gmail.com a

Re: [Pharo-users] Question about NeoJSON

2015-03-12 Thread 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 instance variable named json you could map it as any other string. But how do I get the JSON string associated to the TestObject instance? In

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

2015-03-12 Thread Pablo R. Digonzelli
Hi again, i cannot do it work for a windows 2012 server. it seems --no-quit does not work . Any suggestion? 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

[Pharo-users] Question about NeoJSON

2015-03-12 Thread Mariano Martinez Peck
Hi, In this link: https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md I see an example of a custom mapping like this one: mapper for: TestObject do: [ :mapping | mapping mapInstVars: #(id name). (mapping mapInstVar: #timestamp to: 'created-at') valueSchema: DateAndTime.

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

2015-03-12 Thread Juraj Kubelka
Hi, If I export settings from Settings Browser in Moose 5.1 and then open Pharo 4.0 image, it raises an error GTGenericStackDebugger not found in SystemDictionary”. The problem is a setting: (Smalltalk at: #GTGenericStackDebugger) perform: #enableStackColoring: with: (true) which

Re: [Pharo-users] Opening filtered Setting Browser in Pharo 4.0

2015-03-12 Thread Juraj Kubelka
Yes, this is also an option if we do not mind to show a bit more all options related to the spotter event recorder. Thanks! Cheers, Juraj 12. 3. 2015 v 16:15, Andrei Chis chisvasileand...@gmail.com: What about: SettingBrowser new changePackageSet: (RPackage organizer

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

2015-03-12 Thread Pablo R. Digonzelli
I need to run pharo headless and without gui for a Seaside app i am working on. I user pharo -vm-display-null --headless imagefile and does not work. May be someone can help me. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 San Miguel de

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

2015-03-12 Thread Pablo R. Digonzelli
Hi, i solve the problem! ./pharo-vm/pharo -vm-display-null -vm-sound-null --plugins ./pharo-vm --encoding utf8 imagefile.image --no-quit works very well TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 San Miguel de Tucumán Email:

Re: [Pharo-users] Opening filtered Setting Browser in Pharo 4.0

2015-03-12 Thread Andrei Chis
What about: SettingBrowser new changePackageSet: (RPackage organizer packageNamed: 'GT-Spotter-EventRecorder') asOrderedCollection; open; expandAll. Cheers, Andrei On Thu, Mar 12, 2015 at 7:08 PM, Juraj Kubelka juraj.kube...@gmail.com wrote: Hi, I am looking for how we can open

Re: [Pharo-users] Opening filtered Setting Browser in Pharo 4.0

2015-03-12 Thread Ben Coman
PharoLauncher does this at the level of a group. cheers -ben On Fri, Mar 13, 2015 at 3:22 AM, Juraj Kubelka juraj.kube...@gmail.com wrote: Yes, this is also an option if we do not mind to show a bit more all options related to the spotter event recorder. Thanks! Cheers, Juraj 12. 3. 2015

[Pharo-users] Datathon for development in Paris

2015-03-12 Thread Serge Stinckwich
Dear all, something that might interest some of you. There will be a datathon organized in Paris in collaboration with the MIT about data development in African countries from April 7th to 9th. Some companies and NGOs will provide open data. Orange, the telecom provider will provided some data

Re: [Pharo-users] using spotter to navigate through the file system

2015-03-12 Thread kilon alios
Images should appear fine. What images are you missing? hmm it looks like I am missing the preview panel altogether. Is this committed to Pharo 4 ? I got the latest Pharo 4 image just now. In the meantime, you can add a simple presentation that allows you to change the file in your packages :)

Re: [Pharo-users] using spotter to navigate through the file system

2015-03-12 Thread Tudor Girba
Hi, On Thu, Mar 12, 2015 at 10:59 AM, kilon alios kilon.al...@gmail.com wrote: Images should appear fine. What images are you missing? hmm it looks like I am missing the preview panel altogether. Is this committed to Pharo 4 ? I got the latest Pharo 4 image just now. No, it's not yet. I

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

2015-03-12 Thread David T. Lewis
On Thu, Mar 12, 2015 at 06:23:28PM -0300, Pablo R. Digonzelli wrote: I think phil is right. -vm-display-null is the question . it aborts the process. Does not matter wich vm and image are you using. For example i am trying pharo4 latest image latest vm. The -vm-display-null parameter is

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-12 Thread Sebastian Sastre
On Mar 10, 2015, at 8:43 AM, Sven Van Caekenberghe s...@stfx.eu wrote: OK, both of the following make sense /Users/sven/Desktop/foo.txt file:///Users/sven/Desktop/foo.txt file:///Users/sven/Desktop/foo.txt But what about native (OS platform) conventions ? I don't want to see

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-12 Thread Sebastian Sastre
On Mar 10, 2015, at 12:57 PM, Sven Van Caekenberghe s...@stfx.eu wrote: the standard string representation of an abstract platform independent representation of a file should be that: abstract platform independent (it would be terrible to mask that behind a platform dependent external