Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Richard Wettel
Thanks everyone! That would be great. Looking forward to having NBOpenGL up and running again. Cheers Ricky On Thu, Nov 14, 2013 at 2:29 AM, Stéphane Ducasse wrote: > >> Right now it cannot even be loaded into 3.0. > But update is simple (i think JB did that already, just not published?). > >

[Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Stephan Eggermont
Reading this code, made me wonder what operations are actually atomic. Anyone having a good explanation? Stephan AtomicQueueItem>makeCircular "Make a receiver circular, i.e. point to itself, answer the old value of next variable. Note, this operation should be atomic"

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Marcus Denker
On 14 Nov 2013, at 10:15, Stephan Eggermont wrote: > Reading this code, made me wonder what operations are actually atomic. > Anyone having a good explanation? > > Stephan > > AtomicQueueItem>makeCircular > "Make a receiver circular, i.e. point to itself, > answer the old value of

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Martin Dias
+10 On Tue, Nov 12, 2013 at 9:24 PM, Stéphane Ducasse wrote: > +1 > > On Nov 12, 2013, at 4:39 PM, Johan Fabry wrote: > >> Hi all, >> >> I am preparing slides for a course. I came to the typical: >> >> Number subclass: #Complex >> instanceVariableNames: 'real imaginary' >> classVariableNames:

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Hi, I'd like to draw your attention to something else: consistency. I remember the days when Cincom added Namespaces to classes and the class definition template changed drastically. It took me quite a while to get used to that. And there is this other aspect in the consistency field: most Sma

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Yuriy Tymchuk
On 14 Nov 2013, at 11:02, jtuc...@objektfabrik.de wrote: > Hi, > > I'd like to draw your attention to something else: consistency. > > I remember the days when Cincom added Namespaces to classes and the class > definition template changed drastically. It took me quite a while to get used > to

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Yuri, Okay, so why not go one step further and kill PoolDictionaries? I mean, if no one uses them and you'd like to hide them from the users, they obviously are unnecessary. That would be a real cleanup, right? PoolDictionaries are potentially dangerous, because you can put things there that

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Norbert Hartl
Am 14.11.2013 um 10:25 schrieb Marcus Denker : > > On 14 Nov 2013, at 10:15, Stephan Eggermont wrote: > >> Reading this code, made me wonder what operations are actually atomic. >> Anyone having a good explanation? >> >> Stephan >> >> AtomicQueueItem>makeCircular >> "Make a receiver cir

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread jtuc...@objektfabrik.de
Hi Norbert, I couldn't have said it any better. For me, this also was interesting, because I first thought: "Heck, how would I make anything atomic anyways?". And that question still stands: is there a way to make something atomic that includes message sends? I guess #critical is not the soluti

Re: [Pharo-users] State of Flamel?

2013-11-14 Thread Stephan Eggermont
Anyone?

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Norbert Hartl
Am 14.11.2013 um 11:16 schrieb jtuc...@objektfabrik.de: > Hi Norbert, > > I couldn't have said it any better. For me, this also was interesting, > because I first thought: "Heck, how would I make anything atomic anyways?". > And that question still stands: is there a way to make something atomi

[Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Stephan Eggermont
Marcus wrote: >-> no message send >-> no back jump bytecode > >therefore it can not be interrupted and process switches can not happen >between the statements. Ok, that’s not too difficult. Thank you Stephan

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Yuriy Tymchuk
On 14 Nov 2013, at 11:10, jtuc...@objektfabrik.de wrote: > Yuri, > > Okay, so why not go one step further and kill PoolDictionaries? > I mean, if no one uses them and you'd like to hide them from the users, they > obviously are unnecessary. That would be a real cleanup, right? Yes it would, th

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread jtuc...@objektfabrik.de
Am 14.11.13 11:19, schrieb Norbert Hartl: Am 14.11.2013 um 11:16 schrieb jtuc...@objektfabrik.de: Hi Norbert, I couldn't have said it any better. For me, this also was interesting, because I first thought: "Heck, how would I make anything atomic anyways?". And that question still stands: is t

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Sergi Reyner
2013/11/14 jtuc...@objektfabrik.de > > And what if I need PoolDictionaries? Unless my understanding of the proposal is way off, you would just add "poolDictionaries: 'whatever'" before "category:". No horrible breaking of anything would happen. Cheers, Sergi

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Yuri, the GUI idea has an up and a down side. The up side is that it's much easier to use. The down side is that there is no way to ex- and import a class definition without a proper syntax. So what is needed is both: a proper syntax and some way to make things easier for the mousey people.

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread jtuc...@objektfabrik.de
Am 14.11.13 11:23, schrieb Sergi Reyner: 2013/11/14 jtuc...@objektfabrik.de mailto:jtuc...@objektfabrik.de>> And what if I need PoolDictionaries? Unless my understanding of the proposal is way off, you would just add "poolDictionaries: 'whatever'" before

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Clément Bera
2013/11/14 jtuc...@objektfabrik.de > Yuri, > > Okay, so why not go one step further and kill PoolDictionaries? > This was done in OOVM / Resilient Smalltalk. And it was clean and worked well. > I mean, if no one uses them and you'd like to hide them from the users, > they obviously are unneces

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Stéphane Ducasse
so richie have a look at the repository and load the latest version to see if they work (not using the configuration). This is what we will try here (chile). Stef On Nov 14, 2013, at 9:58 AM, Richard Wettel wrote: > Thanks everyone! That would be great. > Looking forward to having NBOpenGL u

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Stéphane Ducasse
Note that it would be good to have a special syntactic construct for that because now we rely on the way the compiler works to ensure such properties and it means that an accessor and a direct access are not semantically equals. Stef >> On 14 Nov 2013, at 10:15, Stephan Eggermont wrote: >>

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Stéphane Ducasse
On Nov 14, 2013, at 11:21 AM, Yuriy Tymchuk wrote: > > On 14 Nov 2013, at 11:10, jtuc...@objektfabrik.de wrote: > >> Yuri, >> >> Okay, so why not go one step further and kill PoolDictionaries? >> I mean, if no one uses them and you'd like to hide them from the users, they >> obviously are un

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Norbert Hartl
Stef, Am 14.11.2013 um 12:10 schrieb Stéphane Ducasse : > Note that it would be good to have a special syntactic construct for that > because now > we rely on the way the compiler works to ensure such properties and it means > that > an accessor and a direct access are not semantically equals.

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Stéphane Ducasse
You should look in VM code clement / eliot can reply more precisely but the idea is to see when do you accept to suspend a computation. In Smalltlak this is after each message. Stef > Stef, > > Am 14.11.2013 um 12:10 schrieb Stéphane Ducasse : > >> Note that it would be good to have a special

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread kilon alios
just for the record, I am no old timer Smalltalker, I come from python just introduced the past year to pharo. I dont pay attention to the poolDictionaries , I have seen it used as concept by NBOpenGL , looks like a fan idea, it does not distract me from my coding, I am glad its there because one

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Jean Baptiste Arnaud
ok I have openGL work on my windows 7 machine. I will update the configuration. But I need to publish also a fix in NativeBoost win. This bug is the same related to the VM crash in Pharo dev : [Pharo-dev] NBOpenGL VM crash. I open a bug entry. When It will be integrated. Window should work well

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread p...@highoctane.be
Clement also told me that the VM only checked for Cmd-. breaks on back jumps. Phil On Thu, Nov 14, 2013 at 11:16 AM, jtuc...@objektfabrik.de < jtuc...@objektfabrik.de> wrote: > Hi Norbert, > > I couldn't have said it any better. For me, this also was interesting, > because I first thought: "Hec

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Camille Teruel
On 14 nov. 2013, at 12:38, Stéphane Ducasse wrote: > You should look in VM code clement / eliot can reply more precisely > but the idea is to see when do you accept to suspend a computation. > In Smalltlak this is after each message. Except for #== and inlined message like #ifTrue:ifFalse: , #

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Jean Baptiste Arnaud
Should work after integration. Configuration updated. Need fix review for integration in nativeBoost, will do that with igor this afternoon. On Nov 14, 2013, at 12:58 PM, Jean Baptiste Arnaud wrote: > ok I have openGL work on my windows 7 machine. > I will update the configuration. But I nee

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Tudor Girba
Hi, As I understand there are still some things to be integrated in NativeBoost. Indeed, I just tried now with Ricky, and version 3.0 of NBOpenGL crashes the VM (on Win 7) when doing: GLTTRenderingDemo new openInWorld. Could you point us to the NativeBoost fix to see if it works? Doru On Thu,

[Pharo-users] Settings > Network > Blab email

2013-11-14 Thread btc
In Settings I just noticed Network > Blab email. The description is not very description-able. What is it? cheers -ben

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Johan Fabry
Note that I'm not advocating removing PoolDictionaries. Just to have the subclassing template not mention them. I would leave the subclassing message with the poolDictionaries: argument in the system for people to use it if they want to. On Nov 14, 2013, at 7:02 AM, jtuc...@objektfabrik.de wro

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Jean Baptiste Arnaud
Yes the fix is not integrated yet. NBWndClassEx should not be a variable subclass anymore. This part should be checked with Igor. NBWndClassEx>>#initialize self cbSize: (self class instanceSize). and not self basicSize. You can rebuildField accessor too (class side on every NBExternalStr

Re: [Pharo-users] Who uses poolDictionaries? New class template cleanup

2013-11-14 Thread Johan Fabry
On Nov 14, 2013, at 7:29 AM, jtuc...@objektfabrik.de wrote: >> Unless my understanding of the proposal is way off, you would just add >> "poolDictionaries: 'whatever'" before "category:". No horrible breaking of >> anything would happen. >> >> Cheers, >> Sergi > I disagree ;-) > I find it hard

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Igor Stasenko
On 14 November 2013 14:25, Jean Baptiste Arnaud wrote: > Yes the fix is not integrated yet. > NBWndClassEx should not be a variable subclass anymore. This part should > be checked with Igor. > > NBWndClassEx>>#initialize > self cbSize: (self class instanceSize). > and not self basicSize. > > ah, y

Re: [Pharo-users] Lock free structures in Pharo

2013-11-14 Thread Igor Stasenko
On 14 November 2013 10:15, Stephan Eggermont wrote: > Reading this code, made me wonder what operations are actually atomic. > Anyone having a good explanation? > > Stephan > > AtomicQueueItem>makeCircular > "Make a receiver circular, i.e. point to itself, > answer the old value o

Re: [Pharo-users] Current 3.0 download is broken

2013-11-14 Thread Johan Fabry
I guess this one fell through the cracks, so https://pharo.fogbugz.com/f/cases/12164/One-Click-on-Mac-is-broken-due-to-new-source-file-lookup On Nov 10, 2013, at 12:48 PM, Johan Fabry wrote: > > On principle, a big +1 on going forward on the PhD! :-) > > But, the one-click download Pharo3.0-

[Pharo-users] i18n - Where to start?

2013-11-14 Thread Bahman Movaqar
Hi all, Would anyone share a pionter to how to do i18n in Pharo for translating the messages used in a Pharo application (web or desktop)? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) signatur

Re: [Pharo-users] i18n - Where to start?

2013-11-14 Thread Clément Bera
Hello, So there is 2 frameworks to do multi language UI in Pharo (but I don't know if one of them is i18n). One framework is in the image, does not work very well and no one use it seemingly. So I don't recommend it. The other one is the one everyone use, so I recommend it, I'm not sure but I th

Re: [Pharo-users] i18n - Where to start?

2013-11-14 Thread Stephan Eggermont
With the QCMagritte image (from the pharo contributions ci). That has build-in support for translations. Just start it and open the web demo Stephan

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Jean Baptiste Arnaud
Good news everyone: bug fixed and integrated in 3,0 573 I am open for new feedback. On Nov 14, 2013, at 2:56 PM, Igor Stasenko wrote: > > > > On 14 November 2013 14:25, Jean Baptiste Arnaud > wrote: > Yes the fix is not integrated yet. > NBWndClassEx should not be a variable subcla

[Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Torsten Bergmann
Jean Baptiste Arnaud wrote >Good news everyone: > bug fixed and integrad I also merged the #12161 issue that is now also in Pharo 3.0#30573 into the official "NativeBoost-Win32" package on STHub so it will not appear again when next NB version comes out or is loaded into the image. Thx T.

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Jean Baptiste Arnaud
On Nov 14, 2013, at 5:39 PM, Ronie Salgado wrote: > Still having problems with NBOpenGL under Linux. > > First I'm getting a message not understood for NativeBoostConstants > mac32PlaformId under NBMacGLContextDriver>>supportsCurrentPlatform. Its fixed > by adding the missing 't' to mac32Plaf

Re: [Pharo-users] NBOpenGL on Pharo 3.0

2013-11-14 Thread Tudor Girba
Thanks a lot for looking into this. We will check tomorrow when we are back in front of a Windows machine, and let you know how it works. Cheers, Doru On Thu, Nov 14, 2013 at 4:57 PM, Jean Baptiste Arnaud < jbaptiste.arn...@gmail.com> wrote: > Good news everyone: > bug fixed and integrated in 3

[Pharo-users] Nautilus + Periscope

2013-11-14 Thread Juraj Kubelka
Hi! Today Stéphane mentioned project Periscope (Universal Navigation Sidebar for Nautilus). Does anyone use it or maintain it? It looks like it does not work. Links: - http://forum.world.st/ANN-Periscope-Universal-Navigation-Sidebar-for-Nautilus-td4644569.html - http://smalltalkhub.com/#!/~

Re: [Pharo-users] [Pharo-dev] State of Flamel?

2013-11-14 Thread Stephan Eggermont
On 14 nov. 2013, at 19:39, Stéphane Ducasse wrote: > Gisela is busy preparing a workshop in argentina and working. > Now did you try to load it? > I do not know if there is an automated jenkins build. Gisela contacted me, and I managed to load the newest version. AST-Core is changed in Flamel

Re: [Pharo-users] Nautilus + Periscope

2013-11-14 Thread Pavel Krivanek
I fixed the recent experiments with the new Spec versions so now it should work in Pharo 2.0. It really needs a configuration :-) Gofer new smalltalkhubUser: 'PavelKrivanek' project: 'Periscope'; package: 'Periscope'; load. Nautilus pluginClasses add: {(Smalltalk at: #NautilusPeriscop

Re: [Pharo-users] [Pharo-dev] State of Flamel?

2013-11-14 Thread Gisela Decuzzi
Hi Stephan, thanks for testing it, when I have some time I will work in the transformation because is a big missing feature. If you want to contribute with the project tell me your smalltalkhub user to add you :) Sorry for the lack of support, as Stef said I'm in the middle of a workshop planning

[Pharo-users] [Athens] Finding if a line passes through a specific pixel .

2013-11-14 Thread kilon alios
So here we are with my first challenge. I am making Hyperion, a vector graphics editor using Athens , so far I have a nice line with several segments, I have added nice handlers to allow me to move the points (start and end of each segment) of the line around with the mouse, but now I want each ti

Re: [Pharo-users] Nautilus + Periscope

2013-11-14 Thread Juraj Kubelka
Thanks, I will try it. Are there some changes in Pharo 3, that does not allow to use it in Pharo 3? Cheers, Jura El 14-11-2013, a las 16:57, Pavel Krivanek escribió: > I fixed the recent experiments with the new Spec versions so now it > should work in Pharo 2.0. It really needs a configurati

[Pharo-users] Nautilus + Periscope

2013-11-14 Thread Torsten Bergmann
Pavel wrote: >I fixed the recent experiments with the new Spec versions so now it >should work in Pharo 2.0. It really needs a configuration :-) You mean a configuration like the one I attached :) Did you notice the new "Config+" button on the metacello browser - it helps creating new configs. I

Re: [Pharo-users] Nautilus + Periscope

2013-11-14 Thread Pavel Krivanek
Yes, it works on the edge of Spec capabilities and it needs to use some hacks that are not possible in the recent Spec version. -- Pavel 2013/11/14 Juraj Kubelka : > Thanks, I will try it. > > Are there some changes in Pharo 3, that does not allow to use it in Pharo 3? > > Cheers, > Jura > > El 1

Re: [Pharo-users] [Pharo-dev] State of Flamel?

2013-11-14 Thread Stéphane Ducasse
We should change that and use the properties of the node. Stef On Nov 14, 2013, at 8:52 PM, Stephan Eggermont wrote: > > On 14 nov. 2013, at 19:39, Stéphane Ducasse wrote: > >> Gisela is busy preparing a workshop in argentina and working. >> Now did you try to load it? >> I do not know if th

Re: [Pharo-users] Nautilus + Periscope

2013-11-14 Thread Pavel Krivanek
Hi Torsten, thank you very much. Everything is done. Now Periscope can be loaded using Configuration Browser into Pharo 2.0. Cheers, -- Pavel 2013/11/14 Torsten Bergmann : > Pavel wrote: >>I fixed the recent experiments with the new Spec versions so now it >>should work in Pharo 2.0. It really n

Re: [Pharo-users] [Athens] Finding if a line passes through a specific pixel .

2013-11-14 Thread Dennis Schetinin
Why do you think it's a job for Athens? Shouldn't it be in a geometry lib? -- Best regards, Dennis Schetinin 2013/11/15 kilon alios > So here we are with my first challenge. I am making Hyperion, a vector > graphics editor using Athens , so far I have a nice line with several > segments,

Re: [Pharo-users] [Athens] Finding if a line passes through a specific pixel .

2013-11-14 Thread kilon alios
Libraries have no job. They have no obligations. No things they should or must do. They have methods that define what they can do. So there is nothing stopping Athens from having such a feature. Hence my question. But I found the formula for this, looks like i will be learning linear algebra and