Re: [Pharo-users] Changes file size

2014-10-28 Thread Sven Van Caekenberghe
Esteban, The Reddit example's CI Job (https://ci.inria.fr/pharo-contribution/job/Reddit/) also loads Seaside and Glorp (two big packages) in Pharo 3 and it too results in a 110 Mb image and 142 Mb changes file. After condensing, that goes to 276 Mb ! I would say something is wrong here ;-) No

Re: [Pharo-users] Changes file size

2014-10-28 Thread p...@highoctane.be
ls -l ~jenkins/jobs/BaseWorker/workspace/*.changes -rw-r--r-- 1 jenkins jenkins 244869 Oct 25 09:30 /var/lib/jenkins/jobs/BaseWorker/workspace/Pharo.changes becoming -rw-r--r-- 1 jenkins jenkins 265779 Oct 25 09:30 /var/lib/jenkins/jobs/BaseWorker/workspace/X-Builder.changes becoming (coupl

Re: [Pharo-users] Changes file size

2014-10-28 Thread Sven Van Caekenberghe
Hmm, we need more tests and data points, I will try on Linux command line later on. > On 28 Oct 2014, at 09:54, p...@highoctane.be wrote: > > > ls -l ~jenkins/jobs/BaseWorker/workspace/*.changes > > -rw-r--r-- 1 jenkins jenkins 244869 Oct 25 09:30 > /var/lib/jenkins/jobs/BaseWorker/workspac

Re: [Pharo-users] using pillar and/or pillarhub

2014-10-28 Thread Peter Uhnák
Thank you for all the answers, I will try more approaches then and the GT sounds promising. But the GitBook looks especially nice. :) Peter On Tue, Oct 28, 2014 at 12:19 AM, kilon alios wrote: > I personally use emacs , git , github and gitbook.io. > > There is a pillar preview for GT tools (as

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Nicolai Hess
2014-10-27 19:36 GMT+01:00 Mark Rizun : > Hi all, > > Trying to understand here how tokens are used in AST. > So far I can not see any order in usage of tokens. > For instance, why RBValueNode doesn't have token? Is it haow it's supposed > to be? > RBValueNode is an abstract class. > > Cheers,

[Pharo-users] Mouse wheel scrolling not working right on Windows

2014-10-28 Thread Jan B.
Hello I am reposting this from Moose mailing list, because it seems like problem in Pharo itself. In HandMorph>>#generateKeyboardEvent: is a condition based on charCode which tells whether incoming input event is of keyboard type or mousewheel type (code quoted below). On Linux, when I use mouse

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Mark Rizun
Thanks. I see that, however RBBlockNode or RBArrayNode doesn't have tokens. These classes have only methods in accessing-token protocol. I think it would be better if we have token object for those classes, because it makes more sense to hold such information in token object. Mark 2014-10-28 11

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Marcus Denker
> On 28 Oct 2014, at 11:23, Mark Rizun wrote: > > Thanks. I see that, however RBBlockNode or RBArrayNode doesn't have tokens. > These classes have only methods in accessing-token protocol. > I think it would be better if we have token object for those classes, because > it makes more sense to h

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 11:23, Mark Rizun a écrit : Thanks. I see that, however RBBlockNode or RBArrayNode doesn't have tokens. These classes have only methods in accessing-token protocol. I think it would be better if we have token object for those classes, because it makes more sense to hold such informa

[Pharo-users] Pharo program "examples"

2014-10-28 Thread Hans Schueren
Hello again , are there any Pharo Program examples online ? I dont mean normal examples from coding. What i mean are end-user programs. Completely ready Online for downloading. Regards Hans

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Mark Rizun
> > Well, not really. > > Technically, tokens are used to drive a parser from a scanner. > > If an AST node knows how to relate itself to its original source code > chunk and is able to print itself correctly, then tokens are redundant. > > In short, if you work with parsers, you'd better know what

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 12:12, Mark Rizun a écrit : Well, not really. Technically, tokens are used to drive a parser from a scanner. If an AST node knows how to relate itself to its original source code chunk and is able to print itself correctly, then tokens are redundant. In sh

Re: [Pharo-users] Mouse wheel scrolling not working right on Windows

2014-10-28 Thread stepharo
Thanks for the report. This part will be cleaned as soon as we get some times and OSWindow fully plugged. Stef On 28/10/14 05:00, Jan B. wrote: Hello I am reposting this from Moose mailing list, because it seems like problem in Pharo itself. In HandMorph>>#generateKeyboardEvent: is a condit

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Mark Rizun
Yes, because they are wrong. Here is an issue: https://pharo.fogbugz.com/f/cases/14254/AST-method-replaceWith-does-not-change-source-interval 2014-10-28 13:32 GMT+02:00 Thierry Goubier : > Le 28/10/2014 12:12, Mark Rizun a écrit : > >> Well, not really. >> >> Technically, tokens are used

Re: [Pharo-users] Pharo program "examples"

2014-10-28 Thread Sven Van Caekenberghe
Hans, > On 28 Oct 2014, at 10:06, Hans Schueren wrote: > > Hello again , > > are there any Pharo Program examples online ? > > I dont mean normal examples from coding. > > What i mean are end-user programs. > > Completely ready Online for downloading. Of course there are, but most will be a

Re: [Pharo-users] Changes file size

2014-10-28 Thread stepharo
Hi esteban Which image are you using? Do you get similar behavior with Pharo30? Stef Well... after finishing the condensing, the changes file passed form 140 mb... to 280 mb :) Esteban A. Maringolo 2014-10-28 3:08 GMT-03:00 Esteban A. Maringolo >: I know

Re: [Pharo-users] Mouse wheel scrolling not working right on Windows

2014-10-28 Thread stepharo
could you enter a bug entry - vm version - OS version - image version Stef On 28/10/14 05:00, Jan B. wrote: Hello I am reposting this from Moose mailing list, because it seems like problem in Pharo itself. In HandMorph>>#generateKeyboardEvent: is a condition based on charCode which

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-28 Thread Guillermo Polito
Hi! Check that a row in Pharo's OpenDBX driver answers to: - #values it reads the value from the database and tries to convert it to the corresponding object representation (e.g., a mysql date to a pharo date) - #rawValues it returns a string representing the direct representation in mysql. So

[Pharo-users] Pharo program "examples"

2014-10-28 Thread Hans Schueren
Thanks Jan , i know that the system itself is the program. But there must be "Image" programs out there to download. I only want to download a program ( Folder with image and exe [Pharo Container] ) Online. Just to see and start the program and see how it opens. ( like a normal progr

Re: [Pharo-users] Changes file size

2014-10-28 Thread Esteban A. Maringolo
Hi Steph, I am using Pharo 3. I didn't try in it any other release. I'm using the latest stable version and VM from the zeroconf scripts, runing the command from the command line via "eval" (though it doesn't seem to make any difference) Regards! El Tue Oct 28 2014 at 9:13:52 AM, stepharo es

Re: [Pharo-users] Pharo program "examples"

2014-10-28 Thread Thierry Goubier
Hi Hans, have a look at Phratch and DrGeo. Thierry Le 28/10/2014 12:23, Hans Schueren a écrit : Thanks Jan , i know that the system itself is the program. But there must be "Image" programs out there to download. I only want to download a program ( Folder with image and exe [Pharo Co

Re: [Pharo-users] the simplest program of "the world"

2014-10-28 Thread Werner Kassens
Hi Hans, i guess you are asking for a way to make a batch file that when double-clicked immediately starts your program? a batch file with something like this: ~/pharo3.0/bin/pharo ~/pharo3.0/shared/yourImage.image ~/pharo3.0/shared/start.st would do that. start.sh should be a text file with f

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 12:45, Mark Rizun a écrit : Yes, because they are wrong. Here is an issue: https://pharo.fogbugz.com/f/cases/14254/AST-method-replaceWith-does-not-change-source-interval I would say that they are correct. When I write source to source compilers, I admit that anything that I chan

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Mark Rizun
In the first place why I'm doing this. I work on Rewrite Tool and it's main functionality bases on replacing nodes in AST. Plus it works with sourceIntervals of nodes. Untill now my solution was: if I replace node, I reparse tree to get intervals updated However this solution brought new problems.

[Pharo-users] Pratsch

2014-10-28 Thread Hans Schueren
Thank you Thierry , guess i am an user. " I have heared there are Pharo programmers" Can i download such a program to see how good they are ? I dont want to hear anything about coding and IDE and development. I am a user and want to start a example program. Do you have a LINK for me t

Re: [Pharo-users] Mouse wheel scrolling not working right on Windows

2014-10-28 Thread Jan B.
Done Hope I did it right... Jan stepharo wrote > could you enter a bug entry > - vm version > - OS version > - image version > > Stef -- View this message in context: http://forum.world.st/Mouse-wheel-scrolling-not-working-right-o

Re: [Pharo-users] Changes file size

2014-10-28 Thread Esteban A. Maringolo
2014-10-28 5:41 GMT-03:00 Sven Van Caekenberghe : > Esteban, > > The Reddit example's CI Job > (https://ci.inria.fr/pharo-contribution/job/Reddit/) also loads Seaside and > Glorp (two big packages) in Pharo 3 and it too results in a 110 Mb image and > 142 Mb changes file. After condensing, that

Re: [Pharo-users] Pratsch

2014-10-28 Thread kilon alios
no pain , no gain On Tue, Oct 28, 2014 at 2:36 PM, Hans Schueren wrote: > Thank you Thierry , > > > guess i am an user. > > > " I have heared there are Pharo programmers" > > > Can i download such a program to see how good they are ? > > > I dont want to hear anything about coding and IDE and de

[Pharo-users] Polygons in woden

2014-10-28 Thread Nicolas Lusa
Hi everyone, I am working on some 3d representation and I am trying to draw 3D polygons with woden. I actually manage to make "the walls" but I still have to implement top and bottom parts which are not so simple since the shape can be really different from case to case. How I am actually doing

Re: [Pharo-users] the simplest program of "the world"

2014-10-28 Thread Werner Kassens
small typo, the "start" script should have the file extension .st werner

Re: [Pharo-users] Pratsch

2014-10-28 Thread S Krish
Unlike in C/ C++ world where packaging creates an exe, Smalltalk has no packaged content for its program. Similar to Smalltalk is Java that packages its code / compiled bytecode as a jar . This jar can be "executable" but per se what it does is to start a JVM with loading of all the necessary depe

Re: [Pharo-users] Pharo program "examples"

2014-10-28 Thread Hilaire
Le 28/10/2014 10:06, Hans Schueren a écrit : > > What i mean are end-user programs. > > Completely ready Online for downloading. Try these two Pharo applications in my signature. The Bash and Smalltalk build script are pretty simple and found in their respective repository at Launchpad. Hilair

Re: [Pharo-users] Changes file size

2014-10-28 Thread Sven Van Caekenberghe
> On 28 Oct 2014, at 14:58, Esteban A. Maringolo wrote: > > 2014-10-28 5:41 GMT-03:00 Sven Van Caekenberghe : >> Esteban, >> >> The Reddit example's CI Job >> (https://ci.inria.fr/pharo-contribution/job/Reddit/) also loads Seaside and >> Glorp (two big packages) in Pharo 3 and it too results

[Pharo-users] BabyMock2: Stubbing individual methods from existing instance?

2014-10-28 Thread Damien Pollet
Hi, I'm porting unit tests to BabyMock2 from another mocking framework (DoubleAgents from VW). Some tests wrap an existing domain object in order to exercise some of its code, while controlling the return value of one of its methods (one method is stubbed). I'm guessing this is technically possibl

[Pharo-users] Pharo program "examples"

2014-10-28 Thread Torsten Bergmann
If your users are "Pharo" users then deploy to STHub, provide a load script (Gofer/Monticell) or add you goodie to the config browser by having a config in one of the Pharo Meta repositories. But I assume your question is more oriented to building "usual consumer" apps like Games, a business

[Pharo-users] werb...@hans-schueren.de

2014-10-28 Thread stepharo
Hi hans imagine that you have an image with a program composed of several classes. One of which is the starting point of your application let us call it BibManager (this is an app managing bib entries for example). This class should have methods to start processing bib importFiles (interac

Re: [Pharo-users] Pratsch

2014-10-28 Thread Thierry Goubier
Hi Hans, I would not hesitate to state that in the Smalltalk vision, we should make no difference between a user and a programmer: a user has the right to be a programmer. Today, in academic circles, we call that "end-user programming" if you need more references (:)). If you take some of

Re: [Pharo-users] BabyMock2: Stubbing individual methods from existing instance?

2014-10-28 Thread Attila Magyar
This is not supported. BabyMock is designed to test the message flow between objects, and not the internal implementation of an object. If the part what you want to stub out is not a private implementation detail then maybe extracting it to an object could help, otherwise couldn't you test the whol

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-28 Thread bsselfri...@gmail.com
I've contacted the OpenDBX development group and they seem to be unwilling to add the "UNKNOWN" types to their library. So, that leaves us with solving the problem in the GLORP framework. The big problem is the GlorpOpenDbxDriver is asking the DBXRow for its value - not rawValue, thereby trigger

[Pharo-users] Fwd: REST server helpers for Seaside 3.1 ?

2014-10-28 Thread Cameron Sanders
Hi All. We need to set up a REST server for certain services and I am wondering what helper classes exist that work with Seaside 3.1. Additionally, do they work on gemstone? Also, what support tools/frameworks would you recommend for JSON I/O? Thanks in advance, Cam

Re: [Pharo-users] Pharo - OpenDBXDriver: Unsupported data type: UNKNOWN

2014-10-28 Thread Esteban Lorenzano
there is a misunderstanding here (I think). the problem of the UNKNOWN type is not in OpenDBX but in the OpenDBXDriver. I remember I added the type UNKNOWN to all the... well, unknown types :) Since OpenDBX will give you a string with a timestamp, you can modify driver (a Pharo chunk of code) to

Re: [Pharo-users] Fwd: REST server helpers for Seaside 3.1 ?

2014-10-28 Thread stepharo
Hi cameron I'm in the US so I will reply a bit and after other people will certainly complement. Hi All. We need to set up a REST server for certain services and I am wondering what helper classes exist that work with Seaside 3.1. with Seaside-Rest you get REST support. Additionally, do the

Re: [Pharo-users] Fwd: REST server helpers for Seaside 3.1 ?

2014-10-28 Thread Dale Henrichs
Cameron, The Seaside REST classes do work with GemStone and there is JSON support built-into Seaside 3.1 Dale On Tue, Oct 28, 2014 at 5:20 PM, stepharo wrote: > Hi cameron > > I'm in the US so I will reply a bit and after other people will certainly > complement. > >> Hi All. >> >> We need to

Re: [Pharo-users] Pratsch

2014-10-28 Thread Alain Busser
To understand better the Pharo "philosophy", I would advocate Pharo by example, which helped me a lot to understand how I can display objects in the transcript with Transcript show: (8*7) or to know more of the object with (8*7) inspect (actually I know this not from the book because Hilaire to

Re: [Pharo-users] AST tokens question

2014-10-28 Thread Thierry Goubier
Le 28/10/2014 14:33, Mark Rizun a écrit : In the first place why I'm doing this. I work on Rewrite Tool and it's main functionality bases on replacing nodes in AST. Plus it works with sourceIntervals of nodes. Untill now my solution was: if I replace node, I reparse tree to get intervals updated