Re: [Pharo-users] Fileouts line ending (^M and noeol in Vim)

2014-09-12 Thread Carlo
You mean apart from changing the source in FileStream>>writeSourceCodeFrom:baseName:isSt: and adding fileStream wantsLineEndConversion: true; Don't think there is another simple way to get to this functionality. Cheers Carlo On 12 Sep 2014, at 5:26 PM, Esteban A. Maringolo

Re: [Pharo-users] Start up actions

2014-11-05 Thread Carlo
o a. or b. Cheers Carlo On 05 Nov 2014, at 1:50 PM, Sven Van Caekenberghe wrote: The absolute simplest thing is to just create the process and save the image with it, it will keep on running. > On 05 Nov 2014, at 12:05, PBKResearch wrote: > > Hello > > I have a puzzle as to how

Re: [Pharo-users] Error: RemoteString past end of file on Pharo 4.0

2015-05-03 Thread Carlo
Hi My first thought was also to do with the .change file, as I have received this error before when creating manual backups of images. Cheers Carlo On 04 May 2015, at 12:22 AM, Cyril Ferlicot wrote: It happend to me when I renamed some .image without renaming the .change file. Maybe that&#

Re: [Pharo-users] initializeWith* and constructors

2015-05-03 Thread Carlo
mplete Creation Method" I believe helps communicate "how can I create a valid instance?" to users of your objects. Cheers Carlo On 02 May 2015, at 4:52 PM, Ben Coman wrote: There are other conventions like: * set... * Delay class >> forMilliseconds: aNumber

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
d to select window by pressing any other key; so 'alt-tab' until window comes up, then let it go and press any key to select it. Cheers Carlo On 16 May 2015, at 12:52 AM, Avdi Grimm wrote: Hey folks! I've dabbled with smalltalk here and there over the years, but recently I've s

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
viewExtent; yourself. On 16 May 2015, at 1:09 AM, Avdi Grimm wrote: On Fri, May 15, 2015 at 7:06 PM Carlo mailto:snoob...@gmail.com>> wrote: Removing the 'self halt' still works though. Can you give me a little more detail about where to find this? Thanks!

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
As far as I know you are correct in assumption of morphic windows; especially considering experiences playing with Self where it originated from. TWM is a way of managing the multiple open windows. Morphic objects are cool though especially in Squeak or Lively Kernel (Pharo less so) e.g. rotate

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
heers Carlo On 16 May 2015, at 1:32 AM, Avdi Grimm wrote: I'd be totally cool with Alt-Left/Right. I just want *something* so I don't have to lift my hand just to switch from e.g. Browser to Playground and back. On Fri, May 15, 2015 at 7:23 PM Nicolai Hess mailto:nicolaih...

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
t or Ctrl-right works, and again you need to press any key to select the window on preview. Cheers Carlo On 16 May 2015, at 1:32 AM, Avdi Grimm wrote: I'd be totally cool with Alt-Left/Right. I just want *something* so I don't have to lift my hand just to switch from e.g. Browser to

Re: [Pharo-users] Alt-tab between windows

2015-05-15 Thread Carlo
l-left or Ctrl-right works, and again you need to press any key to select the window on preview. Cheers Carlo On 16 May 2015, at 1:05 AM, Avdi Grimm wrote: Messing around, I've gotten the impression that Morphic doesn't really have the concept of a window manager. I've even play

Re: [Pharo-users] Is it always needed to redefine #hash message when you redefine #= message?

2015-05-26 Thread Carlo
; improve the performance of hash tables. > As much as is reasonably practical, the hashCode method defined by class > Object does return distinct integers for distinct objects. Cheers Carlo On 26 May 2015, at 8:45 PM, Julien Delplanque wrote: The subject of this mail is exactly my ques

Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Carlo
Hi Have you tried: http://www.squeaksource.com/BTree Used it long ago and worked well. Regards Carlo On 18 Jul 2013, at 2:10 AM, Hernán Morales Durand wrote: Have a look at: http://www.smalltalkhub.com/#!/~hernan/SortedDictionary use at your own risk, given I have no time for writing tests

Re: [Pharo-users] ZdcSecureSMTPClient

2013-10-22 Thread Carlo
to: (self salesReportReceipients) text: message text usingServer: self smtpServer Regards Carlo On 22 Oct 2013, at 11:29 AM, Sven Van Caekenberghe wrote: Hi, On 22 Oct 2013, at 10:46, timothyageo...@gmail.com wrote: > Hello, > > I tried your exampl

Re: [Pharo-users] iStoa

2014-01-16 Thread Carlo
Looks promising Hilaire. What version of Pharo can I load this into? Thanks Carlo On 16 Jan 2014, at 10:29 PM, Hilaire Fernandes wrote: Hi, I am revisiting a previous project iStoa.net to polish its GUI and graphics. I want to produce math exercises for grade 1 kids to play with, enclosed a

Re: [Pharo-users] iStoa, some new

2014-02-02 Thread Carlo
. Do you have any workspace scripts you use to test your app? Thanks Carlo On 01 Feb 2014, at 9:16 PM, Hilaire Fernandes wrote: Hello, Some newer screenshots about iStoa. To try, some instructions there [2] Hilaire [1] https://launchpad.net/istoa [2] http://bazaar.launchpad.net/~hilaire

Re: [Pharo-users] iStoa, some new

2014-02-05 Thread Carlo
Thanks, that seems to work. On 05 Feb 2014, at 12:38 PM, Hilaire Fernandes wrote: What about: StoaApp current openInWorld. Along Cliparts/, you may need to create a Users/ folder Hilaire Le 02/02/2014 22:13, Carlo a écrit : > Stoa beUnix. > StoaApp current show. -- Dr. Ge

Re: [Pharo-users] Base64 or HMAC problem

2014-04-28 Thread Carlo
‘=“ are the only 2 characters that would be encoded for HTTP which would mean the Pharo generated output is correct: AcTXF%2BlDa2kRYVm0k5jY6pGGTMXD7NsQS6tLBXRp3Xs%3D Are you sure that your expected output is correct: %2B%2FYhVkcaEIHBeUESOsJYD1nKyJXVGyFX%2FlxR616aUK4%3D Cheers Carlo On 28 Apr 2014

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-05 Thread Carlo
>>copyReplaceFrom:to:with: I don’t have write access to the http://www.smalltalkhub.com/#!/~PharoExtras/XMLParser/ project but here is a unit test and code change that seems to work. Cheers Carlo XMLOrderedListTest>>testConcatenation | anXmlOrderedList expectedConcate

Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-06 Thread Carlo
dCollection>>at:put:" ^ self newWithCollection: (self collection copyReplaceFrom: start to: stop with: replacementCollection) Cheers Carlo On 06 May 2014, at 9:43 AM, Nicolai Hess wrote: 2014-05-06 1:17 GMT+02:00 Carlo : Hi The problem seems to be due to the use of an intern

Re: [Pharo-users] not yet / should be implemented

2015-09-29 Thread Carlo
e not polymorphic and typically break Liskov's Substitution Principle for example. So I would suggest keep the 2 as they communicate different ideas. Cheers Carlo On 29 Sep 2015, at 9:44 AM, stepharo wrote: To me NotYetImplemented is not needed => should be implemented is enough Le 28/9/15

Re: [Pharo-users] Transcrip Show: in a loop

2015-11-13 Thread Carlo
Hi You could fork a thread which will free up the UI thread. e.g. [ 10 timesRepeat: [ aLongComputation. Transcript show: 'some message' ] ] fork Regards Carlo On 13 Nov 2015, at 12:06 PM, abdelghani ALIDRA wrote: Thanks Vincent,

Re: [Pharo-users] SQLite bridge crashed Pharo 5.

2016-04-13 Thread Carlo
iated. I know there are a lot of hands behind the scenes to make Pharo, from the fast VM to the UI, so thanks to all. Regards Carlo On 13 Apr 2016, at 2:49 AM, Offray Vladimir Luna Cárdenas wrote: Hi, On 12/04/16 16:51, Stephan Eggermont wrote: > On 12/04/16 22:44, Offray Vladimir Luna

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Carlo
Hi Roelof I think you meant String streamContents: and not Array streamContents: On 26 Mar 2019, at 20:12, Roelof Wobben wrote: Hello, I have a SortedCollection of teams. Now I need to convert this to a line like this : 'Allegoric Alaskans | 1 | 1 | 0 | 0 | 3' I tr

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Carlo
Hi Roelof The block [] should be (). What's happening is that the block is being added to outcome which will then print itself out. Cheers Carlo On 26 Mar 2019, at 20:45, Roelof Wobben wrote: Hello Could be , im confused now I tried this : outcome add:

Re: [Pharo-users] transactions on pharo objects

2018-08-06 Thread Carlo
) They had a JS and Squeak version running which can be found at http://www.tinlizzie.org/~awarth/worlds/ <http://www.tinlizzie.org/~awarth/worlds/> Regards Carlo On 30 Jul 2018, at 15:16, Peter Uhnák mailto:i.uh...@gmail.com>> wrote: Hi, is there some library or approach how to

Re: [Pharo-users] XML Writer not pretty printing

2018-08-14 Thread Carlo
space: What you could do is use #removeAllFormattingNodes but your-mileage-may-vary... parser := XMLDOMParser on:' '. (parser parseDocument) removeAllFormattingNodes; prettyPrinted. Regards Carlo On 14 Aug 2018, at 13:08, Peter Uhnak wrot

Re: [Pharo-users] splitting a string using regex

2019-01-15 Thread Carlo
e. Answers a collection of 5 elements. Regards Carlo On 15 Jan 2019, at 06:25, Steve Quezadas wrote: I am answering my own question because I found the solution for it. This is the code that didn't work: > myString := 'one\n\ntwo\n\n'. > re := '\n\n' asReg