[Pharo-project] web services, pharo

John M McIntosh johnmci at smalltalkconsulting.com
Sun Feb 14 13:28:13 EST 2010


Well *cough* I've always wondered why we use a un-supported smalltalk based decoder here versus relying on the 
JPEGReadWriter2  which uses the JPEG libraries we bundle into the VMs.  Maybe you should to a quick performance test
and see how they compare? 


On 2010-02-14, at 4:01 AM, laurent laffont wrote:

> Arghh it's almost done but I have a bug:
> 
> SketchMorph fromStream: ('http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC00801.JPG' asUrl retrieveContents contents readStream)
> 
> fails: image format is not recognized.
> 
> In JPEGReadWriter class >> understandsImageFormat 
>     aStream next  = 16rFF   answer false ???  
>        - aStream next answers a Character instance
>        - 16rFF is a SmallInteger
>        - both  equals 255.
> 
> What is the right way to correct that ?
> 
> Laurent Laffont
> 
> 
> 2010/2/13 Mariano Martinez Peck <marianopeck at gmail.com>
> I think he talks about this one
> 
> http://coweb.cc.gatech.edu/squeakbook/
> 
> 
> 2010/2/13 laurent laffont <laurent.laffont at gmail.com>
> Which web page ?
> 
> Laurent Laffont
> 
> 
> 
> On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> laurent have a look in the network chapter of the new blue book (collective book available on web page)
> because I do not remember but you could find some snippets going in the same sense.
> 
> Stef
> 
> On Feb 13, 2010, at 3:29 PM, laurent laffont wrote:
> 
> >  (SketchMorph fromStream:
> >   ('http://code.google.com/p/pharo/logo'
> >       asUrl retrieveContents contentStream)) openInWorld
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100214/14c2ce23/attachment.html>


More information about the Pharo-dev mailing list