Re: [Pharo-users] Changes file size

2014-10-27 Thread Esteban A. Maringolo
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 we're on our way to get rid of changes, but meanwhile after > installing my Metacello config I end up with an image of 40me

[Pharo-users] Changes file size

2014-10-27 Thread Esteban A. Maringolo
I know we're on our way to get rid of changes, but meanwhile after installing my Metacello config I end up with an image of 40megs and a changes file of 140 megs!!! It doesn't load anything too esoteric: Glorp, Magritte, Seaside, Postgres, NeoCSV and my own packages. I can run PharoChangesCondens

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

2014-10-27 Thread kilon alios
I personally use emacs , git , github and gitbook.io. There is a pillar preview for GT tools (as Sven mentioned), but I have not tested thoroughly . So maybe editing pillar inside Pharo is not that far away. Overall pillar syntax is very simple and quite small so it should not be that hard to impl

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

2014-10-27 Thread stepharo
On 27/10/14 17:28, Peter Uhnák wrote: Hi, I wanted to experiment with Pillar however I'm not sure what to use to edit it. I was expecting some kind of editor with preview directly in Pharo but there is nothing. The next best thing I found was PillarHub based on Ace editor, however it depends

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

2014-10-27 Thread Sven Van Caekenberghe
> On 27 Oct 2014, at 23:28, Peter Uhnák wrote: > > Hi, > > I wanted to experiment with Pillar however I'm not sure what to use to edit > it. I was expecting some kind of editor with preview directly in Pharo but > there is nothing. The next best thing I found was PillarHub based on Ace > edi

[Pharo-users] using pillar and/or pillarhub

2014-10-27 Thread Peter Uhnák
Hi, I wanted to experiment with Pillar however I'm not sure what to use to edit it. I was expecting some kind of editor with preview directly in Pharo but there is nothing. The next best thing I found was PillarHub based on Ace editor, however it depends on Mozilla Persona. Is such thing needed? I

Re: [Pharo-users] keyboard event

2014-10-27 Thread kilon alios
yes again if you browse Morphic you will find the event-handling protocol two methods I tested is handleKeyStroke: that should return true so that your morph handles key strokes events and then you need to also override keyStroke: itself to do whatever you want to do, from there on you can check t

Re: [Pharo-users] keyboard event

2014-10-27 Thread Sven Van Caekenberghe
> On 27 Oct 2014, at 21:08, Hans Schueren wrote: > > Hello again , > > > could someone tell me the syntax for a keybord input ? > > I want to write a method which ask for keyboard input. > > Is this possible. > > > Hans The easiest way that is available is like this: UIManager default re

[Pharo-users] keyboard event

2014-10-27 Thread Hans Schueren
Hello again , could someone tell me the syntax for a keybord input ? I want to write a method which ask for keyboard input. Is this possible. Hans

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread kilon alios
would it not be better to have the html / css and js code outside the image ? so instead to load files instead of return strings ? this would make it easier to edit the code for html/css/js . GT js integration no idea how that works, does GT has for example syntax highlighting or other js specific

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread Stephan Eggermont
Kilon wrote >Really nice I now see the teapot stuff, for example this > >GET: 'demo/common/style.css' -> [ self styleCss ]; > >is really flexible meaning you can interpret http addresses and map them to >pharo methods. This a really cool idea indeed, I see now why people are >excited about teapot

Re: [Pharo-users] Self-removing announcement subscription?

2014-10-27 Thread Francisco Garau
Just a thought, but wouldn't it better to have a method called #subscribeOnce:do: and let it handle the subscription removal? - Francisco > On 25 Oct 2014, at 13:42, "Jan B." wrote: > > Hi all > > Today I come with a question regarding announcements. > I would like to make announcement subsc

[Pharo-users] AST tokens question

2014-10-27 Thread 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? Cheers, Mark

Re: [Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread kilon alios
Very interesting , I always wonder how you can combine those two together. Really nice I now see the teapot stuff, for example this GET: 'demo/common/style.css' -> [ self styleCss ]; is really flexible meaning you can interpret http addresses and map them to pharo methods. This a really cool ide

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

2014-10-27 Thread kilon alios
As I said to my other reply , its not as a good idea as you may think because it separates the user from the pharo enviroment. Nothing wrong with doing this for an end product that you want to deliver to users that have no clue about coding and no intention learning. I have explained in my other re

Re: [Pharo-users] starting a program

2014-10-27 Thread kilon alios
Lets put some thing in order. The core principle is "Live code enviroment" not to be very philosophical about this, the bottom line is that you should not think a pharo app as a regular app, where the application is clearly separated from the environment. Instead you should think of it more like

[Pharo-users] How not to serve an AngularJs application from Pharo

2014-10-27 Thread Stephan Eggermont
A small experiment in serving an AngularJs application from Pharo. Based on https://github.com/StephanEggermont/OpenSpace Gofer it smalltalkhubUser: 'StephanEggermont' project: 'OpenSpace'; configuration; loadDevelopment. OpenSpace new start. Start a browser and open it on http://lo

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

2014-10-27 Thread Hans Schueren
Hello programmers , as a beginner of pharo i have the following question. I suppose that you are lying under the tables for laughing flash !! hahaha To familiarize with the coding - saving - starting in general of smalltalk , may i ask you to make a short : step by step guide , to cr

[Pharo-users] starting a program

2014-10-27 Thread Hans Schueren
Hello , thank you for the answers. I will "copy" the folder on USB stick in the first way. Other options as github and launcher later. It is a little bit strange to start a program. There is one package. Inside the package are two classes. To start ONE class i do with classname n

Re: [Pharo-users] starting a simple program - make EXE files for portable distrubution

2014-10-27 Thread kilon alios
Actually its very simple on windows , macos and linux. You actually distribute the pharo folders as it is. You can rename the folder to the name of your application. In windows you can rename the folder and even rename the Pharo.exe to the name of your application , you can also change the icon,

Re: [Pharo-users] starting a simple program - make EXE files for portable distrubution

2014-10-27 Thread stepharo
Hi hans 1. starting the whole program in the Pharo environment ( not only a class or method ) 2. saving the image files only for the program in afolder. 3. storing the program image file on a USB stick. 4. starting and using the program on another PC. Yes this is simple. But what must

[Pharo-users] starting a simple program - make EXE files for portable distrubution

2014-10-27 Thread Hans Schueren
Hello programmers , i am a beginner pharo. Now i have a complete , simple smalltalk program READY. The many functions of Pharo are not important for me at the time. What i want to do is the following : 1. starting the whole program in the Pharo environment ( not only a class or method )

Re: [Pharo-users] Self-removing announcement subscription?

2014-10-27 Thread Henrik Johansen
> On 25 Oct 2014, at 2:42 , Jan B. wrote: > > Hi all > > Today I come with a question regarding announcements. > I would like to make announcement subscription which would remove itself > after first use. > Something like... > > anObject announcer >subscribe: TRMouseDragEnd >do: [ :e