Re: [Pharo-dev] Generators implemented only with blocks

2013-10-18 Thread btc
Norbert Hartl wrote: Why not just gen := [ | current | current := 0. [ current := current + 1 ] ] value. ? I think there is two sides of using blocks. One is the ability to carry some code around which is a useful thing. The other one is that encloses over the current

[Pharo-dev] realtime

2013-10-18 Thread Paul Davidowitz
Can Pharo be used for 'realtime' applications such as music midi or metronome? Isn't garbage collection a concern? (But I once read that Tektronix used Smalltalk in their oscilloscopes.) Thanks, -Paul

Re: [Pharo-dev] Generators implemented only with blocks

2013-10-18 Thread Francisco Garau
Hi - On 18 Oct 2013, at 06:54, Norbert Hartl norb...@hartl.name wrote: Why not just gen := [ | current | current := 0. [ current := current + 1 ] ] value. Much concise indeed. But I am trying to have several generators instantiated from the same block definition and be able

Re: [Pharo-dev] IMPORTANT: RPackage behavior changed and Nautilus updated

2013-10-18 Thread Goubier Thierry
Hi Esteban, I'm porting to the new RPackage and I have a few questions: * What is the best way to get the RPackage linked to a MCWorkingCopy? I use aMCWorkingCopy packageSet packages first But is there a better way to do it? * For tags, if the package has only a system category with the same

Re: [Pharo-dev] Generators implemented only with blocks

2013-10-18 Thread Norbert Hartl
Am 18.10.2013 um 09:35 schrieb Francisco Garau francisco.ga...@gmail.com: Hi - On 18 Oct 2013, at 06:54, Norbert Hartl norb...@hartl.name wrote: Why not just gen := [ | current | current := 0. [ current := current + 1 ] ] value. Much concise indeed. But I am trying to

[Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Goubier Thierry
Is unusable on some brightness settings: the scroll bars become invisible to my old eyes :) Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Re: [Pharo-dev] IMPORTANT: RPackage behavior changed and Nautilus updated

2013-10-18 Thread Esteban Lorenzano
On Oct 18, 2013, at 9:57 AM, Goubier Thierry thierry.goub...@cea.fr wrote: Hi Esteban, I'm porting to the new RPackage and I have a few questions: * What is the best way to get the RPackage linked to a MCWorkingCopy? I use aMCWorkingCopy packageSet packages first But is there a

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Esteban Lorenzano
yesterday I also adding settings for IconSet... so you should be able to play around with themes and icons :) On Oct 18, 2013, at 10:06 AM, Goubier Thierry thierry.goub...@cea.fr wrote: Is unusable on some brightness settings: the scroll bars become invisible to my old eyes :) Thierry --

Re: [Pharo-dev] realtime

2013-10-18 Thread dimitris chloupis
MIDI is not a concern because MIDI is slo far slower than pharo. Audio processing now thats tricky at 44khz per second that a lot of calculations and general speaking you would not want to use smalltalk for that part. Even C has to be heavily optimised and you need to 100% know

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread dimitris chloupis
I completely agree, I hate it as much I hate apples new scroll bar, that disappear as soon as you stop scrolling with magic mouse making them impossible to use manually. Also what with all the white ? I seriously need to make a dark theme for pharo, my eyes start hurting . ;D

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Esteban Lorenzano
I started to experiment with a dark theme (after Phil asked it). The problem is that everything in morphic is so crapy programmed that remove the hardcoding stuff is incredible hard. Anyway, I have an initial design that could work (at least for the simple skins), now it remains the work of

Re: [Pharo-dev] realtime

2013-10-18 Thread Frank Shearar
On 18 October 2013 08:22, Paul Davidowitz pdavi...@fastmail.fm wrote: Can Pharo be used for 'realtime' applications such as music midi or metronome? Isn't garbage collection a concern? (But I once read that Tektronix used Smalltalk in their oscilloscopes.) Stéphane Rollandin has been doing

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread dimitris chloupis
I learned my lesson once, back in my University days, I was doing a law essay in English (Greek is my mother tongue so definitely not easy) , I was working for hours , back then microsoft word had no auto save, forgot to save, accidentally close the window , bye bye work. That was 1999-2000.

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Sven Van Caekenberghe
On 18 Oct 2013, at 10:33, Esteban Lorenzano esteba...@gmail.com wrote: I started to experiment with a dark theme (after Phil asked it). The problem is that everything in morphic is so crapy programmed that remove the hardcoding stuff is incredible hard. Anyway, I have an initial design

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Goubier Thierry
Le 18/10/2013 10:01, Esteban Lorenzano a écrit : yesterday I also adding settings for IconSet... so you should be able to play around with themes and icons :) That one works perfectly, thanks :) On Oct 18, 2013, at 10:06 AM, Goubier Thierry thierry.goub...@cea.fr wrote: Is unusable on

Re: [Pharo-dev] default monospaced code font

2013-10-18 Thread Norbert Hartl
97 (..well…98) mails in one thread is quite a number. So fonts seems to be the biggest concern these days. That could say something about pharo ;) Norbert Am 17.10.2013 um 19:58 schrieb Esteban Lorenzano esteba...@gmail.com: yes, that's because I failed to configure the new fonts and system

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Goubier Thierry
I remember trying to recover mail folders by reading the blocks on disk one by one with a binary editor... Ended learning far too much about the internal layout of an ext2 filesystem. But dead harddrive is nice in one way: you don't loose time trying to recover stuff, you know it's dead :(

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=linux-stable-worker/13/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=mac/13/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Henrik Johansen
On Oct 18, 2013, at 10:26 , dimitris chloupis theki...@yahoo.co.uk wrote: I completely agree, I hate it as much I hate apples new scroll bar, that disappear as soon as you stop scrolling with magic mouse making them impossible to use manually. Preferences - General - Show scroll bars ;)

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=win/13/ 2 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits Zinc.Zodiac.ZnHTTPSTests.testGetPharoVersion

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Esteban Lorenzano
On Oct 18, 2013, at 11:15 AM, Goubier Thierry thierry.goub...@cea.fr wrote: Le 18/10/2013 10:33, Esteban Lorenzano a écrit : I started to experiment with a dark theme (after Phil asked it). You've beaten me to it! But I know that I'm having too much on my plate at the moment. yeah,

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread Goubier Thierry
Le 18/10/2013 11:18, Esteban Lorenzano a écrit : On Oct 18, 2013, at 11:15 AM, Goubier Thierry thierry.goub...@cea.fr wrote: Le 18/10/2013 10:33, Esteban Lorenzano a écrit : I started to experiment with a dark theme (after Phil asked it). You've beaten me to it! But I know that I'm

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

2013-10-18 Thread GitHub
Branch: refs/tags/30499 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Igor Stasenko
thankfully, i never had problems with hardware: it serves me well. But still didn't prevented from losing precious data: the humans who break into my apartment and stole the machine, with all data it has :( On 18 October 2013 11:18, Goubier Thierry thierry.goub...@cea.fr wrote: I remember

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Nicolas Cellier
Igor, your hardware never failed? It must be some special brand crafted in former soviet union ;) 2013/10/18 Igor Stasenko siguc...@gmail.com thankfully, i never had problems with hardware: it serves me well. But still didn't prevented from losing precious data: the humans who break into my

Re: [Pharo-dev] default monospaced code font

2013-10-18 Thread Nicolas Cellier
Yeah, there are subjects for which every one can have a cheap and strong opinion. It's not like discussing the arcane of OldCompiler, gory Morphic layout details, or whatever.. Every one wanting to improve this area is now aware of skinny reactions :) 2013/10/18 Norbert Hartl norb...@hartl.name

Re: [Pharo-dev] default monospaced code font

2013-10-18 Thread Frank Shearar
That's why we call it a bikeshed: if you ask for opinions on something deeply arcane (nuclear reactor plans, compilers, ...) you get no reaction because the investment needed to actually comment properly is just too high. But everyone knows how to build a bikeshed, so everyone fights over the

[Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Torsten Bergmann
Hardware that runs without problems must be from the good old days. If Nico is right then I guess Pharo is already running on an Ural-1? Where can I download the VM? http://en.wikipedia.org/wiki/Ural_(computer) I try to imagine the size of the apartment and the way it was stolen... ;)

[Pharo-dev] Question about Opal

2013-10-18 Thread Goubier Thierry
Hi Markus, I have an Opal-related question: I want to get the ast of an expression analysed in the context of a particular class... I.e. something like: anAst doSemanticAnalysisIn: aClass. This code works if the ast is a methodNode, but not if this is a simple expression (a MessageNode for

Re: [Pharo-dev] The Pharo 3 theme

2013-10-18 Thread p...@highoctane.be
Yeah, that's really what I experienced when trying that out. Now, the good thing about doing such a thing (and I am ready to help if you want) is that we would be able to start doing UIs in the same vein as Adobe Lightroom for example. That's would be really great. It is one reason why I started

[Pharo-dev] [OT] Bare metal Raspberry Pi Squeak

2013-10-18 Thread Torsten Bergmann
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=72t=57728

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=linux-stable-worker/14/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=mac/14/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=win/14/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [pharo-project/pharo-core] 3ab076: 30500

2013-10-18 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 3ab0764a1658214c915a01509eaaf9aec8e78b17 https://github.com/pharo-project/pharo-core/commit/3ab0764a1658214c915a01509eaaf9aec8e78b17 Author: Jenkins Build Server bo...@pharo-project.org Date:

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

2013-10-18 Thread GitHub
Branch: refs/tags/30500 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Igor Stasenko
On 18 October 2013 12:52, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Igor, your hardware never failed? It must be some special brand crafted in former soviet union ;) well, sure i had problems with it, but not at cost of total data loss. couple times its keyboard, mouse, once

Re: [Pharo-dev] default monospaced code font

2013-10-18 Thread Igor Stasenko
On 18 October 2013 13:00, Frank Shearar frank.shea...@gmail.com wrote: That's why we call it a bikeshed: if you ask for opinions on something deeply arcane (nuclear reactor plans, compilers, ...) you get no reaction because the investment needed to actually comment properly is just too high.

[Pharo-dev] enclosing compile errors PrintIt in double quotes

2013-10-18 Thread btc
Just a random idea flitting thought my mind... When trying to Accept some code with an error in it, the error message gets inserted into the code such that it screws up syntax highlighting and also you need to use Undo to remove it. I wonder if the error might be inserted between

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-A-L/label=linux-stable-worker/633/ 1 regressions found. KernelTests.Classes.BehaviorTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-A-L/label=mac/633/ 1 regressions found. KernelTests.Classes.BehaviorTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=linux-stable-worker/15/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=mac/15/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2.1-Validation-M-Z/label=win/15/ 1 regressions found. Tests.Release.ReleaseTest.testLocalMethodsOfTheClassShouldNotBeRepeatedInItsTraits

[Pharo-dev] [regression reporter]regression occurred

2013-10-18 Thread no-reply
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-MetacelloValidation/label=linux-stable-worker/19/ 11 regressions found. Metacello.TestsMCA.MetacelloGoferBasedAtomicLoaderTest.testRepositoryOverridesRecord Metacello.TestsMCA.MetacelloGoferBasedLoaderTest.testRepositoryOverridesRecord

Re: [Pharo-dev] Question about Opal

2013-10-18 Thread Clément Bera
Hello. anAST methodNode methodClass: aClass. anAST doSemanticAnalysis. You can create the method in RBProgramNode to directly call it if you need it: RBProgramNodedoSemanticAnalysisIn: aClass self methodNode methodClass: aClass. self doSemanticAnalysis. If you make a slice with this

[Pharo-dev] [update 3.0] #30501

2013-10-18 Thread Stéphane Ducasse
30501 - - Issue 11948 Finally really sorting the methods in the FileContentsBrowser https://pharo.fogbugz.com/f/cases/11948 - Issue 11519 Merge Color and Translucent Color https://pharo.fogbugz.com/f/cases/11519 Diff information:

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

2013-10-18 Thread GitHub
Branch: refs/tags/30501 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 9ae78e: 30501

2013-10-18 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 9ae78e25d8ec5f526ad9b9a1e37ec768f360148d https://github.com/pharo-project/pharo-core/commit/9ae78e25d8ec5f526ad9b9a1e37ec768f360148d Author: Jenkins Build Server bo...@pharo-project.org Date:

Re: [Pharo-dev] recovering from a deep disc crash….

2013-10-18 Thread Nicolas Cellier
beautiful link 2013/10/18 Torsten Bergmann asta...@gmx.de Hardware that runs without problems must be from the good old days. If Nico is right then I guess Pharo is already running on an Ural-1? Where can I download the VM? http://en.wikipedia.org/wiki/Ural_(computer) I try to imagine

[Pharo-dev] Commit rights to Pharo30Inbox

2013-10-18 Thread Attila Magyar
Hi list, I want to submit a SLICE to the pharo inbox, can you grant me commit rights? username: zeroflag thanks!

Re: [Pharo-dev] enclosing compile errors PrintIt in double quotes

2013-10-18 Thread Camillo Bruni
That is the first step :), if you have a decent text editor, you could add a real print-it or do-it token, which is not regarged as source code, but just as meta information. I think we could quite easily do this in Amber right now ;). But yes, why not, sounds like a reasonable idea to put

[Pharo-dev] Anyone else teaching programming in Pharo?

2013-10-18 Thread J.F. Rick
I've been teaching introductory programming in Pharo for the last three semesters and starting my fourth. I was wondering whether anyone else is doing that. I've put quite a bit of effort into it and would be willing to share my materials if anyone was interested. For instance, I've created a few

Re: [Pharo-dev] Second Scheduler migration from SqS to STHub

2013-10-18 Thread Hernán Morales Durand
Hi Torsten, Yes, I didn't see it because I was searching by class name. Now I have removed the second copy from the repository. Thanks for the advice, Hernán 2013/10/18 Torsten Bergmann asta...@gmx.de Hi Hernan, I've seen that you now registered TaskScheduler on STHub with the Scheduler

Re: [Pharo-dev] enclosing compile errors PrintIt in double quotes

2013-10-18 Thread Benjamin
Why not a small popup placed correctly ? Then it doesn't even corrupt your source code Ben On Oct 18, 2013, at 4:08 PM, Camillo Bruni camillobr...@gmail.com wrote: That is the first step :), if you have a decent text editor, you could add a real print-it or do-it token, which is not

Re: [Pharo-dev] Generators implemented only with blocks

2013-10-18 Thread Francisco Garau
On 18 Oct 2013, at 08:55, Norbert Hartl norb...@hartl.name wrote: Am 18.10.2013 um 09:35 schrieb Francisco Garau francisco.ga...@gmail.com: Hi - On 18 Oct 2013, at 06:54, Norbert Hartl norb...@hartl.name wrote: Why not just gen := [ | current | current := 0. [ current

[Pharo-dev] Character#leadingChar

2013-10-18 Thread Sven Van Caekenberghe
Hi, So once again we have an issue with Character#leadingChar, see https://pharo.fogbugz.com/f/cases/6368 Do we really need this ? Any Japanese, Chinese or Korean users willing to comment ? Thx, Sven

Re: [Pharo-dev] enclosing compile errors PrintIt in double quotes

2013-10-18 Thread Tudor Girba
Exactly. There is no need anymore to have an in-text printed error. A non-modal popup (similar to a menu) would be a better solution. We should treat the result of print-it in the same way and offer it non-invasively. I put together a visual description of how such a widget would look like here:

[Pharo-dev] can Spec applications add additional items to standard SystemWindow menu

2013-10-18 Thread btc
I want a Spec application to add an additional item to the System Window Menu. Is this possible? So far I have missed how it might be done. This System Window Menu seems to come from... SystemWindowofferWindowMenu | aMenu | aMenu := self buildWindowMenu. model ifNotNil: