That's so cool Doru :) I arrived at the point of "ImageMorph allInstances size". The "World submorphs select: [:each | each class = ImageMorph]" was a great idea!!!
While I appreciate the post and you know I love your inspector, I wonder, isn't there a bug? If I try to open the halos on the picture, it actually takes the World. Is this the expected behavior? Thanks! On Tue, Aug 13, 2013 at 5:53 PM, Tudor Girba <[email protected]> wrote: > Hi, > > I could not resist: here is a little blog post about removing your > troublesome morph :) > > http://www.humane-assessment.com/blog/spotting-a-troublesome-image-morph > > Cheers, > Doru > > > > > On Tue, Aug 13, 2013 at 2:21 PM, Mariano Martinez Peck < > [email protected]> wrote: > >> This one is more fun >> >> (ImageMorph fromStream:( >> ZnClient new >> beOneShot; >> url: 'http://www.gravatar.com/avatar'; >> addPathSegment: (ZnDigestAuthenticator md5Hash: ' >> [email protected]'); >> queryAt: #s put: '128'; >> queryAt: #d put: '404'; >> get) readStream) openInWorld >> >> >> uhhh but I cannot remove the morph from the world....damn it! >> >> >> On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe <[email protected]>wrote: >> >>> Hi, >>> >>> Related to the usage of Gravatars (http://en.wikipedia.org/wiki/Gravatar) >>> for http://contributors.pharo.org here is some code you can use to >>> check whether your Gravatar image really works: >>> >>> ZnClient new >>> beOneShot; >>> url: 'http://www.gravatar.com/avatar'; >>> addPathSegment: (ZnDigestAuthenticator md5Hash: '[email protected]'); >>> queryAt: #s put: '128'; >>> queryAt: #d put: '404'; >>> get; >>> isSuccess. >>> >>> ZnClient new >>> beOneShot; >>> url: 'http://www.gravatar.com/avatar'; >>> addPathSegment: (ZnDigestAuthenticator md5Hash: ' >>> [email protected]'); >>> queryAt: #s put: '128'; >>> queryAt: #d put: '404'; >>> get; >>> isSuccess. >>> >>> (ZnClient new >>> enforceHttpSuccess: true; >>> beOneShot; >>> url: 'http://www.gravatar.com/avatar'; >>> addPathSegment: (ZnDigestAuthenticator md5Hash: '[email protected] >>> '); >>> queryAt: #s put: '128'; >>> queryAt: #d put: '404'; >>> contentReader: [ :entity | ImageMorph fromStream: entity readStream ]; >>> get) openInWindow. >>> >>> And now you know how simple Gravatars really are, provided you use a >>> proper programming language to access them. >>> >>> Enjoy! >>> >>> Sven >>> >>> >>> >> >> >> -- >> Mariano >> http://marianopeck.wordpress.com >> > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > -- Mariano http://marianopeck.wordpress.com
