[Pharo-users] [ANN] Stargate v6.1.0 [v6.1.0] released!

2021-06-15 Thread Buenos Aires Smalltalk
Stargate, a library supporting the creation of HTTP based RESTful APIs. reached it's v6.1.0 version. Changelog Content negotiation improvements Add support to content negotiation considering Accept-Language headers (Fixes #121) The negotiated media type and the negotiated language are accessible

[Pharo-users] Re: Problem installing 9.0 on MacMini M1

2021-06-15 Thread Tim Mackinnon
Worth saying that while Brew is handy on a mac (and avoid installing it as a sudo user) - you shouldn't need it do anything with Pharo either with with the launcher (graphical) or via the console (command line). Its worth checking you have properly read the download instructions on pharo.org -

[Pharo-users] Re: Problem installing 9.0 on MacMini M1

2021-06-15 Thread Rob Sayers
Hi, I can't help with the Pharo specific issue, but for installing brew, you can find the directions here: https://brew.sh/ On Tue, Jun 15, 2021 at 10:16 AM David Pennington wrote: > Hi everyone. It is your favourite newbie speaking :-) > > I have now got a new M1 MacMini which I want to configu

[Pharo-users] Problem installing 9.0 on MacMini M1

2021-06-15 Thread David Pennington
Hi everyone. It is your favourite newbie speaking :-) I have now got a new M1 MacMini which I want to configure up as a server for my Seaside apps. So far, I have found that the Mac mini doesn’t have wget or brew installed! I have sorted wget but not brew. Secondly, I have transferred all of m

[Pharo-users] Re: Rounding in Floats

2021-06-15 Thread Sven Van Caekenberghe
> On 15 Jun 2021, at 16:19, Esteban Maringolo wrote: > > Hi Sven, > > I accidentally skipped this. > > How is this different from the GRNumberPrinter? It is similar, but different (it does several things to produce cleaner numbers). Basically, when I produced certain JSON with floats that

[Pharo-users] Re: Rounding in Floats

2021-06-15 Thread Esteban Maringolo
Hi Sven, I accidentally skipped this. How is this different from the GRNumberPrinter? Where is the code available? Thanks! Esteban A. Maringolo On Mon, Jun 14, 2021 at 6:30 PM Sven Van Caekenberghe wrote: > > BTW, I recently wrote my own float printer, as an experiment. > > NeoJSONFloatPrint

[Pharo-users] Re: Rounding in Floats

2021-06-15 Thread Esteban Maringolo
Hi Richard, > Whether 6.7 - 2.2 gives 4.5 or something else is a subtle issue, > starting with the fact > that 6.7 and 2.2 cannot be represented precisely in floating-point > format. In this particular case, the errors happen to match up. > What you *can* rely on in Smalltalk is that (67/10) - (2

[Pharo-users] Re: Rounding in Floats

2021-06-15 Thread Esteban Maringolo
Well... fixed point numbers (aka ScaledDecimals) had their issues as well. And in this particular case, it might cause issues, since the "full precision" (whatever that means) must be retained when using such a number to derive another one. E.g. in my case: ch := 6.7 + (32.8 - 35). "course handic

[Pharo-users] R: [ANN] Pharo-ODBC

2021-06-15 Thread Lorenzo
Great work John! Tante grazie. Lorenzo Da: John Aspinall [mailto:john.aspin...@gmail.com] Inviato: lunedì 14 giugno 2021 11:29 A: Any question about pharo is welcome Oggetto: [Pharo-users] [ANN] Pharo-ODBC There is now an ODBC framework for Pharo, available at the pharo-rdbms gith

[Pharo-users] Re: Rounding in Floats

2021-06-15 Thread Richard O'Keefe
Whether 6.7 - 2.2 gives 4.5 or something else is a subtle issue, starting with the fact that 6.7 and 2.2 cannot be represented precisely in floating-point format. In this particular case, the errors happen to match up. What you *can* rely on in Smalltalk is that (67/10) - (22/10) = (9/2). Let's j