Planet Squeak

blogs about Squeak, Pharo, Croquet and family
planet squeak - planet squeak es - planet squeak jp - planet croquet - planet squeak code - planet smalltalk

July 16, 2018

Torsten Bergmann

Context visualization of Object Factories Video

An interactive visualization of a software execution profiling in Pharo:

 


Artifact and details are available here

by Torsten (noreply@blogger.com) at July 16, 2018 12:44 PM

July 15, 2018

PharoWeekly

Unicode normalisation in Pharo

https://medium.com/concerning-pharo/an-implementation-of-unicode-normalization-7c6719068f43

by Stéphane Ducasse at July 15, 2018 01:58 PM

July 13, 2018

Torsten Bergmann

Towards Machine Learning in Pharo with TensorFlow

TechTalk on using TensorFlow in Pharo easily:



Code Repository is here: https://github.com/PolyMathOrg/libtensorflow-pharo-bindings

by Torsten (noreply@blogger.com) at July 13, 2018 10:29 AM

July 11, 2018

PharoWeekly

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.

by Stéphane Ducasse at July 11, 2018 05:10 PM

[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

by Stéphane Ducasse at July 11, 2018 06:35 AM

July 10, 2018

Torsten Bergmann

KerasWrapper - AI for Pharo

KerasWrapper is a project providing bindings from Pharo to Keras (which is implemented in Python). You can transparently play with the high-level neural networks API and visualize results in Roassal directly.

The github repo is on https://github.com/ObjectProfile/KerasWrapper

by Torsten (noreply@blogger.com) at July 10, 2018 05:22 PM

Improvekit

Found a page on the web and a twitter account from a company in Buenos Aires also doing ST development. From the screenshots they seem to have choosen Squeak as IDE and Morphic for the UI ...



by Torsten (noreply@blogger.com) at July 10, 2018 06:54 AM

PharoWeekly

[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

by Stéphane Ducasse at July 10, 2018 06:34 AM

July 09, 2018

Torsten Bergmann

Pharo TechTalk: Tensorflow

Next TechTalk session is on 12th July 2018 5:00 PM - 7:00 PM (UTC+02:00) - read more.

If you want to participate - join the #techtalk channel on Pharo's Discord server. You can get an invite here.

by Torsten (noreply@blogger.com) at July 09, 2018 10:08 AM

PharoWeekly

[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

by Stéphane Ducasse at July 09, 2018 06:34 AM

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

by Stéphane Ducasse at July 09, 2018 06:25 AM

July 04, 2018

Ecole des Mines

Sense-South Project: IoT for Environmental Surveillance

As a member of the Sense-South project, we are glad to announce that our proposal has been accepted for funding by the IRD. The project targets innovative sensors and IoT telecommunication networks for environmental surveillance in southern countries. The consortium gathers 27 partners from 4 countries (Cameroon, France, Senegal, Vietnam) spread over 3 continents (Africa,… Continue reading

by noury at July 04, 2018 01:31 PM

July 03, 2018

Torsten Bergmann

Pharo ZeroConf

A short video I created to demonstrate the Pharo ZeroConf scripts:


by Torsten (noreply@blogger.com) at July 03, 2018 05:25 PM

June 30, 2018

PharoWeekly

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 !

by Stéphane Ducasse at June 30, 2018 11:20 AM

June 28, 2018

PharoWeekly

[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

by Stéphane Ducasse at June 28, 2018 05:44 AM

June 27, 2018

Pierce Ng

Mobile-First Responsive

I've finally gotten around to building a "mobile-first responsive" version of this website. Still powered by Pharo Smalltalk and Seaside, using Seaside-Bootstrap, wrapping Bootstrap 3, for the responsive HTML templating.

by Pierce Ng at June 27, 2018 07:56 PM

June 25, 2018

Torsten Bergmann

StCAD - now open source

'StCAD' is a basic 3D CAD framework implemented in VisualWorks Smalltalk. It can be used for 3D motion simulation and other. Details on the framework can be found here.
It is now open sourced with MIT license. The author Aik-Siong Koh hopes Pharo users will port it to Pharo. Read the details.

The download is provided as a ZIP.



by Torsten (noreply@blogger.com) at June 25, 2018 10:08 AM

June 22, 2018

PharoWeekly

Dr. Geo release 18.06

We are please to announce the Dr. Geo release 18.06. It follows the 
release 17.07 in July 2017.
A large part of the effort was to port Dr. Geo from the Pharo 3 to Pharo 
7 Smalltalk development environment.
In addition to usual bug fixes several features were added.



*Mini changelog:*
- Dedicated Script browser
- Inspector on Smalltalk Sketch
- Positioning zoom
- Unit tests based on Smalltalk sketch
- Lan share
- Graphic user interface theme
- Fullscreen option
- Lots of bug fixes

Read the complete announcement <http://www.drgeo.eu/news/drgeorelease1806>

Dr. Geo is always looking for volunteers to translate 
<http://www.drgeo.eu/news/weneedyou> its user interface.

Hilaire Fernandes

by Stéphane Ducasse at June 22, 2018 05:09 PM

June 21, 2018

Torsten Bergmann

June release of Web-stack

There is a new June release of Web-stack for Seaside and Pharo

by Torsten (noreply@blogger.com) at June 21, 2018 10:48 AM

Daywork

Another Pharo Succes Story: Daywork

by Torsten (noreply@blogger.com) at June 21, 2018 10:46 AM

Pharo TechTalk Dates second half 2018

You can find the Pharo TechTalk Dates second half 2018 here

by Torsten (noreply@blogger.com) at June 21, 2018 10:45 AM

PharoWeekly

PharoLauncher V1.2

Hi all,

I just released PharoLauncher 1.2. It includes a new windows installer that you can use without administrator privileges as well as binary signing for OS X and Windows. Also, Pharo Launcher is not anymore identified as ‘Pharo’ application and comes with its own icon.

Here is the changelog (details on https://github.com/pharo-project/pharo-launcher/issues <https://github.com/pharo-project/pharo-launcher/issues>):
New features:
	#21 Bless the DMG
	#46 sign pharo launcher app for windows
	#103 No way to rename a local template
	#107 Unable to add a description for the image using the Launcher UI
	#121 You can't see/sort images by last modified date
Improvements:
	#69 Import command should also import pharo-local directory
	#70 Import command should delete origin folder if empty
	#73 Managers of Download of VMs and images should be in their own packages
	#76 Use https instead of http to requests the pharo file server
	#82 Official Distributions loads 32bit versions on 64bit System (i.e. provide better information on templates architecture)
	#86 Sort Existing Images Case-Insensitive
	#98 Copy and subfolders problem (contents no copied)
	#101 Templates from a local image are listed in "downloaded". "local" would be a better name
	#102 Template Cleared at Startup setting is enabled, making it weird when trying to use the template feature
	#106 Import could work if we select the parent folder of an image
	#109 Use latest pre-Spur VM to determine the image version
	#122 The Run without settings icon looks like a funny grey/which blob (missing alpha correction)
Bux fixes:
	#41 #selectedMorphList was sent to nil
	#67 bash is not a command usable under windows
	#68 Does not launch images on Windows
	#85 Double click on an existing image open a file selector
	#88 Pharo Launcher on Windows > Failing
	#104 GUI bug makes Launcher unusable
	#110 Image launch not reliable on Windows
	#119 MessageNotUnderstood exception on launch
	#123 The status bar of the Launcher is broken, so can't easily show image descriptions 


Big thanks to all contributors: code, issues report, comments, advices.
	
You can get platform bundles from pharo download page or files.pharo.org <http://files.pharo.org/>: http://files.pharo.org/pharo-launcher/1.2/ <http://files.pharo.org/pharo-launcher/1.2/>
Regards,
Christophe.

by Stéphane Ducasse at June 21, 2018 07:17 AM

June 20, 2018

PharoWeekly

Web-stack new version: June release

https://medium.com/ba-st/web-stack-june-release-bbfb2674b11

 

RenoirSt 6.0.0

Full changelog and migration notes here.

Willow 10.1.0

Changes since last announcement (v 8.0.2 ):

Full changelog and migration guide: v9.0.0, v10.0.0 and v10.1.0.

Willow Bootstrap 10.1.0

Changes since last announcement (v 8.0.2):

Full changelog and migration guide: v10.0.0 and v10.1.0.

Willow JQueryUI 9.0.0

Changes since last announcement (v 7.1.0):

Full changelog and migration guide here.

Willow SpinKit 6.0.0

Updated dependencies.

Willow Mixpanel 2.0.0

Updated dependencies.

Willow Playground 7.0.0

Changes since last announcement (v 5.0.0):

by Stéphane Ducasse at June 20, 2018 07:02 PM

Torsten Bergmann

Pharo Launcher v1.2 released

An updated Pharo Launcher was released:

https://github.com/pharo-project/pharo-launcher/releases/tag/1.2

You can read the details here.

by Torsten (noreply@blogger.com) at June 20, 2018 06:08 AM

June 18, 2018

PharoWeekly

[Ann] Iceberg V1.1.1

Hi everybody,

This week we have a small patch release of Iceberg, version v1.1.1.
This version will be available in the next Pharo build.

In summary, this release fixes two issues with the new credentials manager,
and introduces a couple of other enhancements/bugfixes.

Below you will find the detailed changes log.
Enjoy,
Guille

Integrate Iceberg 1.1.1
https://pharo.fogbugz.com/f/cases/22168/Integrate-Iceberg-1-1-1

https://github.com/pharo-vcs/iceberg/releases/tag/v1.1.1

#864 <https://github.com/pharo-project/pharo/pull/864> Repairing Missing
repositories lead to wrong source directory
#861 <https://github.com/pharo-project/pharo/pull/861> update tonel to
v1.0.9
#836 <https://github.com/pharo-project/pharo/pull/836> DefaultBackendType
class variable is unused
#862 <https://github.com/pharo-project/pharo/pull/862> Iceberg tests are
not running in Pharo 7
#852 <https://github.com/pharo-project/pharo/pull/852> Make error dialogs
copy-pastable
#858 <https://github.com/pharo-project/pharo/pull/858> IceTipReadOnlyTextMorph
does not allow select and copy anymore
#850 <https://github.com/pharo-project/pharo/pull/850> Change Detached head
status from error to warning if we are on a tag
#853 <https://github.com/pharo-project/pharo/pull/853> Clone dialog
"username" is confusing
#860 <https://github.com/pharo-project/pharo/pull/860> CredentialStore API
#854 <https://github.com/pharo-project/pharo/pull/854> Error in History
window

by Stéphane Ducasse at June 18, 2018 08:40 PM

Collecting sensor data with PharoThings

http://pharo.allexoliveira.com.br/scenario-02/charts.php

On this page you can see the temperature, humidity and pressure data of my room in Inria, in real time (or almost real, 10 min between the data …)

Allex Oliveira

Screen Shot 2018-06-18 at 14.03.53.png

by Stéphane Ducasse at June 18, 2018 12:05 PM

News from PharoThings

The first words of PharoThings on LCD HD44780.

The breadboard is to better organize the components. It’s easier manipulate the wires using it.

In that breadborad, I has 3 sensors (MCP9808, BME280, ADXL345), 2 leds, 2 buttons and 1 LCD. The potentiometer is to control the energy power to LCD.
More volts is more contrast on LCD.
Allex Oliviera

PharoThings_LCD.jpg

by Stéphane Ducasse at June 18, 2018 12:03 PM

June 15, 2018

Torsten Bergmann

GT Documenter for Pharo

GT Documenter - a new GT Tool for Pharo based on Bloc graphic framework

by Torsten (noreply@blogger.com) at June 15, 2018 02:29 PM

PharoWeekly

Daywork: a New Pharo success story

http://pharo.org/success/Daywork

 

 

by Stéphane Ducasse at June 15, 2018 12:58 PM

1500 pull requests closed :)

Hi,

As of today, we closed 1500 pull requests:

https://github.com/pharo-project/pharo/pulls <https://github.com/pharo-project/pharo/pulls>

These of course range from trivialities to merging sub-systems with hundreds of commits…

	Marcus

by Stéphane Ducasse at June 15, 2018 10:45 AM