Re: [Newbies] remove allInstances?

2016-09-23 Thread Tobias Pape
Hi, On 23.09.2016, at 15:03, Louis LaBrunda wrote: > Hi Joseph, > > Try: > > Books allInstances do: [:b | b become: nil]. I would advise against that. Become is a sledgehammer and you're about to crush ants with it. What happens with 'a become: b' ? All occurrences of 'a' in the image are

Re: [Newbies] Transcript

2016-07-18 Thread Tobias Pape
Hi Joseph On 18.07.2016, at 18:48, Ron Teitelbaum wrote: > Hi Joe, > > It's probably not the transcript but everything else that is happening on > your image. I'm not sure at what priority the transcript runs but if you > have threads at higher priority running they have to finish first and th

Re: [Newbies] new and initialize

2016-05-12 Thread Tobias Pape
On 12.05.2016, at 01:50, Joseph Alotta wrote: > Sorry, it doesn’t work on the Mac. The window gets black and then redraws. > I think maybe it means “refresh”. > > Sincerely, > > JOe. Joe, which version of Squeak are you using? 5.0 does not yet have this shortcut but the current developm

Re: [Newbies] next or break in a loop

2016-05-09 Thread Tobias Pape
Hi Joseph, On 09.05.2016, at 19:51, Joseph Alotta wrote: > Greetings, > > I am in need of a way to go to the end of a do loop. > > myCollection do: [ :item | > >(blah blah) ifTrue: “we found an item of the first type” > next item. > >(blah bla

Re: [Newbies] Incomplete Seaside instruction on squeak.org?

2015-08-26 Thread Tobias Pape
Hi, On 26.08.2015, at 17:56, Stephan Eggermont wrote: > On 26-08-15 17:41, Chris Muller wrote: >> Is there any way to load Seaside without OmniBrowser? It's just for >> that one configuration panel right? If I'm willing to forego that one >> configuration panel, could I leave OB out of my Seas

Re: [Newbies] Incomplete Seaside instruction on squeak.org?

2015-08-26 Thread Tobias Pape
Hi On 22.08.2015, at 20:11, lostgweilo wrote: > Thanks for the help and advice. > > I tried to evaluate the code you shared and indeed something doesn't work > right. > A debugger pops up while "Fetching 3.1.4.1 of ConfigurationsOfSeaside3", > about 45% in, because of "Error: Name not found: OB

Re: [Newbies] [Squeak 4.6] Font Importer Tool instructions?

2015-07-20 Thread Tobias Pape
Hi Hannes, Sorry for this very late answer. I put the font importer into the image to make it a bit easier to deal with TrueType fonts. On 14.07.2015, at 13:43, H. Hirzel wrote: > Hello > > In the yet to be released Squeak 4.6 > (http://ftp.squeak.org/4.6/Squeak-4.6-All-in-One.zip is a previe

Re: [Newbies] How to doubble sort a collection

2015-02-04 Thread Tobias Pape
On 04.02.2015, at 19:22, Raymond Asselin wrote: > For now I implemented: > > sortedNotes > ^notes sort:[:a :b | (a date = b date) and:[a temps > b temps]] . > > AND > > notesSorted > ^notes sort:[:a :b | a date = b date > ifTrue:[a temps > b temps] > ifFalse:[a d

[Newbies] Re: [squeak-dev] Running Squeak on Mac OS X fails due to damaged file.

2014-09-29 Thread Tobias Pape
Hi Craig, On 30.09.2014, at 01:26, Craig Latta wrote: > > Hoi Tobias-- > >> Probably Craig can [check the Mac signature on the current release of >> the Squeak 4.5 app]. Craig? > > Hm, yes, that Gatekeeper error is what you get when Gatekeeper is > turned on and allows apps signed by iden

Re: [Newbies] Running Squeak on Mac OS X fails due to damaged file.

2014-09-29 Thread Tobias Pape
Hi, On 29.09.2014, at 17:59, Chris Muller wrote: > On Fri, Sep 26, 2014 at 5:59 AM, Tobias Pape wrote: >> [cc squeak-dev] >> >> I'm puzzled. >> I though the All-In-One was signed and should not be reported as damaged? > > It was signed back in May when w

Re: [Newbies] Running Squeak on Mac OS X fails due to damaged file.

2014-09-26 Thread Tobias Pape
ks at Apple. The cause and the fix is >>> explained here: http://www.yourkit.com/download/mountain_lion.html >>> >>> I think we should add a similar note to the zip file, and the website too. >>> >>> >>> Levente >>> >>>> On Thu, 25

Re: [Newbies] Running Squeak on Mac OS X fails due to damaged file.

2014-09-26 Thread Tobias Pape
ks at Apple. The cause and the fix is >>> explained here: http://www.yourkit.com/download/mountain_lion.html >>> >>> I think we should add a similar note to the zip file, and the website too. >>> >>> >>> Levente >>> >>>> On Thu, 25

Re: [Newbies] Running Squeak on Mac OS X fails due to damaged file.

2014-09-25 Thread Tobias Pape
On 25.09.2014, at 20:50, Henrik Aagaard wrote: > I’ve download the file 3 times, all with this result: > > shasum -a 256 Squeak-4.5-All-in-One.zip > 60bfa0c35b33f4e58283dc3a336f95c8177c0c7fbd54b9a171a5a36cd7d13cad > > Opening the file and run the .app still results in damaged file from Mac OS

Re: [Newbies] Running Squeak on Mac OS X fails due to damaged file.

2014-09-25 Thread Tobias Pape
Hi Henrik, On 25.09.2014, at 19:50, Henrik Aagaard wrote: > Hello jrm, > > I’m able to unzip the file and get the .app-file. Trying to run that results > in a message from Mac OS X saying the file is damaged. Can you please verify that the downloaded file is not corrupted in the downloading

Re: [Newbies] shadowed

2014-06-02 Thread Tobias Pape
Hi Joe On 02.06.2014, at 18:17, Joseph J Alotta wrote: > I am getting these messages on my Transcript. > > What does "is shadowed" mean? > 'shadowed' means that you use a temporary variable 'sortbybank' in House>>#report4a when somewhere in House or its superclasses is there is an instance v

Re: [Newbies] Is there a way to broadcast messages to more than one recipient?

2014-01-04 Thread Tobias Pape
On 04.01.2014, at 14:59, Sean P. DeNigris wrote: > Herbert König wrote >> there maybe something more elegant :-)) > > aCollection do: #selector. ? > HOM. http://www.metaobject.com/papers/Higher_Order_Messaging_OOPSLA_2005.pdf works with selecte/collect/etc.pp Best -Tobias signatu

Re: [Newbies] [ot] how to quote? :-)

2013-11-26 Thread Tobias Pape
Hey Paolo, On 25.11.2013, at 20:41, paolo.bernardi...@gmail.com wrote: > maybe internet changed. > In the past I used to add a greater-than to the left of some rows of text. > It was a quote. It is still. > Now I send commands to the list (luckly left unprocessed!) Check the reply-to address,

Re: [Newbies] Fading out a morph

2012-07-19 Thread Tobias Pape
Am 19.07.2012 um 15:23 schrieb patrick dudjalija: > Hello everyone ! > > I found a way to fade out a morph via the BitBlt class. > Problem is with the code line "(Duration seconds:1) asDelay wait." > When this line is present, i don't see the intermediary states, only the > final result. > But

Re: [Newbies] Test if a class has a certain selector?

2012-04-27 Thread Tobias Pape
(resend, wrong from: mail) Am 2012-04-28 um 01:01 schrieb Tobias Pape: > > Am 2012-04-28 um 00:45 schrieb H. Hirzel: > >> Hello >> >> Is there a simpler way of writing >> >> Character class selectors includes: #cr >> >> (= test

Re: [Newbies] Test if a class has a certain selector?

2012-04-27 Thread Tobias Pape
Am 2012-04-28 um 01:35 schrieb H. Hirzel: > Thank you Tobias and Herbert for the answers > > Interestingly > > Squeak 4.3 > -- > ('a' respondsTo: #first) == (String canUnderstand: #first) > evaluates to true > > (Character respondsTo: #cr) == (Character canUnderstand: #cr) > evalua

Re: [Newbies] Test if a class has a certain selector?

2012-04-27 Thread Tobias Pape
Am 2012-04-28 um 00:45 schrieb H. Hirzel: > Hello > > Is there a simpler way of writing > > Character class selectors includes: #cr > > (= test if Character class has method #cr) Character canUnderstand: #cr remember, its messages, => ('a' respondsTo: #first) == (String canUnderstand: #

Re: [Newbies] Remove trailing spaces of aString

2012-04-27 Thread Tobias Pape
Am 2012-04-27 um 17:27 schrieb H. Hirzel: > Hello > > I use Squeak 4.3, Update 11860. > > I want to remove the trailing spaces and or tabs and LF of a String > > something like > 'abc > ' > > should just be > 'abc'. > > If I remember that there was a method in class String to something > li

Re: [Newbies] Float variableWordSubclass

2012-01-07 Thread Tobias Pape
Am 2012-01-07 um 20:00 schrieb karl ramberg: > > > On Sat, Jan 7, 2012 at 7:04 PM, Levente Uzonyi wrote: > On Thu, 5 Jan 2012, Ben Coman wrote: > > Levente Uzonyi wrote: > On Wed, 4 Jan 2012, Ben Coman wrote: > > When I define... > Float subclass: MyPrefixFloat > > I guess you meat Float s

Re: [Newbies] Re: ifTrue ifFalse help

2011-04-27 Thread Tobias Pape
Am 2011-04-27 um 08:35 schrieb calcrisk33: > bool = $a worked like a charm! So what exactly does $ do? I'm more familiar > with Java and am trying to break that thought process... relating Squeak to > Java. Note that Java has not notion of first-class Characters. Every character is just a st

Re: [Newbies] new browser doesn't color code for easy reading

2010-10-18 Thread Tobias Pape
Am 2010-10-16 um 01:24 schrieb Ralph Johnson: > > Smalltalk questions are extremely appropriate here. > > (Smalltalk at: #ConfigurationOfOmniBrowser) project lastVersion load: #( Dev > ) > > The #( Dev ) in this context is a literal array that contains one element, > the symbol #Dev. I'm n

Re: [Newbies] new browser doesn't color code for easy reading

2010-10-15 Thread Tobias Pape
Hello Jonathan Am 2010-10-15 um 06:02 schrieb Jonathan Wright: > > I just installed seaside to my squeak image. Which way did you do it? And when? > However, it seemed to > have changed/upgraded my class browser. I love some of the new > features, like chasing variables for instance. Yes

Re: [Newbies] Monticello - Non Boolean error

2010-10-12 Thread Tobias Pape
Am 2010-10-12 um 05:11 schrieb Levente Uzonyi: > On Tue, 12 Oct 2010, Sayth Renshaw wrote: > >> I was trying to load soup image using monticello browser. However I >> receive an error when pressing open to load "soup" >> >> It is a non boolean error. Not sure how that relates to what I am >> doin

Re: [Newbies] i++

2010-03-16 Thread Tobias Pape
Hello —, Am 2010-03-16 um 15:34 schrieb Michael Haupt: >> (1 to: 10) do: [: x | Transcript show: x.] > > And this works out of the box. Moreover, often this is even better to read: 1 to: 10 do: [:x | Transcript show: x]. So Long, -Tobias __

Re: [Newbies] Squeak installation

2009-11-10 Thread Tobias Pape
Hello —, Am 2009-11-10 um 01:43 schrieb michael rice: And, this is what I display for the comment for Class Integer (displayed in octal here) in the System Browser, but instead of newlines (\012) I'm getting boxy graphical characters (see attachment). Squeak uses \r's a its line terminator

Re: [Newbies] Drag and dropped jpg (playing cards) - how to put in the "new morph" menu and create a PlayingCard class?

2009-10-26 Thread Tobias Pape
Hello —, Am 2009-10-25 um 07:29 schrieb Mike Stramba: I'm runninng squeak 3.10.2 on windows XP. If I drag and drop a jpg onto Squeak, it creates a SketchMorph. That ought to be right. Specficially, I'm adding a playing card image, well 52 of them, and I'd like to be able to add a card from

Re: [Newbies] Restoring the default adult theme desktop

2009-06-22 Thread Tobias Pape
Hi —, Am 2009-06-22 um 22:52 schrieb Henry Lenzi: […] Here's the problem: my image is completely filled with etoys and primary colors :-) and I don't have a clue on how to restore the environment so that it has a more "adult" theme (I completely forgot how to do it and the menus don't help at all

Re: [Newbies] Lint, SwaLint

2008-11-11 Thread Tobias Pape
Am 2008-11-11 um 23:45 schrieb [EMAIL PROTECTED]: Hi, I try to check my code with Lint. I work with damien cassou's Squeak- dev image (sq3.10.2-7179dev08.10.2). Method #1: I use the OB Package Browser and activate Lint by selecting package/open/code critics -result- I get a Lint window sa

Re: [Newbies] Lint, SwaLint

2008-11-11 Thread Tobias Pape
Hello Pascal, Am 2008-11-11 um 23:45 schrieb [EMAIL PROTECTED]: Method #2: I try to download SwaLint from HPI and load it via Monticello -result- I get a warning window saying "This package depends on the following classes: MultipleSelectionModel" and I do not see right now where to get

[Newbies] [ANN] SwaLint

2008-05-22 Thread Tobias Pape
developed by Johannes Dyck, Christoph Neijenhuis, Tobias Pape, Nico Rehwaldt, and Arian Treffer during a course on software engineering held by the Software Architecture Group at the HPI, Potsdam, Germany. SwaLint is available from SqueakMap. Documentation can be found at http