pharo Questions
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
2
Solved
I've built a pharo application that I want to give to my customers. The application is based on seaside and will run headless. For this I don't need the .source and .changes file. I would like to s...
2
Solved
In http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/, an ExpressionGrammar is defined. However, it is right-associative
parser parse: '1 + 2 + 6'. ======> #(1 $+ #(2 $+ 6))
How ...
Stagg asked 28/1, 2013 at 13:33
4
I am a newbie to Smalltalk technology. My experience in programming is with C and C++. I would like to understand the design methodology of smalltalk. Could any one suggest some simple real-time ap...
3
Solved
I have a long list of instance variables to create for a class that I want to generate the code for, rather than do it by hand. The list comes from an existing SQL database. My intention is to do i...
Led asked 9/1, 2013 at 11:15
2
Solved
In languages like Java and C++ we give parameters to constructors.
How do you do this in Pharo Smalltalk?
I want something like
|aColor|
aColor = Color new 'red'.
Or is this bad practice and ...
6
Solved
I'm doing research in Smalltalk reflection, and I was wondering if it was possible to extend an individual object like that would be possible for instance in Ruby. With this I mean a selector that ...
Incuse asked 7/1, 2013 at 12:55
5
Solved
Background
In Smalltalk, if you don't excplicitly return anything then the message passing evaluates to the receiver (or "self" in the message context).
For example, given this method:
MyClass &...
Faveolate asked 27/12, 2012 at 0:15
5
Solved
Background
Something that catches every Smalltalk newbie is that add: does not return "self" but the object being added.
For example, with this code:
myCollection := OrderedCollection new
add:...
Benzofuran asked 27/12, 2012 at 0:24
2
Solved
Is there an easy way to do this in Smalltalk? I'm 80% sure that there is some method but can't find it anywhere.
I know that I can use
(instance class = SomeClass) ifTrue:
And I know that I can...
1
Solved
I was trying to load a package apparently written for an earlier version of Pharo (Ratpack, from http://ss3.gemstone.com/ss/RatPack.html into Pharo 1.4).
There I got deprecation warnings about env...
Muskrat asked 3/12, 2012 at 12:6
2
Solved
Is there a Sinatra-like web-framework for Pharo?
Or can the Zinc-HTTP-components do that more or less out-of-the-box?
Thanks!
Cobb asked 2/12, 2012 at 22:57
3
Solved
I've read recently that git / github support has been added to Monticello.
I have also seen some Smalltalk projects published in github. Like:
https://github.com/timfel/ratpack
My questions:
H...
Iredale asked 3/12, 2012 at 10:39
3
the usual installation descriptions tells me that I need to run Pharo at least three files:
image file
changes file
source file (e.g. PharoV10.sources)
I've run Pharo 2 without the sources file...
1
Solved
I have an application that has it's entire GUI in one Morph. Pharo and Squeak have one window in the host operating system.
Now i want to tie this one Morph to the one Pharo/Squeak window in a way...
Floweret asked 4/10, 2012 at 9:29
5
Is there any Smalltalk parser in Squeak/Pharo which allows me to browse VisualWorks code in Squeak/Pharo ? I'm interested in reading code exported in the chunk format (not in XML).
Clarification: ...
Centesimo asked 27/4, 2011 at 10:52
3
I am trying to send mail with the gmail smtp in pharo with zodiac in CentOS machine. I am receiving the following error.
"SSL/TLS plugin initialization failed. VM missing plugin? "
I had downlo...
2
Solved
I'm looking for additional examples of using PetitParser beyond PPArithmeticParser and PPLambdaParser that are provided in the tests package and a couple of blog posts by Lukas? If anyone's w...
Casie asked 18/4, 2011 at 13:3
2
Solved
In Smalltalk, the system browser is the central tool for pretty much anything. Glamour seems to be a package for building general purpose browsers using a declarative scripting language. From the p...
Rockey asked 30/8, 2012 at 17:43
1
Solved
I have developed a Seaside 3.0 application in Pharo 1.4 and want do deploy it on Linode.
What (small) image do i load my application into for that purpose? And how?
I found Project Pharo Kernel 1...
3
I am looking for someone who knows how to interface Pharo Smalltalk and mySql. I just want to do the basic things like "select * from names" and then read the result into Pharo.
Does anyone know ...
4
Solved
Given an OrderedCollection like this:
noise1
noise2
noise3
signal1
signal1
signal1
signal1
randomButInteresting
noise4
noise5
i want to select to a new OrderedCollection all the objects "signal1...
© 2022 - 2024 — McMap. All rights reserved.