Hi Alex,
Following the design proposed by Stef, in your case you would use a different
collection.
Cheers,
Doru
> On Dec 21, 2016, at 8:13 AM, Alexandre Bergel wrote:
>
> Hi Stef,
>
> You are raising an interesting point to discuss. This MissingValue is indeed
> better than having -1
> Som
Hi Stef,
You are raising an interesting point to discuss. This MissingValue is indeed
better than having -1
Something to keep in mind: it may be that one would like to focus on the
missing value and not really the value.
Consider:
> testCollect
>
> | uarray collected |
> uarray :=
Hi,
MissingValue (or NoValue) is definitely the way to go. The
UniformOrderedCollection is an interesting idea, too. We had a NoValue like
solution a long time ago but we discarded because we missed the idea around
collections. It would be really cool to have this working.
Cheers,
Doru
> On
So basically you are trying to deal with missing values in collections.
People working with R or Python data analytics framework made some
ways to work with specific data structures called dataframes
where you can have some missing values.
For example you may have a look here:
http://pandas.pydat
Thanks - testing the new dylib (see response to Esteban) with a C app
(command line tool) as you suggested saved me from wasting time before
realizing I had a 64 vs 32 bit problem.. works now.
Cheers,
Jay
--
View this message in context:
http://forum.world.st/FFI-on-MacOS-10-12-using-Pharo-5-t
Thanks Esteban, was helpful to know I had (almost!) the right syntax..
With that I was able to concentrate on the library loading - apparently
using a .dylib rather than .bundle made the difference.
It now works - thanks again!
Jay
--
View this message in context:
http://forum.world.st/F
I'm currently trying it and it seems quite easy to load and use - just
working fine.
Of couse it seems kinda slow in comparison with native implementations (2000
iterations of SHA256 into 32 byte hash taking almost a second on my quite
powerful PC), but that's expected and not that much of a proble
Hi Jan,
I extracted a PBKDF2 implementation from some of my code some time ago.
Take a look here:
http://readthesourceluke.blogspot.de/2014/07/pbkdf2-for-pharo.html
http://www.smalltalkhub.com/#!/~UdoSchneider/PBKDF2
CU,
Udo
On 19/12/16 18:09, Jan Blizničenko wrote:
Hello
I'm working on P
Hi dear great OO designers
Here is a little challenges for your brainy souls :)
In Moose when we compute metrics it may happen than a tool (often external
to pharo) does not compute a metrics
and when we request it in moose we check and often we return a not so good
-1.
I'm trying to brain
I think I last used this in Pharo 1.3
#greaseString is just a cross platform #asString so you could change those
for your updated package.
here's a version of #randomBCryptSalt: that will work OK.
randomBCryptSalt: saltSize
| combined targetStream char random |
combin
Hello Jan,
The latest commit of the Cryptography package loads in Pharo 5 without
affecting existing packages, but it does not guarantee that all the
methods are working.
The FFI related packages will likely not work out of the box, because
there was a change in the FFI interface from Pharo 4 to
Hi,
I never tested it with a “bundle” plugin. But if before it worked like this:
someNumber
^self externalCallFailed
Now it should work like this:
someNumber
^ self ffiCall: #(int someNumber () ) module: ‘ThePlugin’.
and:
a) you can do that with a FFILibrary child
There is a #random channel on slack, one can do a #politics one if so
needed.
Phil
On Tue, Dec 20, 2016 at 5:36 AM, Tudor Girba wrote:
> Indeed, please let’s focus on Pharo issues on this mailing list.
>
> Cheers,
> Doru
>
>
> > On Dec 20, 2016, at 1:25 AM, Travis Ayres wrote:
> >
> > Totally
I recently worked with UFFI for making a shared memory library, the very
first thing I have done is to do everything first with C code , to make
sure things work at the C side. Its so easy to mess up things at C code. So
first make sure that the library actually works, because if it does not
work i
Previously with NativeBoost, Pharo FFI diverged from the mainline VM,
which made support from vm-devs a bit harder.
In Pharo 5 we've returned to the fold with UFFI, but there are some
changes required.
I recorded my own learning of UFFI here...
http://blog.openinworld.com/2016/09/pharo-libclang-ff
In a 4.0 image I got in a situation where it seems Ring is out of sync (I am
getting errors of missing meta classes on each accept). I vaguely remember
there being an expression to reset/reinitialise Ring ?
Does anyone remember ?
Thx,
Sven
Yes this is why it would be a good addition to protego
On Sun, Dec 18, 2016 at 8:21 PM, Denis Kudriashov
wrote:
>
> 2016-12-18 20:19 GMT+01:00 Denis Kudriashov :
>
>>
>>> What is the main difference between proposed MissingValue and
>>> UndefinedObject?
>>
>>
>> MissingValue you will set up acco
17 matches
Mail list logo