Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread François Stephany
Yes, it works for me on OSX.l But it says "FileWriteError: File stdout is closed" when doing exactly the same thing on the Arch Linux of one of our programmer. We'll investigate and test on another Linux distro... On Mon, Jul 28, 2014 at 10:50 PM, Sven Van Caekenberghe wrote: > I think we need

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread Sven Van Caekenberghe
I think we need a better bug report, for me (Mac OS X) this works fine: $ ./pharo Pharo.image eval 'FileStream stdout nextPutAll: 42 factorial asString; cr. #done' > out.txt $ cat out.txt 14050061177528798985431426062445115699363840 #done So, what exactly is not working ? On 28 Jul 20

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread stepharo
Francois can you open a bug entry because this is not nice. Stef On 28/7/14 16:46, François Stephany wrote: $ pharo Pharo-30852.image > /tmp/test.log Outputting somethind to stdout results in: "FileWriteError: File stdout is closed" * Arch Linux * Pharo 30852. $ pharo --version 3.9-7 #1 T

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread Robert Shiplett
ex Google on "rlwrap" STDIN STDOUT redirection On 28 July 2014 14:01, p...@highoctane.be wrote: > Mmh, I have been experiencing that too. > > Stdin and stdout aren't that well handled it seems. I write to the term > using VTerm fwiw. > > Phil > Le 28 juil. 2014 16:46, "François Stephany" a

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread Robert Shiplett
rlwrap ? http://www.cliki.net/rlwrap On 28 July 2014 14:01, p...@highoctane.be wrote: > Mmh, I have been experiencing that too. > > Stdin and stdout aren't that well handled it seems. I write to the term > using VTerm fwiw. > > Phil > Le 28 juil. 2014 16:46, "François Stephany" a > écrit : >

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread p...@highoctane.be
Mmh, I have been experiencing that too. Stdin and stdout aren't that well handled it seems. I write to the term using VTerm fwiw. Phil Le 28 juil. 2014 16:46, "François Stephany" a écrit : > > $ pharo Pharo-30852.image > /tmp/test.log > > Outputting somethind to stdout results in: > "FileWriteE

Re: [Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread Robert Shiplett
on linux I used to have a BASH shell "wrapping" script to address this redirect snaffu in a pinch with other interpreters ... Does that "ring a bell" with someone as a quick work-around ? My memory can be such a pain and I am on an old XP laptop just now ... I am quite sure I had to launch from BA

[Pharo-users] Writing on stdout when redirecting the standard output

2014-07-28 Thread François Stephany
$ pharo Pharo-30852.image > /tmp/test.log Outputting somethind to stdout results in: "FileWriteError: File stdout is closed" * Arch Linux * Pharo 30852. $ pharo --version 3.9-7 #1 Thu May 15 18:29:30 CEST 2014 gcc 4.6.3 [Production ITHB VM] NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.

[Pharo-users] Multiple sorting helper

2014-07-28 Thread Esteban A. Maringolo
Hi, I have a collection of objects and I want to sort its contents by more than one attribute (including nil values), and I thought somebody might have already done this. Something like: sorter := MultipleSortCriteria new add: #lastName; add: [:each | each personalI

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Norbert Hartl
Am 28.07.2014 um 15:14 schrieb Sven Van Caekenberghe : > > On 28 Jul 2014, at 14:59, Norbert Hartl wrote: > >> >> Am 28.07.2014 um 14:19 schrieb Sven Van Caekenberghe : >> >>> Hi Norbert, >>> >>> Neo-Caching was an experiment, a proof of concept, it has been integrated >>> in Pharo. >>> Se

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Sven Van Caekenberghe
On 28 Jul 2014, at 14:59, Norbert Hartl wrote: > > Am 28.07.2014 um 14:19 schrieb Sven Van Caekenberghe : > >> Hi Norbert, >> >> Neo-Caching was an experiment, a proof of concept, it has been integrated in >> Pharo. >> See category 'System-Caching', the hierarchy AbstractCache, LRUCache and

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Norbert Hartl
Am 28.07.2014 um 14:19 schrieb Sven Van Caekenberghe : > Hi Norbert, > > Neo-Caching was an experiment, a proof of concept, it has been integrated in > Pharo. > See category 'System-Caching', the hierarchy AbstractCache, LRUCache and > TTLCache. > Ah, good to know, thanks. That's even better

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Norbert Hartl
Am 28.07.2014 um 14:17 schrieb Sean P. DeNigris : > NorbertHartl wrote >> I try to give Neo-Caching a shot in a project of mine. Neo-Caching does >> not have a metacello configuration > > The more religious MetaC practitioners will tell you never to to this and to > just make a configuration you

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Sven Van Caekenberghe
Hi Norbert, Neo-Caching was an experiment, a proof of concept, it has been integrated in Pharo. See category 'System-Caching', the hierarchy AbstractCache, LRUCache and TTLCache. HTH, Sven On 28 Jul 2014, at 13:48, Norbert Hartl wrote: > I try to give Neo-Caching a shot in a project of mine

Re: [Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Sean P. DeNigris
NorbertHartl wrote > I try to give Neo-Caching a shot in a project of mine. Neo-Caching does > not have a metacello configuration The more religious MetaC practitioners will tell you never to to this and to just make a configuration yourself ;) I've found this can be overkill in simple cases. IIR

Re: [Pharo-users] [Tip] Image init scripts when working with PharoLauncher

2014-07-28 Thread Damien Cassou
On Fri, Jul 25, 2014 at 1:54 PM, Torsten Bergmann wrote: > I've found the following script very useful: here is what I do for MC credentials: credentials := Dictionary new. MCRepository classVarNamed: 'Settings' put: credentials. credentials at: 'account smalltalkhub' put: '*smallt

Re: [Pharo-users] Reference documentation on Trait

2014-07-28 Thread Damien Cassou
On Fri, Jul 25, 2014 at 9:47 AM, Hilaire wrote: > Do we have such document(s)? http://scg.unibe.ch/research/traits -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill

[Pharo-users] Add external package to metacello using versionner

2014-07-28 Thread Norbert Hartl
I try to give Neo-Caching a shot in a project of mine. Neo-Caching does not have a metacello configuration. If I add the package via versionner the package is added but without repository information. That fails on loading? How to do? Bug? Norbert