Re: [Newbies] [Q] How should one concatenate Strings?

2006-05-06 Thread David T. Lewis
Hi Charles, Try something like this: '!', self class name, ';', name, '!' The comma character is actually is actually a message that is understood by strings. The message is implemented in class Collection (in the copying method category), and since strings are types of collections, it works

Re: [Newbies] Help! SqueakE Vat to E Vat Negotiation Trace

2006-05-30 Thread David T. Lewis
On Sun, May 28, 2006 at 01:04:07AM +0100, Natalie Threadingham wrote: Hi Hoping someone can help me. I have been looking at the SqueakE Vat to E Vat Negotiation Trace as the entire paragraph of code has been given to me as a puzzle to solve and it has only been through endless searching on

Re: [Newbies] finding messages after package install

2006-08-01 Thread David T. Lewis
On Tue, Aug 01, 2006 at 01:39:10PM +1000, ferriswheel wrote: some packages open a workspace showing the contents of a 'readme' file during or the end of an package install to explain the package operations/use. how does one find/access these files at a latter time. Usually these are

Re: [Newbies] How to customize an object's printed appearance in Squeak

2006-08-02 Thread David T. Lewis
On Wed, Aug 02, 2006 at 01:32:49AM -0500, itsme213 wrote: In all of Squeaks inspectors, workspaces, etc. I want objects of class-A to display their name, and objects of class-B to display their number. What do I override to do this? There are two methods in class Object that will help. The

Re: [Newbies] Omnibase (OSProcess undefined)

2006-08-05 Thread David T. Lewis
On Sat, Aug 05, 2006 at 07:17:45AM -0700, ernst wrote: Have loaded Omnibase from OmniBase-DG.6.mcz (tried also SqueakMap) DoIt: db := OmniBase createOn: 'MyDB' and get a walkback because OSProcess is undefined (see below). Is OSProcess a class or some kind of global variable? How to fix

Re: [Newbies] Image manipulation

2006-09-21 Thread David T. Lewis
On Tue, Sep 19, 2006 at 02:48:24PM -0400, David Shaffer wrote: Otherwise you can use ImageMagick either by executing it's various command line tools. For an example of running a command line app look at the UnixProcess class side method called testRunCommand. It is fairly straightforward

Re: Re-2: [Newbies] Stef, BotsInc problem...

2007-01-27 Thread David T. Lewis
Actually, Ned's ProcessBrowser does a good job of this right now. Try playing around with it, you will be surprised at how easy it is to pause and restart a background process, inspect it, and interrupt it in a debugger. Note also http://bugs.impara.de/view.php?id=1578, which makes MVC and

Re: [Newbies] What to do when package install fails?

2007-02-22 Thread David T. Lewis
On Wed, Feb 21, 2007 at 06:50:18PM -0800, Blake wrote: Here's a good noob question: What should one do when a package install fails? I downloaded the squeak dev image 76 which doesn't seem to have Seaside installed (it's supposed to as far as I can tell) but when I

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread David T. Lewis
On Thu, May 17, 2007 at 01:53:44AM -0700, Patrick Collison wrote: Hi, Using latest SVN Squeak, I'm having trouble passing arguments to an image. As far as I can see from the usage, it looks like squeak foo.image bar should pass bar as an argument to the image. Instead, though, I get a

Re: [Newbies] Re: Executing an external program

2007-06-16 Thread David T. Lewis
On Fri, Jun 15, 2007 at 08:59:46AM +0200, Hilaire Fernandes wrote: David T. Lewis a ?crit : There is not (yet) a general cross-platform solution. If you can explain what kind of program you are trying to run, maybe I can give a suggestion. Thanks for for your feedback. I want to run

Re: [Newbies] Re: Executing an external program

2007-06-17 Thread David T. Lewis
On Sat, Jun 16, 2007 at 06:01:22PM +0200, Hilaire Fernandes wrote: And what about OSCommand on Windows ? Hilaire Do you mean CommandShell? This would not help you on Windows due to the limitations of OSProcess on Windows. Dave ___ Beginners mailing

Re: [Newbies] Oponing a file twice

2007-07-05 Thread David T. Lewis
Hi John, On Thu, Jul 05, 2007 at 10:53:14PM +1000, [EMAIL PROTECTED] wrote: Just as I was thinking I was getting a handle on this I'm terribly confused... a _ FileStream fileNamed: 'readme.txt'. gives me a stream an the file. b _ FileStream fileNamed: 'readme.txt'. gives me nil

Re: [Newbies] Command Shell

2007-10-14 Thread David T. Lewis
On Sun, Oct 14, 2007 at 12:05:18PM -0400, Chris Cunnington wrote: Hi, I've loaded CommandShell and OSProcess (along with the Test suites for both). When I start Command Shell the Morphic terminal appears, but I get the message cannot access system to run 'ps', when I try to execute a shell

Re: [Newbies] Linux and Squeak server help

2007-11-06 Thread David T. Lewis
On Mon, Nov 05, 2007 at 11:49:06AM -0300, Edgar J. De Cleene wrote: People: Still this old donkey could't figure how to have Squeak as server on Linux. I try all people send on general list, the last of Giovanni Corriga on TCPListener, but no luck. I could do all in the Linux box,

Re: [Newbies] Exporting Object Memory

2007-12-17 Thread David T. Lewis
On Mon, Dec 17, 2007 at 10:57:05AM -0500, Chris Cunnington wrote: If I had data in object memory, because I've saved answers from a user into objects, then can I file out that information? If I had to send it to somebody as an csv file, how could I do that easily? I know if I could find an

Re: [Newbies] Re: Squeak equivalent for Filename

2007-12-23 Thread David T. Lewis
On Sun, Dec 23, 2007 at 10:31:37AM -0800, Doug Edmunds wrote: Frank Urbach wrote: to use the FileDirectory you have to use the full pathname on your system e.g. C:\temp. How then do I find out what the full pathname is of the current directory (the equivalent to '.')? FileDirectory

Re: [Newbies] Find and replace

2007-12-30 Thread David T. Lewis
On Sun, Dec 30, 2007 at 01:23:49PM +0100, an organic wrote: Hello, i am new to smalltalk and i look for some easy way to find some substring in another string and replace it by another substring: example: string := 'Hello how are you? I am fine. Thank you and you?' substring to find 'you'

Re: [Newbies] Win32: Delete read-only file

2008-02-01 Thread David T. Lewis
On Thu, Jan 31, 2008 at 02:47:54PM +0100, Robert Krahn wrote: Hello! How can I delete a read-only file under windows. FileDirectorydeleteFileNamed: gives me a CannotDeleteFileException. Can I force the deletion? Can I change the file properties? Hi Robert, Squeak tries to be very

Re: [Newbies] Questions about primitives - how to avoid one ?

2008-02-17 Thread David T. Lewis
On Sun, Feb 17, 2008 at 11:30:18PM +0100, cdrick wrote: For whatever reasons, I want sometimes to experiment some smalltalk code by avoiding a primitive call, like in Float=, which start by primitive:47. Only commenting doesn't work. So, is it possible ? and if the primitive fail, is the

Re: [Newbies] report / graph generator

2008-03-31 Thread David T. Lewis
On Mon, Mar 31, 2008 at 11:08:03AM +0200, Danny Chan wrote: Hi everybody! I am currently looking into using squeak for data analysis at work. At the moment, I mostly need to postprocess data files created by other programs and put graphs and overview tables into some kind of PDF report. Are

Re: [Newbies] Reading context from UnixProcess

2008-04-07 Thread David T. Lewis
On Sun, Apr 06, 2008 at 10:47:29PM -0600, Jim O'Connor wrote: I'm having trouble figuring out how to collect input from an externally executed linux process. The simple example below should, I think let me dump the contents of the directory /etc. The stream type returned by initialStdOut

Re: [Newbies] Reading context from UnixProcess

2008-04-08 Thread David T. Lewis
On Tue, Apr 08, 2008 at 09:16:57AM -0600, Jim O'Connor wrote: Thanks. That's just what I was looking for. You're welcome! ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

Re: [Newbies] reading from named pipes

2008-05-23 Thread David T. Lewis
On Fri, May 23, 2008 at 06:33:12AM +1000, [EMAIL PROTECTED] wrote: Hi there, I'm trying to read from a named pipe. I'm on Linux (Ubuntu 8.04). - I created the pipe using mkfifo - I can write to it, and when I cat the pipe within another terminal I see the output. -

Re: [Newbies] Setting up a dependency mechanism in Squeak

2008-05-23 Thread David T. Lewis
On Fri, May 23, 2008 at 02:44:04PM -0700, David Finlayson wrote: In the Art and Science of Smalltalk by Simon Lewis, there is a lengthy discussion of Smalltalk's dependency mechanism (yourObject addDependent: myObject; myObject changed, etc.) . A few of the examples of Morphic (Squeak by

Re: [Newbies] Reading and writing C structs

2008-05-23 Thread David T. Lewis
On Fri, May 23, 2008 at 02:10:58PM -0700, David Finlayson wrote: An instrument I am working with creates a complicated binary file (memory dumps of C structs). I would like to try reading the file into Squeak for a cool new project. What's the best way to set up and read C-based structs and

Re: [Newbies] Reading and writing C structs

2008-05-24 Thread David T. Lewis
On Fri, May 23, 2008 at 10:33:32PM -0700, David Finlayson wrote: I am a scientist not a proffesional programmer, but I've been coding all my life and coding is part of my job. That's why I am looking into Smalltalk. Can't get much higher level than this. Besides, I've always wanted to learn

Re: [Newbies] How to invoke other program in squeak?

2008-06-22 Thread David T. Lewis
On Mon, Jun 23, 2008 at 09:26:29AM +0800, Albert Lee wrote: I want to invoke some script written in perl/python, how to do that in squeak ? There are add-on packages that will let you do this. In your Squeak image, use either a SqueakMap browser or a Universes browser, and look for the

Re: [Newbies] My customisation conundrum

2008-06-26 Thread David T. Lewis
On Thu, Jun 26, 2008 at 04:07:04AM -0700, Nick Smith wrote: I'm a newbie to programming and I'm really enjoying learning Squeak, Seaside. One of the biggest delights for me is discovering just how expressive and powerful Smalltalk is when you can so easily add your own methods to the base

Re: [Newbies] interpreter (vers. 6502) cannot read image file ?

2008-07-12 Thread David T. Lewis
On Sat, Jul 12, 2008 at 09:43:28AM +, Milan Zimmermann wrote: Hi I am running: squeak ./my-image and get: This interpreter (vers. 6502) cannot read image file (vers. 544830578). My image was likely opened on Windows , the above message is from Linux I think all my VMs are

Re: [Newbies] multiple Transcript windows

2008-09-27 Thread David T. Lewis
On Fri, Sep 26, 2008 at 01:01:31PM -0500, Mark Volkmann wrote: If I have multiple Transcript windows open, can I choose in code which one will receive output? If not, what is the purpose of having more than one open? The Transcript is normally used as a single place to write things, such

Re: [Newbies] Can Squeak display chinese?

2008-10-23 Thread David T. Lewis
On Thu, Oct 23, 2008 at 01:49:08AM +0800, Simon Chan wrote: How do I make Squeak displaying chinese characters, all chinese characters are shown as ? I do not know the answer to your question, but there was a mailing list for Squeak in China. It does not appear to be active, but perhaps there

Re: [Newbies] image with Scamper?

2008-10-25 Thread David T. Lewis
On Sat, Oct 25, 2008 at 07:12:41AM -0700, Greg Buchholz wrote: I couldn't find older images on squeak.org, is there a repository of previous squeak releases that I've overlooked? The archives are at http://ftp.squeak.org/ ___ Beginners mailing

Re: [Newbies] accessing the filesystem/ssh

2008-10-25 Thread David T. Lewis
On Fri, Oct 24, 2008 at 03:10:49PM -0400, sergio wrote: i would like to start rewriting some ruby scripts i have that does the following.. takes a HUGE directory.. copies the files to another directory, with DVD sized subdirectories called Disk1, Disk2,... it then makes ISO's out

Re: [Newbies] Newbie Image Blowout

2008-11-22 Thread David T. Lewis
On Sat, Nov 22, 2008 at 07:35:36AM -0500, Tony Giaccone wrote: I think I'm kind of in a bad place. I've done development over the course of several days. Have I lost all that work? Is there any kind of journal file that might have changes to the image? How badly am I toasted when my

Re: [Newbies] Number formatting printf/sprintf for Squeak?

2009-02-18 Thread David T. Lewis
On Wed, Feb 18, 2009 at 02:37:27PM -0500, Matthew Fulmer wrote: On Wed, Feb 18, 2009 at 11:28:29AM -0800, Chris Cunningham wrote: I'd be leary of basing Currency off of ScaledDecimal, especially if there is to be much manipulation of it (such as multiplication or division). The reason is

Re: [Newbies] Number formatting printf/sprintf for Squeak?

2009-02-19 Thread David T. Lewis
On Thu, Feb 19, 2009 at 12:11:33PM -0800, Yoshiki Ohshima wrote: At Wed, 18 Feb 2009 22:34:08 -0500, David T. Lewis wrote: Arrgh! I started using ScaledDecimal for representing time magnitudes in TimeZoneDatabase http://wiki.squeak.org/squeak/1076 quite some time ago, and it works very

Re: [Newbies] Array vs OrderedCollection

2009-04-27 Thread David T. Lewis
On Sun, Apr 26, 2009 at 10:08:54PM -0500, Miguel Enrique Cob? Mart?nez wrote: Jerome Peace wrote: Hi Miguel, The answer depends on what you are doing. Arrays are compact fixed size entities. OrderedCollections are less compact and less fixed size. If you are building a list by

Re: [Newbies] Is Squeak VM running on HP 310?

2009-05-28 Thread David T. Lewis
On Thu, May 28, 2009 at 06:33:23PM +, Karl Boutin wrote: I am trying to assess if squeak has been ported (or is easily portable) on a new small device that I purchsed at a good price. The HP 310 Travel Companion is a GPS car navigation system that runs on Windows CE 6.0. It is apparently

Re: [Newbies] problem with numbers

2009-07-13 Thread David T. Lewis
On Mon, Jul 13, 2009 at 05:26:58PM -0300, JuanjoE wrote: Hello. I'm having a problem with numbers in squeak, I'm using a 3.10.2 image update #7179 on a vm 3.8.18b1 running on a OSX 10.5 If I open a workspace and evaluate 1203.22 - 1200 I get 3.2200027 It's seems that is something

Re: [Newbies] Re: How to introspect method instance variables

2009-08-29 Thread David T. Lewis
I think that many of us have had experiences similar to this. It is ironic but true, the more you know about computers and languages, the harder it is to grok Smalltalk the first time. But it's certainly worth the effort :) Dave On Thu, Aug 27, 2009 at 06:16:25PM -0500, rdmerrio wrote: The fact

Re: [Newbies] xmlrpc

2009-09-09 Thread David T. Lewis
On Wed, Sep 09, 2009 at 10:22:24PM +0800, Ching de la Serna wrote: Hi all, I'm not sure if this is the right mailing list but it is a newbie question and I suppose it is safe to post it here. I am trying to understand xmlrpc and I have loaded the classes that deal with this. What I would

[Newbies] Re: [squeak-dev] Squeak by Example now on Amazon

2009-11-13 Thread David T. Lewis
Thanks. This book provides a very good introduction to Squeak, and I like having a paper copy on the shelf (I got mine from Lulu). I am CCing the beginners list also. Dave On Thu, Nov 12, 2009 at 11:28:40AM +0100, Oscar Nierstrasz wrote: Hi Folks, We were finally able to make Squeak by

Re: [Newbies] mucking around in .changes file on linux/ubuntu

2010-02-14 Thread David T. Lewis
On Sat, Feb 13, 2010 at 10:26:13PM -0800, Jerome Peace wrote: Hi all, At some point in making and finding bugs, I am left with having to pick up pieces. On my mac I could always just read the whole changes file into a text editor and extract manually the tail bit. Having moved on to

Re: [Newbies] importing csv files..

2010-02-25 Thread David T. Lewis
On Thu, Feb 25, 2010 at 09:45:28AM -0500, sergio_101 wrote: i am currently working on importing several csv, all of which refer to each other via an id.. this doesn't seem too nasty.. but the question i have is.. is there a CSV import package that will just import the csv into a set of

Re: [Newbies] importing csv files..

2010-02-25 Thread David T. Lewis
On Thu, Feb 25, 2010 at 09:08:02PM -0500, sergio_101 wrote: The files are at: http://www.squeaksource.com/CSV/ Ask more questions if the above does not make sense. found it... quick question.. do these packages come with documentation or examples? Actually, I do not know, so

Re: [Newbies] a titleize function?

2010-03-20 Thread David T. Lewis
[latest update: #9743] on 20 March 2010 at 11:51:15 am'! Change Set:String-titleize-dtl Date: 20 March 2010 Author: David T. Lewis 'a mouse ate cheese' titleize == 'A Mouse Ate Cheese' An example implementation of Stringtitleize. The method is in category

Re: [Newbies] a titleize function?

2010-03-20 Thread David T. Lewis
into: [:last :this | strm nextPut: (last isSeparator ifTrue: [this asUppercase] ifFalse: [this])]] On Sat, Mar 20, 2010 at 11:05:02AM -0400, David T. Lewis wrote: On Fri, Mar 19, 2010 at 02:31:40AM -0400, sergio_101 wrote

Re: [Newbies] Howto initialize class variables

2010-03-20 Thread David T. Lewis
On Sat, Mar 20, 2010 at 10:10:10AM +0100, Bert Freudenberg wrote: On 20.03.2010, at 09:46, Alex Schenkman wrote: Hi List! I'm playing with class variables. How should I initialize them? I've tried with the class method initialize but it does not do the job. Pirulo classinitialize

Re: [Newbies] SqueakVM on Ubuntu 64 bits

2010-04-14 Thread David T. Lewis
On Wed, Apr 14, 2010 at 08:28:39PM -0300, Leandro Juarez wrote: Hi. I'm having little trouble trying to install the squeakVM (4.0) on Ubuntu 64bits. i just tried from the testing channel only. deb http://ftp.squeak.org/debian/ x main deb-src http://ftp.squeak.org/debian/ x main on the

Re: [Newbies] Video Media in Squeak

2010-04-26 Thread David T. Lewis
On Mon, Apr 26, 2010 at 04:08:41PM -0300, Bruno Giacomelli wrote: Sorry to bother once again, but now I come with what that might seen a very begginer question: how can I use Sophie inside a Squeak project? I've looking ways to handle video media but I think I'm not getting a good progress on

Re: [OT] Re: [Newbies] Smalltalk klass dokumentation ?

2010-05-11 Thread David T. Lewis
On Tue, May 11, 2010 at 06:44:50PM -0700, Randal L. Schwartz wrote: Hannes == Hannes Hirzel hannes.hir...@gmail.com writes: Hannes Coming up with class comments for Squeak is a hard job because it Hannes involves a lot of design recovery. And that's completely unrelated to the problem at

Re: [Newbies] MVC programs don't work in Squeak 4.1

2010-06-13 Thread David T. Lewis
On Sun, Jun 13, 2010 at 09:34:59AM -0400, David Burton wrote: First, please forgive me if this is a F.A.Q., but I can't seem to find any search facility for this email list. (Is there one? Where??) I last used Smalltalk about 20 years ago, and now I'm trying to port that old MVC program

Re: [Newbies] MVC programs don't work in Squeak 4.1

2010-06-14 Thread David T. Lewis
On Mon, Jun 14, 2010 at 02:14:23PM -0400, David Burton wrote: On Sun, Jun 13, 2010 at 2:15 PM, David T. Lewis le...@mail.msen.com wrote: Recent versions of Squeak are unusable for MVC programs. I suggest that you use Squeak 3.8, which is available here: ?http://ftp.squeak.org/3.8

Re: [Newbies] How to give numbers/anything to my program?

2010-09-30 Thread David T. Lewis
On Thu, Sep 30, 2010 at 11:00:48AM +0200, jon jonsen wrote: Hello, I'm looking for a function like cin in C++. Because I want to type 2 numbers in the Transcript and that these two numbers are given to my program. Does anybody know where to get a list of the (most common)

Re: [Newbies] Background method in squeak

2010-11-14 Thread David T. Lewis
On Sun, Nov 14, 2010 at 12:46:00AM +0100, seb wrote: Hello, I want to start a methods at the creation of an object, and every second give me status of somme of his variable. When i create the instance I can see in the Transcript the output expected. But the squeak interface freeze (and

Terse Guide for Squeak (was: [Newbies] How to give numbers/anything to my program?)

2010-11-26 Thread David T. Lewis
On Fri, Oct 01, 2010 at 06:58:55PM +0530, K. K. Subramaniam wrote: On Friday 01 Oct 2010 2:58:55 am David T. Lewis wrote: On Thu, Sep 30, 2010 at 11:00:48AM +0200, jon jonsen wrote: Does anybody know where to get a list of the (most common) smalltalk-commands and a short description

Terse Guide update (was: [Newbies] Re: Beginners Digest, Vol 55, Issue 12)

2010-12-01 Thread David T. Lewis
replying, please edit your Subject line so it is more specific than Re: Contents of Beginners digest... Today's Topics: 1. Terse Guide for Squeak (was: [Newbies] How to give numbers/anythingto my program?) (David T. Lewis

Re: [Newbies] PipableOSProcess#notifyError

2011-01-01 Thread David T. Lewis
On Sat, Jan 01, 2011 at 07:05:14AM +, Aidan Gauland wrote: Hi, Why does the following statement not appear to do anything? (I expected an error window to pop up.) (PipeableOSProcess command: 'false') notifyError. Stepping through this with the debugger, I found that the

Re: [Newbies] Re: PipableOSProcess#notifyError

2011-01-02 Thread David T. Lewis
On Sat, Jan 01, 2011 at 09:39:24PM +, Aidan Gauland wrote: David T. Lewis lewis at mail.msen.com writes: [snip] | p | p := PipeableOSProcess command: 'false'. (Delay forSeconds: 1) wait. p notifyError. [snip] Thanks, Dave. This clears up a *lot*. And that code

Re: [Newbies] Safe shut down

2011-01-14 Thread David T. Lewis
On Fri, Jan 14, 2011 at 09:54:09PM +0100, Bert Freudenberg wrote: On 14.01.2011, at 20:48, Gary Dunn wrote: Is there a way to intercept a shut down signal from Gnome on Freebsd to allow the user to perform an orderly exit from Squeak? You would have to modify the VM. If you do, great,

Re: [Newbies] smalltalk support multilanguage?

2011-01-25 Thread David T. Lewis
On Tue, Jan 25, 2011 at 12:41:56PM +0800, wrote: Hi, finend. I have a question Is squeak smalltalk support multilanguage by itself or it dose not support multilange itself, but only by invoking c? eagerly for your answers, thanks first! Most of the multilanguage support is in Squeak

Re: [Newbies] How can I execute a script on carriage return?

2011-02-27 Thread David T. Lewis
That's it exactly. Without the parentheses, the Transcript thinks that you are trying to send it the message #show:printShowingDecimalPlaces: which it does not understand. By adding parentheses, you are first sending the message #printShowingDecimalPlaces: to 2.54343 (a Float object), which

Re: [Newbies] Cog

2011-03-11 Thread David T. Lewis
On Fri, Mar 11, 2011 at 11:12:14PM +0100, Levente Uzonyi wrote: On Fri, 11 Mar 2011, Garret Raziel wrote: Thanks a lot, I used precompiled binary and it works just fine. Cog is pretty much faster, on my laptop I can't create MVC project because Squeak becomes very, very slow. If I create MVC

Re: [Newbies] Where's the source for Squeak By Example?

2011-03-27 Thread David T. Lewis
On Sun, Mar 27, 2011 at 08:35:51PM +, Rick H. wrote: Hi. Squeak by Example says to download the source code for the examples at http://www.squeaksource.com/SqueakByExample.html . But when I go there I get a horrendous error to the effect that I don't have permission. What's going

Re: [Newbies] I've never written a line of code, but want to be a programmer!

2011-03-30 Thread David T. Lewis
On Wed, Mar 30, 2011 at 07:21:39AM -0500, David Mitchell wrote: This list is maintained by Stephane Ducasse: http://stephane.ducasse.free.fr/FreeBooks.html He also wrote an excellent book, *Squeak: Learn Programming with Robots*that assumes no development experience:

Re: [Newbies] Randomness

2011-04-06 Thread David T. Lewis
behavior? Michael --- On Wed, 4/6/11, David T. Lewis le...@mail.msen.com wrote: From: David T. Lewis le...@mail.msen.com Subject: Re: [Newbies] Randomness To: A friendly place to get answers to even the most basic questions about Squeak. beginners@lists.squeakfoundation.org Date: Wednesday

Re: [Newbies] Can't enter class comment?

2011-04-11 Thread David T. Lewis
On Mon, Apr 11, 2011 at 10:45:10AM -0500, Tim Johnson wrote: On Apr 11, 2011, at 10:41 AM, Tim Johnson wrote: Hi, Fresh 4.2 image. Opened Browser. Made a new category. Made a new class. Tried to change the class comment but can't. Can't, can't, can't. Can you? For me, it

Re: [Newbies] Getting information from broken image

2011-06-01 Thread David T. Lewis
On Wed, Jun 01, 2011 at 07:11:19AM +0200, Mateusz Grotek wrote: Hi. Is there a way to get data from broken image. I suppose I should split my question in two: 1. Is there a way to get source code from broken image? 2. Is there a way to get objects from broken image and put it into another

Re: [Newbies] Initials and settings

2011-06-02 Thread David T. Lewis
On Fri, Jun 03, 2011 at 02:32:34AM +0200, Mateusz Grotek wrote: 5. What is the official way of installing packages in squeak? I've noticed there are many, like Squeaksource and Monticello, Squeakmap and package universe, Monticello configurations. I also understand that Monticello is a

Re: [Newbies] Getting information from broken image

2011-06-02 Thread David T. Lewis
On Thu, Jun 02, 2011 at 12:12:17PM +0200, Mateusz Grotek wrote: David T. Lewis pisze: On Wed, Jun 01, 2011 at 07:11:19AM +0200, Mateusz Grotek wrote: Hi. Is there a way to get data from broken image. I suppose I should split my question in two: 1. Is there a way to get source code from

Re: [Newbies] Install squeak on BSD

2011-08-23 Thread David T. Lewis
On Tue, Aug 23, 2011 at 08:23:28AM +0400, bro...@rambler.ru wrote: Hallo! I'm trying to install squeak from sources on FreeBSD 8.2. I read Readme and followed it's instructions. But when I run squeak I get error: Could not find display driver vm-display-X11; either:check that

Re: [Newbies] How to make FFI work?

2011-09-07 Thread David T. Lewis
On Wed, Sep 07, 2011 at 10:41:33PM +0200, Levente Uzonyi wrote: On Wed, 7 Sep 2011, Overcomer Man wrote: FFI - Foriegn Function Interface example given at http://wiki.squeak.org/squeak/2422 fails to compile under a test class, so it can't work. The error is expecting a '' which implies the

Re: [Newbies] OSProcess example

2011-10-13 Thread David T. Lewis
On Thu, Oct 13, 2011 at 03:13:10PM +0530, Prashanth Hebbar wrote: Dave, Thank you very much. ProcessWrapper by Levente Uzonyi works for me. I am able to accomplish what I want. Thank you for the feedback, I'm glad it's working! Dave ___ Beginners

Re: [Newbies] PipeableOSProcess incremental output

2011-10-28 Thread David T. Lewis
On Thu, Oct 27, 2011 at 04:58:34PM -0700, Sean P. DeNigris wrote: How do I get the output and error of a PipeableOSProcess command line-by-line as it comes, like CommandShell does? In PipeableOSProcess, the output stream is #pipeFromOutput and the error stream is #errorPipelineStream. For

Re: [Newbies] Re: PipeableOSProcess incremental output

2011-10-28 Thread David T. Lewis
On Fri, Oct 28, 2011 at 09:28:25AM -0700, Sean P. DeNigris wrote: Thanks David. Is there a way to query whether output/errors are available? I saw some mention of an event driven mechanism, but wasn't clear how to use it. The event-driven stuff is under the covers. It basically watches for

Re: [Newbies] Canceling a PipeableOSProcess

2011-11-04 Thread David T. Lewis
On Fri, Nov 04, 2011 at 01:53:25PM -0700, Sean P. DeNigris wrote: How do I cancel a running PipeableOSProcess that is taking a long time, like ctrl-c at the command line? You can kill the external process with a unix signal like this: p := PipeableOSProcess command: '/bin/sh'. p

Re: [Newbies] Re: Canceling a PipeableOSProcess

2011-11-04 Thread David T. Lewis
On Fri, Nov 04, 2011 at 05:30:30PM -0700, Sean P. DeNigris wrote: David T. Lewis wrote: You can kill the external process with a unix signal like this: p processProxy terminate. Cool, thanks. David T. Lewis wrote: However, in general, it is better to permit the external

Re: [Newbies] What makes Smalltalk different

2011-11-22 Thread David T. Lewis
This is a very nice, concise summary :) Dave On Tue, Nov 22, 2011 at 12:35:28PM +0100, Bert Freudenberg wrote: (This is from an answer to a question on StackOverflow http://stackoverflow.com/questions/8222489 It might be helpful to some newbies on this list so I'm re-posting)

Re: [Newbies] Re: PipeableOSProcess incremental output

2011-11-26 Thread David T. Lewis
On Sat, Nov 26, 2011 at 07:40:42AM -0800, Sean P. DeNigris wrote: Sean P. DeNigris wrote I got a little further. #updateErrorPipelineStream helped to get the error messages as they came. Dave, based on your answers, this seems like it should not be necessary, yet without it

Re: [Newbies] (no subject)

2012-02-26 Thread David T. Lewis
On Sun, Feb 26, 2012 at 11:04:17AM -0800, Overcomer Man wrote: Dave, Thanks, I was able to file out SerialPort from Squeak into Cuis. I tried this code in a workspace: | port oc | port := (SerialPort new) openPort: 'COM4'. oc := OrderedCollection new. port nextPutAll: '01100'. oc add:

Re: [Newbies] Remove trailing spaces of aString

2012-04-27 Thread David T. Lewis
I'll note that 'trimRight' is a poorly considered change in Pharo. A name like 'withoutTrailingBlanks' implies making a copy of the original string, but with the trailing blanks removed. That is of course exactly what the method is supposed to do. But the name 'trimRight' implies an operation on

Re: [Newbies] Remove trailing spaces of aString

2012-04-28 Thread David T. Lewis
On Sat, Apr 28, 2012 at 10:14:04AM +0200, H. Hirzel wrote: On 4/28/12, David T. Lewis le...@mail.msen.com wrote: I'll note that 'trimRight' is a poorly considered change in Pharo. A name like 'withoutTrailingBlanks' implies making a copy of the original string, but with the trailing blanks

Re: [Newbies] Acquiring lock, releasing in callback

2012-11-02 Thread David T. Lewis
On Fri, Nov 02, 2012 at 07:40:08PM +0100, Bert Freudenberg wrote: On 2012-11-02, at 19:24, Sebastian Nozzi sebno...@gmail.com wrote: Thanks! Didn't know it was so simple... I was kind of intimidated by wait. Thought, well, that it suspended the thread no matter what. Another

Re: [Newbies] Balloon3D Support

2013-03-17 Thread David T. Lewis
On Fri, Mar 15, 2013 at 07:26:45PM -0700, Joseph D. Kulisics wrote: Hi, I have been trying to get Balloon3D working on a linux installation of Squeak. I'm using the 4.10.2-2614 VM from the UNIX Squeak site. I am also using the Squeak4.4-12327 updated to 4.4-12333 image. After I install the

Re: [Newbies] PipeableOSProcess shell interaction

2013-06-12 Thread David T. Lewis
On Tue, Jun 11, 2013 at 10:34:47PM -0700, Sean P. DeNigris wrote: When using PipeableOSProcess as a shell, how can I get feedback on the status of the individual commands? For example, with waitForCommand:, I can do: p := PipeableOSProcess waitForCommand: 'curl -L largeFile'. p

Re: [Newbies] PipeableOSProcess shell interaction

2013-06-17 Thread David T. Lewis
On Mon, Jun 17, 2013 at 10:16:05AM -1000, OpenSlate ChalkDust wrote: On Wed, Jun 12, 2013 at 2:47 AM, David T. Lewis le...@mail.msen.com wrote: On Tue, Jun 11, 2013 at 10:34:47PM -0700, Sean P. DeNigris wrote: When using PipeableOSProcess as a shell, how can I get feedback on the status

Re: [Newbies] PipeableOSProcess shell interaction

2013-06-17 Thread David T. Lewis
of the CommandShell package that you can load from SqueakMap. Dave On Mon, Jun 17, 2013 at 1:38 PM, David T. Lewis le...@mail.msen.com wrote: On Mon, Jun 17, 2013 at 10:16:05AM -1000, OpenSlate ChalkDust wrote: On Wed, Jun 12, 2013 at 2:47 AM, David T. Lewis le...@mail.msen.com wrote

Re: [Newbies] Re: AW: Walk directory of files?

2013-10-21 Thread David T. Lewis
On 10/21/2013 02:07 AM, Herbert König wrote: Hi Charles, No Squeak handy but there is a allfilesinalldirectories. This will give you all files in all subfolders. Tonight I will look up the real name but you may be able to find it in FileStream or similar yourself. Cheers Herbert

Re: [Newbies] A morph for doing 2D plots

2013-12-06 Thread David T. Lewis
On Fri, Dec 06, 2013 at 11:16:09PM +0100, Mateusz Grotek wrote: Mateusz Grotek pisze: I have created a morph for doing 2D plots. It is still in the pre-alpha stage, but might be useful for someone. It is my first public smalltalk project. :-) Excellent! Good to see new projects like this.

Re: [Newbies] A morph for doing 2D plots

2013-12-07 Thread David T. Lewis
On Sat, Dec 07, 2013 at 03:42:59PM +0100, Mateusz Grotek wrote: Mateusz Grotek pisze: Mateusz Grotek pisze: I have created a morph for doing 2D plots. It is still in the pre-alpha stage, but might be useful for someone. It is my first public smalltalk project. :-) No tests and no

Re: [Newbies] Re: Beginners Digest, Vol 93, Issue 1: object instance browser

2014-01-02 Thread David T. Lewis
On Thu, Jan 02, 2014 at 05:04:50PM -0800, David Holiday wrote: Thank you everyone for your alacritous responses! I'm finding one of the challenges in learning Smalltalk is not the syntax of the code, nor the general paradigm by which the code is implemented, but understanding the tools

Re: [Newbies] Save a class comment in Unix Squeak 4.5 leads to 'RemoteString past end of file'

2014-08-01 Thread David T. Lewis
On Fri, Aug 01, 2014 at 09:26:10AM +0100, David Corking wrote: I can't save class comments. I get 'RemoteString past end of file' which seems to be a failed attempt to write to the changes file. Any attempt to use the class browser after that causes the same error message. I downloaded the

Re: [Newbies] status of the 'mvc' environment?

2014-09-06 Thread David T. Lewis
On Sat, Sep 06, 2014 at 09:09:29AM +0530, Mayuresh Kathe wrote: hello, i am returning to squeak after a gap of 14 years. back then, i used to work only within the 'mvc' environment as morphic hadn't taken off the way it has now. i still prefer the simplicity and lightness of the 'mvc'

Re: [Newbies] status of the 'mvc' environment?

2014-09-06 Thread David T. Lewis
On Sat, Sep 06, 2014 at 07:43:04PM +0530, Mayuresh Kathe wrote: On 2014-09-06 17:56, David T. Lewis wrote: On Sat, Sep 06, 2014 at 09:09:29AM +0530, Mayuresh Kathe wrote: hello, i am returning to squeak after a gap of 14 years. back then, i used to work only within the 'mvc' environment

Re: [Newbies] OSProcess Exit Status 256

2014-09-11 Thread David T. Lewis
JohnReed, In addition to ProxyPipeline, another thing that might be useful for the kind of work you are doing would be the methods in category command scripting of CommandShell. CommandShell uses ProxyPipeline to do the work, but it looks to me like some of the things you are doing might be

Re: [Newbies] ProxyPipeLine terminates external command prematurely

2014-09-16 Thread David T. Lewis
On Mon, Sep 15, 2014 at 07:47:33PM +0200, JohnReed Maffeo wrote: Sent: Monday, September 15, 2014 at 6:53 AM From: David T. Lewis le...@mail.msen.com To: A friendly place to get answers to even the most basic questions about Squeak. beginners@lists.squeakfoundation.org Subject: Re

Re: [Newbies] Terse Guide to Squeak

2014-10-05 Thread David T. Lewis
On Sun, Oct 05, 2014 at 11:57:35AM +0200, Bert Freudenberg wrote: On 05.10.2014, at 03:36, summae3...@mypacks.net summae3...@mypacks.net wrote: Thanks, Bert. The hard part was to get etoysinbox added as a repository. The upload took place, AFIK. - Dan It did. Except I wrote you

Re: [Newbies] Terse Guide to Squeak

2014-10-05 Thread David T. Lewis
On Sun, Oct 05, 2014 at 11:24:46AM -0400, Raymond Asselin wrote: And in the examples the conform: method doesn't exist in squeak I do not understand what you mean. Which examples are you referring to? I do not see any references to #conform: anywhere in my Squeak image. Dave Le

Re: [Newbies] Squeak : 4.5 : MVC environment : still broken ...

2014-10-21 Thread David T. Lewis
On Tue, Oct 21, 2014 at 12:11:14PM +0530, Mayuresh Kathe wrote: Hello, I finally got myself a Windows 7 license so that I could get around to running the latest and greatest Squeak. I just tried out the MVC environment with the browser, workspace and transcript open, and simply issuing

Re: [Newbies] Can You Hear Me Now?

2014-11-13 Thread David T. Lewis
Hi Dan, No, I do not see your email post on the squeak-dev list. Your MCZ posting to the inbox did appear on the list, but whatever email that you sent did not show up. Here is the list archive that shows recent squeak-dev activity, including your inbox commit:

  1   2   >