Re: [Pharo-users] Packaging Pharo for many distributions at once

2014-09-25 Thread Christophe Demarey
Le 24 sept. 2014 à 18:51, Damien Cassou a écrit : > On Wed, Sep 24, 2014 at 12:47 PM, Thierry Goubier > wrote: >> All non-native package managers have that issue. > > > nix included I know ... That's why native packages are still interesting even if it's difficult to manage various package d

[Pharo-users] What to use?

2014-09-25 Thread Friedrich Dominicus
If one is intersted in graphics of diverse functions? E.g plotting x^2,x^3 and the like. I checked the DrGeo stuff but that's geometry and not just analysis of functions and the like? Does there exist something for that? Regards Friedrich

Re: [Pharo-users] What to use?

2014-09-25 Thread Esteban Lorenzano
probably GraphET https://www.facebook.com/media/set/?set=a.566523986767536.1073741839.340543479365589&type=3 On 25 Sep 2014, at 09:08, Friedrich Dominicus wrote: > If one is intersted in graphics of diverse functions? > > E.g plotting x^2,x^3 and the like. I checked the DrGeo stuff but that'

Re: [Pharo-users] What to use?

2014-09-25 Thread Friedrich Dominicus
Esteban Lorenzano writes: > probably GraphET > > https://www.facebook.com/media/set/?set=a.566523986767536.1073741839.340543479365589&type=3 Thanks, that seems to be it Regards Friedrich

Re: [Pharo-users] What to use?

2014-09-25 Thread Yuriy Tymchuk
There is a new Charter builder now. It’s not very stable yet as far as I can tell, but it’s the future of charts in Roassal https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/Charter/0202-Charter.html

[Pharo-users] Threaded callbacks with FFI

2014-09-25 Thread Annick Fron
Hi, I am calling C from pharo with a callback, and it seems the callback is called in another thread. I can’t wrap the block in a process, because the return will be wrong, how can I do ??? Annick

[Pharo-users] Machine learning in Pharo?

2014-09-25 Thread Martin Dias
Hi all, I'm playing with weka [1] for classifying data using data mining/machine learning. I'm really new on this field so I want to give you a concrete example of my use case to make it clear: I have elements that can be classified as true or false. In a training phase, I set up a bayesian netwo

Re: [Pharo-users] Threaded callbacks with FFI

2014-09-25 Thread p...@highoctane.be
Le 25 sept. 2014 11:32, "Annick Fron" a écrit : > > Hi, > > I am calling C from pharo with a callback, and it seems the callback is called in another thread. > I can’t wrap the block in a process, because the return will be wrong, how can I do ??? > Can you send us sample code ? > Annick >

[Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?

2014-09-25 Thread p...@highoctane.be
I am loading PetitParser in my image but it takes a lng time to load and below is what I see in my Jenkins console. Build for that step starts at 13:48:51 and ends at 14:03:15. Phew! Also a couple errors in loading examples. What is recommended to use to not have all of this? I just need the

Re: [Pharo-users] Threaded callbacks with FFI

2014-09-25 Thread Annick Fron
OK I try do do that. Le 25 sept. 2014 à 12:18, p...@highoctane.be a écrit : > > Le 25 sept. 2014 11:32, "Annick Fron" a écrit : > > > > Hi, > > > > I am calling C from pharo with a callback, and it seems the callback is > > called in another thread. > > I can’t wrap the block in a process, be

Re: [Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?

2014-09-25 Thread Tudor Girba
Hi, The dependencies are needed for the UI. If you can live without the UI, you can load the 'Core' group from the configuration. Cheers, Doru On Thu, Sep 25, 2014 at 2:07 PM, p...@highoctane.be wrote: > I am loading PetitParser in my image but it takes a lng time to load > and below is

Re: [Pharo-users] Ridiculous we are

2014-09-25 Thread Hilaire Fernandes
Le 24/09/2014 18:48, Benjamin Pollack a écrit : > On Tue, 23 Sep 2014 08:51:54 -0400, Hilaire wrote: > >> Le 23/09/2014 14:09, Damien Cassou a écrit : >>> I recently read documents about utf-8 encoding. In all of them, the >>> author says that pathnames should be kept as is because you never know

[Pharo-users] invoking python from pharo

2014-09-25 Thread Pablo R. Digonzelli
Hi all , I need to invoke python rutines from Pharo. I need some orientation about the best way to do it. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714

[Pharo-users] FFI on Linux again

2014-09-25 Thread Annick Fron
Hi, I Have tried the following code on Linux , but the call breaks. Is it because of the X11Window structure missing or else ? Annick testGetOurWindowLocation "self new testGetOurWindowLocation" | display ourWindow aParent anX anY aWidth aHeight aBorderWidth aDepth | display := X1

Re: [Pharo-users] Ridiculous we are

2014-09-25 Thread Henrik Johansen
On 25 Sep 2014, at 5:00 , Hilaire Fernandes wrote: > Le 24/09/2014 18:48, Benjamin Pollack a écrit : >> On Tue, 23 Sep 2014 08:51:54 -0400, Hilaire wrote: >> >>> Le 23/09/2014 14:09, Damien Cassou a écrit : I recently read documents about utf-8 encoding. In all of them, the author sa

Re: [Pharo-users] Booting into Pharo!

2014-09-25 Thread Pierce Ng
On Sun, Sep 21, 2014 at 06:56:27PM -0400, David T. Lewis wrote: > If you are booting directly into the image, you may find it useful to also > load CommandShell/OSProcess into your image. This will let you open a > Smalltalk shell window directly within your Squeak/Pharo boot image, so > that you h

[Pharo-users] Using themes and closing windows

2014-09-25 Thread Annick Fron
Is there a documentation how to use or write Themes ? I would like to attach some method when I close a window, how I do that ? Annick

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread Ben Coman
Pablo R. Digonzelli wrote: Hi all , I need to invoke python rutines from Pharo. I need some orientation about the best way to do it. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina.com

Re: [Pharo-users] Glorp + NBSQLite3

2014-09-25 Thread Pierce Ng
On Wed, Sep 24, 2014 at 01:33:02PM -0300, Esteban A. Maringolo wrote: > How does SQLite scale in terms of table size and so on? According to https://www.sqlite.org/whentouse.html: An SQLite database is limited in size to 140 terabytes (2^47 bytes, 128 tibibytes). And even if it could handle l

Re: [Pharo-users] Ridiculous we are

2014-09-25 Thread Henrik Johansen
On 22 Sep 2014, at 10:07 , Hilaire wrote: > > However font path seems ok: > File @ /home/hilaire/Téléchargements/DrGeo.app/Contents/Resources. > Inspecting this path, it looks like 'Téléchargements' is 8 bits, but it > should be utf-8, right? > > I think there are issue on Windows, as some use

Re: [Pharo-users] Using themes and closing windows

2014-09-25 Thread Thierry Goubier
Le 25/09/2014 18:37, Annick Fron a écrit : Is there a documentation how to use or write Themes ? I would like to attach some method when I close a window, how I do that ? You can register to the announcement sent by the window when closing. | s | s := SystemWindow new. s onAnnouncement: Windo

Re: [Pharo-users] FFI on Linux again

2014-09-25 Thread Nicolai Hess
Am 25.09.2014 17:25 schrieb "Annick Fron" : > > Hi, > > I Have tried the following code on Linux , but the call breaks. Is it because of the X11Window structure missing or else ? > > Annick > > testGetOurWindowLocation >"self new testGetOurWindowLocation" > >| display ourWindow aParent

Re: [Pharo-users] Booting into Pharo!

2014-09-25 Thread David T. Lewis
> On Sun, Sep 21, 2014 at 06:56:27PM -0400, David T. Lewis wrote: >> If you are booting directly into the image, you may find it useful to >> also >> load CommandShell/OSProcess into your image. This will let you open a >> Smalltalk shell window directly within your Squeak/Pharo boot image, so >> t

Re: [Pharo-users] Booting into Pharo!

2014-09-25 Thread Sven Van Caekenberghe
On 25 Sep 2014, at 18:27, Pierce Ng wrote: > On Sun, Sep 21, 2014 at 06:56:27PM -0400, David T. Lewis wrote: >> If you are booting directly into the image, you may find it useful to also >> load CommandShell/OSProcess into your image. This will let you open a >> Smalltalk shell window directly w

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread kilon alios
Hi there, I promised to do this a long time ago, but since you asked it I done it now. So as Ben said I am the author of Ephestos, a communication bridge between Blender and Pharo . To go directly to the how to . Ephestos is basically a socket bridge that send via sockets strings from pharo to py

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread kilon alios
a minor correction to the previous email its python3 pyatlas.py and not python3 pyAtlas.py also I forgot to make clear that it works for pyhton 2.7 and python 3. On Thu, Sep 25, 2014 at 8:11 PM, kilon alios wrote: > Hi there, I promised to do this a long time ago, but since you asked it I > do

[Pharo-users] Passed by references and by value

2014-09-25 Thread nacho
Hi, In PBE says that ordinary objects' ivars are passed by references and small integers are passed by value. Is there a way to know if a class is passed by reference or by value? Only small integers are passed as value? Thanks in advance Nacho - Nacho Smalltalker apprentice. Buenos Aires,

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Mark Rizun
Hi, Most classes are passed by reference including those that were defined by user. But classes like integer are passed by value. I think it's similar to C#. I may be wrong, so better wait for another more competent reply:) Best, Mark 2014-09-25 21:14 GMT+03:00 nacho <0800na...@gmail.com>: > Hi

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread Pablo R. Digonzelli
Yes , I was aware of the excellent work of kilon. I was hoping that this be the way to solve my issue. Thanks kilon, I will follow your instructions and comment the results into the list. Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdig

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Esteban A. Maringolo
2014-09-25 15:14 GMT-03:00 nacho <0800na...@gmail.com>: > Hi, > In PBE says that ordinary objects' ivars are passed by references and small > integers are passed by value. > Is there a way to know if a class is passed by reference or by value? > Only small integers are passed as value? Yes. It h

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Mark Rizun
> > > Only small integers are passed as value? > > Yes. > > It has to do with the object headers, SmallIntegers are embedded in the OH. What about Float, for example?

Re: [Pharo-users] Ridiculous we are

2014-09-25 Thread Alain Rastoul
Le 25/09/2014 07:23, Sven Van Caekenberghe a écrit : On 25 Sep 2014, at 01:04, Alain Rastoul wrote: Le 25/09/2014 00:06, Sven Van Caekenberghe a écrit : Alain, The character encoding situation in Pharo is pretty good actually. The only problem is that there is some old school code left t

Re: [Pharo-users] Machine learning in Pharo?

2014-09-25 Thread Hernán Morales Durand
In BioSmalltalk you can do something like this: | cluster classifier trainedData observations| cluster := BioGroupOrganization forSimilarityOn: #value. trainedData := { 'Polaromonas naphthalenivorans CJ2' . 'Polaromonas sp. JS666' . 'Planctomyces limnophilus DSM 3776' . 'N

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Alexandre Bergel
Floats are passed as values. Objects that are passed as values should be immutable, as floats and integers. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 25, 2014, at 3:35 PM, Mark

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread kilon alios
Its far from excellent. Its not as tested as I want it to be, and the code could be much better but it works and makes interfacing with python code very easy. Its also an ongoing project that I will keep adding feature to , for example I would like to extend pharo syntax to more complex stuff than

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Esteban A. Maringolo
I forgot. Floats too. And I think that's it. Esteban A. Maringolo 2014-09-25 15:35 GMT-03:00 Mark Rizun : >> > Only small integers are passed as value? >> >> Yes. >> >> It has to do with the object headers, SmallIntegers are embedded in the >> OH. > > > What about Float, for example? >

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread stepharo
Hi, In PBE says that ordinary objects' ivars are passed by references and small integers are passed by value. Strange I do not remember having written that. Especially because in Smalltalk this has no real interest. Is there a way to know if a class is passed by reference or by value? In Sma

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread nacho
" stepharo wrote >> Hi, >> In PBE says that ordinary objects' ivars are passed by references and >> small >> integers are passed by value. > > Strange I do not remember having written that. > Especially because in Smalltalk this has no real interest. > > > Well you also wrote that :p > > "Deep

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-25 Thread stepharo
Hi udo I agree with sven :) We could easily turn your blog into a chapter for a future book :) I have the impression that the blog is how to avoid parsing and still get translation done! Stef Hi Sven, thanks for the feedback. > Keep that kind of stuff coming, it is very helpful. I'll try t

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-25 Thread stepharo
Yes I do, but you also know (it was clear from the article) that you learn a lot yourself from writing something for public consumption. Most people underestimate how powerful that is. :) In fact I only write for that: to force myself to deeply understand something and be able to forget it

Re: [Pharo-users] invoking python from pharo

2014-09-25 Thread Pablo R. Digonzelli
Excellent, I will waiting ... Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714 De: "kilon alios" Para: "Any question about pharo is welcome" Enviados: Jueves, 25 de

Re: [Pharo-users] BLOG: Block Translators - parsing magic

2014-09-25 Thread Udo Schneider
Hi Stef, > We could easily turn your blog into a chapter for a future book :) Wow! I didn't really expect that! But I'd happy to help any way I can. Maybe by adding some bits an pieces how to parse blocks with multiple expressions? I have that working for a project I'm working on - but it isn't

Re: [Pharo-users] Loading PetitParser loads a hell of a lot of things... is there a terser version?

2014-09-25 Thread Sean P. DeNigris
Tudor Girba-2 wrote > If you can live without the UI, you > can load the 'Core' group from the configuration. +1. That's what I usually do. - Cheers, Sean -- View this message in context: http://forum.world.st/Loading-PetitParser-loads-a-hell-of-a-lot-of-things-is-there-a-terser-version-tp

[Pharo-users] Your picture on Pharo contributors :)

2014-09-25 Thread stepharo
Hi guys do not forget to sign the license agreement http://files.pharo.org/media/PharoSoftwareDistributionAgreement.pdf and send us your picture to be added to http://pharo.org/about Stef

Re: [Pharo-users] Your picture on Pharo contributors :)

2014-09-25 Thread Sven Van Caekenberghe
On 26 Sep 2014, at 07:25, stepharo wrote: > Hi guys > > do not forget to sign the license agreement > http://files.pharo.org/media/PharoSoftwareDistributionAgreement.pdf > and send us your picture to be added to >http://pharo.org/about > > Stef The picture should be a 70x70 PNG.

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Clément Bera
Depending on the VM you use, different objects are passed by values. Currently -> only smallintegers on Spur 32 bits VM -> smallintegers and characters on Spur 64 bits VM -> smallintegers, characters and smallfloat But as Stef said it does not really matter in smalltalk. 2014-09-25 21:55 GMT+02:

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Marcus Denker
On 26 Sep 2014, at 08:07, Clément Bera wrote: > Depending on the VM you use, different objects are passed by values. > > Currently -> only smallintegers > on Spur 32 bits VM -> smallintegers and characters > on Spur 64 bits VM -> smallintegers, characters and smallfloat > > But as Stef said it

Re: [Pharo-users] Passed by references and by value

2014-09-25 Thread Marcus Denker
On 25 Sep 2014, at 20:28, Esteban A. Maringolo wrote: > 2014-09-25 15:14 GMT-03:00 nacho <0800na...@gmail.com>: >> Hi, >> In PBE says that ordinary objects' ivars are passed by references and small >> integers are passed by value. >> Is there a way to know if a class is passed by reference or by