I want to multiply two (big) numbers.
I found /usr/include/openssl/bn.h which has just what I need.
But everything is marked DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER.
So what is one expected to do in 10.9.2?
There is vBigNum.h in Accelerate.framework, but this does not help with
I've written a command line routine that compares two image files, in the hope
of determining if the two files are different. Basically the tool only compares
whether the dimensions are different or whether the pixel values are
sufficiently different. So the routine has a distance option which
This has fixed itself. I don't know how or why. But after installing 10.9.2 and
rebooting the tiff files with varying alpha values look the same as png files.
I don't think it was the update to 10.9.2 but I've got no proof, but instead I
think it is related to the fact that I've occasionally
On 25 Feb 2014, at 2:39 PM, Pax 45rpmli...@googlemail.com wrote:
This is a really weird problem (in my view, anyway), because it only occurs
in a very particular set of circumstances. My application is NSDocument
based (just in case it makes a difference), and my application uses ARC.
On 26 Feb 2014, at 09:51, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I want to multiply two (big) numbers.
I found /usr/include/openssl/bn.h which has just what I need.
But everything is marked DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER.
So what is one expected to do in 10.9.2?
On Feb 26, 2014, at 8:14 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
NSDecimalNumber ?
That’s not a proper bignum; it has a limited precision of 38 decimal digits
(sounds like 128 bits?)
Gerriet: There must be a whole bunch of bignum libraries for C or C++; find one
of those and
Well I've worked something out.
If the CGContext supplied buffer that the CIContext draws the results of the
CIAreaMaximum filter to uses float components it doesn't work. Providing a
context which is 8 bit ints per component with 4 components RGBA works.
Not the result I wanted, but at least
That NSDecimalNumber is essentially the 128-bit quadruple-percision float
number, in an non-IEEE-754 fashion.
You can still use OpenSSL, either ignore the deprecation or compile and carry
your own copy. Apple deprecated it because OpenSSL API isn’t stable enough.
Alternatively, you can use
Thanks for your help. The problem is now solved - although I'm still none the
wiser as to why the problem only manifested when the file was opened and then
the document closed before the file was closed. I'm kind of curious to
understand what was going on under the hood that might explain this
On Wed, Feb 26, 2014, at 12:42 PM, Pax wrote:
Thanks for your help. The problem is now solved - although I'm still none
the wiser as to why the problem only manifested when the file was opened
and then the document closed before the file was closed. I'm kind of
curious to understand what was
The thing that I love about this site is that it always encourages developers
to be better, to do better. Awesome stuff. I also like the phrase
'programming by chance'!
Your spidey sense is oddly aligned with mine - that's the first thing that I
thought and the first thing that I fixed
Hello,
is there a way to stop NSKeyedArchiver from bombing out with an exception,
crashing the app along with it, when it tries to decode an archive that it deems
incomprehensible?
From time to time we get support requests about crashes that originate
basically in damaged archives (binary
Is there an NSNotification or some other kind of notification you can subscribe
to when there's a change in /dev? I'm dealing with an old USB-serial device
which creates a cu/tty when inserted (and removed when removed) and I'd like
to get a notification when that happens so I can update UI.
On Wed, Feb 26, 2014, at 03:19 PM, Roland King wrote:
Is there an NSNotification or some other kind of notification you can
subscribe to when there's a change in /dev? I'm dealing with an old
USB-serial device which creates a cu/tty when inserted (and removed when
removed) and I'd like to get
On 27 Feb 2014, at 10:19 am, Roland King r...@rols.org wrote:
Is there an NSNotification or some other kind of notification you can
subscribe to when there's a change in /dev? I'm dealing with an old
USB-serial device which creates a cu/tty when inserted (and removed when
removed) and
I've got a weird bug I'm having a hard time tracking down.
In an archive, I have an array of objects. In an earlier version of my app,
these are dearchived fine. In a recent build, they do not. The array is
returned, but it contains 0 objects. Using a delegate on the unarchiver, I can
see that
That's an idea. Not an Arduino, but not dissimilar, it's a UART mapped through
a Segger chip which presents as a USB CDC which the kernel grabs and turns into
/dev/cu.usbmodem* which required learning about termios and lots of other
things I've not had to think about in 20 years.
Kyle, the
On 27 Feb 2014, at 02:03, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 26 Feb 2014, at 09:51, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I want to multiply two (big) numbers.
I found /usr/include/openssl/bn.h which has just what I need.
But everything is marked
It seems that I can't sort on a read-only synthesized property in my
NSManagedObject subclass. I'd like to sort a bunch of stuff into some sections,
but the definition of a section is somewhat complex, depending on multiple
other properties. So, I defined a property section like this:
-
On 2014 Feb 26, at 13:44, Markus Spoettl ms_li...@shiftoption.com wrote:
Is an exception handler the only way to do that?
Yes.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
On Feb 26, 2014, at 6:47 PM, Roland King r...@rols.org wrote:
Kyle, the IOUSB stuff works too, I have that but find there's a delay before
the /dev gets created, a random one, and I haven't yet figured out how to
work out what device it gets mapped to...
Well, somewhere in the attributes
21 matches
Mail list logo