Category Archives: Unsorted

Memory Profiler

Advertisements

Thermite

Hello,

I am finally releasing an initial public version of Pharo Git Thermite, a tool that I am developing as part of my master thesis for visualizing Monticello and Git commits, for Pharo and Python:

GitHub Page with sources/documentation/issue tracker:
https://github.com/ronsaldo/pharo-git-thermite

Short video examples:
- Monticello Visualization; https://youtu.be/02CUHBmm-K8
- GitHub pull request: https://youtu.be/f196btLfYxM
- Local git commit: https://youtu.be/LCHTiJ4nx3g

Feedback form:
https://docs.google.com/forms/d/e/1FAIpQLSeir6VlE3bR78oRsNAp9eHLkUn2Q016wEliOJN7tFlTmYFi8w/viewform?usp=sf_link

Best regards,
Ronie

Google API

I created a new repo at https://github.com/seandenigris/St-Google-API since the original repo is self-hosted, I don’t know what the contribution policy is, and I need the fix to continue my work. I’ll keep the MC meta info so that my changes can be merged back if desired.

Fun fact. I was able to send a multipart text & html email after a few gotchas. Here is the script in case someone wants to do the same:
| api message raw |
api := GoogleGmailApiUsersMessages new.
api authenticate.
message := MailMessage
from: ‘”Mr. Sender” <me@myurl.com>’
to: { ‘”Mrs. Receiver” <me@anotherurl.com>’. }
about: ‘Thank you!’
asFollows: ”.
message
addAlternativePart: self plainTextString contentType: ‘text/plain’;
addAlternativePart: self htmlString
contentType: ‘text/html’.
raw := message asSendableText base64Encoded.
“Web-safe base64 from https://stackoverflow.com/questions/26663529/invalid-value-for-bytestring-error-when-calling-gmail-send-api-with-base64-encod
raw := raw copyReplaceAll: ‘+’ with: ‘-‘.
raw := raw copyReplaceAll: ‘/’ with: ‘_’.
api send: ‘me@myurl.com’ api options: (Dictionary with: ‘raw’ -> raw)

where #send:options: is just the generated #send: with an argument passed through (instead of nil) as the last argument to:

^ self makeRequestTo: path usingMethod: action with: optionsDict.

[ANN] New Academic Partner: University of Yaoundé 1

The Pharo Consortium is very happy to announce that University of Yaoundé 1 has joined as a Academic Partner.

About
- University of Yaoundé 1: http://www.uy1.uninet.cm
- Pharo Consortium: http://consortium.pharo.org

The goal of the Pharo Consortium is to allow companies and institutions to
support the ongoing development and future of Pharo.

Individuals can support Pharo via the Pharo Association:

http://association.pharo.org

[ANN] New Academic Partner: SQLab

The Pharo Consortium is very happy to announce that SQLab has joined as a Academic Partner.

About
- Software Quality Laboratory, Part of University of Novi Sad: https://sqlab.pmf.uns.ac.rs
- Pharo Consortium: http://consortium.pharo.org

The goal of the Pharo Consortium is to allow companies and institutions to
support the ongoing development and future of Pharo.

Individuals can support Pharo via the Pharo Association:

 http://association.pharo.org

[ANN] New Academic Partner: ENIT

The Pharo Consortium is very happy to announce that ENIT has joined as a Academic Partner.

About
- ENIT Ecole Nationale d'ingénieurs de Tarbes: http://www.enit.fr
- Pharo Consortium: http://consortium.pharo.org

The goal of the Pharo Consortium is to allow companies and institutions to
support the ongoing development and future of Pharo.

Individuals can support Pharo via the Pharo Association:

 http://association.pharo.org

Tiling shortcuts

Hello,

the latest Pharo 7 includes new window tiling shortcuts that should help
you to manage windows position and size without the need of using a mouse.

In this description, the key ⌘ has equivalent in Ctrl on Linux and Windows.
I need to notice that some nicer key combinations would be chosen if the VM
support of key modifiers would be proper on all platforms but that is a
different story…

Windows tiling
————————

⌘+Shift+W, A – move the window to the left half of the screen.
⌘+Shift+W, D – right half
⌘+Shift+W, W – top half
⌘+Shift+W, X – bottom half

⌘+Shift+W, Q – move the window to the top left quadrant of the screen
⌘+Shift+W E – top right quadrant
⌘+Shift+W, Z – bottom left quadrant
⌘+Shift+W, C – bottom right quadrant

⌘+Shift+W, S – maximize the window
⌘+Shift+W, Shift+S – minimize the window

⌘+Shift+W, R – centre the window on the screen with a default extent

Windows moving
————————

⌘+Shift+W, ← – move the window left by half of its width
⌘+Shift+W, → – move the window right by half of its width
⌘+Shift+W, ↑ – move the window up by half of its height
⌘+Shift+W, ↓ – move the window down by half of its height

Windows resizing
————————

⌘+Shift+W, hold ⌘+Shift and press:
A, A – move left window edge left (by half of the window size)
A, S – move left window edge right (by half of the window size)
W, W – move top edge up
W, S – move top edge down
D, D – move right edge right
D, S – move right edge left
X, X – move bottom edge down
X, S – move bottom edge up

Cheers,

— Pavel

PolyMath moved to github

Thank to the terrific work of Cyril, all the PolyMath code is now
available on github: https://github.com/PolyMathOrg/PolyMath

With a lot of magic tricks, Cyril was able to preserve part of the history of the project:
 https://github.com/PolyMathOrg/PolyMath/graphs/contributors

This is nice to all the commits that we have done sine more than 3 years, available as git commits now !

​Thank you again Cyril !

[Ann] PolyMath Release

We are pleased to announce the release of PolyMath 0.101
PolyMath is a numerical computing and data analysis library on top of Pharo.
The code is available here: https://github.com/PolyMathOrg/PolyMath
and can be loaded in a fresh Pharo 6.1 image with:
Metacello new 
  repository: 'http://smalltalkhub.com/mc/PolyMath/PolyMath/main';
  configuration: 'PolyMath';
  version: '0.101';
  load
The current work is mostly focused on cleaning the codebase in order to release the 1.0 version for September 2018. Please help us, by looking at the issues here: https://github.com/PolyMathOrg/PolyMath/issues , joining #polymath channel on Discord or polymath mailing-list: https://groups.google.com/forum/#!forum/polymath-project
Serge Stinckwich