"Just do it" and the CSOTD pledge! (was Re: Three Threads Of Squeak)

goran.hultgren at bluefish.se goran.hultgren at bluefish.se
Wed Nov 7 11:23:50 UTC 2001


(darn, writing this a second time - conclusion: Don't hack Celeste while
using it...)

Short facts directed to any and all (not Justin in particular):

1. Squeak is OpenSource.
2. Nobody has sofar been expelled from the Squeak community AFAIK.

If you have what you think are great ideas for Squeak - please, do post
those ideas! We are here and we listen. (a tip though - try to keep
things short...) I find the community to be very polite, openminded and
aware of how open/free software works.

Just don't tell others what they "ought" to do or "should" do. It's not
polite and noone here have any obligations to any one else.

In short: You want something? Just do it.
-----
And now to something completely different - the Larch:

In order to prevent myself from posting too much to the list - yep, the
itch is really bad sometimes - I have reinvented the [CCC] thing! But
since the CCC was to much hard work... :-) This one is easier:

I hereby take the CSOTD pledge - Code Snippet Of The Day - to include a
small snippet of runnable Squeak code in all my postings to the list! It
may be silly and it may be dumb code - as long as it does something!

So, without further ado I bring to you "The Much Awaited Thumnail And
Scaled Image Producer Doit" to impress all your deluded Java friends
with (had a collegue trying to do this and I couldn't resist):

<CSOTD>
dir := FileDirectory on: 'd:\\images'. "add some image files to this
directory first"
dir keysDo: [:name |
	form = Form fromBinaryStream: (dir fileNamed: name).
	ImageReadWriter
		putForm: (form scaledToSize: 512 at 512) onFileNamed: 'scaled_',name;
		putForm: (form scaledToSize: 80 at 80) onFileNamed: 'thumb_',name] 
</CSOTD>

PS. ChangeSet included for Celeste to nag you to death about including
the <CSOTD></CSOTD> in your postings to the Squeak dev list! Ha! Celeste
rules. My God, what have I done - the CSOTD monster is on the loose...
What horrendous code will it produce? What monstrosities will the list
be littered with from now on? ;-) DS

PSS. We need more humour on this list! Tim! Bijan! To the rescue!  :-)
DSS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CelesteCSOTD.2.cs.gz
Type: application/octet-stream
Size: 749 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20011107/afb64695/CelesteCSOTD.2.cs.obj


More information about the Squeak-dev mailing list