smalltalk Questions
2
Solved
I noticed that after running into an issue last night, relaunching Pharo 3.0 didn't "undo" my working set - everything appeared to be as it was when I closed it. I saw where Fuel is included with P...
2
Solved
I commit several versions of Monticello packages to a local repository on my disk during the day.
At a later time I want to sync the local repository with a Smalltalkhub.com repository.
At the mo...
Papuan asked 3/7, 2013 at 17:52
3
Solved
With the next closing of SqueakSource repository, I wonder what is the advantage of SmalltalkHub over SqueakSource3. Is there some feature missing in SqueakSource3?
I have noticed that basic func...
1
Solved
The Pharo By Example book says to open it through the Tools submenu - but I don't see this in Pharo 3.0
Is there another way?
2
Solved
Does anyone know what would cause this? I can't save anything to my class because I get a debugging exception thrown: Collection is empty
Link to source: https://dl.dropboxusercontent.com/u/18...
Pulmonary asked 16/6, 2013 at 2:17
3
Solved
I'm a new comer to Smalltalk, and learned it in Squeak. But I find many things confusing in Smalltalk. In Squeak, MetaClass and MetaClass class are each other's class mutually. If I want to create ...
Morganne asked 18/6, 2013 at 18:38
5
Does an (experimental) class browser exist for Ruby?
I am talking about a class browser/editor combination similar to that of most Smalltalk implementations (i.e. focused on [runtime] classes/obje...
1
Solved
Whenever I set out to learn a language the first thing I do is produce an executable file written in that language (it could be a compiled program or a script) that when run prints 'hello, world' a...
Telegraphone asked 15/6, 2013 at 2:56
3
Solved
I'm just looking for what it is that sets Self apart from Smalltalk.
This isn't supposed to be a Gorilla vs Shark question. I'm not looking for reasons one is better, I'm just confused as to what ...
Adamite asked 6/6, 2013 at 10:18
2
I'm having a hard time understanding the big picture of GemStone for Smalltalk. I am aware of GLASS as an application server using Linux, Seaside and Apache. But I want to know if it is an us...
Otoplasty asked 18/5, 2013 at 5:27
1
Solved
I am trying to get Magma working on Pharo 2.0. i find that there are lots of issues regarding deprecated SystemChangeNotifier etc.I just what to confirm that no one has ever done that.And also i wo...
1
I read often of an "Image Generation" process in Smalltalk. The process seems to refer creating an image from scratch, from inside a Smalltalk.
But there is also a "Strip" process, which seems to ...
Iambus asked 18/5, 2013 at 4:12
2
I've been using Test Driven Development in a Seaside app I've been playing with, and all of my data is stored as objects in the image (as opposed to a database).
So when I run my tests I've had t...
1
Solved
Is there a smalltalk message that will answer with a boolean value if a given method (example: passed with #aMethod) belongs to a given class (or its hierarchy)?
I want to say something like —
(s...
Angelika asked 6/5, 2013 at 11:1
1
Solved
I would like to instrument SUnit tests in Pharo. What is the proper way to change how tests are run?
Example:
I want to introduce a timeout to tests, each test I run should be aborted after a given...
Monthly asked 1/5, 2013 at 9:29
2
Solved
In smalltalk, when we create a object by calling new which calls initialize . I want to initialize but with my own parameters(passed at run time). How can I do that.
e.g. Myobjcet new
but how do...
Bonner asked 23/4, 2013 at 15:40
3
Solved
Pharo 2.0 changed some basic API bits, and I cannot found the new way of doing the following:
FileDirectory default directoryNamed: aFolderString.
FileDirectory on: aFilename.
FileDirectory defau...
1
Solved
I was doing the AthensTutorial , I understand the first step
surface := AthensCairoSurface extent: self extent asIntegerPoint.
and then step 2 is
surface drawDuring: [:canvas |
"First, we cle...
3
Solved
In Pharo, I want to define a Metacello's ConfigurationOfNand2Tetris that has just one package:
ConfigurationOfNand2Tetris>>baseline01: spec
<version: '0.1-baseline'>
spec
for: #com...
1
Solved
I have some code that successfully parses strings to create dates:
date := string asDate
But this assumes US date format mm/dd/yyyy.
I know I can output a date as a string in UK format like th...
3
Solved
In the book Smalltalk Best Practice Patterns from Kent Beck, the double greater sign (>>) is used to define methods like this:
Point class>>x: xNumber y: yNumber
^self new
setX: xNum...
Sacral asked 10/3, 2013 at 11:48
2
Solved
I found affine transformation functionality (rotate, shear, translate, scale) in Athens/Cairo in Pharo Smalltalk.
I am looking for a perspective transformation. Is this possible at all? At least t...
Breeks asked 25/2, 2013 at 10:34
1
I am interested in developing a multiplayer game with Pharo Smalltalk as a server backend, and amber smalltalk + an html5 gaming library for the web client frontend.
Pharo smalltalk has websocket...
5
Solved
What is the best way to print - syntax colored and well formatted - code from Pharo/Squeak on paper?
1) Is there a way to print directly from within Pharo/Squeak? (i use it on macosx)
2) Is there ...
Cape asked 7/7, 2010 at 21:16
1
Solved
Is there a simpler way to parse 1-line comments than this?
comment
^ '//' asParser ,
(#any asParser starLazy: (#newline asParser)) ,
#newline asParser
==> [ :result | nil "Ignore comments" ...
Sesquicentennial asked 12/2, 2013 at 12:40
© 2022 - 2024 — McMap. All rights reserved.