Re: [Pharo-users] Glorp on Pharo 4

2015-01-21 Thread Craig
From: Sven Van Caekenberghe Sent: 22 January 2015 08:37 AM > What exactly do you mean ? > > Reading the link above that seems to be correct, at first glance, maybe I don't see it. Sven, Forgive me, I'm new to Pharo, but I'm sure that in Pharo you don't use commas to separate parameters in a mes

Re: [Pharo-users] Mea Culpa

2015-01-21 Thread kilon alios
Popularity indeed comes with a high price. Guido the creator of python he has said in one of his presentation that there many people who want to add their libraries to python distribution but they should not want to do that, because once a library is added it become very difficult to change since s

Re: [Pharo-users] Glorp on Pharo 4

2015-01-21 Thread Sven Van Caekenberghe
> On 22 Jan 2015, at 06:52, Craig wrote: > > From: Sven Van Caekenberghe > Sent: 20 January 2015 01:40 PM > >> Using Glorp on top of the PostgresV2 driver (which uses just a network > connection and no native code nor plugin) >> should work on all platforms. Of course, you still have to insta

Re: [Pharo-users] Glorp on Pharo 4

2015-01-21 Thread Craig
From: Sven Van Caekenberghe Sent: 20 January 2015 01:40 PM > Using Glorp on top of the PostgresV2 driver (which uses just a network connection and no native code nor plugin) > should work on all platforms. Of course, you still have to install Postgres itself, but it can run on another machine to

[Pharo-users] The Smalltalk Revolution is still going!

2015-01-21 Thread horrido
My article "The Smalltalk Revolution" is a frickin' Energizer Bunny! It just keeps going and going and going... At this moment, it has surpassed 15K views and 8.1K reads. Instead of petering out, *as it appeared to be doing earlier this week*, it seems to be growing again! /I wonder what's going o

Re: [Pharo-users] Mea Culpa

2015-01-21 Thread horrido
hernanmd wrote >> It is unfortunate that I must use the Pharo forum for this purpose. The >> Smalltalk community is so terribly fragmented that there is no universal >> Smalltalk forum to address, at least, none that is actually *inhabited*. >> Without the ability to address the largest number of S

Re: [Pharo-users] Mea Culpa

2015-01-21 Thread Hernán Morales Durand
Hello Richard, 2015-01-21 17:12 GMT-03:00 horrido : > Okay, so far, I've made two mistakes. First was my lack of sensitivity to > cultural differences around the world. Now that I know better, I shall do > better. You better take a lot of care writing about politics, sports, or whatever that co

[Pharo-users] The Smalltalk Report issue

2015-01-21 Thread Rafael Luque
Hi Pharoers, I'm looking for The Smalltalk Report volume 6 issue 4 (1997) because I'd like to read the first article mentioning refactoring by Kent Beck: "Make it run, Make it right: Desing through Refactoring" published in this number. I've found the following archive from 1991 to 1996: http://w

Re: [Pharo-users] Centering a Label with Spec

2015-01-21 Thread Nicolai Hess
Hi Piotr, like you already found out, you can use whenBuiltDo: But instead of using #hResizing: , which is not explicit in specs api you can call the method hShrinkWrap (look in AbstractMorphicAdapter, protocol 'protocol'). Here is a small example with centering a label: | ui layout | ui :

Re: [Pharo-users] Spec: how to add borders

2015-01-21 Thread Mark Rizun
Good to know, thanks. 2015-01-21 22:53 GMT+01:00 Piotr Klibert : > I don't know if Spec exposes this in any way, but you can do this via > sending > > button widget widget borderWidth: 2 > > to your model. The "widget widget" part is because there's also a > MorphicAdapter between a model and a r

Re: [Pharo-users] Centering a Label with Spec

2015-01-21 Thread Mark Rizun
This is really great that you found a solution. It will be helpful for me and I think for others tool. Thanks a lot 2015-01-21 22:47 GMT+01:00 Piotr Klibert : > Ok, so I investigated a bit and it turns out it really is not possible > with pure Spec (and no, absolute positioning is not an answer ;

Re: [Pharo-users] Spec: how to add borders

2015-01-21 Thread Piotr Klibert
I don't know if Spec exposes this in any way, but you can do this via sending button widget widget borderWidth: 2 to your model. The "widget widget" part is because there's also a MorphicAdapter between a model and a real Morph. I didn't check this, but it's possible you will need to do this *af

Re: [Pharo-users] Centering a Label with Spec

2015-01-21 Thread Piotr Klibert
Ok, so I investigated a bit and it turns out it really is not possible with pure Spec (and no, absolute positioning is not an answer ;)) and that it is possible with a bit of fiddling with underlying morphs, LayoutFrames and LayoutPolicies. In the beginning I had this window: https://klibert.pl/s

[Pharo-users] Mea Culpa

2015-01-21 Thread horrido
Okay, so far, I've made two mistakes. First was my lack of sensitivity to cultural differences around the world. Now that I know better, I shall do better. Second was my failure to distinguish between different subgroups within the Pharo forum. The reason I chose Pharo forum to discuss my campaign

[Pharo-users] [ANN] Pharo Consortium New Academic Partner: DCyT - Universdad Nacional de Quilmes

2015-01-21 Thread Marcus Denker
The Pharo Consortium is very happy to announce that the DCyT - Universdad Nacional de Quilmes has joined the Consortium as an Academic Partner. About - DCyT - Universdad Nacional de Quilmes: http://www.unq.edu.ar - Pharo Consortium: http://consortium.pharo

Re: [Pharo-users] could not find display

2015-01-21 Thread Guillaume LOZENGUEZ
It's appears no dependenses missing (exept linux-gate but it seems to be normal : http://www.trilithium.com/johan/2005/08/linux-gate/). [ 18:13:19 ] $ ldd /usr/lib/pharo-vm/vm-display-X11.so linux-gate.so.1 => (0xf7754000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0

Re: [Pharo-users] could not find display

2015-01-21 Thread Martin Bähr
Excerpts from Lozenguez Guillaume's message of 2015-01-21 17:21:00 +0100: > I am on an Ubuntu 14.04 LTS and I trying to install and run pharo. > I follow the Ubuntu ppa instructions. > > I also install lib32z1 lib32ncurses5 lib32bz2-1.0 (ia32-libs from the > readme file in zip archive is

[Pharo-users] could not find display

2015-01-21 Thread Lozenguez Guillaume
Hi, I am on an Ubuntu 14.04 LTS and I trying to install and run pharo. I follow the Ubuntu ppa instructions. I also install lib32z1 lib32ncurses5 lib32bz2-1.0 (ia32-libs from the readme file in zip archive is not available anymore) then the command pharo return a polite : could not fi

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread sergio_101
thanks! that is not very old at all, compared to the things i was finding.. although this takes a different approach, i need to sit down and absorb this article.. good stuff here.. On Wed Jan 21 2015 at 10:23:48 AM Sven Van Caekenberghe wrote: > There is also this document: http://zn.stfx.eu/z

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Sven Van Caekenberghe
There is also this document: http://zn.stfx.eu/zn/build-and-deploy-1st-webapp A bit old, but still. > On 21 Jan 2015, at 16:19, sergio_101 wrote: > > okay.. thanks your all your input! i have gotten this to work.. > > i tried pulling the files from the server, but was getting an issue with >

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread sergio_101
okay.. thanks your all your input! i have gotten this to work.. i tried pulling the files from the server, but was getting an issue with 'pharo' not found.. which was odd in that it was in the directory, and it had execute permissions. it had several executable files in it, but i am not sure what

Re: [Pharo-users] Compiling pillar documents in Windows

2015-01-21 Thread Offray Vladimir Luna Cárdenas
Hi, Also you can think check out luatex[1][2]. Its size is small, offers programmability via Lua and runs on windows. By the way, I'm starting a conversation on Moose mailing list about new ways of making structured interactive documentation on Pharo/Moose. Still alpha/rookie code with unansw

Re: [Pharo-users] Saving contents of a Playground

2015-01-21 Thread Alexandre Bergel
Hi Nacho, If you click on the … button, you should have the history However, I have spotted what I think may be a bug. The playground does not always record what is being executed. how to reproduce it: - open a playground and enter 10 + 20 - Press the play button - check

[Pharo-users] Saving contents of a Playground

2015-01-21 Thread nacho
Hi, In Pharo 3 we had the option of saving the contents of a Workspace. Is this feature available in the Playground in Pharo 4? I search the forum but couldn't find an answer. Thanks in advance Nacho - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context:

Re: [Pharo-users] Compiling pillar documents in Windows

2015-01-21 Thread nacho
Thank you Damien & Luc I think miktek will do the trick! cheers Nacho - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Compiling-pillar-documents-in-Windows-tp4800644p4800793.html Sent from the Pharo Smalltalk Users mailing lis

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread sergio_101
Hey, all.. Thanks for the tips! i am going to try this out in a bit.. Is there any place where this info is available to those who are searching for it? I found the above at the documentation for seaside: http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm if you search ar

Re: [Pharo-users] Compiling pillar documents in Windows

2015-01-21 Thread Luc Fabresse
And if you really need to generate the pdf on Windows, you can install http://miktex.org. It provides a full LaTeX environment (including pdflatex) for Windows. #Luc 2015-01-21 13:45 GMT+01:00 Damien Cassou : > > Ignacio Sniechowski writes: > > > Phil, > > Exactly that's my point I don't know if

Re: [Pharo-users] Compiling pillar documents in Windows

2015-01-21 Thread Damien Cassou
Ignacio Sniechowski writes: > Phil, > Exactly that's my point I don't know if its possible to generate PDFs in > Windows. In OSX works fine...because pdf2latex is there you can generate HTML locally and let a continuous integration server build pdf. You can use https://ci.inria.fr/pharo-cont

Re: [Pharo-users] Compiling pillar documents in Windows

2015-01-21 Thread Damien Cassou
nacho writes: > Is it possible to compile pillar documents under windows? > I have no problem in doing that in my OSX machine, but I need it to do it in > Windows and can't figure it out. Guess support is only for *NIX os? > thanks in advance I already configured pillar to work on Mark's Windows

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread olivier auverlot
Yes, don't forget no-quit My starting file for Seaside is: #!/bin/sh USER="www-data" VM="/usr/bin/pharo" VM_PARAMS="--mmap 256m -vm-sound-null -vm-display-null" IMAGE="/opt/myApp/Pharo3.0.image" exec \ setuidgid "$USER" \ "$VM" $VM_PARAMS "$IMAGE" \ --no-quit Olivier ;-)

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Esteban Lorenzano
> On 21 Jan 2015, at 10:31, nacho <0800na...@gmail.com> wrote: > > philippeback wrote >> why running pharo with a squeakvm? >> >> I do it, in my Raspberry Pi :p and its slo >> >> >> I am runnin headless with PharoVM here. >> >> Your vm params look like weird. >> >> I'll give you a copy o

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Esteban Lorenzano
> On 21 Jan 2015, at 11:01, Clément Bera wrote: > > > > 2015-01-21 10:31 GMT+01:00 nacho <0800na...@gmail.com > >: > philippeback wrote > > why running pharo with a squeakvm? > > > > I do it, in my Raspberry Pi :p and its slo > > Actually I think only the UI i

[Pharo-users] Spec: how to add borders

2015-01-21 Thread Mark Rizun
Hi, I want to have a border around, for example, two TextModel(s) and one ButtonModel. Is it possible to do just with Spec or I have to do it some other way? Best regards, Mark -- View this message in context: http://forum.world.st/Spec-how-to-add-borders-tp4800778.html Sent from the Pharo Sm

Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-21 Thread Ben Coman
I had experienced the same thing. It was a bug that Nicolai fixed. On Wed, Jan 21, 2015 at 4:53 AM, stepharo wrote: > thanks damien > I will now because my old version is taking 3 min to open. > > Le 20/1/15 14:58, Damien Cassou a écrit : > > Hi everyone, >> >> I've just updated the Windows and

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Clément Bera
2015-01-21 10:31 GMT+01:00 nacho <0800na...@gmail.com>: > philippeback wrote > > why running pharo with a squeakvm? > > > > I do it, in my Raspberry Pi :p and its slo > Actually I think only the UI is slow on the Pi because on the squeak VM made by Tim he reimplemented differently BitBlt. Is

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Clément Bera
2015-01-21 9:29 GMT+01:00 Michal Balda : > Hi all, > is there any difference between -vm-display-null and --no-display (and > using both)? > no-display is deprecated, whereas vm-display-null is not. It does the same but use vm-display-null or your script will stop working in the future. > > I u

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread nacho
philippeback wrote > why running pharo with a squeakvm? > > I do it, in my Raspberry Pi :p and its slo > > > I am runnin headless with PharoVM here. > > Your vm params look like weird. > > I'll give you a copy of my CLI when I have access to my Pc. > > Phil > Le 21 janv. 2015 03:59, "serg

Re: [Pharo-users] Pharo and X11 primary selection (aka middle mouse button paste)

2015-01-21 Thread Peter Uhnák
Hi, there are several things at play here as far as I was able to find out. I was researching this issue when I was frustrated with pasting from Chrome and was able to figure at out at least a temporarily solution. Here's my original post http://forum.world.st/Re-Copy-past-doesn-t-work-sometimes-

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Michal Balda
Hi all, is there any difference between -vm-display-null and --no-display (and using both)? I used this command to successfully run a Seaside app on a headless Linux server, with a standard Pharo VM (not the Squeak one from the repositories): ./pharo-vm/pharo \ -vm-display-null \ -vm-soun

Re: [Pharo-users] Running Pharo headless

2015-01-21 Thread Clément Bera
Just a detail. When you run headless with the latest pharo-vm (that you can download here: http://files.pharo.org/vm/pharo/ in your OS directory, file stable.zip), add --no-quit after --no-display in the VM start-up options. 2015-01-21 7:21 GMT+01:00 p...@highoctane.be : > why running pharo with