Re: [Pharo-dev] [ANN] Generating beautiful html books from Pillar

2014-06-07 Thread kilon alios
this is very nice indeed, I really like that it even has theme to choose
from including a dark one. The search feature does not seem to work.


On Sat, Jun 7, 2014 at 4:55 AM, Ben Coman b...@openinworld.com wrote:

 Damien Cassou wrote:

 Nicolas Petton and I are proud to announce the possibility to create
 really nice HTML books from Pillar (I must thank
 https://github.com/GitbookIO/gitbook as well). The first book to get
 this nice layout is the Pillar documentation:

 http://damiencassou.gitbooks.io/pillar/introduction.pier.html

 --
 Damien Cassou
 http://damiencassou.seasidehosting.st

 Success is the ability to go from one failure to another without losing
 enthusiasm.
 Winston Churchill

 looks nice.  I assume it includes all the fruit in the side bar?




[Pharo-dev] Understanding the System Browser

2014-06-07 Thread kilon alios
I want to make a video tutorial about System Browser and I want to clarify
some things first :

--- Part 1  -- Methods 

1) What Browser full  really means ? and whats the difference with plain
browsing ?

2) When I move a method to a different package , what really happens ?

3) When refactoring a method to add a parameter how this works because I
cant make it work.

4) What does Inline parameter for factoring methods really does ? Does it
just convert the method to a unary with the argument as a local ?

5) What inline target sends does ?

6) How method move works ?

7) why rename method all is in the main menu and in the sub menu
refactoring

8) add in Group throws me an error listmanager is nil.

-- Part 2 -- Classes 

9) In analyze sub menu there is a Force the generation of intialize
method what this means ?

10) In refactoring  coder rewriting . How all options work ? Whats their
purpose ?

11) In refactoring  class refactoring what Realize really does ?

12) in refactoring  class refactoring if I do split and press cancel in
both dialogs to cancel the actions to exits with an error.

13) add in group also displays the same error here

--- Part 3 -- Packages

14) add in group throws me an error

15) What Add tag really does ?

Those are just a few questions for now. I want to make a tutorial that
really exposes the power of system Browser.


Re: [Pharo-dev] Understanding the System Browser

2014-06-07 Thread Nicolai Hess
Hi Kilon,


2014-06-07 11:12 GMT+02:00 kilon alios kilon.al...@gmail.com:

 I want to make a video tutorial about System Browser and I want to clarify
 some things first :


Great!



 --- Part 1  -- Methods 

 1) What Browser full  really means ? and whats the difference with plain
 browsing ?


I would say Browse Full is the normal browser, no scope and other
(older) SystemBrowser had some
special views, like hierarchy browser, version browser...



 2) When I move a method to a different package , what really happens ?


The methods protocol will change, and therefor it belongs now to different
package than its class



 3) When refactoring a method to add a parameter how this works because I
 cant make it work.


For example Workspace#openFile:
and you would like to add a failblock add paramter, change selector to
openFile:ifFailed:
and define the default value, for example nil.
Now all existing calls to Workspace#openFile: will be replaced with
openFile:filename ifFailed:nil




 4) What does Inline parameter for factoring methods really does ? Does it
 just convert the method to a unary with the argument as a local ?

 5) What inline target sends does ?

 6) How method move works ?


This may be a usefull refactoring, I never used  :)
The purpose is, if you have a method (#draw for example) in Object X which
implementation highly depens on the internal structure
of one of the instvars of X, it is better to move this method to the class
of this instvar and
call something like var drawFor:self




 7) why rename method all is in the main menu and in the sub menu
 refactoring

 8) add in Group throws me an error listmanager is nil.


Groups are buggy, I am about to refactor and fix this. Feel free to file
some bug reports if they are missing.



 -- Part 2 -- Classes 

 9) In analyze sub menu there is a Force the generation of intialize
 method what this means ?


generates an initialze method which calls super initialize and initialize
all instvars with nil,
helpful if you make a new subclass with additional inst vars.



 10) In refactoring  coder rewriting . How all options work ? Whats their
 purpose ?


I would like to know that too :)



 11) In refactoring  class refactoring what Realize really does ?


No idea



 12) in refactoring  class refactoring if I do split and press cancel in
 both dialogs to cancel the actions to exits with an error.


thats bad.



 13) add in group also displays the same error here


groups, yes well ...




 --- Part 3 -- Packages

 14) add in group throws me an error


I hate groups :)



 15) What Add tag really does ?


It helps to organize classes within one package. Therefor you don't need to
create seperate packages for every group, for example:
MyProject-X-Core
MyProject-X-Tests
MyProject-X-Model
MyProject-X-UI
just one package with tags:
MyProject-X with tags Core/Tests/Model/UI



 Those are just a few questions for now. I want to make a tutorial that
 really exposes the power of system Browser.




I hope this helps, we really really need good (up to date) documentation ,
thank you for your efforts.


nicolai


Re: [Pharo-dev] Understanding the System Browser

2014-06-07 Thread kilon alios
thank you Nicolai for the reply. I think I have enough info to cover most
of my questions now in the video tutorial. But if anyone else can help out
answering those please do so.


On Sat, Jun 7, 2014 at 2:03 PM, Nicolai Hess nicolaih...@web.de wrote:

 Hi Kilon,


 2014-06-07 11:12 GMT+02:00 kilon alios kilon.al...@gmail.com:

 I want to make a video tutorial about System Browser and I want to clarify
 some things first :


 Great!



 --- Part 1  -- Methods 

 1) What Browser full  really means ? and whats the difference with
 plain browsing ?


 I would say Browse Full is the normal browser, no scope and other
 (older) SystemBrowser had some
 special views, like hierarchy browser, version browser...



 2) When I move a method to a different package , what really happens ?


 The methods protocol will change, and therefor it belongs now to different
 package than its class



 3) When refactoring a method to add a parameter how this works because I
 cant make it work.


 For example Workspace#openFile:
 and you would like to add a failblock add paramter, change selector to
 openFile:ifFailed:
 and define the default value, for example nil.
 Now all existing calls to Workspace#openFile: will be replaced with
 openFile:filename ifFailed:nil




 4) What does Inline parameter for factoring methods really does ? Does it
 just convert the method to a unary with the argument as a local ?

 5) What inline target sends does ?

 6) How method move works ?


 This may be a usefull refactoring, I never used  :)
 The purpose is, if you have a method (#draw for example) in Object X which
 implementation highly depens on the internal structure
 of one of the instvars of X, it is better to move this method to the class
 of this instvar and
 call something like var drawFor:self




 7) why rename method all is in the main menu and in the sub menu
 refactoring

 8) add in Group throws me an error listmanager is nil.


 Groups are buggy, I am about to refactor and fix this. Feel free to file
 some bug reports if they are missing.



 -- Part 2 -- Classes 

 9) In analyze sub menu there is a Force the generation of intialize
 method what this means ?


 generates an initialze method which calls super initialize and initialize
 all instvars with nil,
 helpful if you make a new subclass with additional inst vars.



 10) In refactoring  coder rewriting . How all options work ? Whats their
 purpose ?


 I would like to know that too :)



 11) In refactoring  class refactoring what Realize really does ?


 No idea



 12) in refactoring  class refactoring if I do split and press cancel in
 both dialogs to cancel the actions to exits with an error.


 thats bad.



 13) add in group also displays the same error here


 groups, yes well ...




 --- Part 3 -- Packages

 14) add in group throws me an error


 I hate groups :)



 15) What Add tag really does ?


 It helps to organize classes within one package. Therefor you don't need
 to create seperate packages for every group, for example:
 MyProject-X-Core
 MyProject-X-Tests
 MyProject-X-Model
 MyProject-X-UI
 just one package with tags:
 MyProject-X with tags Core/Tests/Model/UI



 Those are just a few questions for now. I want to make a tutorial that
 really exposes the power of system Browser.




 I hope this helps, we really really need good (up to date) documentation ,
 thank you for your efforts.


 nicolai




Re: [Pharo-dev] Copy a Slice

2014-06-07 Thread Esteban Lorenzano
Hi, 

you forgot to add your credentials to the Pharo40Inbox repository, after that, 
copy slice should work. 

Esteban

On 06 Jun 2014, at 18:54, Nicolai Hess nicolaih...@web.de wrote:

 I prepared some slice with bugfixes, at that time I couldn't upload
 this slices, but they are stored in my package-cache.
 How can I upload/copy these changes from my package-cache to pharo40inbox?
 
 If I chose copy from the repository browser and select pharo40inbox it does
 not work:
 a ZnResponse(403 Forbidden text/plain 512B)




Re: [Pharo-dev] [Pharo-users] [ANN] Generating beautiful html books from Pillar

2014-06-07 Thread Tudor Girba
Beautiful!

Doru


On Fri, Jun 6, 2014 at 6:06 PM, Damien Cassou damien.cas...@gmail.com
wrote:

 Nicolas Petton and I are proud to announce the possibility to create
 really nice HTML books from Pillar (I must thank
 https://github.com/GitbookIO/gitbook as well). The first book to get this
 nice layout is the Pillar documentation:

 http://damiencassou.gitbooks.io/pillar/introduction.pier.html

 --
 Damien Cassou
 http://damiencassou.seasidehosting.st

 Success is the ability to go from one failure to another without losing
 enthusiasm.
 Winston Churchill




-- 
www.tudorgirba.com

Every thing has its own flow


Re: [Pharo-dev] issue validation needed

2014-06-07 Thread Esteban Lorenzano
Hi,

this is a problem that arises with the ConfigurationOfCog (changed to use 
VMMaker.oscog, instead VMMaker-oscog). 
is hard to reproduce because I spotted it in a weird combination: is a 
configuration that uses just the baseline and files are in filetree format. 

to reproduce it,  save a package as a branch (for example, save package A as 
A.branch-YourName.1)
then change a configuration: 

package: ‘A.branch’

then you will see an error. 
but most important to me is to check that this change does not forbids other 
configurations to load. 
also I will need to backport it to 3.0 because this is needed for building the 
vm :(

yes, I could rename the package again and use it like before, but I wanted to 
align as close as possible to current Eliot sources. 

cheers, 
Esteban

On 05 Jun 2014, at 14:49, Max Leske maxle...@gmail.com wrote:

 Is there an easy way to reproduce this? I don’t quite see what I have to do 
 to verify the fix.
 
 
 On 05.06.2014, at 14:30, Damien Cassou damien.cas...@gmail.com wrote:
 
 On Wed, Jun 4, 2014 at 9:12 PM, Esteban Lorenzano esteba...@gmail.com 
 wrote:
 can someone check this metacello issue?
 
 https://pharo.fogbugz.com/f/cases/13305/
 
 I really need it for continue with VM work.
 
 
 for the laziest among you:
 
 Problem resolving branches with Metacello
 The fix is in the Inbox
 
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 
 
 




[Pharo-dev] Pharo Logo

2014-06-07 Thread kilon alios
Hi I want to use the pharo logo at the start of each of my video tutorials,
is there is a high res version of it or a vector version I can scale up ?
My videos are HD so I would prefer it if it was something that I can use as
big size.


Re: [Pharo-dev] Pharo Logo

2014-06-07 Thread Ben Coman

kilon alios wrote:
Hi I want to use the pharo logo at the start of each of my video 
tutorials, is there is a high res version of it or a vector version I 
can scale up ? My videos are HD so I would prefer it if it was 
something that I can use as big size. 

maybe http://files.pharo.org/media/logo/Pharo%20Logo%20SVG/



Re: [Pharo-dev] Pharo Logo

2014-06-07 Thread kilon alios
yeap thats what I was looking for , thanks Ben. I tried to google it but
nothing came up.


On Sat, Jun 7, 2014 at 5:15 PM, Ben Coman b...@openinworld.com wrote:

 kilon alios wrote:

 Hi I want to use the pharo logo at the start of each of my video
 tutorials, is there is a high res version of it or a vector version I can
 scale up ? My videos are HD so I would prefer it if it was something that I
 can use as big size.

 maybe http://files.pharo.org/media/logo/Pharo%20Logo%20SVG/




Re: [Pharo-dev] Copy a Slice

2014-06-07 Thread Nicolai Hess
Thank you!
That worked.



2014-06-07 14:57 GMT+02:00 Esteban Lorenzano esteba...@gmail.com:

 Hi,

 you forgot to add your credentials to the Pharo40Inbox repository, after
 that, copy slice should work.

 Esteban

 On 06 Jun 2014, at 18:54, Nicolai Hess nicolaih...@web.de wrote:

  I prepared some slice with bugfixes, at that time I couldn't upload
  this slices, but they are stored in my package-cache.
  How can I upload/copy these changes from my package-cache to
 pharo40inbox?
 
  If I chose copy from the repository browser and select pharo40inbox it
 does
  not work:
  a ZnResponse(403 Forbidden text/plain 512B)




Re: [Pharo-dev] Different EOL between Save and Save As in Workspace

2014-06-07 Thread Nicolai Hess
done

https://pharo.fogbugz.com/default.asp?13314



2014-06-06 21:41 GMT+02:00 Sven Van Caekenberghe s...@stfx.eu:


 On 06 Jun 2014, at 21:23, Nicolai Hess nicolaih...@web.de wrote:

  Workspace#saveString:toFile: ( or FileStream) behaves differently for
 arguments of type ByteString and Text.
  ByteString is used by Save as
  Text is used by accept.

 Great catch !

 Maybe the easiest fix is to do a #asString before doing the nextPutAll: in
 #saveString:toFile: - way easier than figuring out the mess of
 MultiByteFileStream.

  Reproduceable with:
 
  |fileone filetwo text str|
  text:='hello
  world' asText.
  str:='hello
  world'.
  fileone:='text1.txt'.
  filetwo:='text2.txt'.
  FileStream forceNewFileNamed: fileone do: [ :stream |
  stream converter: (TextConverter newForEncoding: 'utf-8').
  stream wantsLineEndConversion: true.
  stream lineEndConvention: #crlf.
  stream nextPutAll: text ].
 
  FileStream forceNewFileNamed: filetwo do: [ :stream |
  stream converter: (TextConverter newForEncoding: 'utf-8').
  stream wantsLineEndConversion: true.
  stream lineEndConvention: #crlf.
  stream nextPutAll: str ].
 
 
 
 
 
  2014-06-06 20:06 GMT+02:00 Sven Van Caekenberghe s...@stfx.eu:
  I looked at the Workspace code a bit, but just by looking at it, I can't
 find anything wrong. Everything (look at the senders) goes through
 Workspace#saveString:toFile: which uses both the chosen encoding and line
 end convention.
 
  But I have also not yet tried to reproduce the problem.
 
  On 06 Jun 2014, at 19:30, p...@highoctane.be wrote:
 
   Look at the top right arrow-style men in the window of the workspace,
 there are also some checkboxes in there related to line endings... (near
 the end).
  
   Phil
  
  
  
  
   On Fri, Jun 6, 2014 at 6:02 PM, stepharo steph...@free.fr wrote:
   enter a bug entry.
  
   On 5/6/14 19:16, Esteban A. Maringolo wrote:
   When working in a Workspace, if I choose to save using Ctrl+S, the
   file will have Mac EOL (getting a lot of ^M characters when viewed
   using less or vim), if I choose Save As it saves the file properly
   (as expected).
  
   I guess this is a Bug, but maybe its not.
  
   Regards!
  
   Esteban A. Maringolo
  
  
  
  
  
 
 
 




Re: [Pharo-dev] Pharo Logo

2014-06-07 Thread Nicolas Petton
AFAIK Camillo did the flat logo. He should have the svg files :)

Cheers,
Nico

Tudor Girba tu...@tudorgirba.com writes:

 That is the old logo. I was also looking for the flat high resolution logo,
 but I cannot find that one on the files server.

 Does anyone know where to find that one?

 Cheers,
 Doru


 On Sat, Jun 7, 2014 at 4:37 PM, kilon alios kilon.al...@gmail.com wrote:

 yeap thats what I was looking for , thanks Ben. I tried to google it but
 nothing came up.


 On Sat, Jun 7, 2014 at 5:15 PM, Ben Coman b...@openinworld.com wrote:

 kilon alios wrote:

 Hi I want to use the pharo logo at the start of each of my video
 tutorials, is there is a high res version of it or a vector version I can
 scale up ? My videos are HD so I would prefer it if it was something that I
 can use as big size.

 maybe http://files.pharo.org/media/logo/Pharo%20Logo%20SVG/




-- 
Nicolas Petton
http://nicolas-petton.fr




[Pharo-dev] issue validation for pharo40

2014-06-07 Thread Nicolai Hess
I guess you all already know, that the issuevalidator doesn't work for
slices from pharo40 inbox. Is there anything we can do?

nicolai


[Pharo-dev] Pipe operator

2014-06-07 Thread S. Garth Holland
Will Pharo ever get the pipe opeator?
http://www.reddit.com/r/smalltalk/comments/27k27b/chaining_messages/
/Garth

  

Re: [Pharo-dev] Pipe operator

2014-06-07 Thread Ben Coman




S. Garth Holland wrote:

  
  
  Will Pharo ever get the pipe opeator?
  
  
  http://www.reddit.com/r/smalltalk/comments/27k27b/chaining_messages/
  
  
  /Garth
  
  
  
  
  

I don't follow. That word 'pipe' doesn't appear on that page.
cheers -ben