[Pharo-project] web services, pharo
Hi, I would like to record a screencast with the following scenario: - search for pictures using Flickr web services, http://www.flickr.com/services/api/, XML-RPC response - parse the XML to get pictures URL - download pictures - display them in a morphic GUI Which packages should I use to use Web services, parse XML, download pictures ? Is there existing apps / code which do this sort of things ? Thanks ! Laurent Laffont
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Hi,
I would like to record a screencast with the following scenario: - search for pictures using Flickr web services, http://www.flickr.com/services/api/, XML-RPC response - parse the XML to get pictures URL - download pictures - display them in a morphic GUI
Which packages should I use to use Web services, parse XML, download pictures ?
Is there existing apps / code which do this sort of things ?
Sorry I cannot help you, but let me say that this particular example is VERY useful for "real applications". Having to parse XML and interact through webservices to another systems, is present in mostly current software projects. So, please..I hope you can do it and record it. Cheers Mariano
Thanks !
Laurent Laffont
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I like the idea of the scenario. XMLParser We really need more of such examples. Stef
Hi,
I would like to record a screencast with the following scenario: - search for pictures using Flickr web services, http://www.flickr.com/services/api/, XML-RPC response - parse the XML to get pictures URL - download pictures - display them in a morphic GUI
Which packages should I use to use Web services, parse XML, download pictures ?
Is there existing apps / code which do this sort of things ?
Thanks !
Laurent Laffont _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
*I've found this in my mails:* * * * (SketchMorph fromStream: ('http://code.google.com/p/pharo/logo' asUrl retrieveContents contentStream)) openInWorld *Laurent Laffont On Sat, Feb 13, 2010 at 3:08 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
I like the idea of the scenario.
XMLParser
We really need more of such examples.
Stef
Hi,
I would like to record a screencast with the following scenario: - search for pictures using Flickr web services, http://www.flickr.com/services/api/, XML-RPC response - parse the XML to get pictures URL - download pictures - display them in a morphic GUI
Which packages should I use to use Web services, parse XML, download pictures ?
Is there existing apps / code which do this sort of things ?
Thanks !
Laurent Laffont _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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
Which web page ? Laurent Laffont On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
http://stephane.ducasse.free.fr/FreeBooks/CollectiveNBlueBook/ Stef On Feb 13, 2010, at 3:59 PM, laurent laffont wrote:
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I think he talks about this one http://coweb.cc.gatech.edu/squeakbook/ 2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Arghh it's almost done but I have a bug: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' 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@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sun, 14 Feb 2010, 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/DSC008...' 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 ?
Make sure that the stream is binary: SketchMorph fromStream: ('http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream) Levente
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :) Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
;) BTW did you convert my old videos? Stef On Feb 14, 2010, at 1:20 PM, laurent laffont wrote:
Make sure that the stream is binary: SketchMorph fromStream: ('http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sun, Feb 14, 2010 at 4:24 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
;) BTW did you convert my old videos?
yes, sort of : http://pharocasts.blogspot.com/2010/01/learn-smalltalk-with-profstef.html Laurent
Stef
On Feb 14, 2010, at 1:20 PM, laurent laffont wrote:
Make sure that the stream is binary: SketchMorph fromStream: ('
http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Thanks for help and .... enjoy :) http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html Laurent Laffont On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont <laurent.laffont@gmail.com>wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Incredible. Clap clap clap! Let me say that I really like your screencast and every time I see them, I learn. I think that we really should have a link from the official pharo website to your blog. Little note just in case you didn't know. To TAB right or left several rows/lines, just select them and use the shortcuts ctrl + shift + r (to tab right) or ctrl + shit + l (to tab left) :) Cheers Mariano 2010/2/14 laurent laffont <laurent.laffont@gmail.com>
Thanks for help and .... enjoy :) http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont < laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/2/14 Mariano Martinez Peck <marianopeck@gmail.com>
Incredible. Clap clap clap!
^o^
Let me say that I really like your screencast and every time I see them, I learn.
Me too while recording :) I hope other people will contribute....
I think that we really should have a link from the official pharo website to your blog.
There's one here: http://pharo-project.org/documentation/tutorials-books
Little note just in case you didn't know. To TAB right or left several rows/lines, just select them and use the shortcuts ctrl + shift + r (to tab right) or ctrl + shit + l (to tab left) :)
Cool, thank you. I hope shortcut assignment will be better in 1.1 Laurent Laffont
Cheers
Mariano
2010/2/14 laurent laffont <laurent.laffont@gmail.com>
Thanks for help and .... enjoy :)
http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont < laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/2/14 laurent laffont <laurent.laffont@gmail.com>
2010/2/14 Mariano Martinez Peck <marianopeck@gmail.com>
Incredible. Clap clap clap!
^o^
Let me say that I really like your screencast and every time I see them, I learn.
Me too while recording :) I hope other people will contribute....
Sure they will. At least giving ideas. Take as an example the ProfStef. Now, it is included in PharoDev. GLASS did their tutorials with it. Danny build a cool browser for it. Torsten build a HelpSyste. Etc etc etc... Here is my contribution. I have more ideas :) 1) I would like a screencast to demostrate how to use Monticello and SqueakSource. We can take as an example, and reuse the PicasaAPI project. Little ideas: - Create the package in Monticello Browser - Create a user in squeaksource - create the project in squeaksource - commit it - see changes - merge - take a clean image and load 2) I would like a screencast to demostrate how to build a Metacello configuration and load it. We can take as an example, and reuse the PicasaAPI project. Little ideas, altough maybe they can be split: - Demonstrate how hard is to load your project in a clean image. You have to install all dependencies by hand, you don't know which versions, and you don't know what packages to load. This point can be even part of 1) - Show how to create a new Metacello configuration. - Commit it to MonticelloRepository - How to load it in another clean image 3) Advanced Metacello: show how to create and load groups, project references, etc. You can also show Metacello OB tools and Metaceller 4) This is boring but useful. A screencast that shows how to open an issue. It would be really cool to do it with a real bug. You can record how to reproduce the bug in the image, then how to search in issue tracker and open the issue. The idea is to show all these steps: http://www.pharo-project.org/community/issue-tracking 5) This is boring but useful. A screencast that shows how to commit. If it is only one package, just that to inbox, if there are several projects, how to create a slice package and use the "dirty packages" trick, etc... Again, it would be really cool if it can be a real commit. Even better, if it is a fix for 4) The idea is to show all these steps: http://code.google.com/p/pharo/wiki/HowToContribute Ok....those are all the ideas I have for the moment :) Thanks for you excellent work. Mariano
I think that we really should have a link from the official pharo website
to your blog.
There's one here: http://pharo-project.org/documentation/tutorials-books
Little note just in case you didn't know. To TAB right or left several rows/lines, just select them and use the shortcuts ctrl + shift + r (to tab right) or ctrl + shit + l (to tab left) :)
Cool, thank you. I hope shortcut assignment will be better in 1.1
Laurent Laffont
Cheers
Mariano
2010/2/14 laurent laffont <laurent.laffont@gmail.com>
Thanks for help and .... enjoy :)
http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont < laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I really like the idea of scripting and gluing together behavior. What I would love to be able to do is to use the webcam of my machine to scan a book ISBN number and fetch all the data from a given provider. Does anybody have an idea how we could plug all that together. Stef On Feb 14, 2010, at 8:45 PM, laurent laffont wrote:
Thanks for help and .... enjoy :) http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont <laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: ('http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
now that I work in library software :) ... Fetch data from ISBN is not so difficult, depends on the provider you want. The most used protocol around the world is Z39.50 http://en.wikipedia.org/wiki/Z39.50 to get MARC formatted catalogs http://en.wikipedia.org/wiki/UNIMARC. I don't know if there's Smalltalk implementations of these standards. If you don't need high level of details, Amazon, Library Thing, ... have good catalogs with modern web services to access them. For the webcam / scan part, I don't know what we have in Smalltalk. You need OCR tools... Laurent Laffont On Sun, Feb 14, 2010 at 10:24 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
I really like the idea of scripting and gluing together behavior. What I would love to be able to do is to use the webcam of my machine to scan a book ISBN number and fetch all the data from a given provider. Does anybody have an idea how we could plug all that together.
Stef
On Feb 14, 2010, at 8:45 PM, laurent laffont wrote:
Thanks for help and .... enjoy :) http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont < laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/2/15 laurent laffont <laurent.laffont@gmail.com>
now that I work in library software :) ...
Fetch data from ISBN is not so difficult, depends on the provider you want. The most used protocol around the world is Z39.50 http://en.wikipedia.org/wiki/Z39.50 to get MARC formatted catalogs http://en.wikipedia.org/wiki/UNIMARC. I don't know if there's Smalltalk implementations of these standards.
Of course we have!!! http://n4.nabble.com/ANN-Z39-50-FFI-Client-ZOOM-binding-td1307520.html#a1307...
If you don't need high level of details, Amazon, Library Thing, ... have good catalogs with modern web services to access them.
For the webcam / scan part, I don't know what we have in Smalltalk. You need OCR tools...
I don't know, what would be cool. I suggest to send separate emails for this to get more answers.
Laurent Laffont
On Sun, Feb 14, 2010 at 10:24 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
I really like the idea of scripting and gluing together behavior. What I would love to be able to do is to use the webcam of my machine to scan a book ISBN number and fetch all the data from a given provider. Does anybody have an idea how we could plug all that together.
Stef
On Feb 14, 2010, at 8:45 PM, laurent laffont wrote:
Thanks for help and .... enjoy :) http://pharocasts.blogspot.com/2010/02/rest-xml-parsing-and-photos.html
Laurent Laffont
On Sun, Feb 14, 2010 at 1:20 PM, laurent laffont < laurent.laffont@gmail.com> wrote:
Make sure that the stream is binary: SketchMorph fromStream: (' http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC008...' asUrl retrieveContents contents asByteArray readStream)
Levente
It works ! Thank you ! You've just saved a screencast :)
Laurent Laffont
Laurent Laffont
2010/2/13 Mariano Martinez Peck <marianopeck@gmail.com>
I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com>
Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse < stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
laurent did you check if it was working on older version? Which version are you using now? I tried in Squeak and latest pharo and they both fail. Stef On Feb 14, 2010, at 1:01 PM, 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/DSC008...' 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@gmail.com> I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com> Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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/DSC008...' 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@gmail.com> I think he talks about this one
http://coweb.cc.gatech.edu/squeakbook/
2010/2/13 laurent laffont <laurent.laffont@gmail.com> Which web page ?
Laurent Laffont
On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <stephane.ducasse@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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
- parse the XML to get pictures URL
You may consider to use Pastell, a library for XPath queries. Feel free to ping me if you need help for enhancement of the lib (I treat a subset of XPath only). Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (6)
-
Alexandre Bergel -
John M McIntosh -
laurent laffont -
Levente Uzonyi -
Mariano Martinez Peck -
Stéphane Ducasse