[Pharo-users] Problems with NeoCSV Package

2018-11-26 Thread William L. Cleveland
I need to manually tag a large number of sentences choosing between a small, fixed number of short strings as tags for each sentence. I would like to do this with a Pharo GUI that displays sentences one at a time and permit choice of tags using radio buttons. The results need to be saved as a

[Pharo-users] Problems with Firmata & Arduino UNO Clone

2018-11-26 Thread William L. Cleveland
I have been unsuccessful in using an Arduino board with Pharo 6.1(32bit) and the Firmata package. The board is an Arduino Uno clone (ELEGOO UNO R3). The board appears to work fine with the Arduino IDE, which was tested with the BLINK program. The Standard Firmata Library appears to have

Re: [Pharo-users] Playing with Pharo 7

2018-11-26 Thread Cyril Ferlicot D.
Le 26/11/2018 à 16:57, Konrad Hinsen a écrit : > > Thanks for the pointer! Unfortunately all the documentation there > assumes way more familiarity with Smalltalk than I have. And even a lot > of familiarity with Metacello itself, as the documentation only explains > the latest functionality. >

Re: [Pharo-users] question about FFI

2018-11-26 Thread Esteban Lorenzano
> On 26 Nov 2018, at 11:14, Henrik Sperre Johansen via Pharo-users > wrote: > > > From: Henrik Sperre Johansen > Subject: Re: question about FFI > Date: 26 November 2018 at 11:14:26 CET > To: pharo-users@lists.pharo.org > > > Yuriy Babah wrote >> in Playground i'm doing: > * >> #(2 3)

Re: [Pharo-users] Playing with Pharo 7

2018-11-26 Thread Konrad Hinsen
Am 25.11.18 um 22:35 schrieb Paul DeBruicker: For #1: Set up a Metacello Baseline for your project and then you can automatically load your packages and settings into as many images as you like. https://github.com/Metacello/metacello Thanks for the pointer! Unfortunately all the

Re: [Pharo-users] Tracking method in and out with MetaLinks

2018-11-26 Thread Marcus Denker via Pharo-users
--- Begin Message --- > On 23 Nov 2018, at 15:19, Marcus Denker wrote: > > > >> On 23 Nov 2018, at 14:59, Marcus Denker wrote: >> >> >> >>> On 23 Nov 2018, at 13:40, Manuel Leuenberger >>> wrote: >>> >>> Hi, >>> >>> I stumbled upon another MetaLink scenario that I am unsure how to

Re: [Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
> FFIExamples > interpolationFunc_xm: xm getHandle > ym: ym getHandle > size: 2 > x: 2.5 . > cool! it worked !! Thank Esteban Lorenzano and everyone else )

Re: [Pharo-users] question about FFI

2018-11-26 Thread Esteban Lorenzano
Hi, > On 26 Nov 2018, at 09:28, Yuriy Babah wrote: > > Hi ! > > I'm trying to call a very simple function from C ++ lib, writed for the test. > function with prototype: > > extern "C" float interpolationFunc(float* xm, float* ym, int size, float x). > > In Pharo7 wrote: > FFIExamples class

Re: [Pharo-users] question about FFI

2018-11-26 Thread Henrik Sperre Johansen via Pharo-users
--- Begin Message --- Nevermind me, hadn't had my coffee yet, for some reason I didn't see it was doWithIndex: you were using :/ Still a bit scary that FFIExternalArray at:put: doesn't perform bounds checks... Cheers, Henry -- Sent from:

Re: [Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
just in case, and https://www.virustotal.com/ru/file/738460bb6be71b4615581dad1a787cbb80b188e52fe3480ef54b7bfce500f3dd/analysis/1543226071/ пн, 26 нояб. 2018 г. в 12:50, Yuriy Babah : > Thank, i'm trued do this, and i'm got > aBoxedFloat64 4.5879913020458836e-41 , > which is still a very

Re: [Pharo-users] question about FFI

2018-11-26 Thread teso...@gmail.com
Hi, could be the problem that you are using the same external array for both xm and ym?. The clone message just creates a shallow copy of the external array. It does not allocates a new external array, it only copies the address in both xm and ym. You should better do something like this: xm

[Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
Hi ! I'm trying to call a very simple function from C ++ lib, writed for the test. function with prototype: extern "C" float interpolationFunc(float* xm, float* ym, int size, float x). In Pharo7 wrote: FFIExamples class >> interpolationFunc_xm: xM ym: yM size: size x: x ^ self ffiCall: