[Pharo-project] Accessing OS windows within smalltalk VM
Is it possible to access operating system windows (screen captures) in pharo. Since this would be OS specific does anyone know of a primitive plugin that would allow this?
Re: [Pharo-project] Looking for Beta Testers
I can spend a little time on it. I am actually a little hazy about how the mechanics of iPhone development/deployment with squeak work as every time I deploy something I get the squeak world with a "can't write to changes" message. But if your willing to suffer the mercy of a newbie smalltalker with the merits of a good programmer and tester; I'm your man. UDID - 9472da7efb6f50f15812f82b7e1e76c4a8358bef On Sat, Feb 20, 2010 at 5:18 PM, John M McIntosh < john...@smalltalkconsulting.com> wrote: > If you had in the past contacted me with an iPhone/iPod udid in order to > put iSqueak on your iPhone or iPod touch > and you would like to beta test something I've been working on, then please > email me for an invite. > -- > === > John M. McIntoshTwitter: > squeaker68882 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > === > > > > > > ___ > 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
Re: [Pharo-project] Substrings for strings?
Often; I don't. I will try it more now that I know there are people who have success. On Sat, Feb 20, 2010 at 2:45 AM, Stéphane Ducasse wrote: > the meta approach > > did you try the methodfinder? > > open method finder > > type > >'Foo Bar Baz' . 5 . 3 > > -> no single function > >'Foo Bar Baz' . $B . 'Bar' > -> no single function > > I stopped but often I find what I want. > > > On Feb 20, 2010, at 1:05 AM, Nathan Tuttle wrote: > > > I can't find any method that allows me to take a substring out of a > string my location and length. > > > > Anyone know? > > ___ > > 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
Re: [Pharo-project] Substrings for strings?
but it worked! and it helped me I didn't have to override strings! 2010/2/19 Peter Hugosson-Miller > On 20 feb 2010, at 02.44, Nathan Tuttle wrote: > > Thank you very much! > > > ...says he, generously ignoring my copy/paste error. > > Seriously, when will I learn not to post untested code in an email, no > matter how trivial it seems at the time? Still, at least I spelled the > method name correctly :-p. > > -- > Cheers, > Peter > > 2010/2/19 Peter Hugosson-Miller < > oldmanl...@gmail.com> > >> location := 5. >> length := 3. >> result := 'Foo Bar Baz' copyFrom: location to: position + length - 1 >> >> >> >> 2010/2/20 Nathan Tuttle < >> nathan.tut...@gmail.com> >> >>> I can't find any method that allows me to take a substring out of a >>> string my location and length. >>> >>> Anyone know? >>> >>> ___ >>> Pharo-project mailing list >>> >>> Pharo-project@lists.gforge.inria.fr >>> <http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>> >> >> >> >> -- >> Cheers, >> Peter >> >> ___ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> <http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> 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
Re: [Pharo-project] Substrings for strings?
Thank you very much! 2010/2/19 Peter Hugosson-Miller > location := 5. > length := 3. > result := 'Foo Bar Baz' copyFrom: location to: position + length - 1 > > > > 2010/2/20 Nathan Tuttle > >> I can't find any method that allows me to take a substring out of a string >> my location and length. >> >> Anyone know? >> >> ___ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Cheers, > Peter > > ___ > 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] Substrings for strings?
I can't find any method that allows me to take a substring out of a string my location and length. Anyone know? ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Is there a public repository that we can put our work
Thanks David!! On Thu, Feb 18, 2010 at 11:17 PM, David T. Lewis wrote: > On Thu, Feb 18, 2010 at 10:46:05PM -0600, Nathan Tuttle wrote: > > The default one > > MCHttpRepository > > location: 'http://www.squeaksource.com/' > > user: 'squeak' > > password: 'squeak' > > > > doesn't seem to work. > > > > I don't mind hosting my own, but I am definitely a noob at squeak source > > control. > > Connect to squeaksource.com with an ordinary web browse. Select "register > member" and register yourself with a new account. You will have your own > user ID and password that you can use for making the MCHttpRepository > connections. > > Yuu can use the ordinary web browser for setting up your account and > project, and once that is done you can use Monticello in Pharo/Squeak > to save versions of your project. > > Dave > > > ___ > 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] Is there a public repository that we can put our work
The default one MCHttpRepository location: 'http://www.squeaksource.com/' user: 'squeak' password: 'squeak' doesn't seem to work. I don't mind hosting my own, but I am definitely a noob at squeak source control. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] So your working on a cool project and Pharo crashes
One thing. It looks like there is a changes file that has more up to date information. How do I pull this in? On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel wrote: > I also had the very same feeling the first times I used the "recover > lost changes" option. Now that I gained experience, I live > comfortably with it. > > Cheers, > Alexandre > > On 18 Feb 2010, at 02:37, Nathan Tuttle wrote: > > > actually, to tell the truth I figured out how to get most of my > > methods back. But not the right versions. I wonder if I can back out > > the changes and try to select the ones that I do need, but there are > > soo many. > > > > It does throw an error when I select multiple changesets. When I use > > the "remove do it" that helps the most. > > > > its just such a mess right now > > > > On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel > > wrote: > > Hi Nathan, > > > > > Is there any way to do a recovery besides the Recover Lost Changes > > > option that doesn't seem to work? > > > > What do you mean by "doesn't seem to work"? I have always been happy > > with it. > > Does it raise an error? > > > > > It seems the change log that was left behind has some promising > > > things in it. > > > > > > You can directly inspect the .changes file next to your image. > > > > Cheers, > > Alexandre > > -- > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > > Alexandre Bergel http://www.bergel.eu > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > > > > > > > > ___ > > 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 > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > ___ > 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
Re: [Pharo-project] So your working on a cool project and Pharo crashes
actually, to tell the truth I figured out how to get most of my methods back. But not the right versions. I wonder if I can back out the changes and try to select the ones that I do need, but there are soo many. It does throw an error when I select multiple changesets. When I use the "remove do it" that helps the most. its just such a mess right now On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel wrote: > Hi Nathan, > > > Is there any way to do a recovery besides the Recover Lost Changes > > option that doesn't seem to work? > > What do you mean by "doesn't seem to work"? I have always been happy > with it. > Does it raise an error? > > > It seems the change log that was left behind has some promising > > things in it. > > > You can directly inspect the .changes file next to your image. > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > ___ > 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] So your working on a cool project and Pharo crashes
Is there any way to do a recovery besides the Recover Lost Changes option that doesn't seem to work? It seems the change log that was left behind has some promising things in it. This is just such a bummer. Lot of good work lost. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
[Pharo-project] File Out html with Syntax Highlighting
I find it very useful when learning a language to see the code accurately syntax highlighted on a web page when a snippet is shown. I want to design a fileout method that will allow developers to file out code with html to put into a web page. I know I need to use RBFormatter; any ideas on where to go from here? Where do I get a codestream for example? thanks ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Any good shrink scripts for pharo targeting the iPhone with deimos?
downloaded it a few days ago PharoV10 and squek version 4.10 I think 2010/2/6 John M McIntosh > So which version of pharo are you using, and what VM? > > On 2010-02-05, at 4:34 PM, Nathan Tuttle wrote: > > Want to make my pharo app run a little smoother on my iTouch > ___ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > -- > === > John M. McIntoshTwitter: > squeaker68882 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > === > > > > > > ___ > 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] Any good shrink scripts for pharo targeting the iPhone with deimos?
Want to make my pharo app run a little smoother on my iTouch ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Re: [Pharo-project] Newbie question deploying smalltalk applications
Thanks! Sent from my iPod On Feb 4, 2010, at 2:55 AM, Francois Stephany wrote: > Hi Nathan, > > I dont know if the process is still valid but you can have a look at > this: http://squeak.preeminent.org/tut2007/html/index.html (section > 6). > > Cheers, > > Fa > > On 04/02/10 09:48, Nathan Tuttle wrote: >> Awesome! Onemore question. How to bootstrap GUI? When they click on >> image I want then to see my Ui. >> I am still a little lost there. >> >> Thanks again!! >> > > > > ___ > 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
Re: [Pharo-project] Newbie question deploying smalltalk applications
Aww! That answers a big question. Now just make you windows modal somehow (unadjustable) so you can hide the vm from the user. Maybe that's how... Sent from my iPod On Feb 4, 2010, at 2:54 AM, Mariano Martinez Peck wrote: 2010/2/4 Nathan Tuttle Awesome! Onemore question. How to bootstrap GUI? When they click on image I want then to see my Ui. I have to admit I have ever done serious development with "desktop applications". I don't understand what is "your UI" so maybe I say non sense. But, if you save the image with the opened windows, and everything as you want and close it, when you open the image again, it will be exactly the same as it was the last time. So, you can prepare your image as you want and you save it. Then you put it in the zip. I am still a little lost there. No problem. Me too :) Thanks again!! Sent from my iPod On Feb 4, 2010, at 2:43 AM, Mariano Martinez Peck > wrote: On Thu, Feb 4, 2010 at 9:38 AM, Nathan Tuttle > wrote: I am a ne smalltalker. Trying to figure out how to launch apps to users. I have a nice image.but how do I present to someone to use who is not a developer? Nathan: If you just want it to give it to some persons, suppose students, maybe you can just give your own image, or the customize the OneClick as Stef said. With the OneClick the only thing you have to do is to unzip and double click (it works in Linux, MacOS and Windows). Even simpler than an installer. The last OneClick image is this one: https://gforge.inria.fr/frs/download.php/23260/Pharo1.0-10440-BETAdev09.09ONECLICK.4.zip Although we will do a new one for Pharo 1.0 release. You can just download it, uncompress it, change your .changes and .image for YOURs, zip it again and that's all. If you want, lets say, each person in the world be able to load your code, put it in squeaksource. Imagine this like a SVN/CVS repository. Another option is create your own customized .exe installer. Torsted can help you here :) With this, you can create an .exe windows installer that will install the vm, the image, etc. Cheers Mariano Sent from my iPod On Feb 4, 2010, at 2:08 AM, Stéphane Ducasse wrote: > > On Feb 4, 2010, at 8:41 AM, Nathan Tuttle wrote: > >> I created a CRC calculating algorithm and I want to be able to >> deploy my application for other people to use. I am not sure how to >> package an image so that it is user friendly. > > Hi nathan > > what you can do is to copy the OneClick setup and put your image > inside? > On which OS are you? > It would be nice to create a simple how to for such kind of question. > Let us know your progress and choices/results > >> Any help would be nice. >> >> Thanks >> ___ >> 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
Re: [Pharo-project] Newbie question deploying smalltalk applications
Awesome! Onemore question. How to bootstrap GUI? When they click on image I want then to see my Ui. I am still a little lost there. Thanks again!! Sent from my iPod On Feb 4, 2010, at 2:43 AM, Mariano Martinez Peck wrote: On Thu, Feb 4, 2010 at 9:38 AM, Nathan Tuttle wrote: I am a ne smalltalker. Trying to figure out how to launch apps to users. I have a nice image.but how do I present to someone to use who is not a developer? Nathan: If you just want it to give it to some persons, suppose students, maybe you can just give your own image, or the customize the OneClick as Stef said. With the OneClick the only thing you have to do is to unzip and double click (it works in Linux, MacOS and Windows). Even simpler than an installer. The last OneClick image is this one: https://gforge.inria.fr/frs/download.php/23260/Pharo1.0-10440-BETAdev09.09ONECLICK.4.zip Although we will do a new one for Pharo 1.0 release. You can just download it, uncompress it, change your .changes and .image for YOURs, zip it again and that's all. If you want, lets say, each person in the world be able to load your code, put it in squeaksource. Imagine this like a SVN/CVS repository. Another option is create your own customized .exe installer. Torsted can help you here :) With this, you can create an .exe windows installer that will install the vm, the image, etc. Cheers Mariano Sent from my iPod On Feb 4, 2010, at 2:08 AM, Stéphane Ducasse wrote: > > On Feb 4, 2010, at 8:41 AM, Nathan Tuttle wrote: > >> I created a CRC calculating algorithm and I want to be able to >> deploy my application for other people to use. I am not sure how to >> package an image so that it is user friendly. > > Hi nathan > > what you can do is to copy the OneClick setup and put your image > inside? > On which OS are you? > It would be nice to create a simple how to for such kind of question. > Let us know your progress and choices/results > >> Any help would be nice. >> >> Thanks >> ___ >> 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
Re: [Pharo-project] Newbie question deploying smalltalk applications
I am a ne smalltalker. Trying to figure out how to launch apps to users. I have a nice image.but how do I present to someone to use who is not a developer? Sent from my iPod On Feb 4, 2010, at 2:08 AM, Stéphane Ducasse wrote: > > On Feb 4, 2010, at 8:41 AM, Nathan Tuttle wrote: > >> I created a CRC calculating algorithm and I want to be able to >> deploy my application for other people to use. I am not sure how to >> package an image so that it is user friendly. > > Hi nathan > > what you can do is to copy the OneClick setup and put your image > inside? > On which OS are you? > It would be nice to create a simple how to for such kind of question. > Let us know your progress and choices/results > >> Any help would be nice. >> >> Thanks >> ___ >> 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
Re: [Pharo-project] Newbie question deploying smalltalk applications
Yes. I am a new smallralker and I haven't broken the .exe deliverable concept. Also it is in my image but how do I get it so my GUI is the only thing to come up? Sent from my iPod On Feb 4, 2010, at 1:54 AM, Mariano Martinez Peck wrote: 2010/2/4 Nathan Tuttle I created a CRC calculating algorithm and I want to be able to deploy my application for other people to use. I am not sure how to package an image so that it is user friendly. Hi Nathan! First of all, thanks for asking how to share something :) OpenSource code is always welcome. So, the first question is, where do you have that code? just in your image? What you can do, first is to create a Monticello project in www.squeaksource.com . That's a Monticello server where people can create projects, commit, merge, etc. It is a control version system (sorry if you already know all this). So, the first step is to create a project there and then, from you image, you commit your code there. Then, people will be able to download it or even commit (depending on the settings you choose). In a second step, further, you can create a Metacello configuration for you project. This will let you have stable versions of your projects, manage dependencies between packages, etc. But I would start just with the first step. I REALLY recommend you to read Pharo By Example book. It is free and very good: http://www.pharobyexample.org/ You can download it in pdf. There, it is a complete chapter for Monticello. Read that :) Cheers Mariano Any help would be nice. Thanks ___ 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] Newbie question deploying smalltalk applications
I created a CRC calculating algorithm and I want to be able to deploy my application for other people to use. I am not sure how to package an image so that it is user friendly. Any help would be nice. Thanks ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project