Re: [Newbies] Re: Need a local tutor for Squeak

2016-05-14 Thread David T. Lewis
On Fri, May 13, 2016 at 06:27:26AM -0700, Joseph Alotta wrote: > what???s a terf space? > You can see it here: http://www.3dicc.com/product-details/ Dave > > > > On May 13, 2016, at 8:24 AM, Ron Teitelbaum [via Smalltalk] > > wrote: > > > > Hi Joe and Craig, > > > > > > > > Not sure i

RE: [Newbies] Re: Need a local tutor for Squeak

2016-05-13 Thread David T. Lewis
That's a really good idea! Dave > Hi Joe and Craig, > > > > Not sure if it will help but I’ll donate a Terf space for you to use for > lessons. You can drink virtual coffee while learning Squeak in Squeak! J > > > > All the best, > > > > Ron Teitelbaum > > Chief Executive Officer > > 3D Immers

Re: [Newbies] Machine gun the Balloon!

2016-05-07 Thread David T. Lewis
ttp://c2.com/cgi/wiki?WhyIsSmalltalkDead > If Squeak gets used in more viral applications then people will get more > interested in learning it. > > Kirk Fraser > > > > > > > > On Sat, May 7, 2016 at 10:38 AM, David T. Lewis wrote: > > > On Fri,

Re: [Newbies] Machine gun the Balloon!

2016-05-07 Thread David T. Lewis
On Fri, May 06, 2016 at 12:02:52PM -0700, Kirk Fraser wrote: > Byte magazine which published the balloon concept for Smalltalk rising > above the ivory tower of a lighthouse guiding the way in a sea of computer > languages is out of business. I think it is time for the Squeak balloon to > be ground

Re: [Newbies] f(x, y) or Table

2016-04-13 Thread David T. Lewis
Represent your data as objects. If you are thinking of using a dictionary to map key -> value, and you have z := f(x,y) as a function that maps x,y to z, then make x,y be an object, and let that be the key in your dictionary pointing to value z. So define a class that represents x and y. If you h

Re: [Newbies] What happened to all the toys?

2015-10-14 Thread David T. Lewis
On Wed, Oct 14, 2015 at 08:04:10PM +0200, Herbert K??nig wrote: > Hi Eric, > > my two cents on this: > > Squeak has few resources nowadays and nobody (including me) has > continued to work on these things. > > For me the big breakdown was that project save broke in 4.5. > > The big plus of Squ

Re: [Newbies] How do I print?

2015-08-23 Thread David T. Lewis
of them will be to term > limit the local mayor. So I thought to generate the cards one at a time > but your way can work. > Kirk > > > > On Sun, Aug 23, 2015 at 5:25 PM, David T. Lewis wrote: > > > On Sun, Aug 23, 2015 at 08:20:13PM -0400, David T. Lewis wrote: > &

Re: [Newbies] How do I print?

2015-08-23 Thread David T. Lewis
On Sun, Aug 23, 2015 at 08:20:13PM -0400, David T. Lewis wrote: > On Sun, Aug 23, 2015 at 04:43:12PM -0700, Kirk Fraser wrote: > > Several different things are polymorphically called print. How do I send > > text to a peripheral printer? I found the menu item "Send contents

Re: [Newbies] How do I print?

2015-08-23 Thread David T. Lewis
On Sun, Aug 23, 2015 at 04:43:12PM -0700, Kirk Fraser wrote: > Several different things are polymorphically called print. How do I send > text to a peripheral printer? I found the menu item "Send contents to > printer" and it produced walkback which says > "MessageNotUnderstood: SmalltalkEditor>s

Re: [Newbies] Movies in Squeak

2015-08-15 Thread David T. Lewis
On Sat, Aug 15, 2015 at 12:42:00PM +0200, ??ngel arias wrote: > Hiya! > > I'm using Squeak-5.0-All-in-One and I'd like to know how to add some movies > in my proyects. I can't find MPEGPlayer??? > > Thank you very much! Hi ??ngel, I'm afraid we may need to look in some older Squeak images to f

Re: [Newbies] Is the "Blue Book" still useful?

2015-05-22 Thread David T. Lewis
On Fri, May 22, 2015 at 11:07:47PM -0400, Daniel Roe wrote: > I have a copy of the Smalltalk-80 "Blue Book"by Goldberg and Robson. I am a > complete noob when it comes to Smalltalk but would like to learn about it by > using Squeak. Aside from some notational differences, that I can adjust to, >

Re: [Newbies] Cyrilic fonts in Squeak

2015-05-21 Thread David T. Lewis
nity development process works: https://squeakboard.wordpress.com/2009/07/02/a-new-community-development-model/ Dave > > On Thu, May 21, 2015 at 3:55 PM, Bert Freudenberg > wrote: > > > > > > On 21.05.2015, at 03:21, David T. Lewis wrote: > > > >

Re: [Newbies] Cyrilic fonts in Squeak

2015-05-20 Thread David T. Lewis
On Thu, May 21, 2015 at 04:06:59AM +0300, Ariel Feinerman wrote: > Hi all, > > does anyone know how to allow cyrillic and other languages in Squeak 4.5? > I have no personal knowledge in this area, but I know that cyrillic fonts have been supported in various Squeak versions, and I would expect t

Re: [Newbies] Is there a preference setting to block automatic parentheses?

2015-02-20 Thread David T. Lewis
On Fri, Feb 20, 2015 at 02:02:07PM -0800, Kirk Fraser wrote: > The automatic supply of the right parenthesis when a left parenthesis is > typed appears to cost me more time in deleting the extra than it saves in > the more rare events when I can use the feature. How can I safely stop it > for all

Re: [Newbies] material design for squeak!

2015-01-25 Thread David T. Lewis
On Sun, Jan 25, 2015 at 09:02:35PM +0530, Mayuresh Kathe wrote: > considering the *great* graphics and animation support available under > squeak, would it be difficult to mould the squeak 'ui' to adhere to > material design guidelines [1] from google? > > 1. http://www.google.com/design/spec/ma

Re: [Newbies] Squeak 4.4 run error

2015-01-10 Thread David T. Lewis
You may be bumping into bugs in the eToys part of Squeak. There are not too many people looking after it right now, so if you are at all interested in helping, your efforts will be appreciated. Newbie efforts welcome. Dave On Sat, Jan 10, 2015 at 04:52:03PM -0500, Michael Rice wrote: > Got Squeak

Re: [Newbies] Beginner wants to start graphic windows in Smalltalk 80 - need help

2014-11-26 Thread David T. Lewis
On Wed, Nov 26, 2014 at 02:10:42PM +0100, Hans Schueren wrote: > > To whom it may concern , > > > may i ask for some help about standard graphic routines ? > > As a beginner i just have learned all the first level SYNTAX of > smalltalk 80. > > Now , you can imagine , i am interested in writin

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: http://lists.squeakfoundation.org/

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 is

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 201

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, > 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 should submit to "inbox", not "et

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" > > To: "A friendly place to get answers to even the most basic questions about > > Squeak." >

Re: [Newbies] ProxyPipeLine terminates external command prematurely

2014-09-15 Thread David T. Lewis
Hi JohnReed, I am away and cannot be of much help right now, but I'm afraid that I may have given you bad advice in my last response. CommandShell does all the command parsing in Smalltalk, and it may not be smart enough to handle the complex parameters in the example you gave here. So it may be n

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 easi

Re: [Newbies] OSProcess Exit Status 256

2014-09-11 Thread David T. Lewis
Yes, that's right. An even easier way to do this is to use ProxyPipeline class>>command: to run the command line. This will do all of the Unix shell parsing directly in Smalltalk rather than passing it to the external shell. It also arranges a pipeline of connected programs all in one step, very m

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. > >>b

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 'm

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 downloade

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 tool

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

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

Re: [Newbies] Unsigned interpretation

2013-12-05 Thread David T. Lewis
On Thu, Dec 05, 2013 at 11:05:15PM +0500, Azka Niazi wrote: > Is there a preexisting method in Squeak 2.8 or 4.1 which can interpret a > binary number as an unsigned number? > Thanks,Azka Hi Azka, I am assuming that you are interested in treating some binary

Re: [Newbies] Is Squeak/Pharo an appropriate language choice?

2013-11-01 Thread David T. Lewis
Hi Charles, You can join the squeak-dev list here: http://lists.squeakfoundation.org/mailman/listinfo/squeak-dev Chris Muller, the developer of Magma, is very active on that list and I am sure he will be happy to answer any questions. For commercial applications you should also we aware of Gemst

Re: [Newbies] Exupery

2013-10-22 Thread David T. Lewis
> Are there any plans to integrate exupery into Cog or standard VM. I like > the idea for my methods to be compiled to the native code... > I think you will find that Cog does exactly what you are describing. There is a great deal of information on Eliot Miranda's blog here: http://www.mirandaban

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 >> H

Re: [Newbies] sandboxing a world

2013-10-13 Thread David T. Lewis
On Sun, Oct 13, 2013 at 01:23:56AM -0700, David Holiday wrote: > Hi all, > > I'm just now getting into squeak and finding it a delightful programming > environment. I am, however, curious as to why some features don't seem > readily available. First and foremost, why isn't there a stripped down

Re: [Newbies] PipeableOSProcess shell interaction

2013-06-17 Thread David T. Lewis
lasses are both part of the CommandShell package that you can load from SqueakMap. Dave > > On Mon, Jun 17, 2013 at 1:38 PM, David T. Lewis 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.

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 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 th

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 suc

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

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 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 questio

Re: [Newbies] How to add/enable speech synthesis?

2012-07-10 Thread David T. Lewis
On Tue, Jul 10, 2012 at 05:56:27PM +0200, Bert Freudenberg wrote: > > For someone with write access to the Speech repo (Dave?): > > In "LipsMorph class >> initialize" add the line > > PhonemeSet arpabet ifNil: [PhonemeSet initialize]. Bert, I can't do an update right now, but I added you

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 wrote: > > I'll note that 'trimRight' is a poorly considered change in Pharo. > > A name like 'withoutTrailingBlanks' implies making a copy of the > > origina

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 th

Re: [Newbies] Squeak on a BeagleBone

2012-04-21 Thread David T. Lewis
On Sat, Apr 21, 2012 at 12:14:27AM -0500, David Graham wrote: > It took me almost 20 years, but I finally thought of something > interesting to put on the Internet. ;) > > I've been experimenting with a BeagleBone (embedded ARM V7 platform) and > was able to get Squeak 4.2 running without a prob

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'.

Re: [Newbies] Serial ComPort

2012-02-25 Thread David T. Lewis
On Fri, Feb 24, 2012 at 08:38:29PM -0800, Overcomer Man wrote: > How do I make a Serial ComPort to text I/O with a USB device? > > I am currently trying to emulate most of this simple software so I can > build better tools in Smalltalk: > http://www.parallax.com/Portals/0/Downloads/sw/propeller/Pa

Re: [Newbies] Re: PipeableOSProcess incremental output

2011-11-28 Thread David T. Lewis
On Mon, Nov 28, 2011 at 06:03:18AM -0800, Sean P. DeNigris wrote: > > David T. Lewis wrote > > > > PipeableOSProcess is designed... > > > > I learned a lot from your answer (I always forget I can chain them > together), but I'm not clear whether it answer

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 > witho

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: 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: >

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 processPr

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] 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 e

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 ___ Beginn

Re: [Newbies] Re: OSProcess example

2011-10-12 Thread David T. Lewis
> Dave, > > Thanks for the pointer. Somehow, I missed the VM part. I will investigate. > > I am on the road today whole day. Will try this tomorrow (Wednesday ) and > > report back. > > > > Regards, > > > > > > On Monday, October 10, 2011, David T

Re: [Newbies] OSProcess example

2011-10-10 Thread David T. Lewis
On Mon, Oct 10, 2011 at 08:58:38PM +0530, Prashanth Hebbar wrote: > Hi, > > I am trying to trigger a ruby script from within Squeak. I loaded OSProcess > but none of the examples are working. Are there any pointers on how to use > OSProcess correctly. > > I am using a 3.8 stable version. Hello P

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 impl

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 > /usr/loc

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 i

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 i

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 > anoth

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?

Re: [Newbies] Randomness

2011-04-06 Thread David T. Lewis
e stream of random numbers. What is the new > behavior? > > Michael > > --- On Wed, 4/6/11, David T. Lewis wrote: > > From: David T. Lewis > Subject: Re: [Newbies] Randomness > To: "A friendly place to get answers to even the most basic questions about > Squ

Re: [Newbies] Randomness

2011-04-06 Thread David T. Lewis
I made the update in Squeak trunk similar to the Etoys image, but used the existing seed generator in Random>>initialize on the theory that if the generator is good enough for a new Random, it should be good enough for an existing one too ;) Michael, thanks for spotting the problem. Dave On Tue,

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: > http://news.squeak

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] 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 cre

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 underst

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] 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, g

Re: [Newbies] FFI versus BASH

2011-01-04 Thread David T. Lewis
Bert, that's the clearest and best explanation I've ever read. You should put it on the swiki for future reference. Dave On Tue, Jan 04, 2011 at 12:55:43PM +0100, Bert Freudenberg wrote: > You retracted the question, but since I already started writing an answer it > might still be valuable to s

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 mail.msen.com> writes: > > [snip] > > > > | p | > > p := PipeableOSProcess command: 'false'. > > (Delay forSeconds: 1) wait. > > p notifyError. > > &

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 > Ex

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

2010-12-01 Thread David T. Lewis
lp' to > >>beginners-requ...@lists.squeakfoundation.org > >> > >>You can reach the person managing the list at > >>beginners-ow...@lists.squeakfoundation.org > >> > >>When replying, please edit your Subject line so it is more

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) > > > sma

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

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) small

Re: [Newbies] Connectors and Squeak 4

2010-07-13 Thread David T. Lewis
On Mon, Jul 12, 2010 at 06:12:59PM +0200, Markus Schlager wrote: > Are Ned Konz's Connectors still available with Squeak 4? As far as I know, Connectors should still work with Squeak 4 (but I have not checked). Did you try loading Connectors, or are you asking about how to do this? If there are a

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 wrote: > > > > Recent versions of Squeak are unusable for MVC programs. I suggest that > > you use Squeak 3.8, which is available here: > >

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 > pr

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 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 hand. >

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

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 t

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 class>

Re: [Newbies] a titleize function?

2010-03-20 Thread David T. Lewis
ct: Character space 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 1

Re: [Newbies] a titleize function?

2010-03-20 Thread David T. Lewis
te. A change set is attached. Dave 'From Squeak3.11alpha of 20 March 2010 [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&#x

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

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] 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

Re: [Newbies] Using Squeak to teach undergrads OOP

2010-01-14 Thread David T. Lewis
On Thu, Jan 14, 2010 at 07:57:53PM -0500, waufrepi III wrote: > Hi, > I was talking to one of my Professors about Squeak the other day and I got > an mail asking: > > "I had lunch with several of the other CS faculty yesterday and I brought up > your enthusiasm for smalltalk, which I've never us

[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 b

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 wou

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 fa

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 som

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 appare

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 buildi

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> q

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 > > reaso

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 whe

  1   2   >