smalltalk Questions

2

Rebol and Smalltalk's expression evaluating precedences have some similarity, both of them are very simple. Rebol's evaluation order, according to clauses in http://rebol.com/r3/docs/concepts/math...
Amanita asked 7/8, 2015 at 5:14

1

Solved

How can I add a new item - Workspace openLabel: 'Workspace' - to the World-menu of Pharo 4.0 ? (What can I say... I prefer Workspace over the new what's-it-called. :-) I've looked at several menu-...
Dort asked 23/6, 2015 at 17:1

1

Solved

Could someone please explain the process of double dispatch in Pharo 4.0 with Smalltalk? I am new to Smalltalk and am having difficulty grasping the concept, since it is implemented very differentl...
Malpractice asked 15/6, 2015 at 17:56

2

Solved

I am learning Pharo online and am not sure if I got the syntax correct for creating class and instance variables. Please correct me if I am wrong :- Class (Static) method created on class side of ...
Mannequin asked 14/6, 2015 at 6:52

2

Solved

I have a simple morph in squeak smalltalk. I want to move it from x1,y1 to x2,y2 (animation) with 5 seconds (or 10 seconds) is there a build in way to create animation in squeak smalltalk ?
Loutitia asked 7/6, 2015 at 18:32

3

Solved

I'm trying to parse a command and an int to make a "turtle" move on a board. I'm a bit overwhelmed, since it's not throwing an exception, and I can't even figure out how to open the debugger withou...
Ruling asked 28/5, 2015 at 9:6

1

Solved

It's been a while since I've dabbled in Seaside, and, wanting to play around with it again for a small project, I downloaded the one-click image for Pharo and thought I'd look through the documenta...
Ternopol asked 20/5, 2015 at 3:51

1

Solved

One of the things I was most impressed with when digging into Pharo was that the Finder could do find-by-example. I'd previously only seen this in languages like Haskell, where it's possible to kno...
Beeck asked 11/5, 2015 at 20:59

3

Solved

I'm very new to Smalltalk and would like to understand a few things and confirm others (in order to see if I'm getting the idea or not): 1) In Smalltalk variables are untyped? 2) The only "type c...
Dominickdominie asked 21/12, 2013 at 0:59

2

Solved

So I have a non-Ajax callback working fine using this code (the 'convert' method calculates a new value for the 'result' instance variable): html form: [ html text: 'Number to convert: '. html ...
Indiscipline asked 20/4, 2015 at 19:22

2

Solved

Consider the following method in the Juicer class: Juicer >> juiceOf: aString | fruit juice | fruit := self gather: aString. juice := self extractJuiceFrom: fruit. ^juice withoutSeeds ...
Oneiromancy asked 20/1, 2015 at 11:43

2

Solved

I remember seeing a method somewhere that actually allowed only letters 'Uppercase', 'lowercase', numbers and the underscore in the name, but I can't find it again for the life of me. Are any othe...
Byran asked 17/2, 2015 at 18:7

1

Solved

Pharo Smalltalk - Message forwarding, is it possible to intercept a message and redirect it to another Object (instance)? In Objective-C there's forwardInvocation: that gets called right before an...
Pork asked 29/1, 2015 at 22:19

1

Solved

In a very interesting post from 2001 Allen Wirfs-Brock explains how to implement block closures without reifying the (native) stack. From the many ideas he exposes there is one that I don't quite ...
Glynnis asked 21/1, 2015 at 21:3

1

Solved

Assume we have the following sequence of methods: m1 self m2: [^1] m2: block self m3: block. Processor := nil "crash!" m3: block [block value] ensure: [^2] The question is what's the value...
Michellmichella asked 9/1, 2015 at 1:12

4

Solved

Lots of languages have microframeworks for writing very tiny websites or web services, such as Flask for Python, or Sinatra for Ruby. On Squeak, there doesn't seem to be any equivalent; Iliad, Seas...
Epifocal asked 22/12, 2010 at 20:18

1

I posted this to the Squeak Beginners list too - I'll be sure to make sure any answers from there get here :) I'm using Squeak 4.2 and working on the smalltalk end of a named pipe connection, whic...
Renfroe asked 9/1, 2014 at 15:23

8

Solved

Do you know any good smalltalk implementations which meet the following criteria: are open source (and free) are enterprise ready - I can do commercial apps into it works on os x I'm ask...
Kepi asked 14/12, 2010 at 16:19

2

Solved

How can I send a block and its argument to a method ? so the method receive the block and the block receives the argument and I run the block in the method iteslf...
Kozak asked 12/11, 2014 at 14:22

4

I've seen this topic come up a couple times, but I don't think I've seen any definitive solution posted. I've tried the route of combining all my Foo.deploy.js, Bar.deploy.js into a single .js fil...
Skid asked 28/3, 2012 at 16:26

1

How do you undo in squeak more than one time? I am using coglinux-VM, Squeak-Image 4.5 with Squeak source version 41. I wrote some test code in my workspace window and want to undo more steps, but...
Unlearn asked 10/9, 2014 at 15:32

2

Solved

I am a begginer with Pharo, and I have learnt about Monticello and Metacello. As far as I understand, Pharo not being file-based means that one cannot use common source control tools such as Git d...
Verdellverderer asked 8/9, 2014 at 10:34

2

Solved

Yesterday I was about 2 hours in to working on my Pharo image when I accidentally wrote some code and executed it that caused an infinite loop -- actually, I was calling one method from another met...
Belak asked 16/7, 2014 at 18:30

3

Solved

In Pharo, I know that integers understand the message to:. The workspace offers suggestions: But if I inspect an integer from the workspace, it doesn't mention to:: Searching for SmallInteger...
Immobilize asked 5/6, 2014 at 21:16

3

Solved

I have an object myObject and I'm not sure who's holding references to it. (I want to know because I'm reverse engineering something.) I found the button "Objects pointing to this value" in the in...
Ningsia asked 17/11, 2011 at 8:56

© 2022 - 2024 — McMap. All rights reserved.