Tuesday, June 23, 2009
Pharo MIT license clean
After months the pharo distribution of Squeak is now license clean. See the official announcement on the pharo mailing list. Great, thanks to all who helped.
Sunday, May 24, 2009
Internet Ray Tracing Competition and Smalltalk/Seaside
If you are interested in computer generated graphics you may know POVRay (Persistence of Vision Raytracer). It's a a free tool to create high-quality computer generated images and animations using raytracing. This tool has its roots in DKBTrace - a program written by David Buck.
You may know David from the "Simberon Design Minute" on the "Industry Misinterpretation" Podcast series. His original DKBTrace (and even the modern POV-Ray) benefited from some object oriented ideas taken from Smalltalk.
David (who is very active in the Smalltalk community) now announced that he rewrote the Internet Ray Tracing Competition website using Seaside and VisualWorks Smalltalk.
See http://www.irtc.org
You may know David from the "Simberon Design Minute" on the "Industry Misinterpretation" Podcast series. His original DKBTrace (and even the modern POV-Ray) benefited from some object oriented ideas taken from Smalltalk.
David (who is very active in the Smalltalk community) now announced that he rewrote the Internet Ray Tracing Competition website using Seaside and VisualWorks Smalltalk.
See http://www.irtc.org
Tuesday, May 19, 2009
Pharo Preview Setup for Windows
Even if the pharo distribution of Squeak is still in the alpha stage I already created a simple setup with the lates dev-image from Damien so pharo is easily consumable by Windows users. It should now be easy to start without having to know where to get the image/changes file, the sources and the latest virtual machine.
I've used NSIS installer for the setup and the nice logos provided by Samuel.
The whole process is described here and here in case anyone wants to build an own custom virtual machine for a distribution or commercial application.
You can download the setup.exe here. Use at your own risk and note that the pharo community has some more bugs to fix ;)

Thanks to all for making this possible - with the pharo distribution Squeak now really has stopped looking toyish. Only 10MB download for a complete world full of Smalltalk :)
I've used NSIS installer for the setup and the nice logos provided by Samuel.
The whole process is described here and here in case anyone wants to build an own custom virtual machine for a distribution or commercial application.
You can download the setup.exe here. Use at your own risk and note that the pharo community has some more bugs to fix ;)
Thanks to all for making this possible - with the pharo distribution Squeak now really has stopped looking toyish. Only 10MB download for a complete world full of Smalltalk :)
Friday, May 15, 2009
Smalltalk TV beta
How cool is that: Smalltalk has an own (commercial?) TV station:
http://www.smalltalktelevision.com
Thanks to Chris Cunnington, expect more to come.
http://www.smalltalktelevision.com
Thanks to Chris Cunnington, expect more to come.
Monday, May 11, 2009
Meteoroid, a MVC framework for the web using Comet
Lautaro Fernández announced the first beta version of Meteoroid, a Comet-based framework running on top of Seaside.
It allows you to create "live" web application in a few steps - you can trigger changes to connected web browsers by using an observer-like mechanism. Each time the model changes, an announcement is triggered and data being pushed from the server to a special div in the browser.
There is
- the project page
- a prepackaged download based on the VisualWorks VM and image
- a screencast how to install the project yourself
Just start the image with the virtual machine executable and start two or more browsers on http://localhost:8080/seaside. Anytime you change (for instance the shared counter application) the other browsers will update. Nice ...
It allows you to create "live" web application in a few steps - you can trigger changes to connected web browsers by using an observer-like mechanism. Each time the model changes, an announcement is triggered and data being pushed from the server to a special div in the browser.
There is
- the project page
- a prepackaged download based on the VisualWorks VM and image
- a screencast how to install the project yourself
Just start the image with the virtual machine executable and start two or more browsers on http://localhost:8080/seaside. Anytime you change (for instance the shared counter application) the other browsers will update. Nice ...
Thursday, April 02, 2009
More Charts for Seaside
As I mentioned earlier Udo Schneider has created a Seaside wrapper for OpenFlash Charts.
The code has now moved from
http://www.squeaksource.com/SWFObject.html to
http://www.squeaksource.com/OpenFlashChart.html
and there is an online demo available together with an online demo of SWFObject.
Looks like there will also be a wrapper for jQuery Flot available later today:
Update: here is the link for Flotr
http://www.squeaksource.com/flotr.html
The code has now moved from
http://www.squeaksource.com/SWFObject.html to
http://www.squeaksource.com/OpenFlashChart.html
and there is an online demo available together with an online demo of SWFObject.
Looks like there will also be a wrapper for jQuery Flot available later today:
Update: here is the link for Flotr
http://www.squeaksource.com/flotr.html
Wednesday, April 01, 2009
Reserved keyword conflicts
JavaFX - the latest hype on the language market. But not without trouble.
"insert" and "delete" are new JavaFX keywords - so they conflict
when you will try to call a Java method with this name. But there is help - this time use double angle brackets. So yet another thing to remember ...
Thats why Smalltalk is so much better - it is simple and consistent without all these "language workarounds". Your brain is free to care about solving the problem - and not busy remember all language possibilities or busy satisfying the compiler.
And I tell you a secret: Smalltalk is not a language - its a dynamic object system with the language built in...
"insert" and "delete" are new JavaFX keywords - so they conflict
when you will try to call a Java method with this name. But there is help - this time use double angle brackets. So yet another thing to remember ...
Thats why Smalltalk is so much better - it is simple and consistent without all these "language workarounds". Your brain is free to care about solving the problem - and not busy remember all language possibilities or busy satisfying the compiler.
And I tell you a secret: Smalltalk is not a language - its a dynamic object system with the language built in...
Thursday, March 19, 2009
Browse the code vs. RTFM
There are many reasons to fall in love with the keyword message syntax and dynamic type system of Smalltalk.
One reason is that (depending on appropriate names) you easily understand the intention of a method. If not you can easily find out by browsing the code.
In the non-Smalltalk land you have to spend your time reading api descriptions. And you will find horrible examples like this. Just scroll up and see how many ways there are to set an attribute ;)
One reason is that (depending on appropriate names) you easily understand the intention of a method. If not you can easily find out by browsing the code.
In the non-Smalltalk land you have to spend your time reading api descriptions. And you will find horrible examples like this. Just scroll up and see how many ways there are to set an attribute ;)
Thursday, February 12, 2009
Smalltalk in Barcelona
There is a new website on Smalltalk managed by the
Software Dept. of the Technical University of Catalonia
http://smalltalk.cat
It was announced by associate professor Jordi Delgado who
gives courses in Smalltalk and Botsinc.
The site is powered by Pier CMS and language is catalan.
If you havent already you should check out the video on
Alan Kays OOPSLA talk on "The Computer Revolution hasn't happend yet"
which is included in the site.
Software Dept. of the Technical University of Catalonia
http://smalltalk.cat
It was announced by associate professor Jordi Delgado who
gives courses in Smalltalk and Botsinc.
The site is powered by Pier CMS and language is catalan.
If you havent already you should check out the video on
Alan Kays OOPSLA talk on "The Computer Revolution hasn't happend yet"
which is included in the site.
Wednesday, February 11, 2009
SeaBreeze for Squeak
Looks like SeaBreeze gets ported to Squeak (which is the initial and main Seaside platform):
http://www.squeaksource.com/SeaBreezePort.html
http://www.squeaksource.com/SeaBreezePort.html
Wednesday, February 04, 2009
Pier CMS 1.1
Release 1.1 of Pier is available. Easy to install:
- download
- start the executable VM
- go to http://localhost:8080/seaside/pier
So you have a Smalltalk based CMS within a minute.
Whats new: several fixes and it is now based on the Pharo distribution of Squeak.
If you are interested how Squeak development can look these days then open the browser within the image. It includes the new UI look and OmniBrowser with new icons, eCompletion and syntax highlighting.
BTW: if you are on Windows you have to select "System" -> "Preferences" - "PreferenceBrowser" -> "general" -> "swap mouse buttons" to get the right click menu again since the image was built on Mac.
- download
- start the executable VM
- go to http://localhost:8080/seaside/pier
So you have a Smalltalk based CMS within a minute.
Whats new: several fixes and it is now based on the Pharo distribution of Squeak.
If you are interested how Squeak development can look these days then open the browser within the image. It includes the new UI look and OmniBrowser with new icons, eCompletion and syntax highlighting.
BTW: if you are on Windows you have to select "System" -> "Preferences" - "PreferenceBrowser" -> "general" -> "swap mouse buttons" to get the right click menu again since the image was built on Mac.
Tuesday, January 27, 2009
VAStGoodies
Adriaan van Os announced the VAStGoodies.com website today. It's written in Seaside 2.9 alpha 1 running on VisualAge Smalltalk V8 Beta1.
The application enables browsing, downloading and uploading of Envy Configurations Maps.
The application enables browsing, downloading and uploading of Envy Configurations Maps.
Ambrai Smalltalk for Mac
David Buck spoke to Dorin from Ambrai and reports that they have picked up development of Ambrai Smalltalk after a hiatus and are planning a future release.
There will also be a presentation on Ambrai Smalltalk in the spring at the Ottawa Carleton Smalltalk Users Group.
There will also be a presentation on Ambrai Smalltalk in the spring at the Ottawa Carleton Smalltalk Users Group.
Tuesday, January 13, 2009
Rounding in different environments
Again, take care when working in multiple environments:
In Excel you get:
in Oracle you get:
in VB6 one gets:
But you can use:
In Java you can directly use BigDecimal or the following utility for doubles:
In JavaScript the Math.round() has no scale, so again we use simple math:
In Excel you get:
ROUND(4,4245;2) -> 4.25 (depending on a preference setting)in Oracle you get:
select round(4.245, 2) from dual -> 4.25in VB6 one gets:
Round(4.245, 2) -> 4.24But you can use:
Function RoundHalfUp(number As Double, scale As Integer) As Double
RoundHalfUp = Int(number * 10 ^ scale+ 0.5) / 10 ^ scale
End Function
In Java you can directly use BigDecimal or the following utility for doubles:
/**
* Rounds the given value half up.
*
* @param value the value to round
* @param scale the scale to use for rounding
* @return a new rounded BigInteger instance
*/
public double roundHalfUp(final double value, final int scale) {
return new BigDecimal(Double.toString(value)).setScale(scale, BigDecimal.ROUND_HALF_UP).doubleValue();
}
In JavaScript the Math.round() has no scale, so again we use simple math:
function roundHalfUp(x, n)
{
var a = Math.pow(10, n);
return (Math.round(x * a, 0) / a);
}
Sunday, January 04, 2009
Cloud Computing ... in Smalltalk
Jan van de Sandt announced "Cloudfront AWS" - a new open source project he is developing together with Ernest Micklei. The code provides easy access from Smalltalk to the Amazon Web Services for cloud computing.
It's nice to have Ernest back in Smalltalk - on squeaksource he states: "Smalltalk is coming back, so am I".
I once worked with him as a consultant and enjoy his ideas like Teachable Objects.
For Smalltalk he typically used VisualAge - but I gave him an update on Pharo, Squeak dev tools and Seaside29 in December and it is nice to see that they now choose Squeak as the first platform for their new project and port to other ST dialects later.
Expect to see more interesting things on the new http://blog.doit.st blog, especially since both of them seem so fascinated by Smalltalk that they even commited code to squeaksource on the christmas evening ;)
It's nice to have Ernest back in Smalltalk - on squeaksource he states: "Smalltalk is coming back, so am I".
I once worked with him as a consultant and enjoy his ideas like Teachable Objects.
For Smalltalk he typically used VisualAge - but I gave him an update on Pharo, Squeak dev tools and Seaside29 in December and it is nice to see that they now choose Squeak as the first platform for their new project and port to other ST dialects later.
Expect to see more interesting things on the new http://blog.doit.st blog, especially since both of them seem so fascinated by Smalltalk that they even commited code to squeaksource on the christmas evening ;)
Tuesday, December 30, 2008
Squeak, Etoys, Robots and Wiimote
Found a robot kit under the christmas tree? So its time to have a deeper look at Smalltalk - especially Squeak.
Ricardo Moran tells you how to control Lego Nxt robots, control the I-Sobot (world's smallest humanoid robot) or play robot soccer.
There is also an FFI interface to the wiiuse library - this allows to interact with several Nintendo Wii remotes using Squeak and/or Etoys.
Ricardo Moran tells you how to control Lego Nxt robots, control the I-Sobot (world's smallest humanoid robot) or play robot soccer.
There is also an FFI interface to the wiiuse library - this allows to interact with several Nintendo Wii remotes using Squeak and/or Etoys.
Seaside 2.9 Alpha 2
Seaside 2.9 Alpha 2 is out. Additionally to many fixed bugs portability has increased (this time with the focus on VisualAge Smalltalk).
Lukas also pointed out a new tool at http://builder.seaside.st to configure a load script or Monticello configuration.
Lukas also pointed out a new tool at http://builder.seaside.st to configure a load script or Monticello configuration.
Monday, December 29, 2008
SE Radio on Smalltalk
Spend some time this evening to listen to some episodes from "Software Engineering Radio". Currently listing to an interview with Dave Thomas with lots of discussion on Smalltalk, Squeak, Lively, Java and Ruby. Interesting ...
Saturday, December 27, 2008
Flash Charts for Seaside
Udo Schneider created a wrapper for the OpenFlash Chart project to use it from the Seaside web framework. The project is hosted on SqueakSource.
Tuesday, December 16, 2008
Coq virtual machine project
Andreas gives an update on the current state of the Coq Virtual machine.
Until now there were only informations on Eliots blog available and its good to get a summary of the overall plan now.
Until now there were only informations on Eliots blog available and its good to get a summary of the overall plan now.
Subscribe to:
Posts (Atom)