On 2010-12-20, at 19:22 , Laurent Sansonetti wrote:
>
> Excellent! In this snippet, n is a 64-bit bignum, so I suspect something is
> going wrong in the converter
I couldn't help but prod around in bignum.c but I'm in way over my head.
How do you go about debugging this? I suppose I'd try to ru
On 2010-12-20, at 19:22 , Laurent Sansonetti wrote:
>
> Excellent! In this snippet, n is a 64-bit bignum, so I suspect something is
> going wrong in the converter. Could you file a ticket? We will get that fixed
> for 1.0.
https://www.macruby.org/trac/ticket/1068
I wonder if MRI ruby 1.9 is no
Hi Caio,
Excellent! In this snippet, n is a 64-bit bignum, so I suspect something is
going wrong in the converter. Could you file a ticket? We will get that fixed
for 1.0.
Laurent
On Dec 20, 2010, at 12:49 PM, Caio Chassot wrote:
> On 2010-12-20, at 16:37 , Caio Chassot wrote:
>>
>> Could so
On 2010-12-20, at 16:37 , Caio Chassot wrote:
>
> Could someone try to reduce this and take the notification center and iTunes
> out of the picture and see if it's just a problem with NSNumber?
Oh, that was easier than I thought.
#!/usr/bin/env macruby
n = 0x8C2CACEFCD8BBABA
m = NSN
I was trying to get the PersistentID from iTunes tracks from both
ScriptingBridge and the notifications iTunes posts to
NSDistributedNotificationCenter. I noticed I was getting different results from
each.
The first byte from the number read from the notification is nearly always
garbled (I su