Planet Squeak

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

June 18, 2013

Torsten Bergmann

Cade - graphics framework for Pharo

There is Cade - a graphics framework for Pharo using Athens. Here is the link including a demo video.

by Torsten (noreply@blogger.com) at June 18, 2013 11:01 PM

Balloon stickers

In need of some Smalltalk marketing - then get some stickers.

by Torsten (noreply@blogger.com) at June 18, 2013 11:54 AM

Benchmarking with SMark

Read more here.

by Torsten (noreply@blogger.com) at June 18, 2013 11:47 AM

Pharo News Blog

Benchmarking with SMark in Pharo

A small ad-hoc tutorial for the RMoD team at INRIA Lille.
I explain the very basics of benchmarking using the SMark framework.
Pointers:
- http://smalltalkhub.com/#!/~StefanMarr/SMark
- http://ci.inria.fr/pharo-contribution/job/SMark

by board (board@pharo-project.org) at June 18, 2013 08:31 AM

Torsten Bergmann

Presenty

Presenty is a user interface framework for Pharo based on MVP (Model view presenter). Read more about it on Denis blog. Code is on SmalltalkHub.

by Torsten (noreply@blogger.com) at June 18, 2013 06:42 AM

June 17, 2013

Pharo News Blog

Log4s - A Logging Framework for Smalltalk

Log4s is a Smalltalk logging framework based on the popular Java log4j framework. This presentation will describe the concepts behind log4s and demonstrate the logging flexibility of the framework.

Log4s is available on SS3: http://ss3.gemstone.com/ss/Log4s.html

by board (board@pharo-project.org) at June 17, 2013 11:17 AM

June 16, 2013

Torsten Bergmann

STIC 13 - VA Smalltalk Roadmap

First video recorded by James from this months "STIC 13" conference, Wigwam resort, Phoenix Arizona (June 9-12). Expect more to come in the next days ...

by Torsten (noreply@blogger.com) at June 16, 2013 08:27 PM

Barcodes in Smalltalk

Didnt know Barcodes are so easy to implement in Smalltalk. So I started with EAN13 barcode together with unit tests.

Project lives on: http://smalltalkhub.com/#!/~TorstenBergmann/Barcode

You can also load it using the config browser in Pharo 2.0 now. It is already usable - thanks to the power of Pharo.

Short Guide:

 To instantiate: BarcodeEAN13 value: '2109876543210'
You can get the binarySequence of a barcode:

(BarcodeEAN13 value: '2109876543210') binarySequence


calcuate the checksum (last digit):

 (BarcodeEAN13 value: '2109876543210') computeChecksum


 or visualize the barcode:

  BarcodeEAN13 example asForm asMorph openInWorld


 or to write to a file:

   PNGReadWriter putForm: BarcodeEAN13 example asForm onFileNamed: 'sample.png'


  Now includes EAN8 as well

by Torsten (noreply@blogger.com) at June 16, 2013 08:26 PM

Pharo News Blog

Voyage: The adventure of persisting object models

Voyage is a small persistence framework, purely object oriented, intended to present a common API to most common development usages. It is just a small layer between your objects and the persistent mechanism. This layer provides some useful vocabulary for your objects.

read more...

by board (board@pharo-project.org) at June 16, 2013 04:13 PM

June 14, 2013

The Weekly Squeak

Otomatic (Squeak/ Smalltalk): more example of ensemble enabled version (2011)

by Satoshi Nishihara


by Ron Teitelbaum at June 14, 2013 04:07 PM

Torsten Bergmann

Units in Smalltalk

I uploaded a "ConfigurationOfUnits" to the MetaRepoForPharo20. With this the "Units" framework is easily loadable from the Pharo 2.0 config browser.

Here are some examples from the Unit framework:

(10km + 10km) gives you 20km

You can also convert easily

  (10km + 24m) as: 1m

gives you  10024 metres.

It is also simple to compare:

  1hour < 10 seconds

which gives you false.

by Torsten (noreply@blogger.com) at June 14, 2013 08:42 AM

Otomatic

Playing with sounds in Squeak Smalltalk.

by Torsten (noreply@blogger.com) at June 14, 2013 06:51 AM

June 13, 2013

Torsten Bergmann

Log4s for Pharo

Log4s - a logging framework for Smalltalk was open sourced with MIT license by Instantiations. It runs on Pharo 2.0.

Some details about it can be found in this presentation.

by Torsten (noreply@blogger.com) at June 13, 2013 06:44 AM

Pharo News Blog

A New Platform For Business Application Development

"Anybody who has been involved in developing a business application, has already exhausted the long list of frameworks/libraries in JVM, .NET and Python platforms searching for something that reduces the costs while increases the development speed. However it's almost proved to me that one should seek the answer in less explored/popular platforms. Let's meet Pharo!"

Read more...

by board (board@pharo-project.org) at June 13, 2013 05:56 AM

June 12, 2013

Torsten Bergmann

libsodium Binding for Pharo and Squeak

libsodium ( a portable shared-library version of the NaCl cryptography library) can now be used from Pharo and Squeak. Read more.

by Torsten (noreply@blogger.com) at June 12, 2013 02:02 PM

Magritte for Morphic

Magritte is a framework allowing you to easily build seaside apps by adding meta informations to domain classes that can be used to easily build the UI.

Now there is also support for Morphic available. Just watch the video.

by Torsten (noreply@blogger.com) at June 12, 2013 07:17 AM

Pharo News Blog

Magritte for Morphic (alpha)

Sean DeNigris is working on Magritte for Morphic:

"Tired of writing the same UI boilerplate over and over? I mean, basically an object has fields, which have certain properties relevant to the UI. If we could just capture that info once in the right place, a basic UI should almost fall out on its own. Magritte could be the answers to our lazy utopian dreams. The thing is that the Morphic implementation as fallen behind what can be done in Seaside... until now. I took a first pass at bringing Morphic up to date here. It doesn't seem like it will be too hard to have reasonably useful functionality.

Here's a short screencast showing the improvements:

Magritte is an awesome framework to automate common UI tasks. Describe your object's field once, get views everywhere. Everywhere most commonly refers to both the web, via Seaside, and desktop via Morphic. But the Morphic implementation had fallen behind due to disuse. Now, some steps have been taken to bring the Morphic functionality up to date with that of Seaside."

by board (board@pharo-project.org) at June 12, 2013 06:35 AM

Tony Garnock-Jones

NaCl/libsodium binding for Pharo and Squeak

I've just written Pharo/Squeak bindings to libsodium, which is a portable shared-library version of the NaCl cryptography library. A good description of the motivation of the library is this PDF.

Installing the software

To use the bindings, you will need to install the Monticello package Crypto-Nacl from http://smalltalkhub.com/mc/tonyg/Crypto-Nacl/main. The bindings depend on the FFI, so that must be installed.

From within Squeak:

(Installer repository: 'http://source.squeak.org/FFI')
   install: 'FFI-Pools';
   install: 'FFI-Kernel';
   install: 'FFI-Tests'.

(Installer repository: 'http://smalltalkhub.com/mc/tonyg/Crypto-Nacl/main')
   install: 'Crypto-Nacl'.

Most importantly, you will need a version of libsodium for your Smalltalk VM. Because most Squeak/Pharo VMs are 32-bit, you will need to get hold of a 32-bit libsodium. I've prebuilt some:

Compiling your own libsodium (optional)

Compiling libsodium to work with Squeak/Pharo can be tricky:

Running the tests

On the Smalltalk side, once you've loaded the .mcz, open a Test Runner and select the Crypto-Nacl tests. With Crypto-Nacl-tonyg.4, there should be 12 tests, and they should all pass if the shared library can be found in the right place.

You can also try it out in a Workspace: a printIt of Nacl sodiumVersionString will yield '0.3' or '0.4.1', depending on which version of libsodium you have.

Enjoy!

by tonyg at June 12, 2013 12:15 AM

June 11, 2013

Torsten Bergmann

Tab widget

Benjamin implemented a better Tab widet for Pharo. Code is on SmalltalkHub and it was today integrated into Pharo 3.0.

Nice!

 

by Torsten (noreply@blogger.com) at June 11, 2013 02:23 PM

June 10, 2013

Torsten Bergmann

Circular Menues

Pharo will soon support circular menues. Here is a video demonstrating this feature.

by Torsten (noreply@blogger.com) at June 10, 2013 03:27 AM

June 07, 2013

Torsten Bergmann

Web with Pharo Conference 6 June 2013 @ Lille

The program from yesterdays Pharo web conference is already on twitter:


Lets see when the first videos appear on the web.

by Torsten (noreply@blogger.com) at June 07, 2013 07:05 AM

June 06, 2013

Pharo News Blog

Web with Pharo Conference 6 June 2013 @ Lille

Today there is an afternoon of talks and demos around the web and Pharo at Euratechnologies, Lille.

https://www.inria.fr/centre/lille/agenda/web-3.0-avec-pharo

Great speakers (J. Brichau from Yesplan, N. Petton from Amber and objectfusion, N Hartl from 2Denker,...) will present their business and products as well as some of the technology they use.

by board (board@pharo-project.org) at June 06, 2013 08:16 AM

Torsten Bergmann

Tektronix Smalltalk Document Archive

This page contains annotated links to primary documents related to the development of Smalltalk products at  Tektronix in the 1980′s. 

by Torsten (noreply@blogger.com) at June 06, 2013 07:48 AM

Amber Smalltalk on the iPhone

Sebastian Sastre is playing with Amber - so here is Amber Smalltalk running on the iPhone. Click the image to enlarge.

by Torsten (noreply@blogger.com) at June 06, 2013 07:30 AM

The Power of Clean Code

Pharo gets better and better - Sean DeNigris demonstrates this with a short video.

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

June 05, 2013

Squeak Oversight Board

6/3/2013 — Meeting Minutes

Squeak board minutes 3 June 2013

present: Bert Freudenberg, Eliot Miranda, Chris Muller, Colin Putney, Tim Rowledge

- We had a discussion about the Swiki.  We would like to have a rich and useful wiki for the community, but there is no way around having to do some work to achieve that.  Thankfully there appear to be some easy opportunities for cleaning.  A plan was discussed:

   1) get access to the swiki image so the code and features can be improved.

   2) is the Swiki software installable and testable on 4.5?

   3) some easy cleanups seem obvious:  remove empty & clearly obsolete pages.

   4) develop guidelines about what content is needed.

   5) ask other folks to help review and clean per guidelines.

- There was a discussion about the vision and future of Squeak.  Squeak evolves naturally by the participation of community members pushing their desired features into the image.  To the extent they are acceptable to the rest of the community ensures a sufficient element of stability that allows the community to remain up-to-date and cohesive.  Meanwhile the platform continually becomes a better and better Squeak.

- Some improvements come from individuals and some are purposefully discussed and acted on as a community.  Members of the board have some ideas about this and also invite others to open discussions about this on the mailing list.  As an example, there was a recent discussion about graphical backends to support anti-aliased output.


by Chris Muller at June 05, 2013 04:08 PM

Torsten Bergmann

STIC 2013

The Smalltalk Industry Council STIC'13 Conference will be held next Sunday thru Wednesday, June 9-12 at the Wigwam Resort near Phoenix.

by Torsten (noreply@blogger.com) at June 05, 2013 08:04 AM

SqueakFest 2013 in Uruguay

As the title says. Read more here.

by Torsten (noreply@blogger.com) at June 05, 2013 06:44 AM

June 04, 2013

Pharo News Blog

New Consortium Member: HRworks

The Pharo Consortium welcomes a new member company: HRworks

sponsor-hrworks.png

HRworks is joining as a Silver Member.

More about...
- HRworks: http://www.hrworks.de
- Pharo: http://pharo.org
- Pharo Consortium: http://consortium.pharo.org

by board (board@pharo-project.org) at June 04, 2013 09:05 AM

June 02, 2013

Torsten Bergmann

SourceCity is OpenSource now

SourceCity is a 3D visualization tool for analyse object-oriented systems. It is now OpenSource with MIT License! Read more.

by Torsten (noreply@blogger.com) at June 02, 2013 05:37 PM