[Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
I completely understand the inability to create full blown documentation because of lack of free time. I am not referring to any Pharo Library out there. Please pharo developers comment your classes. Dont even comment the small ones, comment the big ones (over 20 methods). 5 minutes per class , i

Re: [Pharo-dev] Complaints about Spec

2014-06-20 Thread Sven Van Caekenberghe
On 20 Jun 2014, at 08:39, stepharo wrote: > Did you check that in Phro for the entreprise there is a calculator tutorial > based on spec. > > Sven I'm interested reading yours. I am in the process of writing, pushed a bit by Yuriy's questions, but these things take time and are a lot of work

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Damien Cassou
On Fri, Jun 20, 2014 at 9:10 AM, kilon alios wrote: > Saying that I will start adding class comments wherever I can but > obviously the people that have created the code are far more qualified than > me . > I suggest that you ask on this mailing list when you would like to have documentation on

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
yes good idea Damien , thank you. Right now I am working with Rubric building a new workspace tool basing it on the rubric example. Spec and Morphic are on my list too. Should I open also an issue on the bug tracker with a slice of my class comment ? Or is posting it here enough ? On Fri, Jun 20

Re: [Pharo-dev] vm over android

2014-06-20 Thread Clément Bera
2014-06-19 18:35 GMT+02:00 Esteban A. Maringolo : > Hi Clement, > > 2014-06-19 12:52 GMT-03:00 Clément Bera : > > 2014-06-18 15:39 GMT+02:00 Esteban A. Maringolo : > > >> Can you share what is the intended use of the android vm that you're > >> building? > > > - Deploying application on Android >

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Yuriy Tymchuk
I have not worked with spec a lot, but I think that it’s nice in terms of comments, they are very helpful. Also lately I’ve worked with Roassal2 - no comments at all, but you can ask Alex for help :) Uko On 20 Jun 2014, at 10:06, kilon alios wrote: > yes good idea Damien , thank you. Right no

Re: [Pharo-dev] vm over android

2014-06-20 Thread Jan Vrany
Hi, Yes there is a business interest of running on ARM processors. Some of the big companies use smalltalk on their own hardware for very specific tasks, and they are now constraint to use x86 processor due to smalltalk. There are other smalltalks that run on non-x86 && non-amd64 machines. Sma

Re: [Pharo-dev] Configuration Browser and Pharo4

2014-06-20 Thread Stephan Eggermont
Nicolai wrote: >How can I make configurations from >MetaRepoPharo30 work on Pharo4? Go to ci.pharo.org/pharo-contributions, log in, select a build, edit the configuration and add a Pharo4 build. Click build now, and fix the build when needed. When it is green (and works), copy the configuration to

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Sven Van Caekenberghe
I am a bit offended by the generalisations in your remarks, Kilon. It sounds a bit like there is no documentation at all. There are several books, covering many of the high level aspects. There is lots of documentation in the image, many class comments are pretty good, as are many method commen

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Yuriy Tymchuk
On 20 Jun 2014, at 10:45, Sven Van Caekenberghe wrote: > I am a bit offended by the generalisations in your remarks, Kilon. It sounds > a bit like there is no documentation at all. > > There are several books, covering many of the high level aspects. > > There is lots of documentation in the

Re: [Pharo-dev] Cloudfork HMAC-SHA256 in System-Hashing

2014-06-20 Thread François Stephany
Max, Yes, it's usable as the SHA1 package already there (without HMAC so). I'm no expert in those stuff but I don't get "SHA256 base implementation". Someone with more knowledge can probably tell ;) Sven, The bare minimum to load it is: Gofer it smalltalkhubUser: 'JanVanDeSandt' project: 'C

Re: [Pharo-dev] Cloudfork HMAC-SHA256 in System-Hashing

2014-06-20 Thread Sven Van Caekenberghe
OK, thanks, I will have a look. On 20 Jun 2014, at 10:56, François Stephany wrote: > Max, > > Yes, it's usable as the SHA1 package already there (without HMAC so). I'm no > expert in those stuff but I don't get "SHA256 base implementation". Someone > with more knowledge can probably tell ;) >

Re: [Pharo-dev] vm over android

2014-06-20 Thread Clément Bera
2014-06-20 10:16 GMT+02:00 Jan Vrany : > Hi, > > > Yes there is a business interest of running on ARM processors. Some of >> the big companies use smalltalk on their own hardware for very specific >> tasks, and they are now constraint to use x86 processor due to smalltalk. >> >> There are other

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
" It sounds a bit like there is no documentation at all" Ι never implied this, and I refuse to believe that my wording can sound like that. I just say that the class comments are usually too small and many important classes are not documented at all. I don't know why you think I targeted you speci

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
I think some Spec class comments could be bigger maybe with a couple of sort examples. Now that we have an online reference for Pharo it would be important if class comments are lengthier even if the information is covered in the PFTE Spec tutorial. But I will investigate further to see what I can

[Pharo-dev] Linking to online documentation

2014-06-20 Thread kilon alios
Hello guys I want to create a small documentation tool that will display my own documentation for classes and methods and then have a more info button for linking to existing documentation online. Any quick pointers how I do that, creating the button should be no problem but I don't know how to tr

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Sven Van Caekenberghe
You are not targeting me, you are targeting everybody, that is why I, as a member of this community trying to improve things, feel offended. By saying 'the class comments are not good', you imply all of them. If I say 'people from country X are lazy' or even 'many/most of them are lazy', most p

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Igor Stasenko
On 20 June 2014 02:01, Alexandre Bergel wrote: > Times to times, font are displayed in a very weir fashion: small and big > letter. Width is not properly computed in addition. > > that should be fixed already.. i will check. > Alexandre > > > Le 19-06-2014 à 18:26, Nicolai Hess a écrit : > >

Re: [Pharo-dev] How to convert properyl an Athens Surface to a Form

2014-06-20 Thread Igor Stasenko
the best way is to blit surface on the morphic canvas using displayOnMorphicCanvas: canvas at: aPoint method. On 19 June 2014 22:16, Nicolai Hess wrote: > I use asForm and it works for me. > can you create a screenshot with the odd result > it creates. > > > > > > > > > 2014-06-19 21:58 GMT+02:

[Pharo-dev] [pharo-project/pharo-core] 364f4b: 40026

2014-06-20 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 364f4b8d02889711941dcacbde2d7bd764f7a564 https://github.com/pharo-project/pharo-core/commit/364f4b8d02889711941dcacbde2d7bd764f7a564 Author: Jenkins Build Server Date: 2014-06-20 (Fri, 20 Jun 2014

[Pharo-dev] [pharo-project/pharo-core]

2014-06-20 Thread GitHub
Branch: refs/tags/40026 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] Adding progress to SmalllintChecker

2014-06-20 Thread Yuriy Tymchuk
Hi, can we add the progress bar to RBSmalllintChecker so we will see how many classes have been already checked? Or also how many methods in the class (though I don’t think this is reasonable). Uko

Re: [Pharo-dev] Pharo VM crash on seom DrGeo sketch

2014-06-20 Thread Igor Stasenko
On 20 June 2014 08:45, stepharo wrote: > Hilaire > > do you have the error stack? Because the vm crash does not help. > > well, the log file gives enough information what causing the problem. Most recent primitives primRenderScanline:with: primFinishedProcessing primRenderScanline:with: primFini

Re: [Pharo-dev] Configuration Browser and Pharo4

2014-06-20 Thread nicolaih...@googlemail.com
On Fri Jun 20 10:26:33 2014 Stephan Eggermont wrote: > Nicolai wrote: > > How can I make configurations from > > MetaRepoPharo30 work on Pharo4? > > Go to ci.pharo.org/pharo-contributions, log in, > select a build, edit the configuration and add a Pharo4 build. > Click build now, and fix the buil

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread stepharo
On 20/6/14 09:10, kilon alios wrote: I completely understand the inability to create full blown documentation because of lack of free time. I am not referring to any Pharo Library out there. Please pharo developers comment your classes. +1000 Dont even comment the small ones, commen

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread stepharo
On 20/6/14 10:06, kilon alios wrote: yes good idea Damien , thank you. Right now I am working with Rubric building a new workspace tool basing it on the rubric example. Spec and Morphic are on my list too. Should I open also an issue on the bug tracker with a slice of my class comment ? op

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread stepharo
The problem is that documenting frameworks is difficult. You should build cookbook. stef On 20/6/14 12:21, kilon alios wrote: I think some Spec class comments could be bigger maybe with a couple of sort examples. Now that we have an online reference for Pharo it would be important if class co

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
"If I say 'people from country X are lazy' or even 'many/most of them are lazy', most people of that country, especially those who are definitively not will be rightfully offended. It is a generalisation that creates a bad reputation which is unfair." As a Greek believe me I can sympathize with an

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Freemail
Documentation is not that bad. Good parts are definitly pharo by example, for the enterprise and deep into pharo. But roassal2 for example has many undocumented classes. I am willing to help here. At the moment I am trying to get all athens examples to work. And of course, people in this list a

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Tudor Girba
We thought so, too. But the problem manifests itself again on the latest Pharo 3.0. Thanks for checking and let us know if we can do something! Doru On Fri, Jun 20, 2014 at 12:53 PM, Igor Stasenko wrote: > > > > On 20 June 2014 02:01, Alexandre Bergel wrote: > >> Times to times, font are dis

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
yes I have bought PBE and Deep Into Pharo and I have read at least 3 times each book , I love them. The documentation is well written. PFTE is turning into a well written Pharo bible, so yeah things are going very well on documentation front. I am helping with porting PBE to Pharo 3, first 3 chapt

[Pharo-dev] [pharo-project/pharo-core] d4bdaa: 40027

2014-06-20 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: d4bdaab411107f133ac0ce54005e3131de6226b0 https://github.com/pharo-project/pharo-core/commit/d4bdaab411107f133ac0ce54005e3131de6226b0 Author: Jenkins Build Server Date: 2014-06-20 (Fri, 20 Jun 2014

[Pharo-dev] [pharo-project/pharo-core]

2014-06-20 Thread GitHub
Branch: refs/tags/40027 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread Damien Cassou
On Fri, Jun 20, 2014 at 2:03 PM, kilon alios wrote: > am considering making a chapter about it fairly soon. what about putting this chapter in UpdatedPBE? -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusia

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Igor Stasenko
On 20 June 2014 13:40, Tudor Girba wrote: > We thought so, too. But the problem manifests itself again on the latest > Pharo 3.0. > > Thanks for checking and let us know if we can do something! > > Sure, you can do: make sure you don't render text with same font in Morphic UI and Athens, so they

Re: [Pharo-dev] The importance of Class Comments

2014-06-20 Thread kilon alios
I don't have an issue with that but Stephane Ducasse asked me not to change PBE and only do necessary porting to Pharo 3 so people that have done the translations for it will have easier time porting their translations too. The chapter will be based on a chapter I have created for a book teaching

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Tudor Girba
I do not understand. I think we are talking about two different things. Alex and I are talking about wrong rendering of FT fonts in Athens. A problem that looks similar to what we had before. Our issue has nothing to do with StrikeFont. Cheers, Doru On Fri, Jun 20, 2014 at 3:32 PM, Igor Stasenk

Re: [Pharo-dev] Cloudfork HMAC-SHA256 in System-Hashing

2014-06-20 Thread Jan van de Sandt
Hello, I added the SHA256 class to Cloudfork a few years ago. The class was mostly copied from the Cryptography [1] project. Cheers, Jan. [1] http://www.squeaksource.com/Cryptography/ On Fri, Jun 20, 2014 at 10:56 AM, François Stephany < tulipe.mouta...@gmail.com> wrote: > Max, > > Yes, it's

Re: [Pharo-dev] Cloudfork HMAC-SHA256 in System-Hashing

2014-06-20 Thread Jan van de Sandt
And I think it's a good idea to make SHA2 hash functions part of the System-Hashing package! On Fri, Jun 20, 2014 at 5:01 PM, Jan van de Sandt wrote: > Hello, > > I added the SHA256 class to Cloudfork a few years ago. The class was > mostly copied from the Cryptography [1] project. > > Cheers,

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Alexandre Bergel
+1 -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Jun 20, 2014, at 10:32 AM, Tudor Girba wrote: > I do not understand. > > I think we are talking about two different things. Alex and I are tal

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Chris Cunningham
On Fri, Jun 20, 2014 at 7:32 AM, Tudor Girba wrote: > I do not understand. > > I think we are talking about two different things. Alex and I are talking > about wrong rendering of FT fonts in Athens. A problem that looks similar > to what we had before. Our issue has nothing to do with StrikeFont

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Tudor Girba
Why is that? Doru On Fri, Jun 20, 2014 at 7:46 PM, Chris Cunningham wrote: > On Fri, Jun 20, 2014 at 7:32 AM, Tudor Girba wrote: > >> I do not understand. >> >> I think we are talking about two different things. Alex and I are talking >> about wrong rendering of FT fonts in Athens. A problem

Re: [Pharo-dev] Cloudfork HMAC-SHA256 in System-Hashing

2014-06-20 Thread Norbert Hartl
> Am 20.06.2014 um 17:06 schrieb Jan van de Sandt : > > And I think it's a good idea to make SHA2 hash functions part of the > System-Hashing package! > +1 Norbert > >> On Fri, Jun 20, 2014 at 5:01 PM, Jan van de Sandt wrote: >> Hello, >> >> I added the SHA256 class to Cloudfork a few year

Re: [Pharo-dev] Adding progress to SmalllintChecker

2014-06-20 Thread stepharo
Yes send code. Stef On 20/6/14 13:12, Yuriy Tymchuk wrote: Hi, can we add the progress bar to RBSmalllintChecker so we will see how many classes have been already checked? Or also how many methods in the class (though I don’t think this is reasonable). Uko

Re: [Pharo-dev] Implementing cull:cull: in symbol

2014-06-20 Thread stepharo
On 19/6/14 14:08, Henrik Johansen wrote: On 19 Jun 2014, at 1:42 , Yuriy Tymchuk wrote: Hi, maybe we should implement #cull:cull: in symbol so that it will call #cull:? Because this looks correct, if block has 1 parameter, then #cull:cull: boils down to #value:, but when we have a symbol i

Re: [Pharo-dev] Where is the postcard with syntax?

2014-06-20 Thread Sean P. DeNigris
kilon alios wrote > Pharo has zero official reference documentation Well Pharo By Example and Deep into Pharo are close. IMHO, we've chosen to pour as many of our limited resources as possible into shrinking and redesigning the system into something one person can master, rather than thoroughly do

Re: [Pharo-dev] Implementing cull:cull: in symbol

2014-06-20 Thread Yuriy Tymchuk
On 20 Jun 2014, at 22:59, stepharo wrote: > > On 19/6/14 14:08, Henrik Johansen wrote: >> On 19 Jun 2014, at 1:42 , Yuriy Tymchuk wrote: >> >>> Hi, >>> >>> maybe we should implement #cull:cull: in symbol so that it will call >>> #cull:? Because this looks correct, if block has 1 parameter, t

Re: [Pharo-dev] Pharo VM crash on seom DrGeo sketch

2014-06-20 Thread Hilaire Fernandes
It think the input was not well formed, error of mine with code not yet updated to Athens. Hilaire Le 20/06/2014 13:15, Igor Stasenko a écrit : > it is balloon plugin.. which responsible for rendering complex shapes. > looks like for some shapes/complexity it doesn't works well? > or input is no

Re: [Pharo-dev] Athens and StrikeFont ( again )

2014-06-20 Thread Hilaire Fernandes
Gi Igor, For DrGeo it is not a workable option to have different fonts in Morphic widget and Athens canvas (I explained earlier why). However I found the scaling trick of draw text to work reasonably well. Not full perfect as from time to time I can see some artifact. Thanks Hilaire Le 20/06

Re: [Pharo-dev] How to convert properyl an Athens Surface to a Form

2014-06-20 Thread Hilaire Fernandes
The black background should be white. I use asFrom: area owner athensSurface asForm where owner is a WrapAthenMorph Hilaire Le 19/06/2014 22:16, Nicolai Hess a écrit : > I use asForm and it works for me. > can you create a screenshot with the odd result > it creates. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] Adding progress to SmalllintChecker

2014-06-20 Thread Yuriy Tymchuk
Done https://pharo.fogbugz.com/f/cases/13348/Display-progress-when-running-lint-rules On 20 Jun 2014, at 22:06, stepharo wrote: > Yes send code. > > Stef > > On 20/6/14 13:12, Yuriy Tymchuk wrote: >> Hi, >> >> can we add the progress bar to RBSmalllintChecker so we will see how many >> clas

Re: [Pharo-dev] Adding progress to SmalllintChecker

2014-06-20 Thread Yuriy Tymchuk
Ah, it’s strange, I can commit slice, but not the package version. Did I miss something important? Uko On 21 Jun 2014, at 02:57, Yuriy Tymchuk wrote: > Done > https://pharo.fogbugz.com/f/cases/13348/Display-progress-when-running-lint-rules > > On 20 Jun 2014, at 22:06, stepharo wrote: > >

Re: [Pharo-dev] Adding progress to SmalllintChecker

2014-06-20 Thread Ben Coman
I sometimes accidentally save a package before saving a slice that the package is in, then it fails when saving the package because the package already exists on the remote repository.  I work around this by scrolling down a fair way in the debugger stack where it iterates over the packages in

Re: [Pharo-dev] How to convert properyl an Athens Surface to a Form

2014-06-20 Thread Hilaire Fernandes
but I don't want to display but a properly converted Form. Hilaire Le 20/06/2014 12:55, Igor Stasenko a écrit : > displayOnMorphicCanvas: canvas at: aPoint > method. > -- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa