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

2014-06-20 Thread p...@highoctane.be
Le 20 juin 2014 02:16, David T. Lewis le...@mail.msen.com a écrit : On Thu, Jun 19, 2014 at 11:24:33AM -0300, Esteban A. Maringolo wrote: Can somebody please tell me the semantic difference between #cull: and #value: ? 'Cull' is not a word I ever used in any english based conversation :)

Re: [Pharo-dev] Complaints about Spec

2014-06-20 Thread stepharo
Did you check that in Phro for the entreprise there is a calculator tutorial based on spec. Sven I'm interested reading yours. Yuriy if you give us 1% of the money spent on Cocoa pharo will not look the same at all. Did you see that most of us are not payed to develop pharo? Stef On

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

2014-06-20 Thread stepharo
On 20/6/14 00:26, Nicolai Hess wrote: If I take a fresh pharo image I always have to reenable FT fonts before doing any athens rendering with text (RMOD StrikeFont(Object)doesNotUnderstand: #getPreciseHeight). Ok, I know I have to open settings disable then enable FreeType and choose a

Re: [Pharo-dev] Complaints about Spec

2014-06-20 Thread stepharo
Hi ben I understand your frustration, but writing doc takes time. I have a more industry oriented example in polishing mode I can review it if you need. Stef

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

2014-06-20 Thread stepharo
Hilaire do you have the error stack? Because the vm crash does not help. Stef On 19/6/14 18:25, Hilaire Fernandes wrote: Hi, I have some VM crash on some DrGeo. It happens from the DrGeo file dialog when the preview of a sketch is computed. It is repeatable. I saw it on Mac, then in Linux

Re: [Pharo-dev] Complaints about Spec

2014-06-20 Thread Yuriy Tymchuk
Yes Stef, I know. And in the end I’ve made and adapter for CodeCity: http://quick.as/blq9f5d1 cool, no? We all get frustrated from time to time, I just wanted to point out that we need a straightforward tutorial on building apps with UIs. And Spec is not bad. And I will take a look at the

[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 ,

Re: [Pharo-dev] Complaints about Spec

2014-06-20 Thread Sven Van Caekenberghe
On 20 Jun 2014, at 08:39, stepharo steph...@free.fr 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

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 kilon.al...@gmail.com 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

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

Re: [Pharo-dev] vm over android

2014-06-20 Thread Clément Bera
2014-06-19 18:35 GMT+02:00 Esteban A. Maringolo emaring...@gmail.com: Hi Clement, 2014-06-19 12:52 GMT-03:00 Clément Bera bera.clem...@gmail.com: 2014-06-18 15:39 GMT+02:00 Esteban A. Maringolo emaring...@gmail.com: Can you share what is the intended use of the android vm that you're

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 kilon.al...@gmail.com wrote: yes good idea Damien

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.

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

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

2014-06-20 Thread Yuriy Tymchuk
On 20 Jun 2014, at 10:45, Sven Van Caekenberghe s...@stfx.eu 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

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:

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 tulipe.mouta...@gmail.com 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

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

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

[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

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

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

2014-06-20 Thread Igor Stasenko
On 20 June 2014 02:01, Alexandre Bergel alexandre.ber...@me.com 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

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 nicolaih...@web.de 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

[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 bo...@pharo-project.org Date:

[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 steph...@free.fr 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

Re: [Pharo-dev] Configuration Browser and Pharo4

2014-06-20 Thread nicolaih...@googlemail.com
On Fri Jun 20 10:26:33 2014 Stephan Eggermont step...@stack.nl 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

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,

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 ?

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

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

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

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 siguc...@gmail.com wrote: On 20 June 2014 02:01, Alexandre Bergel alexandre.ber...@me.com

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

[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 bo...@pharo-project.org Date:

[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 kilon.al...@gmail.com 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

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

2014-06-20 Thread Igor Stasenko
On 20 June 2014 13:40, Tudor Girba tu...@tudorgirba.com 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

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

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

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 jvdsa...@gmail.com wrote: Hello, I added the SHA256 class to Cloudfork a few years ago. The class was mostly copied from the Cryptography [1]

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 tu...@tudorgirba.com wrote: I do not understand. I think we are talking about two different things.

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

2014-06-20 Thread Chris Cunningham
On Fri, Jun 20, 2014 at 7:32 AM, Tudor Girba tu...@tudorgirba.com 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

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 cunningham...@gmail.com wrote: On Fri, Jun 20, 2014 at 7:32 AM, Tudor Girba tu...@tudorgirba.com wrote: I do not understand. I think we are talking about two different things. Alex and I are talking about wrong rendering

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 jvdsa...@gmail.com: 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 jvdsa...@gmail.com wrote: Hello, I added the SHA256 class

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] 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

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

2014-06-20 Thread Yuriy Tymchuk
On 20 Jun 2014, at 22:59, stepharo steph...@free.fr wrote: On 19/6/14 14:08, Henrik Johansen wrote: On 19 Jun 2014, at 1:42 , Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi, maybe we should implement #cull:cull: in symbol so that it will call #cull:? Because this looks correct, if block

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 not

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

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 steph...@free.fr 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

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 yuriy.tymc...@me.com wrote: Done https://pharo.fogbugz.com/f/cases/13348/Display-progress-when-running-lint-rules On 20 Jun 2014, at 22:06,

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