Re: [Pharo-users] optimizing io

2013-11-20 Thread Igor Stasenko
Dig deeper: IP protocol supports broadcasting/multicasting. http://en.wikipedia.org/wiki/IP_multicast On 20 November 2013 08:49, Santiago Bragagnolo wrote: > Hi all! Im making some performance enhancement on PhaROS, i realised that > one of my common scenarios is having several sockets that s

Re: [Pharo-users] optimizing io

2013-11-20 Thread Santiago Bragagnolo
Great info! Thanks! 2013/11/20 Igor Stasenko > Dig deeper: IP protocol supports broadcasting/multicasting. > > > http://en.wikipedia.org/wiki/IP_multicast > > > On 20 November 2013 08:49, Santiago Bragagnolo < > santiagobragagn...@gmail.com> wrote: > >> Hi all! Im making some performance enhanc

Re: [Pharo-users] optimizing io

2013-11-20 Thread Esteban A. Maringolo
If your sockets are connection oriented (it is. TCP) using IP Multicast won't be an option. Multicast was made with Datagrams in mind instead of Packets. Though there was a multicast solution that numbered the datagrams to request retransmission in case of packet loss. Regards, Esteban A. Marin

Re: [Pharo-users] optimizing io

2013-11-20 Thread Igor Stasenko
On 20 November 2013 13:40, Esteban A. Maringolo wrote: > If your sockets are connection oriented (it is. TCP) using IP > Multicast won't be an option. > > Multicast was made with Datagrams in mind instead of Packets. Though > there was a multicast solution that numbered the datagrams to request >

Re: [Pharo-users] optimizing io

2013-11-20 Thread Santiago Bragagnolo
Thanks, i checked that out from some digging. Actually all my protocol run over TCP/IP so i cannot do most, but im taking in care move to UDP or maybe one of the Real time options. Thanks! 2013/11/20 Esteban A. Maringolo > If your sockets are connection oriented (it is. TCP) using IP > Multicas

[Pharo-users] How to discover which test fails (pharo 2.0)

2013-11-20 Thread Davide Varvello
Hi! I'm on Pharo 2.0. When I run a bunch of tests I usually select a lot of packages from Nautilus and click cmd-t to run them, but unfortunately if one test fails, only a yellow box in the lower left appears and it's time consuming to look for which test fails in which package. I'd love to have t

[Pharo-users] Scaled PNG image

2013-11-20 Thread Hilaire Fernandes
Hello, In Pharo 2.0 (true in 1.4 as well), it looks PNG bitmap are wrongly rotated or scaled when they contain alpha transparency. In the example bellow with the joined bitmap, the alpha gray color are rendered darker when the imagemorph is scaled or rotated. Sqeak does not suffer this problem

Re: [Pharo-users] How to discover which test fails (pharo 2.0)

2013-11-20 Thread Camillo Bruni
The TestRunner is usually a better choice in this case, no? WorldMenu / TestRunner On 2013-11-20, at 16:43, Davide Varvello wrote: > Hi! > > I'm on Pharo 2.0. > When I run a bunch of tests I usually select a lot of packages from Nautilus > and click cmd-t to run them, but unfortunately if one t

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-20 Thread Mun Mun
Hi everyone, Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widge

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-20 Thread Hilaire Fernandes
Le 20/11/2013 17:30, Mun Mun a écrit : > > To sum up this thread with many different options proposed, what would > be the right path for a newbie like me ? > Hello Check the Collaboractive pharo book online, there is a GUI chapter discussing morph and polymorphic. Once documented and feature

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-20 Thread Marcus Denker
On 20 Nov 2013, at 17:30, Mun Mun wrote: > Hi everyone, > > Nobody mentioned Polymorphic. My understanding is that both Spec and > Polymorph are built on top of Morphic. Polymorph is not a layer on top of morphic, it’s just a (relatively unstructured) extension. We actually need to take Pol

[Pharo-users] Help with SQLite3 package

2013-11-20 Thread Michel
Hi pharoers, I am a newbie with Pharo. I installed the SQLite3 package in the Pharo2 image with the MetacelloConfigurationBrowser and tried a test with this script : db := SQLiteConnection fileNamed: '/home/michel/base_CD/BaseCD.db'. resu := db executeQuery: 'SELECT * FROM T_album'. resu inspe

Re: [Pharo-users] How to discover which test fails (pharo 2.0)

2013-11-20 Thread Davide Varvello
Hmm, I think it is more comfortable to select packages and run all the tests. Within the test runner you have to filter for packages than select all tests, than if you add a TestCase you have to mind to select it because the tool does not automatically add the new TestCase in the tests to run. I

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-20 Thread Johan Fabry
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January. On Nov 20, 2013, at 1:

[Pharo-users] Any problems known here?

2013-11-20 Thread Friedrich Dominicus
I wonder if anyone has problems running a Pharo on a 64-bit System (Debian) with multiarch. Because strange enough it can suddenly not find vm-display-X11 any more Regards Friedrich -- Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim Registriernummer: HRB232138; Geschaeftsfu

Re: [Pharo-users] Any problems known here?

2013-11-20 Thread Norbert Hartl
Am 20.11.2013 um 18:42 schrieb Friedrich Dominicus : > I wonder if anyone has problems running a Pharo on a 64-bit System > (Debian) with multiarch. Because strange enough it can suddenly not find > vm-display-X11 any more > You need to install the desktop variant: $ apt-cache search pharo pha

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-20 Thread Pavel Krivanek
You wan to create applications with standard look&feel, Phobos [1] may be interesting for you. [1] https://code.google.com/p/phobos-framework/ -- Pavel 2013/11/5 Bahman Movaqar > Hi all, > > I need to build a typical GUI application (menus, buttons, modal > dialogs, ...). I'd appreciate if y

Re: [Pharo-users] [Athens] Finding if a line passes through a specific pixel .

2013-11-20 Thread Hilaire Fernandes
Hello, You may want to calculate the distance between the mouse position and your path (I guess a bezier curve). Then given this distance and a tolerance to zero you decide if the mouse position is more or less on your path. Calculating the distance you will also get for free the place where to ad

[Pharo-users] Cleaning up Voyage Documentation

2013-11-20 Thread Johan Fabry
Hi all, I am building a small app that uses Voyage and MongoDB as the database, and so I had many questions regarding how to use it and found the documentation lacking. After conversing with Esteban, I proposed that I improve the 'Pharo for the enterprise' chapter on Voyage, based on his respon

Re: [Pharo-users] [Athens] Finding if a line passes through a specific pixel .

2013-11-20 Thread kilon alios
yes I found the formula for straight lines and I was wondering what was the one for bezier curves, so your reply could not have come a better moment. Thanks I will study it and implement it. On Wed, Nov 20, 2013 at 9:21 PM, Hilaire Fernandes < hilaire.fernan...@gmail.com> wrote: > Hello, > > You

Re: [Pharo-users] Any problems known here?

2013-11-20 Thread Friedrich Dominicus
Norbert Hartl writes: > Am 20.11.2013 um 18:42 schrieb Friedrich Dominicus > : > > I wonder if anyone has problems running a Pharo on a 64-bit System > (Debian) with multiarch. Because strange enough it can suddenly > not find > vm-display-X11 any more > > You need to install

[Pharo-users] Problems while loading Magritte to pharo2.0

2013-11-20 Thread Thushar G R
Hi All, I encounter problems while installing magritte3 from the configurations browser. While loading, it removes #trimBoth #trimRight etc. messages from String. I wonder if anyone else is experiencing the problem. Thanks already, thushar

[Pharo-users] SimplePersistence ...

2013-11-20 Thread Torsten Bergmann
... moved to STHub http://smalltalkhub.com/#!/~TorstenBergmann/SimplePersistence with page providing some initial docu and links ... is now on CI https://ci.inria.fr/pharo-contribution/job/SimplePersistence/ ... is GREEN for Pharo20, Pharo30 with stable (3.0) and development (3.0.1) since a fe