pharo Questions
1
Solved
5
Is it OK to leave the [ and ] out for messages like at:ifAbsent: if you don't need a full block?
In Smalltalk (and specifically Pharo/Squeak) I want to know if it is OK to leave out the "[" and "]" for the argument to messages like at:ifAbsent: if you don't need a block, like this;
^ bookTitl...
Optics asked 1/2, 2014 at 10:38
2
Is there any current data visualization or 2-d plot package for smalltalk (squeak or pharo) platform?
something similar to d3js or processing.org, or maybe sdl support to draw lines/dots on the sc...
0
I am trying to understand the uses of both. Already I have seen stuff on the SmalltalkHub doesn't often build on Squeak but always seems to work with Pharo. What are the advantages now in 201...
2
Solved
While working, I make lots of revisions. Whenever the code is in reasonable shape, I like to commit. But not all of those commits are interesting. So I make these commits to the local disk or a pri...
Bughouse asked 7/1, 2014 at 7:21
5
All the tools that i searched are 2005 or 2006 and so i dont even dare to try those. I understand that morphic is ok , but i am looking for something like Morphic Designer.
http://www.youtube.com/...
2
Solved
Context
As a university project we want to change the the pharo vm to use an object-table and see what happens.
We use a pharo-vm clone from github and VMMaker. Building the VM works fine.
To ge...
Herat asked 21/11, 2013 at 22:48
1
Solved
I have used pragmas in Pharo Smalltalk and have an idea about how they work and have seen examples for what they are used in Pharo.
My questions are:
what are pragmas conceptually,
to what const...
Sgraffito asked 13/11, 2013 at 17:18
2
Solved
I'm putting together a NLP experiment in which concepts are agents in a system designed to engender Emergent properties consisting of new concepts (here's a link for those who don't know what Emerg...
1
Solved
I have no clue how to create lines with Athens. I took a look at Cairo docs but I cant see how Athens is related to Cairo.
http://zetcode.com/gfx/cairo/basicdrawing/
In the above link I cant fin...
1
Solved
I'm new to Pharo and I'm having trouble grasping some concepts, specifically subclassResponsibilty.
I have the following objecttree:
AbstractDictionary
--TreeBasedDictionary (not abstract)
--Abst...
2
Solved
Recently I've been exploring the world of smalltalk dialects and am very impressed (from here on in understand that when I write 'smalltalk' I'm referencing any of the modern smalltalk dialects - s...
Pediform asked 13/10, 2013 at 20:53
8
Solved
I am a Rubyist that is just starting to dabble in Smalltalk and am trying to chose an implementation to experiment with. It seems like Squeak or Pharo would be a good choice, but I'm having trouble...
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?
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...
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
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
1
Solved
Pharo 2.0 was released recently. I downloaded it, and tried running this:
Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfSeaside30';
load.
(Smalltalk at: #Configuration...
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...
© 2022 - 2024 — McMap. All rights reserved.