Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
October 2012
- 82 participants
- 1024 messages
[Pharo-project] Hello + postgresql
by roberto.minelli@usi.ch
Hello,
Yesterday I wrote on Pharo-users but I was suggested to use the Pharo-project mailing list.
I forward my email here, and sorry for cross-posting.
I already received some answers, but further hints are appreciated.
Cheers,
Roberto M.
> I am Roberto Minelli, a PhD student in the REVEAL research group at the Faculty of Informatics of the University of Lugano.
> I am exploring Smalltalk, and Pharo, for the first time and I am open to suggestions and tips & trick.
>
> Shortly I would like to work on something concrete to get in touch with Smalltalk.
> One of the things I am interested in, is retrieving entries from an existing PostgreSQL database.
> To this aim it would be great if some to you could point me in the right direction. ;)
>
> I also heard that there are some very cool "extensions" to the Pharo IDE (i.e., advanced code completion & code browsing, etc).
> I would be glad if some of you could help me discovering all these cool features of Pharo!
>
> Thanks in advance,
> Roberto M.
Oct. 19, 2012
[Pharo-project] [OT] Lars Bak on VM's
by Torsten Bergmann
Lars Bak presents several language virtual machines (Self, Strongtalk, Hotspot), why they matter and how they influenced V8 and Dart.
http://www.infoq.com/presentations/Performance-V8-Dart
I agree when he states "I like Smalltalk" ;)
Oct. 19, 2012
[Pharo-project] [update 2.0] #20351
by Marcus Denker
20351
-----
Issue 6846: New Spec version
http://code.google.com/p/pharo/issues/detail?id=6846
Issue 6845: Monticello browser should not open the repository after an add when a package is selected
http://code.google.com/p/pharo/issues/detail?id=6845
Issue 6842: Nautilus: Group could work as scoped enviroment
http://code.google.com/p/pharo/issues/detail?id=6842
Issue 6805: unify #isTraitMethod and #isFromTrait
http://code.google.com/p/pharo/issues/detail?id=6805
Diff information:
http://ss3.gemstone.com/ss/Pharo20/Spec-Widgets-MarcusDenker.71.diff
http://ss3.gemstone.com/ss/Pharo20/Spec-Tools-MarcusDenker.62.diff
http://ss3.gemstone.com/ss/Pharo20/Spec-Tests-MarcusDenker.14.diff
http://ss3.gemstone.com/ss/Pharo20/Spec-Core-MarcusDenker.62.diff
http://ss3.gemstone.com/ss/Pharo20/Spec-Builder-MarcusDenker.13.diff
http://ss3.gemstone.com/ss/Pharo20/Spec-Bindings-MarcusDenker.18.diff
http://ss3.gemstone.com/ss/Pharo20/Ring-Core-Kernel-MarcusDenker.82.diff
http://ss3.gemstone.com/ss/Pharo20/NautilusRefactoring-MarcusDenker.53.diff
http://ss3.gemstone.com/ss/Pharo20/NautilusCommon-MarcusDenker.97.diff
http://ss3.gemstone.com/ss/Pharo20/Nautilus-MarcusDenker.370.diff
http://ss3.gemstone.com/ss/Pharo20/MonticelloGUI-MarcusDenker.195.diff
http://ss3.gemstone.com/ss/Pharo20/Kernel-MarcusDenker.1215.diff
--
Marcus Denker -- http://marcusdenker.de
Oct. 19, 2012
Re: [Pharo-project] RPackage by-hand code
by Stéphane Ducasse
On Oct 18, 2012, at 11:37 PM, GOUBIER Thierry wrote:
> Hum. I don't know how to easily reproduce the bug, but you may see the result.
>
> Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Yes I just found exactly the same problems.
I could not find the Refactoring-Tests and the classes are in the system but Nautilus is not able to show them.
Probably because RPackage sync is wrong.
>
> Can also be checked through:
> ReleaseTest>>testUnpackagedClasses
> : unpackagesClasses isn't empty.
>
> I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Ok thanks we will have a look.
>
> Thierry
> ________________________________________
> De : pharo-project-bounces(a)lists.gforge.inria.fr [pharo-project-bounces(a)lists.gforge.inria.fr] de la part de Stéphane Ducasse [stephane.ducasse(a)inria.fr]
> Date d'envoi : jeudi 18 octobre 2012 18:59
> Ã : Pharo-project(a)lists.gforge.inria.fr
> Objet : Re: [Pharo-project] RPackage by-hand code
>
> So how can we reproduce it because we want to kill all the remaining bugs out of RPackage integration.
> Do you have a code snippet?
> Stef
>
> On Oct 17, 2012, at 4:20 PM, Goubier Thierry wrote:
>
>> Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
>>> can I have your image to explore?
>>> (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
>>
>> I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place.
>>
>> There is nothing private in there; all the packages are on ss3.
>>
>> The simpler is probably the new one (it's also a bit smaller).
>>
>> Thierry
>>
>>> Esteban
>>>
>>> On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>>
>>>> Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
>>>>> I also would like to collect how your methods were missing... it is reproducible?
>>>>
>>>> It's even worse than I thought. I'm now loosing the code in three packages when I do
>>>>
>>>> RPackageOrganize initialize
>>>>
>>>> They just don't appear at all in Nautilus; as if they didn't exist.
>>>>
>>>> Thierry
>>>>
>>>>> Esteban
>>>>>
>>>>> On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>>>>>
>>>>>> is there an MCWorkingCopy of your code package?
>>>>>>
>>>>>> MCWorkingCopy allManagers.
>>>>>>
>>>>>> and a package info?
>>>>>>
>>>>>> PackageIngo allPackages.
>>>>>>
>>>>>> Esteban
>>>>>>
>>>>>> On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>>>>>
>>>>>>> Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> RPackageOrganizer initialize.
>>>>>>>>
>>>>>>>> should do it.
>>>>>>>>
>>>>>>>> Esteban
>>>>>>>
>>>>>>> It doesn't.
>>>>>>>
>>>>>>> Trust me, I tried. Multiple times :(
>>>>>>>
>>>>>>> Thierry
>>>>>>>
>>>>>>>> On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
>>>>>>>>>
>>>>>>>>> The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
>>>>>>>>>
>>>>>>>>> My Pharo version is 20346.
>>>>>>>>>
>>>>>>>>> Thanks in advance,
>>>>>>>>>
>>>>>>>>> Thierry
>>>>>>>>> --
>>>>>>>>> Thierry Goubier
>>>>>>>>> CEA list
>>>>>>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>>>>>>> 91191 Gif sur Yvette Cedex
>>>>>>>>> France
>>>>>>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thierry Goubier
>>>>>>> CEA list
>>>>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>>>>> 91191 Gif sur Yvette Cedex
>>>>>>> France
>>>>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thierry Goubier
>>>> CEA list
>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>> 91191 Gif sur Yvette Cedex
>>>> France
>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Thierry Goubier
>> CEA list
>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>> 91191 Gif sur Yvette Cedex
>> France
>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>
>
>
>
Oct. 19, 2012
Re: [Pharo-project] what is your pharo story?
by Igor Stasenko
On 18 October 2012 22:30, dimitris chloupis <thekilon(a)yahoo.co.uk> wrote:
>
> good to know I am not the only 3d dude around here :D
>
- 3D Studio, Max, Rhinoceros 3D, Maya, POV.. (and some raytracers)..
did 1 plugin for Max, and some exporters..
never used blender though..
and it was long ago :)
> ________________________________
> From: "phil(a)highoctane.be" <phil(a)highoctane.be>
>
> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
> <thekilon(a)yahoo.co.uk>
> Sent: Thursday, 18 October 2012, 23:27
>
> Subject: Re: [Pharo-project] what is your pharo story?
>
> Bryce 7, Hexagon2.5, and Daz Studio 3D over here :-)
>
> Not sure I want Pharo to mix with those... but they make nice Pharo
> backgrounds for sure.
>
> Phil
>
> 2012/10/18 dimitris chloupis <thekilon(a)yahoo.co.uk>
>
> yeap that would be great because that would mean I could share the same
> window with blender and that I would have immediate access to all blender
> functions . But that would require some hackery beyond my level of skill.
> Who know maybe one day , I will be able to do just that.
>
> ________________________________
> From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
> <thekilon(a)yahoo.co.uk>
> Sent: Thursday, 18 October 2012, 22:20
> Subject: Re: [Pharo-project] what is your pharo story?
>
>
> On Oct 18, 2012, at 8:54 PM, dimitris chloupis wrote:
>
>>
>>
>>
>> Hey Stef
>>
>> You mean this ? ->
>> http://forum.world.st/WaveFront-File-importer-on-Pharo-td4640327.html
>>
>> Well not exactly a blender importer , but yes it could be used to import
>> blender models. By the way , my goal is not to bring models of blender to
>> pharo , but more to use pharo to "script" blender, as python is used now to
>> make addons for blender.
>
> Yes I got it and this is a cool idea. Ideally I would love to have a really
> small image with a vm that we can embed directly in software as blender and
> script them :)
>
>> So I try to replace python with pharo. Of course visual coding is much
>> more than that, but this is none the less my first step. I try to achieve
>> this with triggering python command via sockets from pharo to blender.
>> Ideally I could generate st methods and classes for all blender python
>> methods and classes. But that is for much later.
>>
>> Still it could be handy to display 3d blender data in pharo. My vision is
>> that both blender and pharo window will be displayed one next to the other,
>> with the user using the pharo window doing visual coding or procedural
>> generation of 3d objects , materials, textures , particles etc and seeing
>> the final result in blender window. If you are familiar with Softimage ICE
>> this is more or less the field of application for "Ephestos". But still
>> could be handy to do some displaying in pharo as well so that the blender
>> window could be minimised.
>>
>> This is a video with Softimage ICE. Quite interesting even if you are not
>> interested in 3d graphics.
>>
>> http://www.youtube.com/watch?feature=player_embedded&v=do1kzR6gVYk
>>
>> That could be extended even to blender game engine , so that pharo via
>> blender can be used to make 3d games. So yeah sky is the limit. But for now
>> , just basic sockets to trigger simple python eval commands and gradually
>> build from there and see how far I can go with this idea.
>>
>> From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
>> <thekilon(a)yahoo.co.uk>
>> Sent: Thursday, 18 October 2012, 19:56
>> Subject: Re: [Pharo-project] what is your pharo story?
>>
>> for your information jb did a blender importer and you can play with
>> blender 3d objects in Pharo.
>>
>> Stef
>>
>>
>> On Oct 17, 2012, at 2:43 PM, dimitris chloupis wrote:
>>
>> >
>> > I am a blender developer , using python to make blender addons. My
>> > latest complete one is Gyes and Random Material and Texture Generator.
>> > http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/System/Gyes
>> >
>> > Since I was a child I was dreaming of making a system that would use
>> > GUIs like the one that I saw in many spaceship movies, fluid futuristic GUIs
>> > that could issue way more complex commands than our modern window type GUIs.
>> > It was a childs dream, filed as too ambitious and stored there with the rest
>> > of too far fetched child dreams. And it was early this year that I was
>> > introduced to Smalltalk. I really like python but it was obvious to me that
>> > I needed something a lot more. It was that itch I had to scratch. I was very
>> > impressed with morphic and squeak and the whole enviroment and of course
>> > pharo. I was looking for a live coding enviroment with an ephasis on visual
>> > side and I think smalltalk fit like a glove for me. Morphic fit exactly my
>> > lego brick logic, I am a very synthetic person I like to keep things minimal
>> > and simple and synthesize complex structures out of them. Its a workflow I
>> > follow with my entire life not just coding.
>> >
>> > So I started a thread in Blenderartists forum (
>> > http://blenderartists.org/forum/showthread.php?250375-A-Visual-Programming-…
>> > ) about how people saw the possibility of implementing a visual programming
>> > enviroment for blender with a very flexible GUI. I thought it would be one
>> > of those threads that none really cared and people would say "we have python
>> > why bother with a visual coding enviroment at all, python is very easy to
>> > learn" or "why should I care about coding at all I am merely a user". And
>> > of course I had such reactions but to my surprise the thread just went viral
>> > and people seems very excited with the ideas of Ephestos.
>> >
>> > So we sat down with another developer using Morphic code from a
>> > smalltalk coder , that he made for python and pygame and we tried to port to
>> > Blender libraries instead. Code wise it went much better in our side ,
>> > suprisingly enough both he and found Morphic very easy to understand. But we
>> > came across some severe bugs and limitations at blender side that make it
>> > evident that if I wanted to keep this in python I had to dirty my hands with
>> > some C and diving inside Blender source.
>> >
>> > It also became more and more evident that squeak and pharo already
>> > implemented many of the ideas I had for Ephestos, and there was no way I
>> > could port all the features both offered to python just me and another coder
>> > in our free time. So I did the logical thing. Droped the idea of keeping the
>> > project pure python and now I have slowly started to porting it to
>> > Squeak/Pharo and I am using sockets to communicate with blender.
>> >
>> > The goal is of course Visual Coding together with several other ideas I
>> > have for RAD. Its not something bound by goals but more an exploration of
>> > potential. If the project progress well, I think it will be a win for both
>> > blender and squeak/pharo.
>> >
>> > At one side Blender developer will be exposed to the true power and
>> > flexibility of smalltalk, at the other hand the smalltalk community will
>> > have access to such a powerful amazing 3d application as blender. So I think
>> > it will be a double win.
>> >
>> > My preference towards pharo has to do with Nativeboost , I think that it
>> > may play an important role in the future and of course there are libraries
>> > like Athens that I would love to explore but ideally I would like to make
>> > Ephestos compatible with both squeak and pharo.
>> >
>> > In essense squeak and pharo have been an inspiration for Ephestos and
>> > the true driving force for making it reality and I can see myself making
>> > Ephestos a life project because Its just pure fun for me working on
>> > something like that.
>> >
>> >
>> >
>> >
>> > From: Sebastian Sastre <sebastian(a)flowingconcept.com>
>> > To: "pharo-project(a)lists.gforge.inria.fr"
>> > <pharo-project(a)lists.gforge.inria.fr>
>> > Sent: Wednesday, 17 October 2012, 14:43
>> > Subject: [Pharo-project] what is your pharo story?
>> >
>> > Hey there,
>> >
>> > I'm collecting some stories from smalltalkers to tell people how
>> > exciting this is.
>> >
>> > Have something to share?
>> >
>> > What's your story with it?
>> >
>> > What got you excited? why it worked for you?
>> >
>> > sebastian
>> >
>> > o/
>> >
>> > pd: I'm going to mention mainly about pharo and amber
>> >
>> >
>>
>>
>>
>>
>>
>
>
>
>
>
>
--
Best regards,
Igor Stasenko.
Oct. 18, 2012
[Pharo-project] RE : RPackage by-hand code
by GOUBIER Thierry
Hum. I don't know how to easily reproduce the bug, but you may see the result.
Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Can also be checked through:
ReleaseTest>>testUnpackagedClasses
: unpackagesClasses isn't empty.
I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Thierry
________________________________________
De : pharo-project-bounces(a)lists.gforge.inria.fr [pharo-project-bounces(a)lists.gforge.inria.fr] de la part de Stéphane Ducasse [stephane.ducasse(a)inria.fr]
Date d'envoi : jeudi 18 octobre 2012 18:59
à : Pharo-project(a)lists.gforge.inria.fr
Objet : Re: [Pharo-project] RPackage by-hand code
So how can we reproduce it because we want to kill all the remaining bugs out of RPackage integration.
Do you have a code snippet?
Stef
On Oct 17, 2012, at 4:20 PM, Goubier Thierry wrote:
> Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
>> can I have your image to explore?
>> (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
>
> I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place.
>
> There is nothing private in there; all the packages are on ss3.
>
> The simpler is probably the new one (it's also a bit smaller).
>
> Thierry
>
>> Esteban
>>
>> On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>
>>> Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
>>>> I also would like to collect how your methods were missing... it is reproducible?
>>>
>>> It's even worse than I thought. I'm now loosing the code in three packages when I do
>>>
>>> RPackageOrganize initialize
>>>
>>> They just don't appear at all in Nautilus; as if they didn't exist.
>>>
>>> Thierry
>>>
>>>> Esteban
>>>>
>>>> On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>>>>
>>>>> is there an MCWorkingCopy of your code package?
>>>>>
>>>>> MCWorkingCopy allManagers.
>>>>>
>>>>> and a package info?
>>>>>
>>>>> PackageIngo allPackages.
>>>>>
>>>>> Esteban
>>>>>
>>>>> On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>>>>
>>>>>> Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
>>>>>>> Hi,
>>>>>>>
>>>>>>> RPackageOrganizer initialize.
>>>>>>>
>>>>>>> should do it.
>>>>>>>
>>>>>>> Esteban
>>>>>>
>>>>>> It doesn't.
>>>>>>
>>>>>> Trust me, I tried. Multiple times :(
>>>>>>
>>>>>> Thierry
>>>>>>
>>>>>>> On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier(a)cea.fr> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
>>>>>>>>
>>>>>>>> The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
>>>>>>>>
>>>>>>>> My Pharo version is 20346.
>>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>>
>>>>>>>> Thierry
>>>>>>>> --
>>>>>>>> Thierry Goubier
>>>>>>>> CEA list
>>>>>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>>>>>> 91191 Gif sur Yvette Cedex
>>>>>>>> France
>>>>>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thierry Goubier
>>>>>> CEA list
>>>>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>>>>> 91191 Gif sur Yvette Cedex
>>>>>> France
>>>>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thierry Goubier
>>> CEA list
>>> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
>>> 91191 Gif sur Yvette Cedex
>>> France
>>> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>>>
>>
>>
>>
>>
>
>
> --
> Thierry Goubier
> CEA list
> Laboratoire des Fondations des Systèmes Temps Réel Embarqués
> 91191 Gif sur Yvette Cedex
> France
> Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
>
Oct. 18, 2012
Re: [Pharo-project] XMLRPC , sockets , python and pharo
by Igor Stasenko
On 18 October 2012 21:37, dimitris chloupis <thekilon(a)yahoo.co.uk> wrote:
> thank you for your help Igor
>
btw, i downloaded blender sources..
at first glance, it seems that it deeply intervened with python..
looking at CMake file, there is an option to build it without any ui
(server mode)
and without python..
but i know too little to see how you can hook-in to it without using sockets..
other way, you can use shared memory and exchange data between them
more efficient (i guess),
because i never used shared memory.
> ________________________________
> From: Igor Stasenko <siguctua(a)gmail.com>
> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
> <thekilon(a)yahoo.co.uk>
> Sent: Thursday, 18 October 2012, 22:23
>
> Subject: Re: [Pharo-project] XMLRPC , sockets , python and pharo
>
> On 18 October 2012 19:43, dimitris chloupis <thekilon(a)yahoo.co.uk> wrote:
>> wow that simple! thank you very much Igor !
>>
>> Besides sockets , is there any other way to make pharo communicate with
>> another language like python ? I am worried that sockets may introduce
>> some
>> significant lag to my communication, are my fears correct ? Generally
>> speaking a response time of few milliseconds should be fine.
>>
>
> should be fine. unless you start wasting cycles on xml :)
>
>> ________________________________
>> From: Igor Stasenko <siguctua(a)gmail.com>
>> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
>> <thekilon(a)yahoo.co.uk>
>> Sent: Thursday, 18 October 2012, 19:46
>>
>> Subject: Re: [Pharo-project] XMLRPC , sockets , python and pharo
>>
>> On 18 October 2012 18:33, dimitris chloupis <thekilon(a)yahoo.co.uk> wrote:
>>>
>>>
>>>
>>> From: dimitris chloupis <thekilon(a)yahoo.co.uk>
>>> To: Igor Stasenko <siguctua(a)gmail.com>
>>> Sent: Thursday, 18 October 2012, 19:31
>>>
>>> Subject: Re: [Pharo-project] XMLRPC , sockets , python and pharo
>>>
>>> good question. I dont , that is why I asked for alternatives . How you
>>> guys
>>> make pharo communicate with other languages ?
>>>
>>> Yes I can send bare strings . I wonder however what is the fastest way to
>>> do
>>> so.
>>>
>> stream := SocketStream openConnectionToHost: hostIP port: portNumber.
>> stream nextPutAll: 'here comes the command'.
>> stream close.
>>
>>>
>>> ________________________________
>>> From: Igor Stasenko <siguctua(a)gmail.com>
>>> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis
>>> <thekilon(a)yahoo.co.uk>
>>> Sent: Thursday, 18 October 2012, 18:22
>>> Subject: Re: [Pharo-project] XMLRPC , sockets , python and pharo
>>>
>>> On 18 October 2012 16:41, dimitris chloupis <thekilon(a)yahoo.co.uk> wrote:
>>>> Hi there I need a way to make pharo communicate with blender python. I
>>>> have
>>>> been successful making external cpython and pypy talk to blender cpython
>>>> via
>>>> XMLRPC. Now I want my pharo project "Ephestos" to control blender python
>>>> by
>>>> sending python command that then a blender addon which is written in
>>>> python
>>>> will execute.
>>>>
>>>> Is there such a XMLRPC library for pharo, and how do I use it. And also
>>>> what
>>>> are the alternatives ?
>>>
>>> why you need xml for that?
>>>
>>> can't you just send bare strings, which then be simply eval'ed on other
>>> side?
>>>
>>>>
>>>> ________________________________
>>>> From: Tudor Girba <tudor(a)tudorgirba.com>
>>>> To: Pharo-project(a)lists.gforge.inria.fr
>>>> Sent: Thursday, 18 October 2012, 17:35
>>>> Subject: Re: [Pharo-project] new command line api to build images
>>>>
>>>> Very cool!
>>>>
>>>> Doru
>>>>
>>>> On Thu, Oct 18, 2012 at 4:13 PM, Camillo Bruni <camillobruni(a)gmail.com>
>>>> wrote:
>>>>
>>>> We're almost there, create your images from the command-line with a
>>>> very limited number of bash lines ;)
>>>>
>>>>
>>>>
>>>>
>>>> #====================================================================================
>>>> VM=`pharo-shell-scripts/fetchLatestVM.sh`
>>>> unzip -ou Pharo-2.0.zip -d . && cd Pharo-2.0
>>>>
>>>> $VM -headless Pharo-2.0.image config http://ss3.gemstone.com/ss/ci
>>>> ConfigurationOfCI --install
>>>> $VM -headless Pharo-2.0.image save CI --delete-old
>>>>
>>>> zip -r CI.zip CI.changes CI.image *.sources
>>>>
>>>>
>>>>
>>>> #====================================================================================
>>>>
>>>> there you go, a new image named CI with the given configuration
>>>> installed.
>>>>
>>>> We still have to extend the API a little bit to support loading specific
>>>> groups
>>>> from a Metacello config + accessing repositories by username and
>>>> password.
>>>>
>>>>
>>>> best
>>>> cami
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko.
>
>
--
Best regards,
Igor Stasenko.
Oct. 18, 2012
Re: [Pharo-project] what is your pharo story?
by Esteban A. Maringolo
kilon wrote
> good to know I am not the only 3d dude around here :D
Just for reference, I started with Caligari 24 in an Amiga 500 back in '94,
then used trueSpace from version 1 to version 4 in Windows. Also played with
POVray and 3D studio 4 (MSDOS).
Today Blender is like a thousand levers machine to me. I simply can't
understand it. But I have it installed, just in case the enlightenment
comes. :)
Regards!
--
View this message in context: http://forum.world.st/what-is-your-pharo-story-tp4651655p4651890.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Oct. 18, 2012
Re: [Pharo-project] pharo on ipad3 -- tiny image shown only
by Esteban Lorenzano
cool, thanks! I will integrate tomorrow :)
On Oct 18, 2012, at 10:10 PM, Jan Äada <jcada(a)email.cz> wrote:
> Hi Esteban,
>
> I have been experiencing this issue as well. The main trouble is that on retina devices OpenGL works in pixels while other API's are working in points. I updated the SqueakUIViewOpenGL.m file to respect the difference between device pixels and points.
>
> I tested on both Retina iPad and iPad 2.
> Please see updated file attached.
>
> Regards,
>
> Jan
>
>
> <SqueakUIViewOpenGL.m>
>
> On 18 Sep 2012, at 22:50, Johan Brichau <johan(a)inceptive.be> wrote:
>
>> Hi Esteban,
>>
>> Thanks for sharing the secret ;-)
>>
>> I checked out latest sources and ran ConfigurationOfPharoVM version 2.0-4 but it does not work out-of-the-box.
>> Right now, I just forced to always use the SqueakUIViewCALayer. Need to check why it took the other one..
>>
>> Johan
>>
>> On 17 Sep 2012, at 22:34, Esteban Lorenzano wrote:
>>
>>> secret is not use OpenGL but CALayer... ensure you start with SqueakUIViewCALayer instead SqueakUIViewOpenGL (btw... if you were using my sources, that should be out of the box).
>>>
>>> I'm working to doit with a better mechanism (OpenGL or CG), but so far... no time :)
>>>
>>> Esteban
>>>
>>> On Sep 17, 2012, at 10:56 AM, Hilaire Fernandes <hilaire.fernandes(a)edu.ge.ch> wrote:
>>>
>>>> Esteban should be able to tell.
>>>>
>>>> Hilaire
>>>>
>>>>
>>>
>>>
>>
>>
>
Oct. 18, 2012
Re: [Pharo-project] what is your pharo story?
by dimitris chloupis
good to know I am not the only 3d dude around here :D
________________________________
From: "phil(a)highoctane.be" <phil(a)highoctane.be>
To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis <thekilon(a)yahoo.co.uk>
Sent: Thursday, 18 October 2012, 23:27
Subject: Re: [Pharo-project] what is your pharo story?
Bryce 7, Hexagon2.5, and Daz Studio 3D over here :-)
Not sure I want Pharo to mix with those... but they make nice Pharo backgrounds for sure.
Phil
2012/10/18 dimitris chloupis <thekilon(a)yahoo.co.uk>
yeap that would be great because that would mean I could share the same window with blender and that I would have immediate access to all blender functions . But that would require some hackery beyond my level of skill. Who know maybe one day , I will be able to do just that.
>
>
>
>
>________________________________
> From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis <thekilon(a)yahoo.co.uk>
>Sent: Thursday, 18 October 2012, 22:20
>Subject: Re: [Pharo-project] what is your pharo story?
>
>
>On Oct 18, 2012, at 8:54 PM, dimitris chloupis wrote:
>
>>
>>
>>
>> Hey Stef
>>
>> You mean this ? -> http://forum.world.st/WaveFront-File-importer-on-Pharo-td4640327.html
>>
>> Well not exactly a blender importer , but yes it could be used to import blender models. By the way , my goal is not to bring models of blender to pharo , but more to use pharo to "script" blender, as python is used now to make addons for blender.
>
>Yes I got it and this is a cool idea. Ideally I would love to have a really small image with a vm that we can embed directly in software as blender and script them :)
>
>> So I try to replace python with pharo. Of course
visual coding is much more than that, but this is none the less my first step. I try to achieve this with triggering python command via sockets from pharo to blender. Ideally I could generate st methods and classes for all blender python methods and classes. But that is for much later.
>>
>> Still it could be handy to display 3d blender data in pharo. My vision is that both blender and pharo window will be displayed one next to the other, with the user using the pharo window doing visual coding or procedural generation of 3d objects , materials, textures , particles etc and seeing the final result in blender window. If you are familiar with Softimage ICE this is more or less the field of application for "Ephestos". But still could be handy to do some displaying in pharo as well so that the blender window could be minimised.Â
>>
>> This is a video with Softimage ICE. Quite interesting even if you are not interested in 3d
graphics.
>>
>> http://www.youtube.com/watch?feature=player_embedded&v=do1kzR6gVYk
>>
>> That could be extended even to blender game engine , so that pharo via blender can be used to make 3d games. So yeah sky is the limit. But for now , just basic sockets to trigger simple python eval commands and gradually build from there and see how far I can go with this idea.
>>
>> From: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>> To: Pharo-project(a)lists.gforge.inria.fr; dimitris chloupis <thekilon(a)yahoo.co.uk>
>> Sent:
Thursday, 18 October 2012, 19:56
>> Subject: Re: [Pharo-project] what is your pharo story?
>>
>> for your information jb did a blender importer and you can play with blender 3d objects in Pharo.
>>
>> Stef
>>
>>
>> On Oct 17, 2012, at 2:43 PM, dimitris chloupis wrote:
>>
>> >
>> > I am a blender developer , using python to make blender addons. My latest complete one is Gyes and Random Material and Texture Generator. http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/System/Gyes
>> >
>> > Since I was a child I was dreaming of making a system that would use GUIs like the one that I saw in many spaceship movies, fluid futuristic GUIs that could issue way more complex commands than our modern window type GUIs. It was a childs dream, filed as too ambitious and stored
there with the rest of too far fetched child dreams. And it was early this year that I was introduced to Smalltalk. I really like python but it was obvious to me that I needed something a lot more. It was that itch I had to scratch. I was very impressed with morphic and squeak and the whole enviroment and of course pharo. I was looking for a live coding enviroment with an ephasis on visual side and I think smalltalk fit like a glove for me. Morphic fit exactly my lego brick logic, I am a very synthetic person I like to keep things minimal and simple and synthesize complex structures out of them. Its a workflow I follow with my entire life not just coding.
>> >
>> > So I started a thread in Blenderartists forum ( http://blenderartists.org/forum/showthread.php?250375-A-Visual-Programming-… ) about how people saw the possibility of implementing a visual programming enviroment for blender with a very flexible GUI. I thought it would be one of those threads that none really cared and people would say "we have python why bother with a visual coding enviroment at all, python is very easy to learn" or "why should I care about coding at all I am merely a user". And of course I had such reactions but to my surprise the thread just went viral and people seems very excited with the ideas of Ephestos.
>> >
>> > So we sat down with another developer using Morphic code from a smalltalk coder , that he made for python and pygame and we tried to port to Blender libraries instead. Code wise it went much better in our side , suprisingly enough both he and found Morphic very easy to
understand. But we came across some severe bugs and limitations at blender side that make it evident that if I wanted to keep this in python I had to dirty my hands with some C and diving inside Blender source.
>> >
>> > It also became more and more evident that squeak and pharo already implemented many of the ideas I had for Ephestos, and there was no way I could port all the features both offered to python just me and another coder in our free time. So I did the logical thing. Droped the idea of keeping the project pure python and now I have slowly started to porting it to Squeak/Pharo and I am using sockets to communicate with blender.
>> >
>> > The goal is of course Visual Coding together with several other ideas I have for RAD. Its not something bound by goals but more an exploration of potential. If the project progress well, I think it will be a win for both blender and squeak/pharo.
>> >
>>
> At one side Blender developer will be exposed to the true power and flexibility of smalltalk, at the other hand the smalltalk community will have access to such a powerful amazing 3d application as blender. So I think it will be a double win.
>> >
>> > My preference towards pharo has to do with Nativeboost , I think that it may play an important role in the future and of course there are libraries like Athens that I would love to explore but ideally I would like to make Ephestos compatible with both squeak and pharo.
>> >
>> > In essense squeak and pharo have been an inspiration for Ephestos and the true driving force for making it reality and I can see myself making Ephestos a life project because Its just pure fun for me working on something like that.
>> >
>> >
>> >
>> >
>> > From: Sebastian Sastre <sebastian(a)flowingconcept.com>
>> > To: "pharo-project(a)lists.gforge.inria.fr" <pharo-project(a)lists.gforge.inria.fr>
>> > Sent: Wednesday, 17 October 2012, 14:43
>> > Subject: [Pharo-project] what is your pharo story?
>> >
>> > Hey there,
>> >
>> > I'm collecting some stories from smalltalkers to tell people how exciting this is.
>> >
>> > Have something to share?
>> >
>> > What's your story with it?
>> >
>> > What got you excited? why it worked for you?
>> >
>> > sebastian
>> >
>> > o/
>> >
>> > pd: I'm going to mention
mainly about pharo and amber
>> >
>> >
>>
>>
>>
>>
>>
>
>
>
>
Oct. 18, 2012