Re: [Pharo-users] Black screen on Mac OSX

2018-03-27 Thread Christophe Demarey
Hi Hilaire, I think the problem comes from the VM shipped. If the VM is too old, it does not work well on recent distributions. You could try to use the stable VM of Pharo 4 instead and it should work. Christophe > Le 26 mars 2018 à 14:19, H. Fernandes a écrit : > > Hi, > > I just noted DrGe

[Pharo-users] [ANN] Slides for a Lecture: MetaLinks

2018-03-27 Thread Marcus Denker
Hi, I did last week a short lecture at VUB Brussels. Topic: MetaLinks. Slideshare: https://www.slideshare.net/MarcusDenker/lecture-metalinks PDF: http://marcusdenker.de/talks/18LectureMetaLinks/MetaLinks.pdf Marcus

Re: [Pharo-users] [ANN] Slides for a Lecture: MetaLinks

2018-03-27 Thread Alistair Grant
Great introduction. I'd seen MetaLinks mentioned in emails, but basically ignored them as I didn't know what they were. Thanks, Marcus! Cheers, Alistair On 27 March 2018 at 10:17, Marcus Denker wrote: > Hi, > > I did last week a short lecture at VUB Brussels. Topic: MetaLinks. > > Slideshare:

[Pharo-users] Launcher User Templates

2018-03-27 Thread Sean P. DeNigris
How would I make my own images available via Launcher. Where can I read about this or can you point me to a hook? Thanks! - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Looking for small boards and tiny computers which can run Pharo

2018-03-27 Thread Marcus Denker
Hi, There are other interesting tiny boards that should fit well with Pharo-IOT (we should of course: https://www.raspberrypi.org/products/raspberry-pi-zero/ but then, there are many and it shoul

[Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
Hi, I don't think this should throw an error when I am producing JSON. ``` d := { 'a' -> #(). 'b' -> #(). } asDictionary. STON toJsonString: d. ``` dtto this ``` a := {'hm'}. d := { 'a' -> a. 'b' -> a. } asDictionary. STON toJsonString: d. ``` Maybe I should forgo using STON>>toJson* out of

[Pharo-users] RTLegendBuilder onDemand doesn't popup in html

2018-03-27 Thread Andrei Stebakov
Just wanted to report that when I add a legend to RTView, it works as expected when I ispect the view. When I export it to HTML, it shows the node, but neither mouse clicking nor hovering bring up the popup. Could you take a look?

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Sven Van Caekenberghe
Hi Peter, Both cases will pass using this expression: String streamContents: [ :out | STON jsonWriter referencePolicy: #ignore; on: out; nextPut: d ]. The problem is what to do with cycles. Sven > On 27 Mar 2018, at 17:43, Peter Uhnák

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Herbert Vojčík
Sven Van Caekenberghe wrote: Hi Peter, Both cases will pass using this expression: String streamContents: [ :out | STON jsonWriter referencePolicy: #ignore; on: out; nextPut: d ]. The problem is what to do with cycles. Be faithful to

[Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
Hi, not sure where to report this, but in this page of fuel docs https://rmod.inria.fr/web/software/Fuel/Version1.9/Documentation/GettingStarted?_s=gnS5amSI-7GcDf_k&_k=4e8w5tCS4RRm35p7&_n&18 all the chapters are twice there Basic examples ... FileStream ... Compressing ... Showing a progress ba

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
Hi Sven, shouldn't it be set to #ignore by default for JSON then? Or is there a use case where it makes sense to have something else for JSON? Herbert: I am not talking about (infinitely) recursive references, but referencing the same object, e.g. Peter On Tue, Mar 27, 2018 at 6:08 PM, Herbert

Re: [Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
In fact this is problem on every page: it shows the Getting Started on the top, and then continues with the actual content of the page, e.g. https://rmod.inria.fr/web/software/Fuel/Version1.9/Documentation/Globals?_s=gnS5amSI-7GcDf_k&_k=4e8w5tCS4RRm35p7&_n&19 On Tue, Mar 27, 2018 at 6:29 PM, Peter

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Herbert Vojčík
Peter Uhnák wrote: Hi Sven, shouldn't it be set to #ignore by default for JSON then? Or is there a use case where it makes sense to have something else for JSON? To keep STON practices / assumptions while using JSON to hold the data where STON is not supported yet, maybe? IIRC STON is posit

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
Ah sorry, I'm blind. Yes, ideally it should throw up an error in case of recursive. And I see that NeoJSON runs into infinite cycle, so I guess this should be addressed there too. On Tue, Mar 27, 2018 at 6:41 PM, Herbert Vojčík wrote: > > > Peter Uhnák wrote: > >> Hi Sven, >> >> shouldn't it

[Pharo-users] evaluate: with bindings

2018-03-27 Thread Stephane Ducasse
Hi Marcus I would like to be able to do the following: Compiler bindings: {'aValue' -> 33}; evaluate: 'aValue + aValue' and get 66 Is it possible? Stef

Re: [Pharo-users] Black screen on Mac OSX

2018-03-27 Thread Hilaire
Yes, please try with this version, based on Pharo4 VM https://www.dropbox.com/s/oe7hvdrmz7mstvx/DrGeo-Pharo4.0.app.zip?dl=0 Thanks Hilaire Le 26/03/2018 à 22:15, Stephane Ducasse a écrit : Let me know if you want that I retry. -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Sven Van Caekenberghe
The JSON spec does (of course) not deal with cycles nor structure sharing, STON does (by design). The class comment clearly states: ... - referencePolicy <#normal|#ignore|#error> default is #normal if #normal, track and count object references and use references to implement sharing and

Re: [Pharo-users] Black screen on Mac OSX

2018-03-27 Thread Hilaire
Thanks for the tip Le 27/03/2018 à 08:59, Christophe Demarey a écrit : If the VM is too old, it does not work well on recent distributions. You could try to use the stable VM of Pharo 4 instead and it should work. -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] PharoLauncher image loading error

2018-03-27 Thread Hilaire
Le 26/03/2018 à 22:17, Stephane Ducasse a écrit : And you are on MacOSX? No, I am not. Just some testing on school computers. Can you describe what you did? Because with the Launcher you can also I open the "Official distributions" subtree, select Pharo6.1 then click on the icon with the play

Re: [Pharo-users] fuel docs shows the same content twice

2018-03-27 Thread Peter Uhnák
Finally it would be great if all code such as this 'demo.fuel' asFileReference writeStreamDo: [ ... ] be written as this 'demo.fuel' asFileReference ensureDelete; writeStreamDo: [ ... ] Otherwise it is way too easy to forget and creates a major problem, especially for binary files. Thanks! P

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Herbert Vojčík
Sven Van Caekenberghe wrote: The JSON spec does (of course) not deal with cycles nor structure sharing, STON does (by design). That surprises me. I thought cycles are explicitly prohibited in JSON. The class comment clearly states: ... - referencePolicy<#normal|#ignore|#error> default is

Re: [Pharo-users] evaluate: with bindings

2018-03-27 Thread Sean P. DeNigris
Stephane Ducasse-3 wrote > I would like to be able to do the following: Smalltalk compiler bindings: {#aValue -> 33} asDictionary; evaluate: 'aValue + aValue' - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] STON shouldn't care about shared references in JSON mode

2018-03-27 Thread Peter Uhnák
> > The class comment clearly states: > The docs also say "When using JSON mode the reference policy should be set to #error or #ignore for full JSON compatibility." But demonstrably setting it to #error does not give me full JSON compatibility. If I feed it valid input, then I expect valid outp

[Pharo-users] "News" section of the website down

2018-03-27 Thread Mathieu Dubois via Pharo-users
--- Begin Message --- Hello, I don't know how to report that but for several weeks (maybe months), I can't reach the "News" section of the website (I have tried from several locations with different ISP). I usually get a timeout error (error 524 from Cloudflare) that comes from pharo.org. Ma

Re: [Pharo-users] "News" section of the website down

2018-03-27 Thread Stephane Ducasse
Tx mathieu for the report!!! On Tue, Mar 27, 2018 at 7:56 PM, Mathieu Dubois via Pharo-users wrote: > > > -- Forwarded message -- > From: Mathieu Dubois > To: pharo-users@lists.pharo.org > Cc: > Bcc: > Date: Tue, 27 Mar 2018 19:56:41 +0200 > Subject: "News" section of the website

[Pharo-users] Detecting "window closed" for modal Spec window

2018-03-27 Thread Peter Uhnák
Hi, is it possible to detect when a modal window was closed in Spec? I can do the following window := TextModel new openWithSpec. window window announcer when: WindowClosed do: [ self inform: 'window closed' ]. But when I make the window modal it is no longer being announced window := TextMode

Re: [Pharo-users] RTLegendBuilder onDemand doesn't popup in html

2018-03-27 Thread Alexandre Bergel
Hi Andrei, onDemand for the legend is not supported when exporting to HTML. Cheers, Alexandre > On Mar 27, 2018, at 12:48 PM, Andrei Stebakov wrote: > > Just wanted to report that when I add a legend to RTView, it works as > expected when I ispect the view. > When I export it to HTML, it sho

Re: [Pharo-users] RTDoubleScrollBar is not rendered properly in html

2018-03-27 Thread Alexandre Bergel
> Alexandre, is there a way to display RTTreeLayout so that it would try to fit > elements in a more vertical fashion. > Let's say even if the parent node has 8 children it would try to arrange them > not in one long horizontal line (which depending on the width of elements can > be really wide)