>
> In Pharo 1.1, just clic on WorldMenu > Help > ProfStef Browser and execute Metacello Tutorial step by step: modify the code & evaluate. I always do like this now (quick). Cool! Alexandre > > Laurent. > > > > > > Cheers, > Alexandre > > > On 15 Jul 2010, at 13:45, Germán Arduino wrote: > > > Hi Alex: > > > > I have not a configuration for this package, I think is not necessary, > > being that is really very simple. > > > > On squeak-dev the people is talking about these topics, on the thread > > "About Configurations". > > > > Cheers. > > Germán. > > > > > > > > 2010/7/15 Alexandre Bergel <[hidden email]>: > >>> ok, I added the documentation of my own package......Took me 15' :) > >> > >> Hi Germán, > >> > >> Do you have a configuration for this? > >> Thanks for the documentation > >> > >> Cheers, > >> Alexandre > >> > >>> > >>> 2010/7/15 Stéphane Ducasse <[hidden email]>: > >>>> start small :) > >>>> > >>>> > >>>> On Jul 15, 2010, at 1:01 PM, Germán Arduino wrote: > >>>> > >>>>> 2010/7/15 Stéphane Ducasse <[hidden email]>: > >>>>>> http://book.pharo-project.org/book/LoggingTools/ > >>>>>> > >>>>>> took me less than 7 minutes > >>>>>> > >>>>>> > >>>>>> We should not cry that there is no documentation if we do not take any possibility to build it incrementally > >>>>>> Stef > >>>>>> _______________________________________________ > >>>>>> Pharo-project mailing list > >>>>>> [hidden email] > >>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> Well, I understood that you wanted a detailed explanation about how to > >>>>> use each tool..... > >>>>> > >>>>> _______________________________________________ > >>>>> Pharo-project mailing list > >>>>> [hidden email] > >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >>>> > >>>> > >>>> _______________________________________________ > >>>> Pharo-project mailing list > >>>> [hidden email] > >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >>>> > >>> > >>> _______________________________________________ > >>> Pharo-project mailing list > >>> [hidden email] > >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >> > >> -- > >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > >> Alexandre Bergel http://www.bergel.eu > >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Pharo-project mailing list > >> [hidden email] > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > >> > > > > > > > > -- > > ================================================= > > Germán S. Arduino <gsa @ arsol.net> Twitter: garduino > > Arduino Software & Web Hosting http://www.arduinosoftware.com > > PasswordsPro http://www.passwordspro.com > > ================================================= > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Thnaks for the tips.
I feel like a newbie :) Nicolas 2010/7/15 Alexandre Bergel <[hidden email]>
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2010/7/15 Nicolas Cellier <[hidden email]> Thnaks for the tips. Can you record (screencast) yourself doing it (if you have time and know how to record a screencast http://pharocasts.blogspot.com/2010/02/how-i-record-screencasts-for-pharocasts.html), that's a good simple example for pharocasts.
- create the config using ProfStef - upload it on MetacelloRepository. Just send me the rush. If you make mistakes don't be scared, I can cut it later and I will add subtitles.
Laurent Laffont http://pharocasts.blogspot.com/ http://magaloma.blogspot.com/
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2010/7/15 laurent laffont <[hidden email]>
Uh, another thing to learn, but that can be usefull. I don't promise anything yet, because the project I had in mind is complex (Smallapack). I should first try with a very simple one... Nicolas
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by garduino
Germán,
The e-mail you mention is about three pages of plain text and seems to be issued in lieu of documentation for the piece of software. Are you suggesting anything such size is not worth writing for documenting the use of SW released for Pharo!? Em 14/07/2010 08:37, Germán Arduino < [hidden email] > escreveu: Hi Mariano: Yes, I know both but honestly wanted something very simple.....May be I'm too lazy but can't afford to read a mail of this extension: http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-December/132923.html :) Toothpick look better (to my needs) but still wanted something more simple. Germán. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Nicolas Cellier
Especially if you look at Pharocasts as a way to promote your software :)
I'll be glad to help Laurent
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Alexandre Bergel
Hi Alex:
Yes I know how to write a configuration (I did one for Iliad) but to this case in particular I think have not sense. My logger is only one class with a few methods.....Easily you can include the class on your own project. Cheers. Germán. 2010/7/15 Alexandre Bergel <[hidden email]>: > Hi Germán, > > Configuration may be a bit tricky to write time to time. However, they are indispensable to manage dependencies. > Suppose I want to use your logger in one of my software. The dependency I will introduce is easier if you have a configuration. > > It takes 4,5 minutes to write one with the tutorial: > ConfigurationOfMetacello project latestVersion load: #('Tutorial'). > ProfStef goOn: MetacelloCreateConfigurationTutorial. > > > Cheers, > Alexandre > > > On 15 Jul 2010, at 13:45, Germán Arduino wrote: > >> Hi Alex: >> >> I have not a configuration for this package, I think is not necessary, >> being that is really very simple. >> >> On squeak-dev the people is talking about these topics, on the thread >> "About Configurations". >> >> Cheers. >> Germán. >> >> >> >> 2010/7/15 Alexandre Bergel <[hidden email]>: >>>> ok, I added the documentation of my own package......Took me 15' :) >>> >>> Hi Germán, >>> >>> Do you have a configuration for this? >>> Thanks for the documentation >>> >>> Cheers, >>> Alexandre >>> >>>> _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by csrabak
Hi César:
Not, I'm talking about a particular context. I needed a simple logging of text on a text file and don't wanted to invest the time to understand the whole thing behind the logger of K. I found more easy write my own class (only a few minutes) and I have the thing I need. In my 25 years developing software (starting on old mainframes) I frequentlly found myself writing my own tools, instead of use other complex ones. I'm not talking about this case of logger in particular, but I'm sure you and all of us, invested lot of time searching a tool that make "aproximately" what we need now, but, almost allways the tool don't do "exactly" what we need. At this point, the loss of time begins (in my pov). I tend to use and develop the more simple things I can to solve the specific need, this is my style of work and I think that is the way to have a best use of the time. Germán. 2010/7/15 <[hidden email]>: > Germán, > > The e-mail you mention is about three pages of plain text and seems to be issued in lieu of documentation for the piece of software. > > Are you suggesting anything such size is not worth writing for documenting the use of SW released for Pharo!? > > > > Em 14/07/2010 08:37, Germán Arduino < [hidden email] > escreveu: > Hi Mariano: > > Yes, I know both but honestly wanted something very simple.....May be > I'm too lazy but can't afford to read a mail of this extension: > http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-December/132923.html > :) > > Toothpick look better (to my needs) but still wanted something more simple. > > Germán. > > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by garduino
On Fri, Jul 16, 2010 at 1:12 PM, Germán Arduino <[hidden email]> wrote: Hi Alex: Having a configuration for all tools means there's one way to load every package. That means we can automate with the Hudson server and check that every package can load on Pharo. It's also easier for newbies, they can start by learning only one (documented) way to load a tool.
That's a great strength in Ruby world, there's a gem for every lib. Anyway, I can do it as it's an opportunity to record a screencast for Pharocasts to show how to write a ConfigurationOfXXX and put it on MetacelloRepository. (if anybody else want to do it I can help)
Cheers, Laurent
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Another advantage of using Metacello is that even if you don't have dependencies, it helps you to release and define stable versions. How do you know which mcz should I use ? which one is the stable ?
If in 3 months I download it again (the latest) in the same Pharo image, will it work? You cannot know it. 2010/7/16 laurent laffont <[hidden email]>
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
hehe, I'm not against Metacello, but will not write a conf to this tiny project.
Not by now :) 2010/7/16 Mariano Martinez Peck <[hidden email]>: > Another advantage of using Metacello is that even if you don't have > dependencies, it helps you to release and define stable versions. How do you > know which mcz should I use ? which one is the stable ? > > If in 3 months I download it again (the latest) in the same Pharo image, > will it work? You cannot know it. > > 2010/7/16 laurent laffont <[hidden email]> >> >> On Fri, Jul 16, 2010 at 1:12 PM, Germán Arduino <[hidden email]> >> wrote: >>> >>> Hi Alex: >>> >>> Yes I know how to write a configuration (I did one for Iliad) but to >>> this case in particular I think have not sense. My logger is only one >>> class with a few methods.....Easily you can include the class on your >>> own project. >> >> Having a configuration for all tools means there's one way to load every >> package. That means we can automate with the Hudson server and check that >> every package can load on Pharo. It's also easier for newbies, they can >> start by learning only one (documented) way to load a tool. >> That's a great strength in Ruby world, there's a gem for every lib. >> Anyway, I can do it as it's an opportunity to record a screencast for >> Pharocasts to show how to write a ConfigurationOfXXX and put it on >> MetacelloRepository. (if anybody else want to do it I can help) >> Cheers, >> Laurent >> >> >> >>> >>> Cheers. >>> Germán. >>> >>> >>> >>> 2010/7/15 Alexandre Bergel <[hidden email]>: >>> > Hi Germán, >>> > >>> > Configuration may be a bit tricky to write time to time. However, they >>> > are indispensable to manage dependencies. >>> > Suppose I want to use your logger in one of my software. The dependency >>> > I will introduce is easier if you have a configuration. >>> > >>> > It takes 4,5 minutes to write one with the tutorial: >>> > ConfigurationOfMetacello project latestVersion load: #('Tutorial'). >>> > ProfStef goOn: MetacelloCreateConfigurationTutorial. >>> > >>> > >>> > Cheers, >>> > Alexandre >>> > >>> > >>> > On 15 Jul 2010, at 13:45, Germán Arduino wrote: >>> > >>> >> Hi Alex: >>> >> >>> >> I have not a configuration for this package, I think is not necessary, >>> >> being that is really very simple. >>> >> >>> >> On squeak-dev the people is talking about these topics, on the thread >>> >> "About Configurations". >>> >> >>> >> Cheers. >>> >> Germán. >>> >> >>> >> >>> >> >>> >> 2010/7/15 Alexandre Bergel <[hidden email]>: >>> >>>> ok, I added the documentation of my own package......Took me 15' :) >>> >>> >>> >>> Hi Germán, >>> >>> >>> >>> Do you have a configuration for this? >>> >>> Thanks for the documentation >>> >>> >>> >>> Cheers, >>> >>> Alexandre >>> >>> >>> >>>> >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [hidden email] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I don't have any time by now, but It would be better to have only one
log tool, maybe with extensions. Not 3 different ones. There should be
a way to have an integrated version that more or less suits the most
people.
Maybe the most simple solution is a set of adapters to make the three tools polymorphic, and a metacello conf to load them. On Fri, Jul 16, 2010 at 9:36 AM, Germán Arduino <[hidden email]> wrote: hehe, I'm not against Metacello, but will not write a conf to this tiny project. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by garduino
On 7/16/2010 4:22 AM, Germán Arduino wrote:
> Not, I'm talking about a particular context. I needed a simple logging > of text on a text file and don't wanted to invest the time to > understand the whole thing behind the logger of K. > > Germán. I hear you, I like simple as well; I setup a syslog/syslog-ng server and let Linux worry about it. Here's my logger... SysLog>>sendPriority: anErrorLevel body: someText [ self sendPriority: anErrorLevel body: someText toServer: (SSConfig at: #sysLogServer) ] on: Error do: [] SysLog>>sendPriority: aPriority body: aBody toServer: anIPAddress | logServer client logHostIP | anIPAddress isEmptyOrNil ifTrue: [ ^self ]. logServer := Socket newUDP setPort: 514. [ client := Socket newUDP. [ logHostIP := ((anIPAddress split: '.') collect: [:e | e asInteger ]) asByteArray . client sendUDPData: aPriority , ' ' , aBody toHost: logHostIP port: logServer port ] ensure: [ client closeAndDestroy ] ] ensure: [ logServer closeAndDestroy ] That's about all I need from my logging package. -- Ramon Leon http://onsmalltalk.com _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Interesting approach....
The only concern is that is tied to Linux, I mean, not multiplatform...... Cheers. Germán. 2010/7/16 Ramon Leon <[hidden email]>: > On 7/16/2010 4:22 AM, Germán Arduino wrote: >> >> Not, I'm talking about a particular context. I needed a simple logging >> of text on a text file and don't wanted to invest the time to >> understand the whole thing behind the logger of K. >> >> Germán. > > I hear you, I like simple as well; I setup a syslog/syslog-ng server and let > Linux worry about it. Here's my logger... > > SysLog>>sendPriority: anErrorLevel body: someText > [ self sendPriority: anErrorLevel body: someText toServer: (SSConfig > at: #sysLogServer) ] > on: Error do: [] > > SysLog>>sendPriority: aPriority body: aBody toServer: anIPAddress > | logServer client logHostIP | > anIPAddress isEmptyOrNil ifTrue: [ ^self ]. > logServer := Socket newUDP setPort: 514. > > [ client := Socket newUDP. > [ logHostIP := ((anIPAddress split: '.') collect: [:e | e > asInteger ]) asByteArray . > client sendUDPData: aPriority , ' ' , aBody toHost: logHostIP > port: logServer port ] > ensure: [ client closeAndDestroy ] ] > ensure: [ logServer closeAndDestroy ] > > That's about all I need from my logging package. > > -- > Ramon Leon > http://onsmalltalk.com > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- ================================================= Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com ================================================= _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On 7/16/2010 10:14 AM, Germán Arduino wrote:
> Interesting approach.... > > The only concern is that is tied to Linux, I mean, not multiplatform...... > > Cheers. > Germán. Not at all, I log to syslog-ng servers on windows as well. Cygwin is your friend. -- Ramon Leon http://onsmalltalk.com _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
ahh, ok.
2010/7/16 Ramon Leon <[hidden email]>: > On 7/16/2010 10:14 AM, Germán Arduino wrote: >> >> Interesting approach.... >> >> The only concern is that is tied to Linux, I mean, not multiplatform...... >> >> Cheers. >> Germán. > > Not at all, I log to syslog-ng servers on windows as well. Cygwin is your > friend. > > -- > Ramon Leon > http://onsmalltalk.com > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- ================================================= Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com ================================================= _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Ramon Leon-5
I added it to the book page :)_
On Jul 16, 2010, at 6:43 PM, Ramon Leon wrote: > On 7/16/2010 4:22 AM, Germán Arduino wrote: >> Not, I'm talking about a particular context. I needed a simple logging >> of text on a text file and don't wanted to invest the time to >> understand the whole thing behind the logger of K. >> >> Germán. > > I hear you, I like simple as well; I setup a syslog/syslog-ng server and let Linux worry about it. Here's my logger... > > SysLog>>sendPriority: anErrorLevel body: someText > [ self sendPriority: anErrorLevel body: someText toServer: (SSConfig at: #sysLogServer) ] > on: Error do: [] > > SysLog>>sendPriority: aPriority body: aBody toServer: anIPAddress > | logServer client logHostIP | > anIPAddress isEmptyOrNil ifTrue: [ ^self ]. > logServer := Socket newUDP setPort: 514. > > [ client := Socket newUDP. > [ logHostIP := ((anIPAddress split: '.') collect: [:e | e asInteger ]) asByteArray . > client sendUDPData: aPriority , ' ' , aBody toHost: logHostIP port: logServer port ] > ensure: [ client closeAndDestroy ] ] > ensure: [ logServer closeAndDestroy ] > > That's about all I need from my logging package. > > -- > Ramon Leon > http://onsmalltalk.com > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On 7/16/2010 11:44 AM, Stéphane Ducasse wrote:
> I added it to the book page :)_ Cool, but you should remove the first method as it's just a helper that uses a private package SSConfig to grab config from disk. The second method is the only one necessary. I'd fix it myself but I don't have a login. Should also mention that the purpose of it is to use standard syslog facilities found on any Linux system and some windows systems. -- Ramon Leon http://onsmalltalk.com _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
do you want a login? It would be cool that you fix it and comment it :)
Stef On Jul 16, 2010, at 8:54 PM, Ramon Leon wrote: > On 7/16/2010 11:44 AM, Stéphane Ducasse wrote: >> I added it to the book page :)_ > > Cool, but you should remove the first method as it's just a helper that uses a private package SSConfig to grab config from disk. The second method is the only one necessary. I'd fix it myself but I don't have a login. Should also mention that the purpose of it is to use standard syslog facilities found on any Linux system and some windows systems. > > -- > Ramon Leon > http://onsmalltalk.com > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On 7/16/2010 12:20 PM, Stéphane Ducasse wrote:
> do you want a login? It would be cool that you fix it and comment it :) Sure. -- Ramon Leon http://onsmalltalk.com _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |