Re: [Pharo-users] Floating point arithmetic

2020-01-12 Thread Konrad Hinsen
On 12/01/2020 21:13, Donald Howard wrote: "Evaluate this in a playground and you'll see this is what  floating point arithmetic produces --the first two are wrong, every one after is correct" 0.09560268 - 0.005 "=> 0.090602679". 0.0956026 - 0.005  "=> 0.090602599". 0.095602 -

[Pharo-users] As promised, the sequel!

2020-01-12 Thread Richard Kenneth Eng
https://levelup.gitconnected.com/how-is-smalltalks-revival-like-the-e-car-s-revival-128534792a9a

Re: [Pharo-users] Floating point arithmetic

2020-01-12 Thread Paul DeBruicker
Whats wrong with #roundedTo: ? If you actually need it calculated to 8 significant digits then you can use scaled decimals e.g. (0.09560268 asScaledDecimal - 0.005 asScaledDecimal) see https://0.30004.com for more about why floating point math does this sometimes Donald

[Pharo-users] Floating point arithmetic

2020-01-12 Thread Donald Howard
Hello everyone, This is an issue I've had awareness of going way back but it's the first time I've had to personally deal with it. I've done some research and found it addressed in a number of ways but given current time pressures and a huge list of to-dos, I thought I'd turn to the community

Re: [Pharo-users] Pharo on OpenSUSE (FFI / libgit2 errors)

2020-01-12 Thread Jan Blizničenko
So it seems the good old ln -s /usr/lib64/libcurl.so.4 (path to pharo)/pharo-vm/lib/pharo/(version)/libcurl-gnutls.so.4 still works after all, just not with Pharo Launcher VM (where it causes segfault). With regular VMs downloaded either manually or via the Launcher itself it works. Too bad it

Re: [Pharo-users] Pharo on OpenSUSE (FFI / libgit2 errors)

2020-01-12 Thread Jan Blizničenko
Hello Thank you for this script. Unfortunately it does not seem to work for me. After downloading that VM you linked and downloaded image with sources, image opens and immediately crashes: ioLoadModule(//home/honza/Downloads/pharo64-linux-stable/lib/pharo/5.0-201902062351/libgit2.so):

Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-12 Thread Benoit Verhaeghe
Le 12/01/2020 à 18:02, Hernán Morales Durand a écrit : Hi Benoit, Thank you for publishing this one! This is how I installed: Iceberg remoteTypeSelector: #scpUrl. Metacello new baseline: 'VLC'; repository: 'github://badetitou/Pharo-LibVLC'; load. However I got this warning on Mac: This

Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-12 Thread Hernán Morales Durand
Hi Benoit, Thank you for publishing this one! This is how I installed: Iceberg remoteTypeSelector: #scpUrl. Metacello new baseline: 'VLC'; repository: 'github://badetitou/Pharo-LibVLC'; load. However I got this warning on Mac: This package depends on the following classes: VLCLibrary

[Pharo-users] Annonce Pharo-LibVLC

2020-01-12 Thread Benoit Verhaeghe
Hello there, I just want to let you know that I've developed an FFI binding to VLC. Since, version 2.1.1 you can use it on Windows, Linux, and OSX. https://github.com/badetitou/Pharo-LibVLC Thanks to the binding you can play easily sounds and videos from Pharo. The next steps are: *

Re: [Pharo-users] Pharo on OpenSUSE (FFI / libgit2 errors)

2020-01-12 Thread Holger Freyther
It's exclusively due curl-gnutls (libcurl linked against GNUtls instead of OpenSSL for license preference). A version of OpenSSL1.0.0 seems to be in the bundle. This was tested against http://files.pharo.org/get-files/80/pharo64-linux-stable.zip 1.) Download that file 2.) unzip that file