Category: Tutorials

  • SqueakFest ’07 – Register Now!

    SqueakFest 07 Official

    Register for SqueakFest ’07.

    From Kim Rose, Viewpoints Research Institute:

    Greetings —

    Online registration is now available for SqueakFest ’07!
    http://imamp.colum.edu/eceim/squeakfest07/index.php

    We’re putting together a great three day program including hands-on workshops, panels, presentations, casual sharing time and fun social events.

    Alan Kay will give a talk about the One Laptop Per Child Initiative, the “xo” machine and Squeak Etoys on this platform.

    Registration for the entire program is $125.00. Please register
    early as this will be helpful for our planning. We also encourage
    you to BOOK YOUR HOTEL ROOM(s) EARLY! Chicago will host numerous summer events and hotels are already near capacity for August 1-3.

    Some suggested accomodations appear on the SqueakFest website:
    http://imamp.colum.edu/eceim/squeakfest07/accommodations.php

    Please forward this email to anyone you know that may be interested in attending.
    Come join us in Chicago! We look forward to seeing you there.
    cheers,
    Kim

  • Scratch Unleashes New Projects Web Site

    Scratch
    Creating from Scratch
    New Software from MIT Media Lab

    Unleashes Kids’ Creativity Online

    A new programming language developed at the MIT Media Lab turns kids from media consumers into media producers, enabling them to create their own interactive stories, games, music, and animation for the Web.

    With this new software, called Scratch, kids can program interactive creations by simply snapping together graphical blocks, much like LEGO® bricks, without any of the obscure punctuation and syntax of traditional programming languages. Kids can then share their interactive stories and games on the Web, the same way they share videos on YouTube, engaging with other kids in an online community that provides inspiration and feedback.
    Scratch To Web
    “Until now, only expert programmers could make interactive creations for the Web. Scratch opens the gates for everyone,” says Mitchel Resnick, Professor of Learning Research at the MIT Media Lab and head of the Scratch development team.

    Resnick’s Lifelong Kindergarten research group previously developed the “programmable bricks” that inspired the award-winning LEGO® MINDSTORMS® robotics kits. Just as MINDSTORMS allows kids to control LEGO creations in the physical world, Scratch allows them to control media-rich creations on the Web.

    “As kids work on Scratch projects, they learn to think creatively and solve problems systematically – skills that are critical to success in the 21st century,” says Resnick.

    ScratchScreen

    Designed for ages 8 and up, Scratch is available by free download from the Scratch website (http://scratch.mit.edu). The software runs on both PCs and Macs. The MIT Media Lab is now collaborating with other organizations – including Intel, Microsoft, Samsung, BT, the LEGO Group, Motorola, and One Laptop Per Child (OLPC) – to create other versions and applications of Scratch, including versions for mobile phones.

    The name Scratch comes from the technique used by hip-hop disc jockeys, who spin vinyl records to mix music clips together in creative ways. Similarly, Scratch lets kids mix together a wide variety of media: graphics, photos, music, and sounds.

    A glance at the Scratch website (http://scratch.mit.edu) reveals a kaleidoscope of projects created by kids: a story about a polar bear school, space attack games, and a break-dancing performance. Some creations are goofy and fun; some reveal serious social themes. Kids are constantly modifying and extending one another’s projects on the website – and learning from one another in the process. “It’s exciting to wake up each morning and see what’s new on the site,” said Resnick.


    Scratch was developed by Resnick’s Lifelong Kindergarten research group in collaboration with UCLA educational researchers, with financial support from the National Science Foundation and the Intel Foundation. Throughout the development process, the design team received feedback from children and teens at Intel Computer Clubhouses and school classrooms.

    “There is a buzz in the room when the kids get going on Scratch projects,” says Karen Randall, a teacher at the Expo Elementary School in St. Paul, Minnesota. “Students set design goals for their projects and problem-solve to fix program bugs. They collaborate, cooperate, co-teach. They appreciate the power that Scratch gives them to create their own versions of games and animations.”

    For more information, see http://scratch.mit.edu/about

    LifeLongKindergarten - Mit Media Lab

    The Lifelong Kindergarten group (http://llk.media.mit.edu) at the MIT Media Lab develops new technologies that, in the spirit of the blocks and finger paint of kindergarten, expand the range of what people can design, create, and learn.

    ©2007 MIT Media Laboratory

    LEGO and MINDSTORMS are trademarks of the LEGO Group.

    Used here with special permission. ©2007 The LEGO Group.

    National Science Foundation

    The development of Scratch was supported by the National Science Foundation under grant number 0325828. Any opinions, findings, conclusions, or recommendations expressed in this release are those of the authors and do not necessarily reflect the views of the National Science Foundation.

  • Don’t Miss Smalltalk Solutions – April 30th – May 2nd 2007

    Smalltalk Solutions is this weekend! There will be a number of talks on Seaside. Check out the presentation listing in DabbleDB (which is written using Seaside). Gemstone will be talking about their work porting Seaside and Monticello to Gemstone and are announcing a free version of Gemstone.

    Carl Gundel announced a Seaside Birds of Feather Session Wednesday May 2nd from 5 to 7pm.

    Don’t miss Boris Popov’s Seaside Experience Report. Boris and DeepCove Labs have done some really excellent work! Check it out.

    Don’t Miss Bert Freudenberg’s Keynote presentation about OLPC! The One Laptop Per Child initiative is a wonderful way for all smalltalkers to get involved and contribute to something that is really worthwhile!

  • SqueakFest ’07 at Columbia College Chicago

    SqueakFest ‘07

    We have lift off. Columbia College Chicago and Viewpoints Research Institute today announced the dates and location for SqueakFest ’07.

    SqueakFest ’07 will be held at

    Columbia College Chicago

    August 1, 2 & 3

    Please mark your calendars and help spread the word about this exciting event for educators, parents, community and technical leaders, and developers. There will be hands on workshops, key note presentations, panel discussions and more. Come learn, share you experiences, and show off your Squeak Etoys projects. There are also plans for a special OLPC track where you can learn more about this worthwhile initiative.

    Check back for more information as this exciting event takes shape www.squeakland.org. Please save the date!

  • Can your book do this?

    Books

    As the sun rose somewhere over the Atlantic Ocean, the dark fading away, and the cold of over a month starting to thaw, on the west coast of North America it is still dark and John M. McIntosh has only a deep and tired yawn as thanks and a simple form of celebration marking the release of Sophie RC3*.

    It is fitting that midnight should toll during this new release. The clock chimes to mark the occasion of new timeline commands; the ability to play movies connected and controlled by time itself, when time itself rests to zero for a new day. A new day indeed: the future of electronic books.

    Sophie is free and open source software built on Squeak. You can get your own copy of Sophie and start creating your own electronic books now. Check out this new video of what Sophie can do.

    Could you use Sophie to write really cool new electronic books? Sure. How about develop a new interactive brochure for your company? Yeah! How about delivering real engaging content to your potential voter base? Hmmm…

    How would you use Sophie?

    (*available soon watch for RC3)

  • New Seaside Blog

    Talking Meta

    Lukas starts his blog with a nice screencast of how to install the pier blog plugin.

  • Taking the Beat of Cadence

    Cadence

    Gilad Bracha is a legend in Object Oriented Programming. He is the Co-Author of the Java Language Specification and one of the major contributors to Strongtalk which has just been released by Sun under an Open Source License.

    Gilad is forming a team at Cadence and is raising eye brows with his latest hires. Eliot Miranda and Vassili Bykov recently left Cincom to join Gilad at Cadence . Eliot is well-known known as a Master of Smalltalk Development. Vassili Bykov was the lead tool builder of VisualWorks. We can’t help wondering about the team of Gilad, Eliot, and Vassili. I spoke with Gilad about Cadence, Smalltalk, and Open Source. (more…)

  • Looking For A Shortcut?

    ShortCut

    Not all shortcuts in Squeak are Obvious. The Seaside list was just discussing some of them. (more…)

  • Squeak startup process, explained

    In replying to a question on the Beginners mailing list, Yoshiki Ohshima explained the startup process of a Squeak image, from the moment the VM is invoked by the operating system, to the moment the user can start interacting with the Squeak system.

  • Exupery FAQ 1.0

    Giovanni Giorgi has tried Exupery, the Squeak byte compiler written by Bryce Kampjes. Exupery is still in beta but is usable for experimenting.
    The Weekly Squeak is happy to publish a prime-time FAQ on it.

    Introduction
    First of all, the master reference for exupery is the omnipresent wiki.

    I have done a small interview to Bryce Kampjes, and we ended up building an interesting FAQ for Exupery.

    Q: What is Exupery?
    A: Exupery is a native code compiler for Squeak. It translates byte-code into machine code. It can compile most methods which don’t include primitives and a handful of primitives. It is becoming something like a JIT but with the compiler written in Smalltalk. At the moment, it can dynamically inline a handful of primtives but not full methods.

    Q: Exupery is not only a “Just in time compiler” (JIT) as we will see in the next few answers. What does “Exupery” means?
    A: It’s named after a French author and early aviator.

    Q: I have installed if from SqueakMap. How can I use it?
    A: Instructions in the wiki pages above. But you’ll need a custom VM. I’ve had to modify the VM so it’ll jump into the native code from interpreted code. For now you need to manually compile methods.
    In the latest development builds the following is good:

    ExuperyProfiler optimise: [ExuperyBenchmarks new compilerBenchmark].
    Exupery dynamicallyInline.

    The first line profiles the expression in the block then tries to compile the hot spots. The second line inlines any primitives called by compiled code.
    [See this link for the VM]

    Q: Can I compile my class and try it at my own risk?
    Sure.

    Q: Can I compile only some classes?
    Exupery will only ever compile some methods. It’s goal is to compile frequently called methods well producing good code, rather than all methods quickly. You tell it to compile methods rather than classes.

    Q: How much stable is Exupery? Can I use it for my important Flower Collection Blog? (Ok I was just kidding, I haven’t a Flower blog… 😉
    Yes, but it’s still an alpha compiler. Expect bugs and crashes. If you really need to speed up your blog, then compile the critical methods and script compilation. Don’t let Exupery use it’s profiler or any dynamic compiler in production. That should allow you to test it better.For now, if you really want to use it in production explicitly compile the methods that you think will lead to a speed gain then test it. This should reduce the risk of crashes.

    Q: Can I use MessageTally to profile Exupery and compare against interpreted code?
    Not at the moment. The problem is compiled code does not check for interrupts so MessageTally will never see it.To compare use

    Time millisecondsToRun: [...].

    Q: I want to come back! Is it easy?
    You can always stop using Exupery. At any point you can tell it to remove all compiled code from the system. There are VM hooks, but it removes all compiled contexts before saving so it’s always possible to go back to a vanilla VM. If you go back to a vanilla VM you are in exactly the same place you were before you started experimenting with Exupery (besides having a few extra classes in the image).

    Q: I’d like to work on Exupery. Where should I start?
    Q: Join the exupery mailing list and ask for things to work on. Say what you’re interested in doing. If you email me, I’ll reply.
    There’s a decent amount of stuff to do. The first thing is probably building an Exupery VM. For most things it helps to have a local build environment both for staying current and for debugging. If you’re just working on in-image stuff, say the profiler or testing then you could live with pre-compiled VMs. But if you want to work on new primitives or features then you’ll need to be able to debug. At a minimum that involves recompiling VMs to add logging.
    I can only supply Linux VM’s. If you’re running another OS, then you’ll need to build your own or get one from someone else.

    Final words
    We thank a lot Bryce Kampjes for the rapid reply. We hope this FAQ will help Squeak fan to try Exupery. That said, your comments are welcome: please ask more question so that we can enhance this document.
    We feel that Exupery is a very interesting project, and can attract many developers because of the performance gain.