Returning to Pharo after some time away and it seems the inspector API has
changed a bit. In particular, I can't seem to find the #send: method that
used to allow a list presenter to intercept and modify selected objects
before they were displayed in the next panel of the inspector:
inspectItems:
Hello,
Does anyone know if it is currently possible to capture sound from the
microphone in Pharo? I found this blog post that seemed to suggest that it
wasn't possible in 2020:
https://thepharo.dev/2020/11/17/how-to-play-sound-in-pharo/
Thanks,
Evan
Hello,
I've just released a utility I've been using for the past few years to help
optimize Pharo code. It's a library that makes it easy to check whether an
optimization has improved performance by wrapping the optimization and the
old code in an if block and executing the optimized and
Hello,
Just returning to Pharo after 1000 years and have discovered that Roassal
has upgraded to Roassal3. Trying to update my inspector integrations and
can't seem to figure out how to get popups working. How can I get popups
for the y values in a scatter plot such as the following:
RSChart new
Hello,
I am returning to some work in Pharo after about ~2.5 years and reminding
myself of what I was working on before I got sidetracked. It appears
I had mostly finished for release a dynamic contracts library for run time
type checking based on Racket's contract library.[1] However, it relied
Hi,
I will have a few general interest packages to release in the near future,
for performance testing, contracts, and the like, and I'm wondering what
the current story is for package release. I've heard some things about an
upcoming "Cargo" package manager, so I'm wondering what the timeline on
Hmm, the only things I'm trying to accomplish are 1) use Pharo Launcher and
2) have each new image keep its repositories separate, as advised by others
on the list, so that different images can check out different branches. Does
that set up require custom scripting to adjust the repo path?
The
Is there a way to handle settings that should be different for every image
when using Pharo Launcher?
In particular, Settings > Software Configuraiton > Monticello > Default
Local Repository & Local Cache Directory should be specific to the new
image, but if I ever store settings for any reason,
Try:
Metacello new
githubUser: 'jmari' project: 'JupyterTalk' commitish: 'master' path:
'repository';
baseline: 'JupyterTalk';
load
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Thanks to these replies I found the issue, but I'm not sure how to solve it.
I found the start up script. I have never consciously set it, but I assume
some process in the distant past automatically created it for me. The issue
was that the settings for:
#monticello#cacheDirectory and
I am using Pharo Launcher. Currently, if I create a new image and go to
Settings > Software Configuration > Monticello, I see a "default local
repository" and a "local cache directory" that point to old obsolete paths
from years ago on my machine.
As a result, I'm having trouble using iceberg
I'm using the Pharo 6.1 image with the Pharo Launcher. I have committed
changes to several local github repos through Iceberg. I would like to be
able to clone a new 6.1 image and load all the locally committed packages.
I have "Share repositories between images" checked in both images, and the
Thanks. Command line didn't occur to me. Functional fixedness.
Evan
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
It is also worth mentioning that there is now also the Cons library available
through the Pharo6 catalog browser. Cons is a lazy linked list that can be
used like a normal linked list, but can also be used as an iterator over
streams or infinite-sequence-generating blocks, using the usual Pharo
Hi,
I think it's ok. I had accidentally gotten a 70 alpha version. Workflow
seems fine on 61 and 70 stable versions. I tried to go in again and see what
the error message was on the alpha version, but something else went wrong,
and then I discovered that it had somehow found my actual working
What's the current status of branching? I can create, switch, and commit to
branches, but my attempts to load code from other branches throws errors.
Since branching isn't thoroughly documented in the readme yet afaict, I
just wanted to check whether it was known to be 'under development' and I
Currently, if you add a "composite text" view using gtInspector, the editor
lets you use ctrl+s to save changes to the local inspector.
However, if you intercept ctrl+s to implement an actual save function, as
FileReference does, the text editor no longer knows to remove the
contents-changed
Ok, that works. Thanks. My last question is about adding a development
symbolic version. Can I use my existing BaselineOf class somehow as a
baseline from within my ConfigurationOf ""
method, or should I define a redundant "baseline: spec" method in the
Configuration of the old fashioned way?
Hi,
I have just finished making a BaselineOf and ConfigurationOf for submitting
my github-based project to the Pharo catalog.
If my ConfigurationOf is with my code on github (via Iceberg), what
Metacello command should I run to test that it works correctly before
submitting to the catalog (to
Hi,
Once I have cloned my github repository and committed changes locally, how
do I actually get those changes back to github? I went to synchronize
repository > push > publish all, and it has a loading bar for a few seconds
that says "pushing local commits to origin," but github reflects no
Does anyone know how to change the min/max of the axes? I'm trying to
figure out how to make x and y not start at 0.
data := #(1000 1001 1002).
b := RTGrapher new.
ds := RTData new.
ds points: data.
ds x: [ :c | c ].
ds y: [ :c | c ].
b add: ds.
b minX: 999.
b maxX: 1003.
b minY: 999.
b maxY:
Got it. I didn't realize the code subdirectory wasn't automatically created
by Iceberg if it didn't exist. I deleted the subdirectory name in the repo
config and my code seems to have made it to github. I submitted a pull
request with some clarifications to the iceberg readme.
Thanks,
Evan
--
Hi,
I'm trying to push a local project to github via iceberg. I just pulled the
stable 70 threaded image & vm pair (70+vmT) and tried to follow the
instructions on the iceberg github page, but after successfully cloning the
new empty repo on github (I can see the README), the iceberg browser just
Hello,
I was wondering what the current story was for releasing packages so that
they can be discovered. I'm trying to get into the habit of finishing and
releasing all those 90% complete projects lying around, and so I wanted to
know what the standard process should be for releasing a package of
If I have a gl fast table with #beMultiple enabled, is there a way for me
to select non-contiguous items? Eg
- item 1
- item 2
- item 3
Using shift, I can highlight items 1&2 or 1-3, but not 1&3, excluding 2.
Some listing interfaces in non-pharo applications allow control clicking to
deselect
I've heard mention once or twice on this list and in some release notes of
what sounded like possible coming changes to the stream API. Could anyone
point me to any concrete details about that? I haven't been able to dig
anything up myself by searching. I'm about to write something that I'd like
This looks great. What would it take to get it running on Ubuntu?
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Perfect.
Do you know if these methods are systematically documented anywhere? I feel
like if I understood Glamour better these things might be more obvious, but
I can never manage to infer the gtInspector calls from the Glamour docs.
Thanks.
--
View this message in context:
Gracias, pronto lo reviso.
--
View this message in context:
http://forum.world.st/Best-Practices-for-Bundling-Documentation-tp4958788p4959140.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Ok, thanks.
--
View this message in context:
http://forum.world.st/Best-Practices-for-Bundling-Documentation-tp4958788p4959139.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hello,
I have a gtInspector extension a tree-structured object. By default, when I
click on one of the objects in the gtInspector, the inspector opens up
another inspector on that node (using the finder-style display).
What I would like to know is, is it possible to override the default click
Hello,
The projects are a logic programming and machine learning system
respectively, so they probably warrant more involved tutorial-style
documentation. I will take a look at the Pillar docs, but just to think
ahead a bit, assuming I write up some docs in Pillar, what would be the best
way to
Hello,
I'm working on cleaning up a couple of projects for release, and I was
wondering what the best practices were for including appropriate
documentation with projects. Should I just drop a text blob in a prominent
class comment? Is there a tool for structuring documentation? Is
documentation
Hi,
I've been doing a lot of performance testing lately, and I've found myself
wanting to upgrade my methods from ad hoc use of bench and message tally.
Is there any kind of framework for like, statistically comparing
improvements in performance benchmarks across different versions of code,
or
Hi,
Yes, I am planning to move it to github, which is part of why I didn't get
around to keeping the sth version synced. I have just managed to get iceberg
working, so hopefully I won't have any trouble uploading it.
That said, I am still a little unclear on how to specify dependencies on
other
Hi, just saw this.
Smallkanren is complete and under very active development, I just haven't
put a new version up in a while because I didn't think that anyone was using
it. I'm currently cleaning up a new release and was planning to upload that
in the next few days. It should have full support
Ok, I think this case is closed. Having gotten my code out of the image with
Monticello and manual recompile, I can use versionner for upload if and only
if I do it in Pharo6. Likewise, I can use it for download if and only if I
do it in Pharo6. Pharo5 breaks in strange ways on both ends, even
Hello,
I am trying to get Iceberg working. I have a new Pharo 6 image as of about
5 minutes ago, and I am following the tutorial here:
https://github.com/pharo-vcs/iceberg
I get as far as cloning the repository, but when I enter my github ssh url
and hit "Create repository" I get
Thanks for the replies.
With Juraj's help, I figured out the first layer of my problem. I needed to
recompile all the methods after loading the code with Monticello, because
their bytecode was all messed up. Now I can get code out of the image via
plain Monticello. Tests were failing not because
Hello,
I was wondering if there was a resource somewhere that laid out a best
practice for how to manage version control in Pharo. I know *how* to use
Monticello and Versionner, but something about the way I use them
inevitably dooms my efforts to the darkest circles of dependency hell,
where
Yeah, that sounds right. The debugger needed to be able to step through lines
of code like normal (to debug the logic framework) as well as to step
through search steps (to debug programs written in the framework) defined in
terms of the system semantics (since bugs could be in either program or
I should add that users of the logic framework from non-smalltalk languages
were very impressed by the potential.
Evan
--
View this message in context:
http://forum.world.st/What-is-the-craziest-bug-you-ever-face-tp4937984p4938040.html
Sent from the Pharo Smalltalk Users mailing list archive
I actually have a whole class of bugs and elements of a very Pharo-y
solution.
I do a lot of work in a logic programming framework. Being a logic
programming framework, it does not execute the code you write in a
start-to-finish manner, but executes a few lines here, then jumps around and
Hi,
Depending on what exactly you are doing, you could either use or look at the
source of:
http://smalltalkhub.com/#!/~EvanDonahue/P2P
It is basically a simple API for setting up image-to-image networked
communication. You make a server object, set it running, and then open a
connection from
Hi, thanks for the reply.
FreeType disable/reenable seems to have done the trick. It loaded up my
system fonts, and I was able to select Noto Sans CJK JP, which seems to do
the trick. For reference, this is on Pharo 6 #60334. I also installed this
for text entry:
Hello,
I am trying to get Japanese characters to show up in my Pharo image.
Following some advice I found on google, I have set my font to something
that I think should handle Japanese characters:
defaultFont := LogicalFont familyName: 'Droid Sans Fallback' pointSize: 18.
StandardFonts
Hello,
I wanted to ask if there was a good resource I could use to learn how to
find out about current bugs and submit patches/code/contributions to the
core Pharo classes (or other major Pharo projects). I'd like to be able to
fix the things I encounter, I've just never gotten around to learning
So this isn't a specific out-of-the-box solution to any of the
code-generation use cases people have been discussing, but I thought it was
relevant enough to toss it out there.
I'm currently doing some work on program synthesis using a Pharo port of the
miniKanren logic programming language
Yes, that looks like it. Thanks.
Relatedly, do I correctly infer that tags only organise /within/ packages,
and so cannot be downloaded separately?
Thank you,
Evan
--
View this message in context:
http://forum.world.st/What-should-I-name-my-nested-packages-tp4898193p4898399.html
Sent from
Hello,
Just a quick question as I work on refactoring and cleaning up a project
I've been working on. I notice that packages like Fuel appear in nice,
nested hierarchies in my code browser, with 'Core' nested under 'Fuel' even
though 'Core's package name is actually Fuel-Core. I'm wondering what
Hello,
Other people are probably better qualified to weigh in on the best ways to
manage packages in a Pharo image, but this is what I do:
1) Left click on the "desktop" to bring up the "world menu" and select
"Monticello Browser."
2) Click the "+Repository" button and select "smalltalkhub.com"
Hello,
I know infinite series are mentioned in the numerical methods book, although
I haven't worked with those classes specifically.
http://files.pharo.org/books/numerical-methods/2016-04-NumericalMethods.pdf
You could also use a LazyList, depending on what you were doing, from
Hello,
I added a "MachineLearning" repository to Smalltalkhub a while back, but I
got sidetracked before adding anything beyond a naive KNN classifier, which
was really just to help prototype the testing framework. That said, my plans
involve expanding the library extensively this summer in
Hello,
I got that working, and a bit more besides, and things are starting to look
pretty good. However, I've run into another issue I'm not sure how to
resolve. Recognizing that, as you mentioned, nested builders are something
of a bleeding edge feature, I'm happy to try to contribute code if
Hello,
Many thanks for the reply. This indeed solves part of my problem, and does
what I expect (although in the smalltalkhub / ObjectProfile / development
code, only RTView has #asElement, not RTBuilder). Given this, I think I can
give an example of the real stumbling block I'm facing (although
Hello,
I am working with Roassal and trying to write a cell-layout builder that
uses RTPieBuilders internally as its nested objects. The nesting docs cover
nesting RT elements, but not builders. The composition docs cover composing
builders, but not nesting them. I have a partial solution, but it
Aha, I followed the Quick Start at
https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/QuickStart/0101-QuickStart.html
and didn't notice anything there.
Cheers,
Evan
--
View this message in context:
http://forum.world.st/Roassal2-on-Ubuntu-64-tp4883675p4884245.html
Sent from the
D'oh. Yep, this did it. I think I've been bitten by 32 bits before both on
sound and on file opening. One day I'll learn, and on that day, Pharo will
be 64 bit.
Thanks,
Evan
--
View this message in context:
http://forum.world.st/Roassal2-on-Ubuntu-64-tp4883675p4883840.html
Sent from the Pharo
Hello,
I'm trying to learn Roassal, but I can't seem to get the first
visualization from
https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/QuickStart/0101-QuickStart.html
working on any combination of image and vm. I've tried the vm+40 and vm+50
from get.pharo and the moose 6.0
I saw a post on pharo-dev a little while ago about adding some machine
learning libraries to pharo, and I was just wondering if there have
been any developments on that front. I'm about to do some machine learning
work myself, so it might make sense to coordinate with anyone out there
already
Hello,
Just to follow up on Juraj's reply:
Trantor is a framework for distributed applications. The basic idea is that
you can establish a p2p network between various images, and then build
applications using a set of specialized distributed collections that can be
plugged into the p2p network
Ah, yes, by 'offline' I did mean outside of the mailing list, but that was
purely out of consideration for the list. If the list wants to hear it, far
be it from me to keep it from them.
For my part, I am a graduate student working on my dissertation, and I have
been trying to build tools to
Seems that Pharo is a magnet for this kind of project. I've been writing
one as well and using it to organize my research notes. Does anyone working
on personal info mgmt tools want to talk offline? I expect we're running
into some of the same issues, both conceptual and technical.
Evan
I would be curious to hear more about the various projects mentioned in this
thread. I am working on a constraint logic system that has been used as a
backend for a variety of inference systems in other languages.
Thanks,
Evan
--
View this message in context:
Hello,
I'm trying to get sounds working in Pharo and I seem to be unable to locate
a combination of PharoExtras/Sound and image/vm version that add up to
audible sound.
The best I've done so far is pharo3/sound6.1, which lets me beep, and write
sounds to wav files, but the primitive for playing
That did the trick. Thanks.
Evan
--
View this message in context:
http://forum.world.st/Pharo-Sound-of-Silence-tp4801562p4801633.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
64-bit Arch linux 3.17.6-1-ARCH
I seem to be running pulse-audio with alsa, and I believe I have all the
32-compadibility libraries installed, but my experience with linux sound is
limited. What is Pharo expecting?
Thanks,
Evan
--
View this message in context:
Hmm, so that works when I annotate my test class, but I probably shouldn't be
exporting pragma concerns to my end users. Was your other suggestion about
dealing with the warning itself something I could do, or were you referring
to a change to pharo itself? In case it's relevant, the warning also
Hello,
I'm currently working on an embedding of the miniKanren logic programming
language in Pharo (http://minikanren.org/) and I have run into an issue
with the method compilation internals I was hoping someone could shed some
light on:
miniKanren has an operator, fresh, that basically
Hello,
I am working on building a 64-bit pharo vm to open large files, as per a
previous question to the list. I have gone down a few roads from different
dates and with different basic strategies and met with little success so
far. Could someone recommend the best place to look for the vm build
Hello,
I was just wondering if it was possible to use list/table presentations (or
an analogous presentation) in Glamour to display streams that load on
demand as you page through them (rather than loading all entries into
memory before displaying the first page). If not, does anyone have any
a small file with the same name, the same command successfully
finds the file. I am not sure how large a file must be to cause this issue,
but A 1.5G file works fine.
On Tue, Oct 14, 2014 at 8:17 AM, Nicolai Hess nicolaih...@web.de wrote:
2014-10-14 6:38 GMT+02:00 Evan Donahue emdon...@gmail.com:
Hi
is still valid on recent squeak vm.
http://bugs.squeak.org/view.php?id=7522
2014-10-14 17:43 GMT+02:00 Evan Donahue emdon...@gmail.com:
The OS is Arch Linux.
I can read the file with less.
The problem, insofar as I can trace it, seems to stem from this line in
UnixStore:
Primitives
On Wed, Oct 15, 2014 at 12:49 AM, HernĂ¡n Morales Durand
hernan.mora...@gmail.com wrote:
2014-10-13 21:27 GMT-03:00 Evan Donahue emdon...@gmail.com:
Hello, I've run into some odd behavior and wanted to check whether I
might be missing something:
I have downloaded a copy of the english
Hello, I've run into some odd behavior and wanted to check whether I might
be missing something:
I have downloaded a copy of the english wikipedia as an xml file and am
hoping to (sax) parse it. However, I can't even seem to get pharo to
recognize that the file exists.
If I open FileSystem disk
the outcome is:
'path/to/your/large/file.xml' asFileReference humanReadableSize
?
Cheers,
Doru
On Tue, Oct 14, 2014 at 2:27 AM, Evan Donahue emdon...@gmail.com wrote:
Hello, I've run into some odd behavior and wanted to check whether I
might be missing something:
I have downloaded
Halos! Of course! Thanks, new smalltalker here. Your advice in the other
message proved key. I had set the ConfigurationOf's repo, but didn't realize
I had to manually set the repo for each package on the commit screen. I have
now uploaded and downloaded to a new image and everything works.
Hello,
I am working on figuring out how to upload my first project to
smalltalkhub. I am using Versionner and when I commit, I am presented with
a prompt for Retrieve Slice title with a field for issue number and
title. Since I have no issue tracking for my project that I am aware of,
I am unsure
pharo --version returns 3.9-7 and the image's about pane lists Latest
update: #30848 Is either of those the relevant statistic?
I should also note that I can't seem to find a way to dismiss the issue
tracker window one way or another and ended up killing the vm process.
Probably missing something
Hello,
I am working on getting a project into Monticello, and I am trying to
understand the difference between letting Monticello handle package
dependencies and setting up a metacello configurationOf class. In
particular:
PBE2 describes a technique of adding a MyProject-All package that
80 matches
Mail list logo