Archive for the ‘squeak’ Category

http://wiki.squeak.org/squeak/1767 has some interesting information on MVC.

At that link is a link to a fascinating individual named Trygve Reenskaug . Since my first job out of college was in industrial automation, I am intrigued by his Autokon application.

In my “unwind” time when I decompress from studying the VM space, I will be toying around with MVC.

A primary impetus for this is my interest in RoarVM which I think would be useful when I get around to reviving my work on SmalltalkHLA–which is now “abandonware” on squeak source. (Not really abandoned, I just have a much longer timeline than most (: ).
Since RoarVM is multi-core, it seems it would make sense to–on one multi-core workstation–to fire up several cores and build the HLA federation among them.
RoarVM only supports MVC because of some limitation they know of.

I just found they have a minimal MVC image here
I am running it off of Squeak4.0 vm.

Here is a screenshot:


Another thing, that is not trivial is my preference for lightweight UI.

Another thing, is that when I learn to port a VM to native Linux 64 bit, I hope I will have enough foundational knowledge to integrate Squeak directly with Linux. Either by making the SqueakUI work seamlessly with X, or possibly creating a “mock” X-server(client) in Squeak or possibly a real X server(client) in squeak. The idea being the linux command “startX” would launch Squeak, but with all the “normal” Linux tools appearing as they should and with Squeak being itself in that environment.

Lot’s to learn, lot’s to learn.


Read Full Post »

Although the source is on GitHub, it is worth, first browsing http://squeakbyexample.org/

You can download the LaTeX source from GitHub via SquareBracketAssociates here.

On a clean Slackware 14.1 distribution the make command will fail. For some reason, TeX is not in the $PATH environment variable. I add it in my /etc/profile.


run source /etc/profile to update your environment and then run make. The compile will produce some errors.

I had 3 errors of missing .sty files
I had 1 error caused by my Slackware’s texmf being a bit behind the cutting edge curve the Mac Boyz probably have.

The missing styles are:

topcapt.sty found at :http://www.ctan.org/pkg/topcapt
isodateo.sty found at :http://www.ctan.org/pkg/isodate
substr.sty found at: http://www.ctan.org/pkg/substr

After installing, be sure to run texhash so LaTex can find them.

Once the packages are found, there is still a minor bug. The fix is at line 70 of common.tex. My guess is that the LaTeX on Slack is behind the Uber Cutting edge tools the developers of the book have (Look at the mouse in figure 1.4 on page 18…definitely rich-boy hardware (:)

The workaround is to revert to an older directive. Here are the relevant lines in my common.tex with the problem commented out and the hack in place:

%:PDF version
%\pdfminorversion=3 % Set PDF to 1.3 for Lulu

With that, the make clean; make ran without errors.

Now, take a look at that mouse!


I suspect the author drives a Maserati as well. (:

Read Full Post »

I got Steve Wessel’s IRCe Client working on Squeak 4.5 on CogVM.

I emailed Mr. Wessel’s the changeset.

Here is a pic:


Read Full Post »

In OGLUnix>>openGLLibraryName

change the ‘=’

^Smalltalk osVersion = 'linux'
ifTrue: ['libGL.so.1']
ifFalse: ['GL']

To beginsWith:

Like this

^(Smalltalk osVersion beginsWith:'linux')
ifTrue: ['libGL.so.1']
ifFalse: ['GL'].

Then run

OpenGL example.


Now, onto Lawson English’s openGL tutorials.



Read Full Post »

Go here: http://squeak.preeminent.org/

Download this:

Background Loader with Preview [ENH]
15-Aug-2010 tested in Squeak 4.1

Store it somewhere (I use a directory named mczs, but that is probably not best practice)

Open the Monticello Browser and add that directory as a repository by clicking the +Repository button.

Click the Open button.

Select the DesktopBackgroundLoader and Load it.

Open World->Open->Desktop Background Loader

Set your squeak desktop background.

Say woot!



I like to set a different background for every project I have in a Squeak image. Its just a nice touch to the environment.

Also, thanks to Steve Wessel’s for providing this stuff.

Read Full Post »

1. Go to http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib and read what to do.

2. Then go to http://connie.slackware.com/~alien/multilib/14.0/ and download the stuff you need.

3. follow the instructions in 1. and….



Now, after I get good at the Linux API I can attempt a port of a VM to native 64, but that is several years off.

Read Full Post »

There comes a time in a man’s life where he has to abandon the API in order to create the API for the API is not the machine*.

I am reading the BlueBook.pdf at my day job on the sly–starting on part 4–the specification. While the book is outdated, I have a hunch it will make me a better coder.

Read Full Post »

« Newer Posts - Older Posts »