Hi,
the mailinglist, stackoverflow and other Pharo related medias are typically used in the "here is a question to problem" followed by an "answer from community" style. But lets also think the other way around: if we already have a solution for a problem that others may have too or may have in the future we should share the answer/solution as well. I'm sure many of you have some tricks that make developing with Pharo much easier and others can profit from these tricks if we share them here on the list. Be it - a simple and useful script - a simple key combination other may not yet know of - a package one can use or how you use it - a link to a nice description on the web related on how to use Pharo - a custom tool that makes development easier - an algorithm or something that you think was solved very elegant - a way you solved a common problem easily in your app - ... Then just describe it in a few lines and post it. Also write in which Pharo version you tried it - this makes it easier for others to see in which version the trick/solution is known to work. The idea goes like this: if you have a trick to share then send a mail with subject "Pharo Trick: #xxxx] - Short Description" to the Pharo dev AND Pharo user list (see http://lists.pharo.org). Make sure to increase the trick counter xxxx. Using this special subject one can later easily get the tricks from the mailinglist archive. Also others can refer to the trick if it solves a common problem other may ask for on the list. Lets see if we are able to reach the goals of 100, 1000 or more Pharo tricks ;) Bye T. I will start with something easy but useful: ----------------------------------------------------------------------------------- [Pharo Trick: #0001] - Simple TODO ----------------------------------------------------------------------------------- Works in: Pharo3.0 Latest update: #30635 but should work in other versions too ----------------------------------------------------------------------------------- If you develop an app with Pharo you may not yet fully implement all features. Some kind of marker for future "ToDo's" is often needed. Using a pragma on a method is the easiest solution here: foo <todo: 'Add world later'> "That method is not yet fully implemented" Transcript show: 'Hello' Using a simple expression in the workspace you can browse all the TODOs for your project afterwards in a window: SystemNavigation default browseAllSendersOf: #todo: You can even query the system for the todo descriptions if you need the full list of things to work on: (PragmaCollector filter: [:prg | prg keyword = 'todo:']) reset; collect: [:each| each arguments first ] As the pragma keyword #todo: is very common and may be used by others too it may be wise to use a custom one like "myappplicationTodo:" or similar. ----------------------------------------------------------------------------------- |
I think what may be needed is a community website with materials like
cookbook recipes, idea sheets, useful links, related blogs and such --basically anything except maybe mailing lists and forums. Am I right? -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) On 12/11/2013 14:46, Torsten Bergmann wrote: > Hi, > > the mailinglist, stackoverflow and other Pharo related medias are typically used > in the "here is a question to problem" followed by an "answer from community" style. > > But lets also think the other way around: if we already have a solution for a > problem that others may have too or may have in the future we should share the > answer/solution as well. > > I'm sure many of you have some tricks that make developing with Pharo much easier > and others can profit from these tricks if we share them here on the list. > > Be it > - a simple and useful script > - a simple key combination other may not yet know of > - a package one can use or how you use it > - a link to a nice description on the web related on how to use Pharo > - a custom tool that makes development easier > - an algorithm or something that you think was solved very elegant > - a way you solved a common problem easily in your app > - ... > > Then just describe it in a few lines and post it. Also write in which Pharo > version you tried it - this makes it easier for others to see in which > version the trick/solution is known to work. > > The idea goes like this: if you have a trick to share then send a mail with > subject "Pharo Trick: #xxxx] - Short Description" to the Pharo dev AND Pharo user > list (see http://lists.pharo.org). Make sure to increase the trick counter xxxx. > > Using this special subject one can later easily get the tricks from the > mailinglist archive. Also others can refer to the trick if it solves a common > problem other may ask for on the list. > > Lets see if we are able to reach the goals of 100, 1000 or more Pharo tricks ;) > > Bye > T. > > > I will start with something easy but useful: > > ----------------------------------------------------------------------------------- > [Pharo Trick: #0001] - Simple TODO > ----------------------------------------------------------------------------------- > Works in: Pharo3.0 Latest update: #30635 but should work in other versions too > ----------------------------------------------------------------------------------- > > If you develop an app with Pharo you may not yet fully implement all features. > Some kind of marker for future "ToDo's" is often needed. Using a pragma on a method is > the easiest solution here: > > foo > <todo: 'Add world later'> > "That method is not yet fully implemented" > > Transcript show: 'Hello' > > > Using a simple expression in the workspace you can browse all the TODOs for your > project afterwards in a window: > > SystemNavigation default browseAllSendersOf: #todo: > > You can even query the system for the todo descriptions if you need the full > list of things to work on: > > (PragmaCollector filter: [:prg | prg keyword = 'todo:']) > reset; > collect: [:each| each arguments first ] > > As the pragma keyword #todo: is very common and may be used by others too > it may be wise to use a custom one like "myappplicationTodo:" or similar. > ----------------------------------------------------------------------------------- > signature.asc (565 bytes) Download Attachment |
Better yet: write a blog post and send the link to the list. Doru On Wed, Dec 11, 2013 at 12:25 PM, Bahman Movaqar <[hidden email]> wrote: I think what may be needed is a community website with materials like "Every thing has its own flow"
|
#Luc 2013/12/11 Tudor Girba <[hidden email]>
|
In reply to this post by Tudor Girba-2
2013/12/11 Tudor Girba <[hidden email]>
With that approach there's the issue that blogs can (and do) go away for various reasons :/ Cheers, Sergi |
In reply to this post by bahman
I'd be very glad to offer Pharo community a free full-fledged Plone
website to use as a community website, a few examples: http://yfl.BahmanM.com http://michael.richter.name The services I can offer include * The ability to create several content types on the websites: + Pages (recipes, articles, ideas, ...) + Links + Forums + Images * Accurate full-text-search * Upload any type of file * And whatever else the community requires Let me know if you are interested in this offer. -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) On 12/11/2013 14:55, Bahman Movaqar wrote: > I think what may be needed is a community website with materials like > cookbook recipes, idea sheets, useful links, related blogs and such > --basically anything except maybe mailing lists and forums. Am I right? > > -- > Bahman Movaqar (http://BahmanM.com) > > ERP Evaluation, Implementation & Deployment Consultant > PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) > > On 12/11/2013 14:46, Torsten Bergmann wrote: >> Hi, >> >> the mailinglist, stackoverflow and other Pharo related medias are typically used >> in the "here is a question to problem" followed by an "answer from community" style. >> >> But lets also think the other way around: if we already have a solution for a >> problem that others may have too or may have in the future we should share the >> answer/solution as well. >> >> I'm sure many of you have some tricks that make developing with Pharo much easier >> and others can profit from these tricks if we share them here on the list. >> >> Be it >> - a simple and useful script >> - a simple key combination other may not yet know of >> - a package one can use or how you use it >> - a link to a nice description on the web related on how to use Pharo >> - a custom tool that makes development easier >> - an algorithm or something that you think was solved very elegant >> - a way you solved a common problem easily in your app >> - ... >> >> Then just describe it in a few lines and post it. Also write in which Pharo >> version you tried it - this makes it easier for others to see in which >> version the trick/solution is known to work. >> >> The idea goes like this: if you have a trick to share then send a mail with >> subject "Pharo Trick: #xxxx] - Short Description" to the Pharo dev AND Pharo user >> list (see http://lists.pharo.org). Make sure to increase the trick counter xxxx. >> >> Using this special subject one can later easily get the tricks from the >> mailinglist archive. Also others can refer to the trick if it solves a common >> problem other may ask for on the list. >> >> Lets see if we are able to reach the goals of 100, 1000 or more Pharo tricks ;) >> >> Bye >> T. >> >> >> I will start with something easy but useful: >> >> ----------------------------------------------------------------------------------- >> [Pharo Trick: #0001] - Simple TODO >> ----------------------------------------------------------------------------------- >> Works in: Pharo3.0 Latest update: #30635 but should work in other versions too >> ----------------------------------------------------------------------------------- >> >> If you develop an app with Pharo you may not yet fully implement all features. >> Some kind of marker for future "ToDo's" is often needed. Using a pragma on a method is >> the easiest solution here: >> >> foo >> <todo: 'Add world later'> >> "That method is not yet fully implemented" >> >> Transcript show: 'Hello' >> >> >> Using a simple expression in the workspace you can browse all the TODOs for your >> project afterwards in a window: >> >> SystemNavigation default browseAllSendersOf: #todo: >> >> You can even query the system for the todo descriptions if you need the full >> list of things to work on: >> >> (PragmaCollector filter: [:prg | prg keyword = 'todo:']) >> reset; >> collect: [:each| each arguments first ] >> >> As the pragma keyword #todo: is very common and may be used by others too >> it may be wise to use a custom one like "myappplicationTodo:" or similar. >> ----------------------------------------------------------------------------------- >> > signature.asc (565 bytes) Download Attachment |
In reply to this post by bahman
I do self flag: #TODO. "blah"
Senders of symbol works too. Made a nautilus too that gives me the list so that I can click and go there. Phil On Wednesday, December 11, 2013, Bahman Movaqar wrote: I think what may be needed is a community website with materials like -- --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback
High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller
|
In reply to this post by Torsten Bergmann
[Pharo Trick: #0003] - halt in button
when you are building a user interface and you want to define the behavior of a button but you do not really know. you can use self halt or self inspect and you get an inspector/debugger on your application model Stef |
In reply to this post by Torsten Bergmann
Nice idea Torsten, this kind of tricks ;-)
Maybe we can save them online somewhere ? gists.github.com ? On Wed, Dec 11, 2013 at 12:16 PM, Torsten Bergmann <[hidden email]> wrote: > Hi, > > the mailinglist, stackoverflow and other Pharo related medias are typically used > in the "here is a question to problem" followed by an "answer from community" style. > > But lets also think the other way around: if we already have a solution for a > problem that others may have too or may have in the future we should share the > answer/solution as well. > > I'm sure many of you have some tricks that make developing with Pharo much easier > and others can profit from these tricks if we share them here on the list. > > Be it > - a simple and useful script > - a simple key combination other may not yet know of > - a package one can use or how you use it > - a link to a nice description on the web related on how to use Pharo > - a custom tool that makes development easier > - an algorithm or something that you think was solved very elegant > - a way you solved a common problem easily in your app > - ... > > Then just describe it in a few lines and post it. Also write in which Pharo > version you tried it - this makes it easier for others to see in which > version the trick/solution is known to work. > > The idea goes like this: if you have a trick to share then send a mail with > subject "Pharo Trick: #xxxx] - Short Description" to the Pharo dev AND Pharo user > list (see http://lists.pharo.org). Make sure to increase the trick counter xxxx. > > Using this special subject one can later easily get the tricks from the > mailinglist archive. Also others can refer to the trick if it solves a common > problem other may ask for on the list. > > Lets see if we are able to reach the goals of 100, 1000 or more Pharo tricks ;) > > Bye > T. > > > I will start with something easy but useful: > > ----------------------------------------------------------------------------------- > [Pharo Trick: #0001] - Simple TODO > ----------------------------------------------------------------------------------- > Works in: Pharo3.0 Latest update: #30635 but should work in other versions too > ----------------------------------------------------------------------------------- > > If you develop an app with Pharo you may not yet fully implement all features. > Some kind of marker for future "ToDo's" is often needed. Using a pragma on a method is > the easiest solution here: > > foo > <todo: 'Add world later'> > "That method is not yet fully implemented" > > Transcript show: 'Hello' > > > Using a simple expression in the workspace you can browse all the TODOs for your > project afterwards in a window: > > SystemNavigation default browseAllSendersOf: #todo: > > You can even query the system for the todo descriptions if you need the full > list of things to work on: > > (PragmaCollector filter: [:prg | prg keyword = 'todo:']) > reset; > collect: [:each| each arguments first ] > > As the pragma keyword #todo: is very common and may be used by others too > it may be wise to use a custom one like "myappplicationTodo:" or similar. > ----------------------------------------------------------------------------------- > -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/ |
Free forum by Nabble | Edit this page |