Tuesday, June 24, 2014

Pharo and GoogleMaps

By accident I found http://smalltalkhub.com/#!/~smaass/GMaps a small project to access google maps from Pharo. Allows you to easily work with Google maps by querying for an address:

|g|
g := GoogleMaps geocode: 'Rue du Bel air, Paris'.
^ g address inspect

or visiting a location in the browser:

|g url|
g := GoogleMaps geocode: 'Rue du Bel air, Paris'.
url := String streamContents: [:s |
 s nextPutAll: 'https://www.google.de/maps/@';
    nextPutAll: g location x asString;
    nextPut: $,;
    nextPutAll: g location y asString;
    nextPutAll: ',16z' 
].
NBWin32Shell shellBrowse: url

Requires NeoJSON, so load this first from configuration browser.

Saturday, June 21, 2014

Geopolitical territory in Pharo

Territory is an application made in Pharo to build geopolitical territory, written by Hernan Morales Durand.

Code is here and a screenshot here.

Tuesday, June 17, 2014

ZnLogEvents

ZnLogEvents is the new logging mechanism of Zinc HTTP Components, the HTTP framework of Pharo. See how easy it is to build a live updating requests per seconds counter for a server.

Read more here or watch the video.

Beacon - logging engine based on Announcements

Tudor provides "Beacon" - a slim logging engine based on announcements following Svens idea about "logging with objects". Read all the details here

Thursday, June 12, 2014

Woden for Pharo

Ronie Salgado is working on OSWindow (support for native Windows) and Woden - a new 3D graphics engine for Pharo. Look at the first results:

Spur progresses

Eliot is moving Spur forward. Read more here and here.

Base62/Base36

Want to encode numbers in short strings in Pharo? Then use these utilities from Norbert. Read more.

Monday, June 09, 2014

Chain for Pharo

Chain is another nice example for the extensibility of the Smalltalk language. It is a simple extension that lets you chain keyword messages without using lots of parentheses.

Thursday, June 05, 2014

Monday, June 02, 2014

Refactoring in Pharo

will soon improve. If you have something to contribute (ideas/code) contact Mark Rizun.

2048 game in Pharo too

Looks like the 2048 game now has a Pharo implementation too. Video is here and pictures here and here.