The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Small images and hacking BottomFeeder

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Small images and hacking BottomFeeder Posted: Dec 30, 2003 6:28 PM
Reply to this message Reply

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
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement

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? :))

Read: Small images and hacking BottomFeeder

Topic: Blogger's Block? Previous Topic   Next Topic Topic: The revolution will be syndicated

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use