[Newbies] Raw sockets (was: New Introductory Tutorial)

2016-08-29 Thread Bert Freudenberg
To look at all traffic you need a "raw socket". Our SocketAddressInformation class only specifies socketTypeDGram and socketTypeStream, but not socketTypeRaw. However, there is a "primitiveSocketCreateRAW" in the VM's SocketPlugin. In the image, I only see references to "primitiveSocketCreate".

Re: Kedama (Re: [Newbies] [ANN] Squeak 5.1 released; www.squeak.org; Trunk open again)

2016-08-29 Thread Bert Freudenberg
On Fri, Aug 26, 2016 at 3:32 PM, H. Hirzel <hannes.hir...@gmail.com> wrote: > On 8/25/16, Bert Freudenberg <b...@freudenbergs.de> wrote: > > On Wed, Aug 24, 2016 at 7:19 PM, H. Hirzel <hannes.hir...@gmail.com> > wrote: > > > >> On 8/24/16, Offray Vla

Re: [Newbies] [ANN] Squeak 5.1 released; www.squeak.org; Trunk open again

2016-08-25 Thread Bert Freudenberg
On Wed, Aug 24, 2016 at 7:19 PM, H. Hirzel wrote: > On 8/24/16, Offray Vladimir Luna Cárdenas wrote: > > Thanks a lot! Seeing Kedama, > > Hello Offray > > The object tool offers a 'Kedama World' in the category 'Kedama'. > > But no other tools / menus

Re: [Newbies] Project on squeak language

2016-08-20 Thread Bert Freudenberg
Sure. Just ask some specific questions - e.g. what you tried, what worked, what didn't etc. - Bert - On Sat, Aug 20, 2016 at 10:59 AM, roger mpouma wrote: > Hello, > I need help for a drawing project on Squeak. I'd like implement a canvas > on which we draw with the

Re: [Newbies] Re: printf not working on 5.0

2016-08-12 Thread Bert Freudenberg
On Thu, Aug 11, 2016 at 5:16 PM, Joseph Alotta wrote: > Hi Bert, > > Thank you for the magic incantation. It worked. What will I do when I > don’t have someone to tell me what the magic words are? > > I filed out the code from 4.3 and filed in the same code into 5.0.

Re: [Newbies] Re: printf not working on 5.0

2016-08-11 Thread Bert Freudenberg
On Thu, Aug 11, 2016 at 1:44 AM, Joseph Alotta wrote: > Somehow the code was hooked into ByteString, but I can’t see where or how. > > Maybe there is a part that I forgot to copy. Is it possible that the > package makes modification to ByteString somewhere? > Yes, of

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 8:55 PM, Joseph Alotta wrote: > 4.3 > > What is the procedure for upgrading? Should I file-out the classes, > download the new version and then file-in? > That would be one simple way to do it, yes. OTOH if you're happy with 4.3 there is no need

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:39 PM, Joseph Alotta <joseph.alo...@gmail.com> wrote: > > > On Aug 2, 2016, at 9:38 AM, Bert Freudenberg [via Smalltalk] <[hidden > email] <http:///user/SendEmail.jtp?type=node=4909179=0>> wrote: > > > > Thirdly, to keep these &q

Re: [Newbies] Re: mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:48 PM, Joseph Alotta wrote: > Bert, > > I don’t have these methods. I get an error. See attached: > Are you using Squeak 5.0? - Bert - ___ Beginners mailing list

Re: [Newbies] mix ins

2016-08-02 Thread Bert Freudenberg
On Tue, Aug 2, 2016 at 5:03 PM, Joseph Alotta wrote: > Greetings, > > I want to add a method to the Array class. > > #(‘abc’ ‘def’) join => ‘abcdef’ > > #(‘abc’ ‘def’) join: $/ => ‘abc/def’ > > I am afraid that if I add it to Array directly, it will get lost in a new >

Re: [Newbies] size of character

2016-05-23 Thread Bert Freudenberg
On 23.05.2016, at 17:25, Joseph Alotta wrote: > > ‘j’ size ==> 1 > > $j size ==> error. > > Why shouldn’t the size of a character be 1? Because it’s not a collection: #size is part of the collection protocol, but it doesn’t make sense to send #at: to a character. -

Re: [Newbies] help with morphic

2016-05-20 Thread Bert Freudenberg
> On 20.05.2016, at 10:35, Bert Freudenberg <b...@freudenbergs.de> wrote: > > >> On 19.05.2016, at 22:43, Joseph Alotta <joseph.alo...@gmail.com> wrote: >> >> Greetings, >> >> I am having trouble getting started with Morphic. I tried t

Re: [Newbies] help with morphic

2016-05-20 Thread Bert Freudenberg
> On 19.05.2016, at 22:43, Joseph Alotta wrote: > > Greetings, > > I am having trouble getting started with Morphic. I tried the tutorial on > squeak.org and found it too hard to follow. Now I have morphs on my screen > and I don’t know how to close them. > > I

Re: [Newbies] Re: next or break in a loop

2016-05-09 Thread Bert Freudenberg
> On 09.05.2016, at 23:00, Joseph Alotta wrote: > > I don’t think any of the solutions work for my case. > > I want to evaluate several different variable for each step, make > calculations and if all of the conditions are met, then skip to the next > item,

Re: [Newbies] next or break in a loop

2016-05-09 Thread Bert Freudenberg
On 09.05.2016, at 20:35, Phil (list) wrote: > > Smalltalk doesn't have a switch/case statement True, but Squeak does: aValue caseOf: { [firstValue] -> [firstBlock]. [secondValue] -> [secondBlock]. } otherwise: [elseBlock] -

Re: [Newbies] Subclassing PasteUpMorph

2016-05-06 Thread Bert Freudenberg
On 04.05.2016, at 19:48, Michael Rice wrote: > > I'm experimenting with subclassing PasteUpMorph to get some additional > behavior. One thing I want to do is have my subclass open with a CircleMorph > at 0@0. I already get that behavior, the CircleMorph in the upper left

Re: [Newbies] Re: debugging by using a global variable?

2016-04-21 Thread Bert Freudenberg
nd the item on the menus. > > Sincerely, > > Joe. > > > > On Apr 20, 2016, at 10:53 AM, Bert Freudenberg [via Smalltalk] <[hidden > > email] > wrote: > > > > > > > On 20.04.2016, at 17:19, Joseph Alotta <[hidden email]> wrote: &g

Re: [Newbies] Re: Help!! screenshot bounced

2016-04-21 Thread Bert Freudenberg
, which for me is even quicker than attaching the file to the email. - Bert - > On 20.04.2016, at 21:00, Joseph Alotta <joseph.alo...@gmail.com> wrote: > > okay, i did, but it shouldn’t be this hard. > > > > On Apr 20, 2016, at 10:18 AM, Bert Freudenberg [via Sma

Re: [Newbies] Re: Help! can't see inside a Bag

2016-04-21 Thread Bert Freudenberg
You can include a screenshot, there just is a size limit :) If you crop the shot to the relevant part, and compress it as PNG, it usually fits. It's also polite to shorten the quoted emails to the relevant sections (which cuts down on size too). - Bert - > On 21.04.2016, at 01:38, Joseph

Re: [Newbies] debugging by using a global variable?

2016-04-20 Thread Bert Freudenberg
> On 20.04.2016, at 17:19, Joseph Alotta wrote: > > Greetings, > > My code has some complex parts and I think it would be good to pull parts of > it out and practice with it in a workspace window. > > For example, I have an Array of Transaction objects, that is a

Re: [Newbies] Help!! screenshot bounced

2016-04-20 Thread Bert Freudenberg
On 20.04.2016, at 17:42, Joseph Alotta wrote: > > I would like to send the list a screenshot of my problem, but it bounced. > What is the appropriate way of sharing a screenshot? Upload your screenshot somewhere and send the URL to the list. - Bert - smime.p7s

Re: [Newbies] Cyrilic fonts in Squeak

2015-05-21 Thread Bert Freudenberg
On 21.05.2015, at 03:21, David T. Lewis le...@mail.msen.com wrote: 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

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

2015-02-21 Thread Bert Freudenberg
On 20.02.2015, at 17:29, Levente Uzonyi le...@elte.hu wrote: On Fri, 20 Feb 2015, David T. Lewis wrote: 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

Re: [Newbies] How to round a float?

2015-02-17 Thread Bert Freudenberg
On 16.02.2015, at 07:29, Louis LaBrunda l...@keystone-software.com wrote: That's why I thought there was a problem with #roundTo: but maybe #roundTo: has some other intent that I'm not aware of? It's used for snapping values to a grid. E.g. in ScrollBarsetValue:. - Bert - smime.p7s

Re: [Newbies] Video4Squeak

2015-02-06 Thread Bert Freudenberg
Video4Squeak is an older camera framework by Diego Gomez Deck. It only works on Linux via Video4Linux. The CameraPlugin comes from Scratch. In the Etoys image you can find a CameraMorph that uses it. It should be in the Multimedia category of the Object Catalog. That CameraMorph should also

Re: [Newbies] Beginner's List Question

2015-01-25 Thread Bert Freudenberg
On 25.01.2015, at 09:21, Tim Retz human.shield@gmail.com wrote: if you use Linux, it's the user's responsibility to know (or figure out) how to get a piece of software working. If we claim that we support Linux, then we should help any user trying to get it to run. Also, Squeak *is*

Re: [Newbies] Better Support for Beginners Please!

2015-01-22 Thread Bert Freudenberg
On 22.01.2015, at 07:43, Casey Ransberger casey.obrie...@gmail.com wrote: On Jan 21, 2015, at 10:04 PM, Kirk Fraser overcomer@gmail.com wrote: The Squeak.org main page needs a few changes. Lots of good suggestions, thank you! 2) The LINUX instructions at page bottom are not for

Re: [Newbies] What is an Etoys *.xo file?

2014-12-17 Thread Bert Freudenberg
On 17.12.2014, at 15:50, Michael Rice limitc...@gmail.com wrote: Looking around the web I see some *.xo files. What are they? I thought Etoys saves in *.pr files. This is a wrapper for Etoys to make it work as an activity under Sugar, the operating system of the OLPC XO laptop.

Re: [Newbies] Bounce Example

2014-12-15 Thread Bert Freudenberg
On 15.12.2014, at 11:40, David Corking li...@dcorking.com wrote: Bert wrote: Morphic... assumes you will create your own morph class and implement methods to specify behavior. It's certainly possible to do. But you will run into various problems that you wouldn't have if you did it

Re: [Newbies] Saving a project...kaput?

2014-12-13 Thread Bert Freudenberg
On 13.12.2014, at 17:51, Michael Rice limitc...@gmail.com wrote: Haven't Squeaked in a while, refreshing my memory I tried creating a simple example script: 1) drag a line morph into the playfield 2) open a view on it 3) drag a new script from the line view to the playfield 4) drag a turn

Re: [Newbies] Open that fucking thing.

2014-12-11 Thread Bert Freudenberg
On 11.12.2014, at 14:11, Bert Freudenberg b...@freudenbergs.de wrote: On 11.12.2014, at 13:54, Hans Schueren werb...@hans-schueren.de wrote: stuff Bot or troll, there is no excuse to use profane language on our beginners mailing list. If you want to avoid being banned, please respond

Re: [Newbies] Feedback: Using Output as the Next Input

2014-12-05 Thread Bert Freudenberg
On 05.12.2014, at 12:15, Dan dnor...@mindspring.com wrote: On 5 Dec 2014 at 1:13, Bert Freudenberg wrote: On 05.12.2014, at 00:49, Dan dnor...@mindspring.com wrote: On 4 Dec 2014 at 23:22, Bert Freudenberg wrote: Why wouldn't you just keep the output in the image and save it? When

Re: [Newbies] Feedback: Using Output as the Next Input

2014-12-04 Thread Bert Freudenberg
On 04.12.2014, at 23:14, Dan dnor...@mindspring.com wrote: Howdy, A class is instantiated and produces output in a data structure (array, collection, dictionary, ...). Upon each later (maybe months later) instantiation, the previous output is needed as input. What is the best way

Re: [Newbies] accept (s)

2014-11-26 Thread Bert Freudenberg
On 26.11.2014, at 02:30, dnor...@mindspring.com dnor...@mindspring.com wrote: An inspector for the menu item accept (s) reveals a selector of #perform:orSendTo: which is implemented in Browser. Is it? In my image, Browser inherits that method from StringHolder. I checked using a protocol

Re: [Newbies] Bounce Example

2014-11-20 Thread Bert Freudenberg
On 20.11.2014, at 04:14, summae3...@mypacks.net summae3...@mypacks.net wrote: Hello, I once saw a workspace example which caused a morph to move along an arc in a realistic way - appearing to be affected by gravity. Possibly written by someone from Disney? Now I search in vain to

Re: [Newbies] Terse Guide to Squeak

2014-10-05 Thread Bert Freudenberg
, not Etoys. But I moved it from the Etoys inbox to the regular inbox now. - Bert - -Original Message- From: Bert Freudenberg Sent: Oct 4, 2014 1:09 PM To: A friendly place to get answers to even the most basic questions about Squeak. Subject: Re: [Newbies] Terse Guide to Squeak

Re: [Newbies] Terse Guide to Squeak

2014-10-04 Thread Bert Freudenberg
On 04.10.2014, at 18:56, summae3...@mypacks.net summae3...@mypacks.net wrote: When I tried to program a table lookup using the usually very helpful Terse Guide, I noticed a couple of things... 1. The remark for detect: is find position of first element that passes test but it should be

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

2014-09-26 Thread Bert Freudenberg
Actually, isn't it only that double-clicking the app does not work? If you right-click and select Open it should let you run it. - Bert - On 26.09.2014, at 06:11, Henrik Aagaard m...@henrikaagaard.com wrote: Thank you! :) On 25/09/2014, at 22.26, Levente Uzonyi le...@elte.hu wrote: This

Re: [Newbies] squeak : wiki : save password?

2014-09-09 Thread Bert Freudenberg
On 09.09.2014, at 07:08, Mayuresh Kathe mayur...@kathe.in wrote: hello, can i please get the password for saving content on the squeak wiki? Username: squeak Password: viewpoints - Bert - smime.p7s Description: S/MIME cryptographic signature

Re: [Newbies] squeak : wiki : save password?

2014-09-09 Thread Bert Freudenberg
On 09.09.2014, at 09:59, Mayuresh Kathe mayur...@kathe.in wrote: On 2014-09-09 12:39, Bert Freudenberg wrote: On 09.09.2014, at 07:08, Mayuresh Kathe mayur...@kathe.in wrote: hello, can i please get the password for saving content on the squeak wiki? Username: squeak Password: viewpoints

Re: [Newbies] cog support for linux framebuffer!

2014-09-08 Thread Bert Freudenberg
On 06.09.2014, at 12:34, Mayuresh Kathe mayur...@kathe.in wrote: hello, would the new 'vm', i.e. cog, support using the linux framebuffer instead of relying on the x windowing system? It should, yes. please take a look at; http://wiki.squeak.org/squeak/3484 it has clear mention about the

Re: [Newbies] How to modify ScrollPane example2 to enable scrolling by scroll wheel?

2014-08-30 Thread Bert Freudenberg
On 30.08.2014, at 04:14, JohnReed Maffeo aldeve...@graffiti.net wrote: Hello, I can not figure out how to get scrolling by scroll wheel to work in ScrollPane example2. I have been poking around using explorer to try and figure out how the scroll wheel works in the Browser but have not

Re: [Newbies] Help with FFI's

2014-06-29 Thread Bert Freudenberg
On 29.06.2014, at 01:43, Michael Patrick sscsmat...@yahoo.com wrote: Hello, I would like to use Squeak to develop a MAC application that needs to access the address book and the calendar on a local machine. I have been able to access these items with Objective C but I was wondering if

Re: [Newbies] [Q] Creating Form from ByteArray

2014-06-12 Thread Bert Freudenberg
is not. What's wrong with my code? Thank you in advance. On Wed, Jun 11, 2014 at 7:41 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 11.06.2014, at 00:36, Sungjin Chun chu...@castlesoft.co.kr wrote: Hi, I want to draw gray scale bitmap using byte array which has pixel

Re: [Newbies] [Q] Creating Form from ByteArray

2014-06-11 Thread Bert Freudenberg
On 11.06.2014, at 00:36, Sungjin Chun chu...@castlesoft.co.kr wrote: Hi, I want to draw gray scale bitmap using byte array which has pixel by pixel gray scale value as byte like this; [0 0 0 0 0 0 0 0 16 23 255 78 12 12 12 12 ... ...] (8x4 for example) I can draw this using Pen

Re: [Newbies] How to use Form pixelCompare:with:at:

2014-01-07 Thread Bert Freudenberg
On 07.01.2014, at 15:19, Herbert König herbertkoe...@gmx.net wrote: Hi, FormpixelCompare:with:at: seems to always return 0. I use it like |pict1 pict2| pict1 := (Form extent: 100@100 depth: 32) fillBlack. pict2 := (Form extent: 100@100 depth: 32) fillWithColor: Color red. pict1

Re: [Newbies] How to use Form pixelCompare:with:at:

2014-01-07 Thread Bert Freudenberg
On 07.01.2014, at 16:13, Herbert König herbertkoe...@gmx.net wrote: Hi Bert, Am 07.01.2014 15:57, schrieb Bert Freudenberg: Try 16 bit forms. - Bert - thanks, that works. Is this a bug or infeasible with 32 Bit Forms? it's surprisingly fast. (I'm dealing with Photos) It's using

Re: [Newbies] object instance browser?

2014-01-07 Thread Bert Freudenberg
On 04.01.2014, at 20:03, karl ramberg karlramb...@gmail.com wrote: Posted to the inbox. I don't have login for trunk Karl Thanks! Moved to trunk. - Bert - smime.p7s Description: S/MIME cryptographic signature ___ Beginners mailing list

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

2014-01-04 Thread Bert Freudenberg
On 03.01.2014, at 02:36, David T. Lewis le...@mail.msen.com wrote: 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

Re: [Newbies] Problem with roundTo: (Actually with *)

2013-07-03 Thread Bert Freudenberg
On 03.07.2013, at 13:56, summae3...@mypacks.net wrote: In Squeak 4.3 I print (7/5) roundTo: 0.01 and get 1.4 however, In Squeak 4.4 I print (7/5) roundTo: 0.01 and get 1.4001 Am I doing something to cause this change? Or, is this the result of inflation :) No, it's the

[Newbies] Squeak Community Monday - today

2013-03-25 Thread Bert Freudenberg
Two weeks ago we had lots of fun talking about everything from the VM (several VM hackers stopped by) over OpenQWAQ / Immersive Terf (3D stuff is always fascinating) and tablet UIs (the next big thing is here already) to Metacello and git (with Dale, our cross-dialect hero). But mostly we had

Re: [Newbies] Input and output of morphic text

2013-03-14 Thread Bert Freudenberg
On 2013-03-14, at 03:06, Casey Ransberger casey.obrie...@gmail.com wrote: Speaking of Pythagoras, Alan Kay demos a visual proof for the theorem that's super easy for just about anyone to understand right away using Etoys in his TED talk, which is worth a look:

[Newbies] GSoC (was: Thanks for the fantastic ideas.)

2013-03-13 Thread Bert Freudenberg
Would any of the idea submitters like a student to work on them? There is another Google Summer of Code coming up, and we always need project ideas. In a previous GSoC, Ricardo Moran from Argentina made some awesome new Etoys tools. So please, send your idea to Janko, too! - Bert - Am

[Newbies] Re: GSoC (was: Thanks for the fantastic ideas.)

2013-03-13 Thread Bert Freudenberg
On 2013-03-13, at 11:04, Bert Freudenberg b...@freudenbergs.de wrote: Would any of the idea submitters like a student to work on them? There is another Google Summer of Code coming up, and we always need project ideas. In a previous GSoC, Ricardo Moran from Argentina made some awesome new

Re: [Newbies] PositionableStreamlast

2013-02-18 Thread Bert Freudenberg
On 2013-02-18, at 04:38, liang bing liangbin...@gmail.com wrote: Hi all, I am reaing Class code,PositionableStreamlast last Return the final element in the receiver ^ collection at: *position* why not collection at: *readLimit*? That method shouldn't even exist.

[Newbies] Re: How can I embed an object in another holder

2013-01-28 Thread Bert Freudenberg
On 2013-01-28, at 07:31, Steve Thomas sthom...@gosargon.com wrote: Thanks Subbu. I started looking at what you sent and poking around trying to figure out the code, then realized I could do it the Etoys way and put the morph back into its previous holder (which can vary and I store in a

Re: [Newbies] Is it just me or is Squeak Universes dead?

2013-01-26 Thread Bert Freudenberg
On 26.01.2013, at 11:31, David Corking li...@dcorking.com wrote: I opened the Universe Browser (basic) in my trunk image and hit the 'update list from network' button. I got a predebug window for the failure of primitiveResolverGetAddressInfo as universe apparently tried to fetch

Re: [Newbies] Acquiring lock, releasing in callback

2012-11-02 Thread Bert Freudenberg
On 2012-11-02, at 18:42, Sebastian Nozzi sebno...@gmail.com wrote: Hello Dear Squeakers, threads and co. are giving me headaches :-) I wanted to ask for advice... What do I use in Squeak to prevent more than one thread entering a region, but releasing the exclusivity in another

[Newbies] Re: [Scratch] building the scratch image from the source?

2012-09-28 Thread Bert Freudenberg
On 2012-09-28, at 17:00, Matthew Miller mat...@mattdm.org wrote: Pardon me for the squeak newbie question. Is it possible to build the scratch image from the source files distributed in a scripted way? Do you do this internally when working on the project? No. In Fedora, shipping compiled

[Newbies] Re: [Scratch] building the scratch image from the source?

2012-09-28 Thread Bert Freudenberg
On 2012-09-28, at 18:27, Matthew Miller mat...@mattdm.org wrote: On Fri, Sep 28, 2012 at 06:23:39PM +0200, Bert Freudenberg wrote: This may sound odd, but e.g. the GPL states that sources must be distributed in their Preferred Form For Modification. In Smalltalk's case, that preferred form

[Newbies] Marching ants

2012-09-13 Thread Bert Freudenberg
This came up on stack overflow (*), might be interesting to some: (PolygonMorph vertices: Rectangle fromUser corners color: Color transparent borderWidth: 2 borderColor: Color black) dashedBorder: {10.

Re: [Newbies] Global string search and replace in an image

2012-09-11 Thread Bert Freudenberg
On 2012-09-11, at 01:43, Chris Cunnington smalltalktelevis...@gmail.com wrote: On 12-09-10 7:34 PM, Andy Burnett wrote: Hello, Is there a method - or other mechanism - that would let me find all instances of 'foo' and replace them with 'bar' within an image? I imagine there must be, but

Re: [Newbies] Is it me, or a problem with FileDirectory?

2012-06-15 Thread Bert Freudenberg
On 2012-06-15, at 12:17, David Lomas wrote: I've been trying to debug an application running on Squeak 4.1 randomly crashing on certain setups. It turns out it's where people have their 'My Documents' folder on Windows platforms set to a network share. As a trivial test case, I can

Re: [Newbies] Green Screen in Etoys

2012-06-11 Thread Bert Freudenberg
On 2012-06-11, at 05:57, Steve Thomas wrote: Folks, I created a video of a code walk through for my students. It's an algorithm to create a Green Screen effect in Etoys. As I am definitely a novice when it comes to Squeak, I would appreciate any feedback on how I can correct/improve

[Newbies] Re: Differences in OpenGL support on Linux vs. OS X?

2012-06-08 Thread Bert Freudenberg
(moving to beginners list) On 07.06.2012, at 22:18, Phil (list) wrote: Bert, On Jun 7, 2012, at 6:25 AM, Bert Freudenberg wrote: This is probably unrelated, but you are apparently not using the latest OpenGL package, and you messed it up severely. Why is it using

Re: [Newbies] Help with pen stuff

2012-06-05 Thread Bert Freudenberg
On 05.06.2012, at 11:46, OrgmiGeek wrote: In my spare time I decided to rite a simple paint program! I have encountered some problems: #1 does paint stuff work in the BorderedMorph category? With a Pen you paint on a Form (which is an picture object holding pixels). To display a Form in

Re: [Newbies] Where is the setter for self?

2012-06-01 Thread Bert Freudenberg
On 01.06.2012, at 22:26, Chris Cunnington smalltalktelevis...@gmail.com wrote: It's clearer to me to have: self printString new Control.Slider(null,null) all inst vars decoration a SUCreate canvas nil options nil handleId nil trackId nil But that makes no design sense to a person

Re: [Newbies] perform withArguments

2012-04-24 Thread Bert Freudenberg
On 24.04.2012, at 10:59, Dawson wrote: .. I had thought there might be a way of building up the cellObject cellLock: aBoolean ... judging from the replies, it seems that it is either a) crazy, b) it can't be done, c) no one knows how to do it. It's a) crazy. Of course there's a way to do

Re: [Newbies] Re: perform withArguments

2012-04-24 Thread Bert Freudenberg
On 24.04.2012, at 11:34, Louis LaBrunda wrote: .. I had thought there might be a way of building up the cellObject cellLock: aBoolean ... judging from the replies, it seems that it is either a) crazy, b) it can't be done, c) no one knows how to do it. I don't know if I would say it is

Re: [Newbies] Squeak on a BeagleBone

2012-04-23 Thread Bert Freudenberg
On 21.04.2012, at 13:25, David Graham wrote: On 4/21/12 2:16 PM, Bert Freudenberg wrote: On 20.04.2012, at 22:14, 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

Re: [Newbies] perform withArguments

2012-04-23 Thread Bert Freudenberg
Ah that's curious - your reply did not have a Re: and was not threaded with the original message. Would have saved me to write a message very similar to yours ;) - Bert - On 23.04.2012, at 10:44, Louis LaBrunda wrote: Hi, For your example: cellObject cellLock: aBoolean where

Re: [Newbies] Using a squeak VM

2012-03-21 Thread Bert Freudenberg
On 21.03.2012, at 12:20, Brian Lockwood wrote: Hi, I am trying to run a squeak VM. It is scratch 1.4 I have the VM etc downloaded from the site at MIT. source page I managed to run it by overwriting the default folder with the scratch one and renaming the scratch.image as squeak.image.

Re: [Newbies] Searching senders of a method

2012-03-03 Thread Bert Freudenberg
On 03.03.2012, at 13:44, deejay220989 wrote: Hi, May I know the difference between: SystemNavigation default allCallsOn: #subclassResponsibility and ProtoObject allCallsOn: #subclassResponsibility It seems that ProtoObject allCallsOn: #subclassResponsibility returns 3 results lesser

Re: [Newbies] Re: Searching senders of a method

2012-03-03 Thread Bert Freudenberg
On 03.03.2012, at 14:00, deejay220989 wrote: I see..I thought it will search for the method in the subclasses of ProtoObject too. As for me, it returns a SortedCollection (349 entries). Which version of Squeak are you using? The latest (4.4 alpha trunk). How about you? - Bert -

Re: [Newbies] Re: Searching senders of a method

2012-03-03 Thread Bert Freudenberg
On 03.03.2012, at 14:07, deejay220989 wrote: I'm using 4.2..now downloading 4.3 and will try to download 4.4 alpha..will let you know later. It looks like the behavior was changed in 4.3. It now excludes subclasses. Not sure why. Levente? To get the old behavior you now would need to do

Re: [Newbies] Siblings

2012-02-29 Thread Bert Freudenberg
On 29.02.2012, at 14:25, sholom.eisenstat wrote: In creating a simulation of balloons rubbing, I want to have ‘electrons’ created. What tiles can I use to generate siblings or copies of a ‘dot’ that would then move around? I’m not sure if I want siblings or copies.. This would be

Re: [Newbies] Re: Problem with cmd-c

2012-02-01 Thread Bert Freudenberg
On 31.01.2012, at 13:10, Ylem wrote: Hello everyone, I have a problem with Squeak, my iBook G4, does not allow me to copy and paste, just run cmd-c, Squeak crashes immediately. I apologize but I do not speak English well, thank you all for your work. Which Squeak VM are you using? One idea

Re: [Newbies] Testing = and == in workspace

2012-01-08 Thread Bert Freudenberg
On 08.01.2012, at 00:48, Ben Coman wrote: For some naive reason I thought that the SmallIntegers would stop at 64k. No, SmallIntegers currently use the full 31 bit range: {SmallInteger maxVal hex. SmallInteger minVal hex} == #('16r3FFF' '-16r4000') Is it platform

Re: [Newbies] class method #initializeClass vs. #initialize

2012-01-08 Thread Bert Freudenberg
On 08.01.2012, at 06:21, Ben Coman wrote: I have come across a class method initializeClass with a comment Do not rename to #initialize. Is that a generic concern ? It is pretty unusual. This particular case is from BaseUnit initializeClass from http://www.squeaksource.com/Units.html

Re: [Newbies] Testing = and == in workspace

2012-01-07 Thread Bert Freudenberg
Am 07.01.2012 um 07:04 schrieb Ben Coman b...@openinworld.com: I had thought that the two assignments of 'xxx' to (x) and (y) would result in different objects, but they turn out to be identical. It is like the compiler has noticed that they are equal and chosen to make them identical.

Re: [Newbies] Is there an easy way to implement an animation loop?

2012-01-06 Thread Bert Freudenberg
On 05.01.2012, at 22:27, karl ramberg wrote: Ugh, that is right. Stepping starts right away for a new morph. Only if #wantsSteps answers true. Since you want stepping only at certain times you should use startSteppingSelector: and stopSteppingSelector: (and not call that selector/method

Re: [Newbies] Changing the extent of an ImageMorph

2012-01-05 Thread Bert Freudenberg
On 04.01.2012, at 16:44, Jan Teske wrote: Hey, I'm currently developing a small game with Squeak. Part of it is a bunch of menus which should have background images. Therefore I have realized them as ImageMorphs with the respective images. Now, there are menus which sizes are determined

Re: [Newbies] Iterating backwards through a Matrix

2011-12-22 Thread Bert Freudenberg
On 22.12.2011, at 09:50, Jan Teske wrote: I'm currently trying to develop a game with squeak. The game field is based on a Matrix in which all the game objects are placed. To simulate gravity I need the possibility to iterate over the Matrix in a reversed order. For example if my Matrix

Re: [Newbies] blender 3D

2011-12-14 Thread Bert Freudenberg
On 14.12.2011, at 09:57, dimitris chloupis wrote:Are you ready to code a 1 million lines of code application ? Because that is how big blender is. Sure maybe you can squeeze that because smalltalk is much less verbose than cto 250.000 lines. Are you still ready to do that ? And fight all the

[Newbies] What makes Smalltalk different

2011-11-22 Thread Bert Freudenberg
(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) === Q: (paraphrased) I want to learn Smalltalk but without the baggage of an IDE. Just let me

Re: [Newbies] What makes Smalltalk different

2011-11-22 Thread Bert Freudenberg
On 22.11.2011, at 18:48, Yoshiki Ohshima wrote: 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

Re: [Newbies] What makes Smalltalk different

2011-11-22 Thread Bert Freudenberg
/ --Hannes Yes, of course. - Bert - On 11/22/11, Gary Dunn garydun...@gmail.com wrote: Well put! Please can someone with permissions capture this on our swiki? Gary Dunn Open Slate Project http://openslate.org On Nov 22, 2011 1:35 AM, Bert Freudenberg b...@freudenbergs.de wrote

Re: [Newbies] Drawing with Morphic Transforms

2011-10-18 Thread Bert Freudenberg
On 18.10.2011, at 06:09, Jeff G wrote: Hi Everyone, My question concerns how to correctly use transforms when drawing in Morphic. I have created a morph and overridden its drawOn: method so that I can convert the canvas passed in to a BalloonCanvas so I can get anti-aliasing when I

Re: [Newbies] Re: [] whileTrue: [] implementation

2011-10-05 Thread Bert Freudenberg
On 05.10.2011, at 00:24, nicolas cellier wrote: Bert Freudenberg bert at freudenbergs.de writes: On 04.10.2011, at 19:16, Erlis Vidal wrote: Thanks Bert! The byte code has the answer, I thought that the byte code will map the source code but I see that's not the case, probably to ensure

Re: [Newbies] [] whileTrue: [] implementation

2011-10-04 Thread Bert Freudenberg
On 04.10.2011, at 17:58, Erlis Vidal wrote: Hi all, I was looking at the implementation of some of the flow control methods and I have a question with the method whileTrue. First of all, I can see two identical implementation in the classes BlockClosure and BlockContext the

Re: [Newbies] [] whileTrue: [] implementation

2011-10-04 Thread Bert Freudenberg
On 04.10.2011, at 18:41, Erlis Vidal wrote: Can I add methods to literal blocks? Yes. Where do I implement those methods? In class BlockClosure. In case your answer is in BlockClosures, why I don't see any ifTrue: in the while implementation? Because the compiler generates a jump byte

Re: [Newbies] Move an object into another project

2011-09-28 Thread Bert Freudenberg
On 28.09.2011, at 05:24, Jonathan Wright wrote: Subbu and Gary, Cool. Thanks you. If I move the object into the Squeak tab I then can move it out of there from any project. However, if I move the object into the Tools tab, when I drag the object out it automatically makes a copy of it

Re: [Newbies] Instability

2011-09-13 Thread Bert Freudenberg
On 13.09.2011, at 10:47, Overcomer Man wrote: Anyway, if you pull the halo on the debugger, you should be able to click the wrench, which will give you an inspector that you can use to drill down into the actual stack trace. Too bad the drill down process wasn't explained. Now what

Re: [Newbies] OMeta

2011-08-25 Thread Bert Freudenberg
On 25.08.2011, at 15:57, Sean P. DeNigris wrote: I tried to load OMeta2 into Squeak 4.2 and ended up with AnObsoleteOMeta2Base subclass: #OMeta2 From squeaksource.com/OMeta, I loaded: 1. OMeta2-Preload 2. OMeta2-Postload It seems like the post-load is removing the base class of OMeta2.

Re: [Newbies] OMeta

2011-08-25 Thread Bert Freudenberg
On 25.08.2011, at 16:11, Bert Freudenberg wrote: On 25.08.2011, at 15:57, Sean P. DeNigris wrote: I tried to load OMeta2 into Squeak 4.2 and ended up with AnObsoleteOMeta2Base subclass: #OMeta2 From squeaksource.com/OMeta, I loaded: 1. OMeta2-Preload 2. OMeta2-Postload It seems like

Re: [Newbies] Keyboard input - programming course

2011-07-05 Thread Bert Freudenberg
On 05.07.2011, at 01:44, Stephen Woolerton wrote: Then, make a Morph and send it messages. Evaluate each line individually to see its effect. joe := Morph new. joe openInWorld. joe position: 100@100. joe color: Color red. I'm running Pharo 1.2.1 and hope you can

Re: [Newbies] selectors for an array of classes

2011-07-04 Thread Bert Freudenberg
On 03.07.2011, at 19:48, Jonathan Wright wrote: On Sun, 3 Jul 2011 18:47:09 +0200 Bert Freudenberg b...@freudenbergs.de wrote: On 03.07.2011, at 18:35, Jonathan Wright wrote: Hello, I am trying to read the methods of several classes. I am getting a messagenotunderstood

Re: [Newbies] Keyboard input - programming course

2011-07-04 Thread Bert Freudenberg
On 04.07.2011, at 09:45, Stephen Woolerton wrote: Hi all, We wish to use Squeak/Smalltalk for a beginner programming course and require the simplest way to get keyboard input. First of all:- - is there a way in Squeak to get console input (analogous to system.in, in Java)? Line input

Re: [Newbies] selectors for an array of classes

2011-07-03 Thread Bert Freudenberg
On 03.07.2011, at 18:35, Jonathan Wright wrote: Hello, I am trying to read the methods of several classes. I am getting a messagenotunderstood for the following code: TempObject := #(OrderedCollection Integer). TempObject do: [ :iClass | iClass

Re: [Newbies] How do I install squeak in a iPad?

2011-07-01 Thread Bert Freudenberg
Am 01.07.2011 um 05:21 schrieb Lester Zimmer lvzim...@gmail.com: Hi! How do I install squeak in a iPad? Lester Since you are asking this on the newbies list I guess you want the easiest way? Simplest is to become a Squeak/Etoys beta tester:

  1   2   3   4   5   6   >