This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Small images and hacking BottomFeeder
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
As a continuation of Bob's unload script, I decided to try out making my own small image using a combination of Bob's script and VW's new ImageCompression.
This post was accidently lost by the Blog Posting tool. James thinks he knows what the bug was but we could not recover my long post.. as such, this post will brief what I tried to write before and will then talk about my experiences trying to hack out my post from BottomFeeder
First, modify Bob's script to exclude ImageCompression and Compression-ZLib. Load up visual.im, load up ImageCompression parcel, run Bob's script, then save the image, then compress it from the File menu.
I got: 13meg for visual.im, 7 meg for clean.im and 3.3meg for compressed.im
On to hacking Bottom Feeder. Many of you may not know this.. heck, MOST of you may not know this, but Bottom Feeder is very advanced at keeping track of failures in its own code. So much so there are some hidden development utilities!
Hit ctrl-\ right now and a Process monitor will appear. You can exit this by choosing "Proceed all and exit" from the File menu. (Don't terminate).
From here you can inspect any process you want. So what? Well, the inspector has Tools>Evaluation Pane, which once turned on, lets you write Smalltalk code in to the bottom window.
That's right, you have a Smalltalk environment running Bottom Feeder that you can play with. Try some things out like Text allInstances inspect. Now highlight it and choose 'doIt' in the popup menu.
Why did I do this? I was hoping my post would still be in memory - but the garbage collector was too effecient (in the old days, developers used to have no clue and have lots of memory leaks, unfortunately James has fixed all these up :/)
So unfortunately I had to write it all again. Instead I wrote this which is a brief of my attempted post and a description of me hacking through a running copy of BottomFeeder. I hope you've found this interesting (I wonder if Jim will remove these options from BF soon? :))