pharo-open-documentation / pharo-wiki Goto Github PK
View Code? Open in Web Editor NEWWiki related to the Pharo programming language and environment.
Home Page: https://twitter.com/PharoOpen
License: Creative Commons Attribution 4.0 International
Wiki related to the Pharo programming language and environment.
Home Page: https://twitter.com/PharoOpen
License: Creative Commons Attribution 4.0 International
This will be a meta guide
Like pages for JSON and XML
Hello,
I would like to add a small guide about DataFrame.
Where should I put it?
I don't think it fits into External projects > Data exchange
.
Perhaps External projects > Data structures
?
The baseline management guide is cool but we should have a more high level guide around project management.
A guide we could send to this discussion: http://forum.world.st/What-is-the-actual-way-of-managing-code-in-Pharo-td5089943.html
Could be great to add a guide on Pharo convensions.
On this page, it's sometimes "Dynamic variables" and sometime "dynamic variables".
Which one should it be?
Explain how one can define and load dependencies and Metacello like Maven (for dependency management without external repositories) using just baseline:
and load
.
Metacello new
baseline: #TinyBlog;
load.
https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md
Version | FT full | FT less | Tonel |
---|---|---|---|
3 | V | With Metacello update? | X |
4 | V | V | With Metacello update + Tonel install |
5 | V | V | With Metacello update + Tonel install |
6.0 | V | V | With Metacello update + Tonel install |
6.1 | V | V | V |
7 | V | V | V |
8 | V | V | V |
We should add links to the Deep into pharo metacello chapter and to Metacello documentation.
They are not necessarily complete but they go deeper into some subjects.
Smalltalk ui icons inspect
Explain some methods to share Smalltalk code.
It seems a cool project.
But I'll need help because I do not now anything about it yet ;D
Based on the comments on reddit for the 7.0 release, I think it would be good to have a "How to get started" documentation that's up to date and really simple. I had a look at Pharo by Example and it's pretty out of date (Pharo Launcher is very different now). It would be nice to have:
It is currently missing the part on VM profiling.
1 directory per theme ?
Will require to update links in README.md
This page should go in Pharo Projects I guess
Profiling a program is the act of measuring, for example, the time or space it takes to execute.
If SimpleGridExample new open
is the program you want to profile, run:
TimeProfiler spyOn: [ SimpleGridExample new open ]
Result: a breakdown of the methods in which the program spent time.
If SimpleGridExample new open
is the program you want to profile, inspect:
[ SimpleGridExample new open ] bench.
Result: the number of times the profiler was able to run the program per second.
You can access a UI for the time profiler tool via the menu.
Result: type your code in the top box and click "Profile it".
Imagine you want to know how much instances of the classes Point and TextMorph there are in the system, and how much space they occupy. Inspect:
((SpaceTally new spaceTally: (Array with: TextMorph with: Point))
asSortedCollection: [:a :b | a spaceForInstances > b spaceForInstances])
From Philippe Back.
WorldState MinCycleLapse: 5 or 16 makes the UI more responsive.
#streamContents:
#do:separatedBy:
#joinUsing:
and #join:
#splitOn:
and #split:
#format:
Master branch should only have finished and reviewed pages
We need a Manifest file that clearly explains what this repository is and what it isn't.
Is it a wiki?
Is it documentation?
Is it a place for tutorials?
Good practices?
Personal advices?
Should it copy existing books, booklets, docs?
How do we reference them?
<script>
and <script: '1 inspect'>
<example>
others?
Hi Dario,
if you look at the end of the PharoDebug.log you will see:
Most recent primitives
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
.......
......
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
So you have a recursive doesNotUnderstand: error and the system is running
out of memory. The questions are where and why? You can try and debug
this further by running the VM with --trace=259, e.g.
pharo-vm/pharo --trace=259 my image.image
This will produce lots of output, eventually ending in an endless stream of
doesNotUnderstand:'s. So capture the first few megabytes of output (see
e.g. head(1) ($ man head))
FYI
"traceFlags is a set of flags.
1 => print trace (if something below is selected)
2 => trace sends
4 => trace block activations
8 => trace interpreter primitives
16 => trace events (context switches, GCs, etc)
32 => trace stack overflow
64 => send breakpoint on implicit receiver (Newspeak VM only)
128 => check stack depth on send (simulation only)
256 => trace linked sends "
Alternatively you could use a debugger such as gdb and I can tell you how
to put a breakpoint on doesNotUnderstand:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.