Tuesday, March 18, 2014

Phratch and Ubuntu

Phratch is now installable for recent Ubuntu versions. Here is the PPA (Personal package archive)

Pillar Inspector

Nice: Damien experimented with a specialized inspector for inspecting Pillar Wiki Syntax document:


 

Sunday, March 16, 2014

Smalltalk and Seaside usage in Startups

In 2008 there were some interesting news that a Vancouver-based startup using the Seaside Smalltalk web framework, has been bought by Live Current Media for $5 million. The Smalltalk web application "auctomatic.com" they had built was helping sellers with eBay. I also reported about this in my blog.

According to press the founders of the startup John and Patrick Collision becoming overnight millionaires (as you can also read on the wikipedia page of one of them). Here is a screenshot of the application:



Another nice Smalltalk application that was written in Seaside by a startup was dabbledb.com. It was co-developed by Avy Bryant - original creator of Seaside itself. In 2011 the company was acquired by Twitter and Avy worked for Twitter then. The website of dabbledb.com is meanwhile shut down - but there are some nice videos left on youtube showing the application in action:



Why do I tell you this - as it's nothing new that startups grow up and get successful. A big part of this are always the people behind the scenes - but often key to success is also the technology in use that enables them to meet their goals. And it is not a secret that Seaside and Smalltalk are innovation driving technologies.

Meanwhile the brothers Patrick and John Collison co-founded another company called "stripe.com". The company provides an online payment solution that allow developers to accept credit card payments online using an API. Guess who is working with them: Avy Bryant is also part of the stripe.com team.

What I found interesting is that this week I stumbled upon a Twitter post from John Collision, showing Patrick Collission demoing Pharo Smalltalk (and Seaside) to their stripe engineers.

So it looks like again there is a place for Seaside and Smalltalk (here Pharo) in this new startup. I dont know if it is used for prototyping or directly within their technology stack. But I'm sure both will drive their new business forward as they did in the past...







Thelonious

Thelonious is a Tool for automatic fault localization. Currently for Pharo 2.0, read more on the project page.

 

Thursday, March 13, 2014

Home automation using Smalltalk

Smalltalk is used in many scenarios - so there is no surprise that it is also used for home automation.

There is a product known as VASERControl and it is written in VASmalltalk. Joachim knows more - read in his blog post here.

If you need some visual impressions look a these videos.


Merchant - credit card processing library

Merchant - not really new, but might be useful.

Wednesday, March 12, 2014

Smalltalk application in chemoinformatics

Found on twitter: Smalltalk application in chemoinformatics - RMapViewer visualizes reaction paths among isomers. Watch the videos here.

The Hitchhiker's Guide to ...

Cool - "Hitchhiker's Guide to the Galaxy" is being streamed by the BBC, one episode each week!

Tuesday, March 11, 2014

BabyMock 2 for Pharo 3.0

Also the 2.0 version of BabyMock version is out as of today. You can load it from the config browser in Pharo 3.0. Read more about the changes here.


CodeCity

The first version of the brand new CodeCity is out.

CodeCity is a 3D visualization engineased on a city metaphor, which enables us to depict software systems as cities - but it can also be used as a general visualization engine for any other kind of data.

Click on one of the below images to see some samples or try out yourself.


RenoirSt 1.0.0 Release for Pharo 3.0

RenoirSt - a DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk is now ready in version 1.0.0 and can be loaded from the config browser in Pharo 3.0.

Read the announcement, the documentation, visit the project page.

Dynamic exploration of a Postgres database

...  with the GTInspector in Pharo. Read more.

Friday, March 07, 2014

HighchartsSt for Seaside

Want to do charting using Seaside? Then have a look at HighchartsSt - a Highcharts Js API wrapper for Pharo Smalltalk. Although it is still in the early steps of development, it already includes some examples that give an idea on how to use it.

Nice!

Mobile Smalltalk options

Maybe you already know about
All these are options for building Smalltalk apps running on a mobile device (like the nice geometry app called "DrGeo" from Hilaire Fernandes or Phratch for Android). Still these environments do not yet offer a deep integration into the mobile world and even commercial ST vendors do not yet offer an easy possibility to run ST code on mobiles.

Now David Buck is trying to fill this gap and is working on another Smalltalk VM for Android. Very interesting and I hope he makes good progress so that nice Android/iPhone apps built in Smalltalk will appear soon in appstores.

Read more about it here about it or listen to James podcast.

Tuesday, March 04, 2014

Renoir.St

Renois.St - a DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk. Visit the project website and try out in Pharo 3.

Sunday, March 02, 2014

Controlling EV3 robots using Phratch

This is a short video about Lego EV3 Mindstorm robots being controlled by Phratch using the Jetstorm EV3 bridge


Phratch - OneClick available

Phratch is a Scratch (http://scratch.mit.edu) port on Pharo. It is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and more as software programming.

Now there is a one click distribution available to run it on Mac, Linux and Windows.

NativeBoost binding for SQLite3

SQLite3 is a nice small relational database. For the open source Smalltalks like Squeak and Pharo there is a long history in accessing it:

 - if I remember correctly an initial wrapper for SQLite 2 came from Avi Bryant
 - then a first cut on an FFI wrapper for SQLite3 was created by Claes-Fredrik Mannby
 - I cleaned it up a little bit then and moved it to Metacello, it was on Squeaksource
 -later I moved it to STHub and it is still usable in Pharo 3.0

Still all this was based on the usual FFI interface. FFI is still working but Pharo meanwhile has NativeBoost which allows to do external bindings.

Now Pierce Ng took action and created a NativeBoost binding for SQLite3. The project is called NBSQLite3. He blogged about it and you could load the code from ss3.

DBPedia: Query Wikipedia from Pharo

You can query the english Wikipedia dataset from Pharo 3 using SPARQL. Read more.

Friday, February 28, 2014

Spec docu page

Announced by accident as it is not yet fully ready - but nonetheless I already share it since it is really a nice docu page for the Spec UI framework.

http://spec.st

Thursday, February 27, 2014

Pillar inspector

Following my last post on Pillar you should also watch this video:


Pharo 3.0 on Ubuntu 13.10

Bored from Ubuntu 13.10 - then spice it up with some Smalltalk.

 

Sparklines in Pharo

Alexandre is experimenting with Sparklines in Pharo. Read more.

Note that the code requires a Moose image built on Pharo as this already have the correct fonts.

If you want to use it in the standard Pharo image without Moose you have to go to World menu, select "System" -> "Settings" to open the settings browser. Now go to Appearance and Freetype, disable and reenable it so platform fonts get loaded. Then for the standard fonts select some "Source Code Pro" or "Source Sans Pro" like font and apply it as the font to use.


Tuesday, February 25, 2014

Saturday, February 22, 2014

The Path Tools Framework

Michael Perscheid from HPI announced the Path Tools Framework which is provided in Squeak.

 "The Path Tools Framework comprises several development tools for supporting typical software maintenance tasks such as debugging, testing, and program comprehension."

You should read the provided descriptions or watch the screencasts. Really interesting

Thursday, February 20, 2014

FileTree and Cypress support in upcoming Pharo 3.0

One of the interesting additions in soon to be released Pharo 3.0 is the out of the box support for FileTree repositories in Monticello. With this you can easily store your source code also in the file system and use external versioning systems if you like.

A short example:

Create a new package "MyPackage" and add a new class:

Object subclass: #Foo
instanceVariableNames: ''
classVariableNames: ''
category: 'MyPackage'

In the Monticello Browser (after adding the package) click on "+Repository" to add a new repository and select "filetree://" to the package. The system will come up with a file dialog to query for a folder to use.

Now save your package and you will see that a subfolder "MyPackage.package" is created. It will also include files with the source code. Now yoou can use any external versioning system if you like.

Regarding the file format: the Cypress project is used here - a cross Smalltalk dialect, disk-based package import/export format. More infos can be found on https://github.com/CampSmalltalk/Cypress

With this right built in it should also be much easier to exchange code between other Smalltalk Systems and Pharo.

Wednesday, February 19, 2014

Amber Smalltalk in use

This game is written in Amber Smalltalk. And this app too.

Nice!

Smalltalk reddit

There is a subreddit dedicated to Smalltalk links http://www.reddit.com/r/smalltalk

Pillar - markup syntax and tools for documentation and books

Pillar is a markup syntax and and a project with associated tools to write and generate documentation and books. It is written in Pharo and covered with many unit tests.

Basically it is the wiki syntax part from Pier extracted into an own project (so it can be used independent from Pier CMS).

But it also adds many new features like exporting into HTML, LaTeX and markdown. You can use the Mustache templating engine, configure numbering of sections, customize the export, syntax highlight code blocks, ...

If you already use the soon to be released Pharo 3.0 you can just load it from the config browser easily and try out.

While it is nice that you can use this from within your Smalltalk environment and access it from your projects code the idea is to not only use it from within the development image.

The package contains command line handlers to run it from a shell and Damien also prepares installable packages to make it run on platforms like Ubuntu. This should increase the end user experience for people who just want to use it for writing documentation or books without ever touching the implementation itself.

If you want to knnow more you should really read the excellent documentation and also check out the new cheatsheet summarizing the easy to learn syntax.




Yesplan - event planning using Pharo and Seaside

Yesplan.be - an interesting web based event planning software which is written in Pharo and Seaside shares some more numbers:

"4012 automated tests, unit- and webui tests, running time 3h. Building every day and counting…"

Nice - especially if you watch one of the videos of the app:

 

Pharo on Raspberry Pi

Pharo VM compiles for Raspbian and now Pharo runs totally on Raspberry Pi.

Tuesday, February 18, 2014

Application menus in Spec

Spec now provides the possibility for application menus (a menu toolbar).

Willow - Web Interaction Library

Willow is a Web Interaction Library that (according to its description) eases the burden of creating responsive web applications. Code is on STHub. Read about it here or watch the following video.

Smagick - Smalltalk access to ImageMagick

ImageMagick is an open source software suite for displaying, converting, and editing raster image files. If you want to access it from Squeak or Pharo try this project.

Wednesday, February 12, 2014

Women in Tech: Smalltalk to Apex == Writing Less Code

Nice article.

Intro to Adaptive recompilation for CogVM

Clement Bera will work with Eliot on the CogVM. First he wants to start with Adaptive recompilation which is described here.

Spec UI Docu updated

If you want to build user interfaces using the new Spec framework then you should read
this updated docu:

https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/Spec/Spec.pier.html

detectIndex: Method

The #detectIndex: method is inconspicuous but something to remember when working with collections:

#( 11 7 4 21 ) detectIndex: #even  


#( 11 7 4 21 ) detectIndex: [:el | el < 5]

There is also a #detectIndex:ifNone: variant:

#( 1 3 5 7 ) detectIndex: #even ifNone: [ self error: 'no even number found' ]

Nice!

Tuesday, February 11, 2014

Versioner in Pharo 3.0

Pharo 3.0 is prepared for final release these days. One of the latest updates included a small tool called "Versioner". It had to be loaded separatly but now found its way into the standard image.

This tool allows you to help versioning your packages with Metacello configurations and should help you dealing with versioning all your ConfigurationOfXXX classes.

Christophe has written a short docu on the tool. Nice!

Thursday, February 06, 2014

Spur Summary

Nice summary on what speedups the Spur memory manager will bring for Newspeak, Pharo and Squeak.
Go Eliot, go!!!

Wednesday, February 05, 2014

Object centric Re-Packaging

Sean DeNigris is playing with Self like UI styles in Pharo - using object centric direct manipulation.


 

Pharo: Objects at your Fingertips

New video from Marcus Denkers talk at Universitat Politècnica de Catalunya on Oct 30:


 

EventRecorder in Pharo

There is a new video from Sean DeNigris about using the Pharo event recorder:


Tuesday, February 04, 2014

Monday, February 03, 2014

Bootstrapping Pharo images

There is not only work going on in the Pharo community regarding the new upcoming release 3.0. There is also a lot of work done to find a clean bootstrap process for images which will (starting from minimal images) allow for better builds. Read more.

Wednesday, January 29, 2014

Next Pharo Success Story: Reflex Vacances

Yet another success story using Pharo, the open source Smalltalk. It was done by ObjectFusion for Reflex Vacances which is a website to rent holiday homes all over France.

The website lists 2000+ houses, and it runs 100% in Pharo + Iliad + MongoDB.

Monday, January 13, 2014

Amber keyboard UI for Helios

Amber Smalltalk can now be used much better using a keyboard using the improved UI of the Helios IDE. Read more.

Sunday, January 12, 2014

The return of the EventRecorderMorph

Sean ported the EventRecorderMorph (maybe known from Squeak) to Pharo. It allows for recording and playing back of user interactions. Here is a short video and project lives on SmalltalkHub.

Thursday, January 09, 2014

Pharo 3 is green, beta and very usable

Pharo 3.0 build is now green, with 34134 (together) tests for the 3 architectures (Win, Mac, Linux).
This is really impressive and the new 3.0 version is now also beta (since mid december 2013).

Even when it is not yet a final release please port your own projects already and make your configs available in

   http://smalltalkhub.com/#!/~Pharo/MetaRepoForPharo30

so they will appear in the Pharo 3.0 config browser and will be ready when Pharo 3.0 will be released. It is already very stable and usable.

The config browser already includes many cool projects like


There is also a windows installer in preparation, try it and give feedback on the mailinglist.

I'm sure the Pharo 3.0 release in 2014 will be again a major step forward!


Tuesday, January 07, 2014

Spoon on Raspberry Pi

Spoon - the minimal Smalltalk object system from Craig is now also running on Raspberry Pi.

PharoCandle

PharoCandle is a minimal Pharo distribution, currently for research purposes. It is bootstrapped as described in the paper: "Bootstrapping Reflective Systems: The case of Pharo"

PharoCandle contains only 49 classes. Those 49 classes define a whole Pharo kernel including classes such as PCString, PCObject, PCClass or PCSmallInteger. Additionally, it contains a minimal Collection library. PharoCandle classes are prefixed with 'PC' only for documentation purposes, but the prefix is not necessary for the bootstrap.


Ralph Johnson, Joe Armstrong on the State of OOP

Nice interview.

Sunday, December 29, 2013

Thursday, December 26, 2013

PNtalk 2.0

PNtalk 2.0 is a modelling and simulation framework for Petri nets based on Pharo. Read more.

Tuesday, December 24, 2013

PunQLite - a new NoSQL wrapper for Pharo

I already reported about PunQLite, a binding for the NoSQL database UnQLite - but now it has become a full-fledged wrapper. Read more.

Sunday, December 22, 2013

SqueakJS - SqueakVM on JavaScript

Bert announced SqueakJS, a new Squeak VM that runs on Javascript. Really cool!
Read more here.

It is able to run the mini.image already - try the demo. Thanks Santa!

Saturday, December 21, 2013

Gravel Smalltalk for JVM

Yet another Smalltalk for the JVM I first thought - but this time a real surprise since it not only aims to be a fully ANSI compliant Smalltalk implementation but is also heading towards modern language enhancements like optional typing, namespaces and traits.

It is called "Gravel Smalltalk" and is announced as a modern Smalltalk implementation for the JVM. It is using the ability on JVM to do #invokedynamic based on the JSR 292, similar to RTalk from Mark Roos that I already reported about.

But while RTalk is not open source and available to the community the new Gravel Smalltalk is already available and licensed under the very liberal Apache-2.0 License. I also do not know how it compares to Readline Smalltalk which is also running on the JVM.

The feature list of Gravel Smalltalk sounds promising:

 - Traits
 - Optional typing
 - Patching compiler
 - Full block closures
 - Resumable exceptions
 - Namespaces
 - Mirror based reflection facilities

Since I have all Java tools installed (JDK7, Eclipse, Maven, ...) it looks like I should clone the github repo with the code, fire up maven commandline and give Gravel Smalltalk a try this weekend.

Wednesday, December 18, 2013

Lego MindStorms and Pharo

The new Ev3 series from LegoMindstorms allows to plug a Wifi key and connect via TCP.

So with this equipment and the new JetStorm project you can control your robot with Pharo.

Read more


Phratch 1.0beta

Phratch, the port of Scratch in Pharo has a new release.
Read more.


Monday, December 16, 2013

Objective-Smalltalk

Objective-Smalltalk is an programming language dervied from Objective-C. Website lives on

http://objective.st

It is an experimental project from Marcel Weiher. Code is on github - I havent found any info on the license.


Sunday, December 15, 2013

Private Methods in Pharo

The nice thing on Smalltalk is that it is extensible without having to ask a language vendor.
Using this Camille Teruel created a small proof-of concept for adding private methods to Pharo.

Load the project "PrivateMethods" into your Pharo image. I tried with  Pharo3.0 Latest update: #30639.

Now create a new class

Object subclass: #Bar
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Foo'


Then implement a method that you mark as private using the pragma <private>

foo
<private>

^42

If you try to evaluate 

  Bar new foo

you will get the usual "Message not understood" as it is private.

But nonetheless you can call it from other private or public methods. Just implement a Bar>>bar method:

     bar
        "Call the private method"
^self foo

and evaluate

     Bar new bar

to get the answer to life, universe and everything ...

To make sure it is really private (instead of protected) just implement a subclass and call it from a subclass method. You will see it works.

Tuesday, December 10, 2013

Sunday, December 08, 2013

Pharocloud

Former "rackincloud.com" is now Pharocloud with new icon and new design.
Look at:  http://pharocloud.com/

Friday, December 06, 2013

Petit parsers

With the Petit parser for Smalltalk it is very easy to build parsers. There is an SQL parser, a Java parser, PHP parser, ... and a Delphi parser, one for the GraphViz dot language, and many more.

Premade images are available on the Moose CI. Nice!

Thursday, December 05, 2013

Wednesday, December 04, 2013

Roassal 3D

The Roassal visualization engine now officially has a new member: Roassal 3D. Roassal 3d is about creating and animating 3d scenes. It is meant to visualize data. Roassal 3d recently got textures, translucence, additional layouts and various light models. It should work on Pharo 3.0, under MacOSX, Linux and Windows. Read the offical announcement. There is also some initial documentation available.

Tuesday, November 26, 2013

SmalltalkHub update

SmalltalkHub got an update and is now much faster. Read more.

Roassal visualisation engine on top of Amber

The Roassal visualisation engine (which is developed in Pharo) is also ported to Amber (the Smalltalk on top of JavaScript running in a webbrowser). You can already test Roassal on top of Amber in your browser: http://pestefo.github.io/roamber Just edit the examples in the workspace, execute (select all and click on do-it) it and see how the visualisation changes.

Cocotte

Mmmh .... a new page about "Cocotte" defined as Smalltalk + Javascript. Based on Amber and Node.js Not much information yet - lets see when there will be an official announcement