Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Hilaire
I meant the problem occurs when you migrate the base application to one version of Pharo to another one, the fuel file need to be upgraded. Now in the situation of Dimitris this should not be a problem as its application build script could initialize the newer fuel bitmap file. As long as there is

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Denis Kudriashov
Interesting what is faster: reading Form from fuel file or reading it from simple BMP file? 2016-01-19 10:31 GMT+01:00 Hilaire : > I meant the problem occurs when you migrate the base application to one > version of Pharo to another one, the fuel file need to be upgraded. > > Now in the situation

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Dimitris Chloupis
most likely fuel, since it stores your live object as is. I like fuel but the fact that I may be limited by incompatible versions is a game stopper for me. I am ok with new version between incompatible with old one but there must be some backward compatibility to any format I use. Or else I end up

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Denis Kudriashov
2016-01-19 11:34 GMT+01:00 Dimitris Chloupis : > most likely fuel, since it stores your live object as is. > > I like fuel but the fact that I may be limited by incompatible versions is > a game stopper for me. I am ok with new version between incompatible with > old one but there must be some bac

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread PBKResearch
Denis Very interesting. It would be more interesting if you could save your test image as a .png file, and then include reading with PNGReadWriter in your comparison. This would help to confirm or refute the original point made by Dimitris, that reading from .png is particularly slow. Pe

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Sven Van Caekenberghe
> On 19 Jan 2016, at 12:29, PBKResearch wrote: > > Denis > > Very interesting. It would be more interesting if you could save your test > image as a .png file, and then include reading with PNGReadWriter in your > comparison. This would help to confirm or refute the original point made by >

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Esteban Lorenzano
Yesterday I tested creating PNGs from disk using Athens: [(AthensCairoSurface createFromFile: '/Users/esteban/Dev/Pharo/pharo50/Lenna.png' ifFailed: [ ]) asForm] bench. That gave me 46k/s … (455k image) which IMO is pretty reasonable :) Esteban > On 19 Jan 2016, at 1

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Denis Kudriashov
And more extended test: Smalltalk garbageCollect; garbageCollect. r1:=[FileLocator imageDirectory / 'test.fuel' readStreamDo: [ :s | s binary. fromFuel := (FLMaterializer newDefault materializeFrom: s) root]] benchFor: 2 seconds. Smalltalk garbageCollect; garbageCollect. r2 := [FileLocator imageD

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Dimitris Chloupis
does not work for me on ubuntu it keeps saying that "cannot locate cairo library" even though its installed via sudo apt-get install libcairo2-dev By the way just for the fun, I will make a benchmark comparison betweem PNG loader in pharo and SDL in C to see what is the speed difference and dust

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Dimitris Chloupis
ah yes it needs the 32 bit libs of cairo, yeah good luck with that, cant wait till we finally support 64 bit, but far my most needed feature of pharo. No idea how to find 32 bit lib of cairo, google returns nothing meaningful, download page of cairo website mentions nothing. On Tue, Jan 19, 2016 a

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Ben Coman
$ apt-cache search cairo | grep cairo | less shows... libcairo2 - Cairo 2D vector graphics library so following the pattern for Debian here... http://pharo.org/gnu-linux-installation I presume... $ sudo dpkg --add-architecture i386 $ sudo apt-get update $ sudo apt-get install libcairo2:i386 ...

[Pharo-users] spotter: top search for senders and references

2016-01-19 Thread Tudor Girba
Hi, With the latest GT integration, we also integrated the search for senders and references from the first step. Here is a detailed explanation about it, including what we still want to do, how it’s done, and how to discover what else is around: http://www.humane-assessment.com/blog/spotting-s

Re: [Pharo-users] Creation form from PNG file very slow on Pharo 4 and 5

2016-01-19 Thread Dimitris Chloupis
thanks ben that indeed get the cairo 32 bit version but there must be a version mismatch because now pharo complains "Error:Could not find accessor for variable named "aCairoSurfaceHandle" " On Tue, Jan 19, 2016 at 3:30 PM Ben Coman wrote: > $ apt-cache search cairo | grep cairo | less > shows.

[Pharo-users] 1st Call for Contributions for SPLASH'16: OOPSLA, Onward!, Workshops, DLS, SLE, GPCE

2016-01-19 Thread Tijs van der Storm
// ACM Conference on Systems, Programming, Languages, and Applications: Software for Humanity (SPLASH'16) Amsterdam, The Netherlands Sun 30th October - Fri 4th November , 2016 http://2016.splashcon.org Sponsored

Re: [Pharo-users] Generating a binary package like PharoLauncher

2016-01-19 Thread Damien Cassou
Serge Stinckwich writes: > Dear all, > > I would like to distribute Kendrick like PharoLauncher, i.e as a > binary package for mac and windows. Are the script of CI for > generating PharoLauncher available somewhere ? https://github.com/pharo-project/pharo-ci/blob/master/ci-jobs/pharo/Launcher/b

[Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-19 Thread Sven Van Caekenberghe
Not that we didn't already know this or that we don't feel like this (else you wouldn't be here), but it is nice to see a concise description and some fact based reasoning around this subject: > http://games.greggman.com/game/dynamic-typing-static-typing/ >

[Pharo-users] [ANN] OSSubprocess v0.2.0 release

2016-01-19 Thread Mariano Martinez Peck
Hi guys, I am happy to announce OSSubprocess v0.2.0. You can see the changelog here: https://github.com/marianopeck/OSSubprocess/releases/tag/v0.2.0 Such version becomes the #stable, so the installation instructions remain the same. Note that I have improved and added more info in the documentatio

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-19 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2016-01-19 22:09:44 +0100: > > http://games.greggman.com/game/dynamic-typing-static-typing/ > > > In a dynamically typed language you write (a lot) less code for a shorter > program tha

[Pharo-users] Updated Pharo Chapter 2 ready for review

2016-01-19 Thread stepharo
Hi yes it is long and tedious. Now the second chapter is ready for review. Should work with Playground, new debugger and spotter. Thanks in advance. Stef https://ci.inria.fr/pharo-contribution/view/Books/job/UpdatedPharoByExample/234/artifact/book-result/PharoTour/PharoTour.pdf

Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-19 Thread stepharo
What is funny is that in general people do not believe us :). So I decided that I do not want to talk with type freaks. Stef Le 19/1/16 22:09, Sven Van Caekenberghe a écrit : Not that we didn't already know this or that we don't feel like this (else you wouldn't be here), but it is nice to see