Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Mariano Martinez Peck
This one is more fun

(ImageMorph fromStream:(
  ZnClient new
beOneShot;
url: 'http://www.gravatar.com/avatar';
addPathSegment: (ZnDigestAuthenticator md5Hash: 'marianop...@gmail.com
');
queryAt: #s put: '128';
queryAt: #d put: '404';
get) readStream) openInWorld


uhhh but I cannot remove the morph from the worlddamn it!


On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.eu 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'nobody.at@gmail.com
 ');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'tu...@tudorgirba.com');
   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


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread p...@highoctane.be
you can by shift clicking around

On Tuesday, August 13, 2013, Mariano Martinez Peck marianop...@gmail.com
wrote:
 This one is more fun
 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: 'marianop...@gmail.com
');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld

 uhhh but I cannot remove the morph from the worlddamn it!

 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.eu
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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'tu...@tudorgirba.com
');
   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


-- 
---
Philippe Back
Dramatic Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Mail:p...@highoctane.be | Web: http://philippeback.eu
Blog: http://philippeback.be | Twitter: @philippeback
Youtube: http://www.youtube.com/user/philippeback/videos

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Featured on the Software Process and Measurement Cast
http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
Added Reseller


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Mariano Martinez Peck
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 tu...@tudorgirba.com 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 
 marianop...@gmail.com wrote:

 This one is more fun

 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: '
 marianop...@gmail.com');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld


 uhhh but I cannot remove the morph from the worlddamn it!


 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.euwrote:

 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'tu...@tudorgirba.com
 ');
   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


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Mariano Martinez Peck
I forgot to say..cmd+shift+click doesn't open the halos for me, it just
picks the picture and draws a small shadow and allows me to move the
picture around...
bug?


On Tue, Aug 13, 2013 at 6:00 PM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 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 tu...@tudorgirba.com 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 
 marianop...@gmail.com wrote:

 This one is more fun

 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: '
 marianop...@gmail.com');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld


 uhhh but I cannot remove the morph from the worlddamn it!


 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.euwrote:

 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'tu...@tudorgirba.com
 ');
   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




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Mariano Martinez Peck
okit's alt (option) + command + shift in my keyword...
you were lucky Doru :)


On Tue, Aug 13, 2013 at 6:01 PM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 I forgot to say..cmd+shift+click doesn't open the halos for me, it just
 picks the picture and draws a small shadow and allows me to move the
 picture around...
 bug?


 On Tue, Aug 13, 2013 at 6:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 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 tu...@tudorgirba.comwrote:

 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 
 marianop...@gmail.com wrote:

 This one is more fun

 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: '
 marianop...@gmail.com');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld


 uhhh but I cannot remove the morph from the worlddamn it!


 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.euwrote:

 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 tu...@tudorgirba.com');
   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




 --
 Mariano
 http://marianopeck.wordpress.com




-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Tudor Girba
Ha. Funny. I actually did not know about Alt+Shift+Click :). I only know
the Ctrl+Shift+Click combination to spawn the menu and choose halos from
there.

Doru


On Tue, Aug 13, 2013 at 11:04 PM, Mariano Martinez Peck 
marianop...@gmail.com wrote:

 okit's alt (option) + command + shift in my keyword...
 you were lucky Doru :)


 On Tue, Aug 13, 2013 at 6:01 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 I forgot to say..cmd+shift+click doesn't open the halos for me, it just
 picks the picture and draws a small shadow and allows me to move the
 picture around...
 bug?


 On Tue, Aug 13, 2013 at 6:00 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:

 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 tu...@tudorgirba.comwrote:

 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 
 marianop...@gmail.com wrote:

 This one is more fun

 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: '
 marianop...@gmail.com');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld


 uhhh but I cannot remove the morph from the worlddamn it!


 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe 
 s...@stfx.euwrote:

 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.

 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: '
 tu...@tudorgirba.com');
   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




 --
 Mariano
 http://marianopeck.wordpress.com




 --
 Mariano
 http://marianopeck.wordpress.com




-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-dev] Checking your Gravatar

2013-08-13 Thread Sven Van Caekenberghe

On 13 Aug 2013, at 22:53, Tudor Girba tu...@tudorgirba.com 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

Nice!

 Cheers,
 Doru
 
 
 
 
 On Tue, Aug 13, 2013 at 2:21 PM, Mariano Martinez Peck 
 marianop...@gmail.com wrote:
 This one is more fun
 
 (ImageMorph fromStream:(
   ZnClient new
 beOneShot;
 url: 'http://www.gravatar.com/avatar';
 addPathSegment: (ZnDigestAuthenticator md5Hash: 'marianop...@gmail.com');
 queryAt: #s put: '128';
 queryAt: #d put: '404';
 get) readStream) openInWorld
 
 
 uhhh but I cannot remove the morph from the worlddamn it!
 
 
 On Mon, Aug 12, 2013 at 7:46 PM, Sven Van Caekenberghe s...@stfx.eu 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: 's...@stfx.eu');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.
 
 ZnClient new
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'nobody.at@gmail.com');
   queryAt: #s put: '128';
   queryAt: #d put: '404';
   get;
   isSuccess.
 
 (ZnClient new
   enforceHttpSuccess: true;
   beOneShot;
   url: 'http://www.gravatar.com/avatar';
   addPathSegment: (ZnDigestAuthenticator md5Hash: 'tu...@tudorgirba.com');
   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