Re: [Newbies] Re: Modify block (closure) parameters

2013-08-07 Thread Yoshiki Ohshima
At Wed, 07 Aug 2013 15:05:56 -0700, Edwin Castro wrote: > > On 8/7/13 12:33 PM, Levente Uzonyi wrote: > > On Wed, 7 Aug 2013, psea wrote: > > > >> What's worried me is that in other languages I'm familiar with it's a > >> normal > >> thing to assign to a function argument (Scheme, C, Python, JavaS

Re: [Newbies] RE: I need an idea. I know you have some. Give. (Casey Ransberger)

2013-03-08 Thread Yoshiki Ohshima
> Lately I've been following the VPRI papers around functional reactive > programming (FRP) which might also be worth a look if you're thinking about > this stuff. > > http://www.vpri.org/pdf/rn2012001_kscript.pdf > > http://www.vpri.org/pdf/m2013001_serializing.pdf > > I like the idea, and I like

Re: [Newbies] Reset Morphic Drawing After Error

2013-02-11 Thread Yoshiki Ohshima
On Mon, Feb 11, 2013 at 10:24 AM, Jeff Gonis wrote: > Hi Everyone, > > So when I am using Morphs in Squeak I like to instantiate a morph and then > iteratively change it on the fly, having it respond to step calls, change > how drawing works etc. All in all, this works pretty well and is one of my

Re: [Newbies] Two questions about Smalltalk language design

2012-12-30 Thread Yoshiki Ohshima
On Sun, Dec 30, 2012 at 7:40 AM, Bert Freudenberg wrote: > On 2012-12-27, at 01:32, Sebastian Nozzi wrote: > >> Why do ST methods return "self" if nothing is explicitly returned? > > > One very simple reason has not been stated yet: In the Virtual Machine, > returning self is simpler and more ef

Re: [Newbies] Two questions about Smalltalk language design

2012-12-26 Thread Yoshiki Ohshima
There are more knowledgeable people around here, but here is my take: On Wed, Dec 26, 2012 at 4:32 PM, Sebastian Nozzi wrote: > Hello Smalltalkers, > > I was interacting the other day with an user in a Scala mailing list, > and he had some questions about Smalltalk. From his FP (functional > prog

Re: [Newbies] What makes Smalltalk different

2011-11-22 Thread Yoshiki Ohshima
At Tue, 22 Nov 2011 12:35:28 +0100, Bert Freudenberg wrote: > > It's true that superficially the Smalltalk GUI looks just like another IDE. > No coincidence - Eclipse was originally written by Smalltalkers in Smalltalk. > But there is the crucial difference that in regular IDEs you just manipula

Re: [Newbies] Getting information from broken image

2011-06-07 Thread Yoshiki Ohshima
At Tue, 7 Jun 2011 13:21:25 +0200, Bernhard Pieber wrote: > > Hi Mateusz, > > Yoshiki Ohshima created a tool called ImageBrowser to read an image file in > 2002. I don't know if it works in a current image. See the following links: >

Re: [Newbies] How do I diff two images?

2010-06-02 Thread Yoshiki Ohshima
- Yoshiki > On Wed, Jun 2, 2010 at 11:55 AM, Yoshiki Ohshima wrote: > > At Fri, 28 May 2010 10:55:31 -0600, > Clinton Blackmore wrote: > > > > Very interesting.  It looks like I will probably not get to try any of > these methods until next week, but, what

Re: [Newbies] How do I diff two images?

2010-06-02 Thread Yoshiki Ohshima
At Fri, 28 May 2010 10:55:31 -0600, Clinton Blackmore wrote: > > Very interesting.  It looks like I will probably not get to try any of these > methods until next week, but, what sort of > adjustments do you think it would need for Scratch images? The biggest single issue is that my ImageBrows

Re: [Newbies] How do I diff two images?

2010-05-28 Thread Yoshiki Ohshima
At Fri, 21 May 2010 21:35:14 -0600, Clinton Blackmore wrote: > > Greetings. > > While I've programmed for some time, I am new to Squeak.  I was wondering how > I diff or compare two images that are > largely similar (such as, say, Scratch vs Scratch For Second Life).   > > In other environments

Re: [Newbies] Annotated workspace for tutorials...

2010-04-09 Thread Yoshiki Ohshima
At Wed, 7 Apr 2010 19:52:11 -0700 (PDT), Jerome Peace wrote: > > Hi Lawson, > > What you are trying to do is really cool. > > You are up against a squeak "you can't get there from here" problem. > > Yet. > > There needs to be some way to tie the extent of the workspace to the > extent of the d

Re: [Newbies] Primitive error handling

2010-02-08 Thread Yoshiki Ohshima
At Sun, 7 Feb 2010 13:45:00 +0100, Garret Raziel wrote: > > Hello, > I have another "problem". In windows, my microchip is connected on port 7 > (COM7) but I dunno which port number it is in > Linux. It is connected in location /dev/ttyUSB0 but I dunno what is its > number. I have tried this cod

Re: [Newbies] Timer in Morph

2010-02-06 Thread Yoshiki Ohshima
At Fri, 5 Feb 2010 18:56:43 +0100, Garret Raziel wrote: > > and it works almost fine. But there is a bug. Time to time I receive only a > part of value, for example I am receiving: 56 55 > 56 55 5 6 55 ... 102 103 101 > 103 100 102 1 1 0 102 102. Those one-digit values are truly false and it > l

Re: [Newbies] Speed

2009-11-15 Thread Yoshiki Ohshima
At Sun, 15 Nov 2009 14:17:41 +0100, Bert Freudenberg wrote: > > Instead of the abstract FileStream use the stream class you want explicitly. > StandardFileStream is the old class that does no conversion. So you would > open your file like this instead: > > StandardFileStream readOnlyFileN

Re: [Newbies] Odd Transcript message

2009-11-03 Thread Yoshiki Ohshima
At Tue, 3 Nov 2009 10:53:40 -0500, Lynn Fogwell wrote: > > Hi, > Whenever I compile a particular method, the transcript displays the > following line: > > IdentityManager class >> populateDevelopersTable (name is shadowed) > > So, it names the class and method I just compiled and then states

Re: [Newbies] How to introspect method instance variables

2009-08-26 Thread Yoshiki Ohshima
> So ... all you need to do is hack the Compiler :) And it takes two new methods and four very minor overrides in some subclasses. -- Yoshiki ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/li

Re: [Newbies] How to introspect method instance variables

2009-08-24 Thread Yoshiki Ohshima
At Mon, 24 Aug 2009 21:16:16 -0500, rdmerrio wrote: > > I have defined a method, i.e., > > someMethod > anInstVariable := anotherInstVariable1 + anotherInstVariable2. > > I would like to intercept the acceptance of this method by the browser > and programatically determine what instance var

Re: [Newbies] purge of graphics objects

2009-04-28 Thread Yoshiki Ohshima
? I mean the problem with this pr is really unusual? > > thanks a lot! > > El mar, 28-04-2009 a las 08:44 -0700, Yoshiki Ohshima escribió: > > At Tue, 28 Apr 2009 13:51:25 +0200, > antonio wrote: > > > > Hello, > > > > Someti

Re: [Newbies] purge of graphics objects

2009-04-28 Thread Yoshiki Ohshima
At Tue, 28 Apr 2009 13:51:25 +0200, antonio wrote: > > Hello, > > Sometimes the size of a project does not reduce after the deletion of a > graphic object. > How can I purge definitively the space of this object? Are you using the Etoys image or some other images? And you are concerned about

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

2009-02-19 Thread Yoshiki Ohshima
At Thu, 19 Feb 2009 12:11:33 -0800, Yoshiki Ohshima wrote: > > At Wed, 18 Feb 2009 22:34:08 -0500, > David T. Lewis wrote: > > > > 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

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

2009-02-19 Thread Yoshiki Ohshima
At Wed, 18 Feb 2009 22:34:08 -0500, David T. Lewis wrote: > > 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

Re: [Newbies] Controlling cursor by sound

2009-01-28 Thread Yoshiki Ohshima
At Wed, 28 Jan 2009 21:55:27 +0100, Martin Bleichner wrote: > > E.g. I have an ellipse > and I would like to have a construction like > > Test Ellipse hears sound > Yes Ellipse turn by 90 > No Ellipse forward 5 > > Is there a straight forward solution, or does this requires some deeper >

Re: [Newbies] 23 to 23rd?

2008-12-11 Thread Yoshiki Ohshima
At Thu, 11 Dec 2008 12:23:45 -0600, Tim Johnson wrote: > > Hi, > > Does anyone have, or know of, existing code to perform the rather > anglo-centric (?) function of turning 3 into '3rd,' 22 into '22nd,' > etc.? Heh, if Wikipedia is right, the following method for Integer would do: ordinal

Re: [Newbies] SqueakMap Package Loader

2008-11-07 Thread Yoshiki Ohshima
At Tue, 4 Nov 2008 18:53:49 -0600, Mark Volkmann wrote: > > I want to load a package from SqueakMap. When I select > open...SqueakMap Package Loader, I get the following. > > In the SMSqueakMap>>categories method, the instance variable "objects" > is nil and it's trying to send select: to that

Re: [Newbies] Is there a program to generate an all classes tree chart?

2008-11-04 Thread Yoshiki Ohshima
At Tue, 4 Nov 2008 10:34:53 +0800, Albert Lee wrote: > > [1 ] > learning smalltalk, and get some idea of Metaclass and reflective. > we can use subclasses or allSubclasses to list a Class' subclass, and > then, we can generate the inherit tree. > > so, is there any existing program to generate th

Re: [Newbies] characters like tilde, etc.

2008-11-03 Thread Yoshiki Ohshima
At Mon, 3 Nov 2008 17:04:47 +0100, TooMany Secrets wrote: > > [1 ] > Hi! > > I need to know how to configure Squeak (vm 3.10.x) to obtain spanish > characters like: á, í, ú, etc. > I have Squeak configured to Spanish language, and characters like "ñ" > works fine, but the tilde "accent" doesn't

Re: [Newbies] Editing MIDI files

2008-10-29 Thread Yoshiki Ohshima
At Wed, 29 Oct 2008 12:48:46 -0500 (EST), Charles Bacon wrote: > > I have just installed Squeak on my FreeBSD box, a bit more capable than > the limited OLPC in which I discovered it as a part of Etoys. Problem > is that Squeak gives no clue how to address a Midi file so that it can > be edited.

Re: [Newbies] Drawing non-fuzzy text on a Form

2008-10-28 Thread Yoshiki Ohshima
At Tue, 28 Oct 2008 18:42:40 +0100, [EMAIL PROTECTED] wrote: > > How am I supposed to draw text on a Form(Canvas) without it looking > all blurred? > I've installed Freetype and Polymorph (the pharo image with both), but > it's unclear how to get a font that draws correctly. The non-truetype

Re: [Newbies] Can Squeak display chinese?

2008-10-23 Thread Yoshiki Ohshima
At Thu, 23 Oct 2008 01:49:08 +0800, Simon Chan wrote: > > [1 ] > [1.1 ] > > [1.2 ] > Hi all, I am a total beginner, just started few days. > > I just found smalltalk has the nicest development environment I have even > seen, > especially the image persistent. > > Persistent has always been

Re: [Newbies] Problem filing out change set

2008-10-21 Thread Yoshiki Ohshima
> But, in trying to decipher the error message, I thought it might be referring > to the new constant. I'm still mystified > as to what the error message means, or what it refers to, or why I got it. > Perhaps, as Yoshiki suggests, it's a bug. > (The image which I'm using is 3.9-final-7067.) P

Re: [Newbies] Problem filing out change set

2008-10-15 Thread Yoshiki Ohshima
At Wed, 15 Oct 2008 00:23:25 -0600, Chris Kermiet wrote: > > Hi, Folks -- > I'm new to this list. I'm learning squeak by by creating some artsy > objects which create designs according to > mathematical algorithms (based on Schillinger's Mathematical Basis of the > Arts). It seemed like a g

Re: [Newbies] Porting an old app to a recent image

2008-10-14 Thread Yoshiki Ohshima
At Wed, 15 Oct 2008 00:23:24 +0200, Matthias Korn wrote: > > No, I didn't. > It's probably due to the image I am using!? Maybe the Syntax Error tool > is not included? > It is sq3.10-7159dev08.03.1.image Now, I remember where it was started^^; So because #category that is used in the syntax err

Re: [Newbies] Porting an old app to a recent image

2008-10-14 Thread Yoshiki Ohshima
At Mon, 13 Oct 2008 12:32:09 +0200, Matthias Korn wrote: > > > Cool, it is a fun class to work on. I tried to file it in to 3.10.2 > > and did get the Syntax Error panel properly. > > How do you get the "Syntax Error panel"? Is that a special tool? I'm > only getting the debugger where I navig

Re: [Newbies] Porting an old app to a recent image

2008-10-10 Thread Yoshiki Ohshima
> ScratchFrameMorph class-readPaintSkinFrom.st Cool, it is a fun class to work on. I tried to file it in to 3.10.2 and did get the Syntax Error panel properly. The trouble seems to me that in the following part and after, variable "n" is used but it is a block local variables in the previous b

Re: [Newbies] Porting an old app to a recent image

2008-10-09 Thread Yoshiki Ohshima
At Thu, 9 Oct 2008 15:37:39 +0200, Matthias Korn wrote: > > [1 ] > Hi, > > I already tried to fileIn a minimal part (one Morph class) of the > application I want to port and started resolving the errors in the > debugger one by one. Still, now I am stuck with the following error: > Metaclass(Obj

Re: [Newbies] Collection in Smalltalk

2008-09-24 Thread Yoshiki Ohshima
At Wed, 24 Sep 2008 22:39:53 +0100, Marcin Tustin wrote: > > Write a method that tells you score of a character Yes. > Write a method that tells you the score of a string (hint: use inject:into:) Yes. > Write a method that tells you the dollar words (hint: use select: and > splitOn:) T

Re: [Newbies] lost socket

2008-09-24 Thread Yoshiki Ohshima
At Wed, 24 Sep 2008 17:42:08 +1200, Aidan Gauland wrote: > > Hello, > > I've been playing around with the Socket class, and the code I was running > in an EToys script crashed a few times (I did try it in a workspace first, it > was the code I wrote to talk to other players that crashed), and

Re: [Newbies] Iterating and removing items from OrderedCollections

2008-09-18 Thread Yoshiki Ohshima
At Thu, 18 Sep 2008 10:38:52 +0100, Marcin Tustin wrote: > > No in two reasons; 1) he wasn't talking about removing items in the > middle > > Look at the original example. Right. But still I think suggesting to use LinkedList here is not a good idea. > and 2) OrderedCollection is

Re: [Newbies] Iterating and removing items from OrderedCollections

2008-09-18 Thread Yoshiki Ohshima
At Thu, 18 Sep 2008 10:00:15 +0100, Marcin Tustin wrote: > > Would this be O(n^2) to remove all nils? Not in a way it matters. OrderedCollection moves items not eagarly. > In any case, if this is a conveyor belt, then you should almost certainly be > using a linke data structure, and iterate

Re: [Newbies] Re: Binary file I/O performance problems

2008-09-08 Thread Yoshiki Ohshima
At Sat, 6 Sep 2008 08:29:35 -0700, David Finlayson wrote: > > The next generation of workstations we buy will probably have dozens > of cores but hard drives and memory will only be marginally faster (if > history is any indication). So, if I/O is the rate limiting factor, > not cpu speed, why not

Re: [Newbies] Arrays within arrays

2008-09-05 Thread Yoshiki Ohshima
At Fri, 5 Sep 2008 02:59:08 -0700, Charles Gray wrote: > > Gee, that was easy. Thanks. I never guessed that you had to leave > the #'s off inside the array. I still wonder what version of image you are using. In the image I'm using, I can evalute: #((0 0 0 0) (0 0 0 0) (0 0 0 0) (0 0 0 0) (0

Re: [Newbies] Re: Binary file I/O performance problems

2008-09-05 Thread Yoshiki Ohshima
At Fri, 5 Sep 2008 14:49:29 -0700, David Finlayson wrote: > > Unfortunately, the data is not a simple block of floats. For example, > in C here is how I read a "ping" header block from one of our vendors > formats: I'm sure that there are other implications, but it sounds like you do need some

Re: [Newbies] Pre 1900 Date problems

2008-09-05 Thread Yoshiki Ohshima
At Fri, 5 Sep 2008 17:54:19 -0400, Rob Rothwell wrote: > > How do I reference dates prior to 1900 in Squeak? > > When I print, for instance d := Date fromString: '01/01/1800', I get 1 > January 3700. > > 1700 = 3600, > > etc... > > Should I be using a different Date/TimeStamp package for this

Re: [Newbies] Re: Binary file I/O performance problems

2008-09-05 Thread Yoshiki Ohshima
At Fri, 05 Sep 2008 23:00:07 +0200, nicolas cellier wrote: > > Hi David, > your applications is exciting my curiosity. Which company/organization > are you working for, if not indiscreet? I assume the answer is USGS, because of his email address! Yes, it sounds like something cool is going on

Re: [Newbies] Binary file I/O performance problems

2008-09-05 Thread Yoshiki Ohshima
At Fri, 5 Sep 2008 11:33:37 -0700, David Finlayson wrote: > > Then I modified the sonogram class to display sonar backscatter data > (like a black-and-white image of the sea floor) in about 2 hours. Very > cools stuff. The only problem was that the sonar data is time > consuming to parse in Squeak

Re: [Newbies] Binary file I/O performance problems

2008-09-05 Thread Yoshiki Ohshima
At Fri, 5 Sep 2008 10:59:03 -0700, David Finlayson wrote: > > I re-wrote the test application to load the test file entirely into > memory before parsing the data. The total time to parse the file > decreased by about 50%. Now that I/O is removed from the picture, the > new bottle neck is turning

Re: [Newbies] Arrays within arrays

2008-09-04 Thread Yoshiki Ohshima
At Thu, 4 Sep 2008 15:14:44 + (UTC), Charles Gray wrote: > > Why doesn't this work? > > strength := Array new: 10. > strength := #( #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 0) #(0 0 0 > 0) > #(2 1 0 0) #( 8 4 0 1) #(14 6 0 2) #(30 12 1 4)). Why do you have two assignments here?

Re: [Newbies] SqueakPad

2008-08-20 Thread Yoshiki Ohshima
At Wed, 20 Aug 2008 16:43:55 +1000, Sven Schott wrote: > > That is cool. I didn't even know about tinyBenchmarks. > > Pepper Pad 3 tinyBenchmarks: > > '28193832 bytecodes/sec; 922382 sends/sec' > > From my MacBook Pro for comparison: > > '524053224 bytecodes/sec; 12262411 sends/sec' 28 mi

Re: [Newbies] SqueakPad

2008-08-19 Thread Yoshiki Ohshima
At Mon, 18 Aug 2008 16:05:27 +1000, Sven Schott wrote: > > [1 ] > [1.1 ] > > [1.2 ] > Just an interesting tidbit. I recently installed Squeak on my Pepper Pad 3. > > First post on http://www.spannermonkey.info/ > > It's quite nice having a touchpad with Squeak. :) Cool. I played with an

Re: [Newbies] Howto find all subclass responsibilities for a given Class

2008-08-16 Thread Yoshiki Ohshima
> I am playing around with Morphs to create a Board for the ancient Go > game. Given that I'd like to create a completely new kind of Morph > (i.e. a Class that extends Morph), I'd like to find out which methods > in the Morph class are defined as subclass responsibilities. Is there > any fast way

Re: [Newbies] Why is the UI so blurry on Linux?

2008-08-12 Thread Yoshiki Ohshima
At Tue, 12 Aug 2008 22:49:21 +0200, Felix Dorner wrote: > > Hi, > > I have installed squeak under several distros, at least Gentoo and Ubuntu. I > have noticed that the Icons stored in the > Flaps appear blurry/noisy - this is not the case on M$. Maybe someone knows > why? Maybe there's a tric

Re: [Newbies] How to delete a category?

2008-08-11 Thread Yoshiki Ohshima
> I mistakenly created a category with a misspelled name. There are class categories and method categories. Which one was it? With a 5 pane browser (the standard one), right-clicking on the appropriate pane (either the left most of the top half or the third one from the left in the top half)

Re: [Newbies] Skewing Forms in Squeak V2

2008-07-23 Thread Yoshiki Ohshima
At Tue, 22 Jul 2008 13:53:21 -0400, Iulian Wande Radu wrote: > > Hi, I'd like to skew the graphics of a Form, is there an easy way to do this > in v2 ? > > What I want is to take the rectangle from a normal form, transform it into an > arbitrarily-defined quadrilateral, and > then paint on the

Re: [Newbies] Re: Primitives and array computation

2008-07-10 Thread Yoshiki Ohshima
> So, I understand that I need: > - intermediate classes, for storing 'true' arrays, > - translators for converting to/from standard squeak classes from/to > these intermediate classes, > - primitives for array computation on these classes > or something like that. The KedamaPlugin2 has some mor

Re: [Newbies] Getting a handle on objects which are instantiated through the various flaps

2008-02-08 Thread Yoshiki Ohshima
Also, there is a menu item in the workspace (click on the menu button next to the close button in the title bar) called "create textual references to dropped morph". If you check the box, you can drop a morph onto the workspace and then you can refer to the object by the name created in the work

Re: [Newbies] How do you start to understand a new Squeak 'program'?

2008-02-08 Thread Yoshiki Ohshima
Andy, (What is Etoy Outliner?) As Oscar wrote, examining the "live" application is the best way. Insert a breakpoints by putting "self halt." into an event handler/callback method of an application and, say, press the button that invokes it. You can step through it while looking at the act

Re: [Newbies] Fonts with non-standard sizes?

2007-12-12 Thread Yoshiki Ohshima
Simon, What version of Squeak are you using? > I know I can choose my own size using StrikeFont class>>fromUser, but > what's the best way to do this in my code, non-interactively? This is a good starting point. StrikeFont class>fromUser calls: StrikeFont class>fromUser:allowKeyboard:, an

Re: [Newbies] Assignment

2007-08-09 Thread Yoshiki Ohshima
Mathieu, > #= > is equality comparaison > > #== > is identity comparison Yes. > All the character is unique so is better (faster) to use #==. This is not true for Characters whose code is bigger than 256. To me, the identity comparison is more or less in the "meta" level or touching i

Re: [Newbies] version from a project

2007-08-09 Thread Yoshiki Ohshima
Javier, > Hi, > I was wondering if it's possible to know what version of squeak > was used for a project (.pr) file. Anybody know a way of doing this? It depends on what Squeak you used to make the .pr file^^; In versions like OLPC Etoys, there is a file called "manifest" in the .pr fi

Re: Morph Window -> Class? (was: [Newbies] error loading .pr

2007-04-06 Thread Yoshiki Ohshima
Edgar, > > Interest yes, but we don't have any resources to spare for this, > > unfortunately. > > > > - Bert - > > Once what 3.10 was in beta could you have time to supervise me like Ralph do > now ? For the "interest" part, I'm writing an externalization scheme for EToys that doesn't so m

Re: [Newbies] Where to ask the questions,

2006-10-13 Thread Yoshiki Ohshima
Offray, > I'm wondering where to ask the questions about Squeak. Long time ago, I > was asking on squeakland, but after a time asking about Kedama I found > that, some questions get more attention on Squeak Beginners. Recently I > have being asking about accented characters and "hipertext" in

[Newbies] Can I get a notification before fullGC?

2006-10-11 Thread Yoshiki Ohshima
Hello, Is there any way to get some sort of notification right *before* a fullGC happens so that some guys release their cache? Is there something I can do for this? Thank you so much! Below is a little background... I noticed that the caching behavior of TTCFont is *still* relying o

Re: [Newbies] general questions about squeak

2006-10-04 Thread Yoshiki Ohshima
Esteban, > I`m new in squeak, but not in smalltalk. I have some questions about > the environment of squeak that will help me to understand it. > - Firstly, I would like to know how the startup process of squeak is, > as detailed as possible. - The VM compiled by a C compiler is loaded onto t

Re: [Newbies] Why Squeak is so sloooow?

2006-09-21 Thread Yoshiki Ohshima
Antonio, If you evaluate the following (and print-it): | a b | a := FloatArray new: (16 * 1024*1024). b := FloatArray new: (16 * 1024*1024). [a += b] timeToRun. you probably get a number around 100 or 200. This means that Squeak can add two 32-bit float arrays with 16M entries in 10

Re: [Newbies] Font encoding

2006-09-19 Thread Yoshiki Ohshima
Jan, > How would I set the proper encoding for fonts under Squeak? My keyboard > layout under Windows is set to 'PL', and pressing LeftAlt-a should yield > the letter 'ą'. Instead, I am getting some garbage. Sorry for really slow response. What is PL layout? The encoding of fonts is basic

[Newbies] Call for Papers and Workshop Proposals for C5 '07

2006-08-18 Thread Yoshiki Ohshima
Hello, The C5 conference, that has been a great place to meet with people who are doing research and/or practice in the field of communication, collaboration and education with computers. Please consider to submit papers and/or attend. -- Yoshiki --

Re: [Newbies] Why hasn't Smalltalk been wildly accepted?

2006-08-16 Thread Yoshiki Ohshima
> Subject: Re: [Newbies] Why hasn't Smalltalk been wildly accepted? It may not be widely accepted, but I definitely think it is *wildly* accepted! (And, looking at the new horizon and the opportunity, this wildly accepted status seems to be an advantage for being (the forefather of) widely u

Re: [Newbies] Squeak and Pocket PC questions

2006-08-14 Thread Yoshiki Ohshima
Hello, Petr, > I have some questions about the use of Squeak on Pocket PC (Windows > Mobile 5 [WM5]). I don't have any experience with WM5, but... > 1) how to detect "tap and hold" event? If I remember correctly, it is reported as a "blue button" click. (But since you're asking this, I ma

Re: [Newbies] squeak on sharp zaurus

2006-07-13 Thread Yoshiki Ohshima
David, > Hi, I'm a bit of a newbie to linux, but I got my hands on a sharp zaurus pda, > running OpenZaurus... linux 2.6 with Opie. > > I'd really like to run Squeak on this thing, but I have never done anything > like cross-compiling before. I was just > wondering if someone could point me i

Re: [Newbies] Is there a way to find examples of how a certain method is used?

2006-07-07 Thread Yoshiki Ohshima
Murphy, > I am trying to find some good examples of how the Dictionary class is > used, particularly basic stuff like examples of how add: works. The > sender button in the SystemBrowser calls up about a million examples > of add: , but I don't see a way to filter by a specific class. I

Re: [Newbies] What was first: the chicken or the egg?

2006-06-29 Thread Yoshiki Ohshima
Hello, > All things in Smalltalk are Objects include Classes, > all Classes are instances of MetaClass. > I consider this structure bring on an advantage that we get a clean idea, > and we can make a simple VM which needn't distinguish: > 1. common objects and Classes; > 2. Classes and MetaClas

Re: [Newbies] EmphasizedMenu question

2006-06-28 Thread Yoshiki Ohshima
Thomas, Did you get responses? > (EmphasizedMenu > selections: #('bold' 'plain' 'italic' 'struckout' 'plain' 'nice menu!') > emphases: #(bold plain italic struckOut plain bold)) > startUp In Squeak 3.8 or such, if I change it to: (EmphasizedMenu selections: #('bold' 'plain' 'italic' 'stru

Re: [Newbies] Tables for WideString?

2006-06-28 Thread Yoshiki Ohshima
Hello, Aleksei, Sorry for the slow response. > I have problems with WideString. (realy not with WideString, but > debugger brings me to this class). When I send #beginsWith: message to > WideString, squeak invokes String>>beginsWith: and this method use > String>>findSubstring:in:startingAt:

Re: [Newbies] What was first: the chicken or the egg?

2006-06-28 Thread Yoshiki Ohshima
Hello, I noticed that this one only got a one-liner from Ron, but I felt to explain it a bit more. First, the better paper to refer to is: http://users.ipa.net/~dwighth/squeak/oopsla_squeak.html > In Squeak, what was first: VM or image? If we are specifically talking about Squeak, I'd

Re: [Newbies] variableWordSubclass:

2006-06-26 Thread Yoshiki Ohshima
Joaquin, > I wish to create a subclass of FloatArray for a dynamic system simulation. > When creating the class with #subclass: the > method is automatically changed to #variableWordSubclass: as follows > > FloatArray variableWordSubclass: #DynamicVariable > > That is fine. But when I wish to

Re: [Newbies] Traditional Chinese characters in Squeak

2006-06-11 Thread Yoshiki Ohshima
Hello, > I would like to know if Traditional Chinese is available as a language for > the Squeak environment. I am living in Taiwan > and would like that children in my wife's school use Squeak with menus in > Traditional Chinese characters. I saw that the > Japanese environment is available.

Re: [Newbies] OS filesystem capabilities ([Q] How to get the source code of eToy created)

2006-05-15 Thread Yoshiki Ohshima
Kyle, > Is there a way to gain access to OS filesystem capabilities from within > Squeak? Can you elaborate a bit the meaning of "gain access to OS filesystem capabilities"? If it is basic reading, writing, and deleting files and directories, of course Squeak provides class library to suppo

Re: [Newbies] new VM for win32

2006-05-15 Thread Yoshiki Ohshima
Waldemar, The VM comes with Croquet release support it. http://www.opencroquet.org/ There is pages from which you can download the VM... but not sure if these are really meant to be public. -- Yoshiki ___ Beginners mailing list Beginners@lists.s

Re: [Newbies] [Q] How to get the source code of eToy created

2006-05-14 Thread Yoshiki Ohshima
Hello, Young-Jin, > I am a real novice Squeaker and have a question of how to get the code > of an eToy I created (or generally source code of morph projects). > I know how to save the eToy project into *.pr file, but it is not readable > file. > > As an experienced Java programmer, I want to

Re: [Newbies] string translation - multi language application

2006-05-09 Thread Yoshiki Ohshima
Cédrick, > For my project, I need to have an application in french and spanish. > > Do you have advice for simple translation mechanism (only strings). What version of Squeak are you using? There is a sort of end-user tool called LanguageEditor, that lets you enter the original phrase and t

Re: [Newbies] Should all methods return a value?

2006-05-09 Thread Yoshiki Ohshima
Charles, > Todd Blanchard wrote: > > The rule is, if you don't return a value, then self is returned. > > There's no such thing as a void message like in C++ or Java. > > > > Tell me what you want to do and I'll see if I can scare up some examples. > > > > On May 8, 2006, at 10:16 PM, Charles D

Re: [Newbies] What's the speed of Squeak?

2006-05-06 Thread Yoshiki Ohshima
Charles, Welcome! > I know that with it's heavy graphics front end, it can't be in the upper > range (can it?), but how does it compare to, say, python, ruby, scheme, > and C? Of course, you should pick "realistic examples" that matches your possible applications, but if you write a micro-