Saturday, November 16, 2013

Thursday, November 14, 2013

PUnQLite for Pharo - using the UnQLite embeddable NoSQL database engine

You may know SQLite - a small RDBMS that one can easily use since it requires only adding a simple DLL fitting into a few kilobytes. Due to its small size it is often embedded into products.

One can also use it in Smalltalk - for instance for Pharo using a simple wrapper project.

Today also the so called "NoSQL" databases like Mongo, CouchDB and others are getting attention. Often they work with documents, key value pairs, ...

There is also a "small sized" database engine for NoSQL - it is called "UnQLite". It is an Embeddable NoSQL Database Engine and therefore requires no separate server process. The sources have no dependency - it is easy to build a DLL from the provided C File.

Now there is already a Pharo binding in progress called "PUnQLite" from  from Masashi Umezawa. The binding uses NativeBoost to call the UnQLite engine.

Really nice! So if you need a small embeddable Database for your application you should check it out.






Wednesday, November 06, 2013

Pharo UI building with Spec

There is a nice post on how to get started with Spec UI building in Pharo.

Pharo Compiler cleanup

More details about the compiler cleanup work going on in Pharo from Marcus.

So long and thanks for all the fish...

When I do JEE stuff with Java I typically use Glassfish - easy to install and use. Now there is an interesting move from Oracle regarding the commercial support for GF. The commercial offering is just dropped - that news is already commented people from the community.

That does not mean Glassfish will soon be dead, but it may change from a professional appserver to just a developer tool (same story as "Geronimo"?). Interesting...

Thursday, October 31, 2013

Wednesday, October 23, 2013

Thursday, October 17, 2013

Friday, October 11, 2013

Pharo and RaspberryPi

Running Pharo on RaspberryPi is slowly progressing ... there is now also a CI job to build the Stack VM (non JIT/non Cog version). Lets see when it is ready ...

Thursday, October 03, 2013

Mustache templates for Pharo

Mustache is a popular templating engine that is supported in many programming languages. Now there is also a Pharo port from Norbert.

Wednesday, October 02, 2013

Bootstrap for Seaside3 project (Release 0.1.0)

I published the "Bootstrap for Seaside" project and announced it on the Pharo and Seaside lists.

Features are:
You can easily load it in a fresh Pharo 2.0 as "Bootstrap" from the config browser. It loads Seaside3
as a dependency. After loading evaluate

  ZnZincServerAdaptor startOn: 8080 
to start the webserver and go to http://localhost:8080/bootstrap to browse the samples. Here are some screenshots, click to enlarge:

   

Feel free to use it for your next Pharo/Seaside/Bootstrap based web project

Monday, September 23, 2013

New Mars examples - MarsPackageBrowser and MarsTestRunner

Carla shows some more progress on the Mars project. Watch the screencast here.

Launching Pharo on Ubuntu

Launching Pharo on Ubuntu is now much easier again. Thanks Damien, I also like the overview page.

AOP for Pharo

You like AOP (Aspect oriented programming) in Pharo. Then have a look at PHANtom (PHaro Aspect laNguage). Also check out it's reimplementation.

Redline Smalltalk on JavaOne

If your are at JavaOne conference and see a guy with a Smalltalk T-Shirt. Then this is James Ladd promoting Smalltalk in a Redline Smalltalk show.

LightningMDB

The Lightning Memory-Mapped Database (LMDB) is a new database library written by Symas Corp. for the OpenLDAP Project.
You can read about it's nice feature set here.

It looks like Jan van de Sandt is working already on a Smalltalk driver. Nice!

Pharo Bugfixing Process

There is a new video that helps explaining how you can submit fixes and enhancements for Pharo.

Wednesday, September 18, 2013

Remote Inspectors

Looks like the Amber-Pharo bridge has remote inspectors working. Nice!

Getting "Deep into Pharo" book

Beside on Lulu the new "Deep into Pharo" is now also on Amazon.

"OS" and "OS-Windows" project for Pharo on STHub

I just announced "OS" and "OS-Windows" project for Pharo. Hope it is useful for others too and community will help to move better external support in Pharo forward. Project and code lives on:

http://smalltalkhub.com/#!/~OS/OS-Windows

If you have Pharo 3.0 installed just open "Tools" -> "ConfigBrowser" and install "OSWindows".

You should follow the examples given in the documentation that you can find on the project page. Just scroll down there.

Pharo3.0 now with Metacello2

Starting from today Pharo 3.0 includes Metacello2.

Beside many improvements you can now also make your project configuration class (which usually is named after your project "ConfigurationOfProjectName") a subclass of the predefined class ConfigurationOf.

   ConfigurationOf subclass: #ConfigurationOfExample 
           instanceVariableNames: '' 
           classVariableNames: '' 
           poolDictionaries: '' 
           category: 'ConfigurationOfExample' 

So no need to include metacello bootstrap methods on each configuration.
Did I mention that you can now also work with FileTree and GitHub? ;)

Dr. Geo with Athens

The Dr. Geo Canvas now also uses the Athens renderer or Pharo and looks much better. Here is a screenshot.

Monday, September 16, 2013

Sunday, September 15, 2013

Autotest for Pharo

Autotest is a live testing tool (similar to Ruby Autotest, but the Smalltalk way, more dynamic). Autotest automatically runs tests related to the method you edit. Code and video are here.

Seaside on STHub

Seaside moved to SmalltalkHub, new Metacello configurations are available.

inBug - Visual Analytics of Bug Repositories

inBug is a nice project to work with issue tracking software from within Smalltalk. Watch the page or have a look at a presentation about it (also here).

Friday, September 13, 2013

Moose 4.8 released

Moose 4.8 is released with impressive enhancements:

 - Rendering is possible on Morphic canvas or the new Athens canvas (which is driven by NativeBoost)
 - Visualizations are now based on Roassal
 - the new chart engine Graph-ET is integrated
 - ...

Read the details here. Note that Moose 4.8 is based on Pharo 2.0 - so you can either download from the web or easily from the Pharo config browser.

Thursday, September 12, 2013

SecretOffice++

SecretOffice++ is a secure personal information management software enabling you to conceal your secret appointments, tasks, notes, contacts, journals and files. It was presented at ESUG2013 and is written in Smalltalk. Requires Outlook - so I was not able to try it out. But there are some screenshots on the website.

Wednesday, September 11, 2013

NativeBoost version of the OpenDBXDriver

There is now an NativeBoost version of the OpenDBXDriver for database access from Pharo Smalltalk. This helps in moving from old Squeak FFI to new NativeBoost. Rocio Amaya explains how it was created.

Pharo Sprint in Buenos Aires - this saturday!

10 Pines host a Pharo sprint this Saturday in Buenos Aires. Read more!

Shopping with Pharo robots

Pharo is used for orchestration of Robots working as helpers in a shopping mall. Read more.

Monday, September 09, 2013

ESUG 2013 - Boris Shingarov on "Towards a Smalltalk VM for the 21st Century"

"Towards a Smalltalk VM for the 21st Century" from Boris Shingarov is presented at ESUG-2013. The presentation is online.

First ESUG 2013 presentations

First videos from ESUG presentations are online available.

DicThesaurusRex

DicThesaurusRex - a spelling correction and thesaurus for Squeak Smalltalk. Read more.

FileTree in Pharo 3.0

FileTree is now part of Pharo 3.0 image. It allows to store Smalltalk code in the usual file system structure. So beside the usual Smalltalk versioning systems you can also use Git, Mercurial or Subversion. You can read more about FileTree in this presentation from Dale.

Friday, September 06, 2013

A Spur gear for Cog

Eliot writes about new memory management for Cog virtual machine. Read more here

Wednesday, September 04, 2013

Graph-ET - charts for Pharo

Graph-ET is a project to draw charts with Pharo. It is a library at the top of Roassal to draw curves, histograms and graphs. It will be demonstrated at ESUG this year.

Watch this video to see more.

or look at the code at

MCHttpRepository
location: 'http://smalltalkhub.com/mc/DanielAvivNotario/Graph-ET/main'
user: ''
password: ''

Tuesday, September 03, 2013

DrGeo user guide in english

The Dr. Geo user guide is available in english. If you want to learn geometry with Smalltalk then check it out.

NesTalk or Mario Bros running on Pharo Smalltalk

NesTalk is a NES (Nintendo Entertainment System) emulator running on Pharo Smalltalk. It is a pure smalltalk implementation written from scratch allowing you to run MarioBros on Pharo Smalltalk as this video demonstrates.

Code is on http://smalltalkhub.com/#!/~zeroflag/NesTalk

You can follow updates on the authors twitter account.

Monday, September 02, 2013

Phratch

Phratch is more than a port of Scratch to Pharo, read more why. Also have a look at this video.

Sunday, September 01, 2013

Saturday, August 31, 2013

Aida 6.6 Web Framework Released

The Aida 6.6 Web Framework is released. Read more here or just load it using the Config browser in Pharo 2.0 and point your browser to http://localhost:8888 when loading is finished

Friday, August 30, 2013

Thursday, August 29, 2013

HTML5 ServerSideEvents with Zinc and Smalltalk

Server-Sent Events is a new HTML5 technology that is used to send data from a server to a client, over HTTP, on the initiative of the server. You can work with them now also in Zinc for Pharo. Read more in Svens post.

Did you know ...

that Squeak for RaspberryPi now has actual official support for the faster ARM optimised BitBLt code. Amongst other things it will help speed up Scratch a little.

Recover a broken image with Oz

Nice to know about it: how to recover a broken image with Oz.

Aconcagua - Units for Smalltalk

Aconcagua is a units package for Pharo. You can load it using the config browser in Pharo 2.0 and here is a paper explaining it. Also have a look at this video.

Wednesday, August 21, 2013

Monday, August 19, 2013

Travels with Smalltalk (by Dave Thomas)

Surely outdated and part of Smalltalk history - but nonetheless I never stumbled upon this until today and still find it interesting to read.

Using NativeBoost in Pharo

While I spend some time wrapping more and more Windows API's for NativeBoost Laurent has done
something similar for X11.

He has also written a nice chapter on NativeBoost for the Pharo for the Enterprise book and wants to create a Pharo window manager for X11 next.

Friday, August 16, 2013

Punycode in Pharo

When working with internationalized domain names you may know the "Punycode" encoding (RFC 3492). There is a new project dealing with this on SmalltalkHub.

 You can read more about this on Wikipedia and try the example from the article (using the german word "Bücher" which means books):

PunycodeConverter new encode: 'Bücher' results in 'xn--Bcher-kva' 


PunycodeConverter new decode: 'xn--Bcher-kva' results in 'Bücher' again

Wednesday, August 14, 2013

Pharo 2.0 speedup on loading MC packages

After Pharo 2.0 came out the community started with Pharo 3.0 which is still being worked on.

Independent from that many bug fixes for 3.0 were also backported to 2.0 and released as Pharo 2.0 Summer release.

 If you grabbed the initial Pharo 2.0 or the Pharo 2.0 Summer release you may have noticed that code loading is not as fast as it was in Pharo 1.4. The main reason for this noticable slowdown was the introduction of the Ring package and proper packages (RPackage).

This has changed since yesterday with yet another update #20619. By using a cache the speedup on loading MC packages is now 3x or more. So either update your image or just get a fresh copy of Pharo 2.0 from the file server. You will notice that loading Seaside or other packages from the Configuration browser is now much faster!

Tuesday, August 13, 2013