[REBOL] Re: subtracting binaries

2004-04-02 Thread Maarten Koopmans
Hi Gregg , I tested it some more, and it works like a charm! Thanks for the time-saver. Especially the fact that it works modulo (max value of the supplied binary) is really nice. And getting it back to a binary is simple: >> a: add-bitsets mb checksum/secure mold now mb checksum/secure mold

[REBOL] Re: subtracting binaries

2004-04-02 Thread Maarten Koopmans
Hi Gregg, > I know I have other things to be doing :), but this kept coming up in my > mind...wondering if doing binary math on bitsets would work. I considered series! (or actually, block!). Bitset! is interesting as well. What did I do so far: result: copy [] parse enbase/base checksum/secur

[REBOL] Re: rebol get-together in montreal ?

2004-04-02 Thread Maxim Olivier-Adlhoch
salut, Dans quel secteur faites-vous affaire chez coginov? le nom me dit quelque chose... est-ce possible? je suis curieux, comme tu peux voir ;-) Je me demandais s'il y avait une masse critique assez importante pour qu'on se loue un petit local ou qqe chose puis organiser un genre de petite

[REBOL] Re: rebol get-together in montreal ?

2004-04-02 Thread Jeannot Chapdelaine
Yeah... I am living in Montreal... so let me know what I can do for you Jeannot Chapdelaine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ammon Johnson Sent: 2 avril, 2004 18:38 To: [EMAIL PROTECTED] Subject: [REBOL] Re: rebol get-together in montreal

[REBOL] Re: subtracting binaries

2004-04-02 Thread Gregg Irwin
Hi Maarten, I know I have other things to be doing :), but this kept coming up in my mind...wondering if doing binary math on bitsets would work. The following is very much a proof-of-concept, but it might be an idea worth pursuing. -- Gregg

[REBOL] rebol get-together in montreal ?

2004-04-02 Thread Maxim Olivier-Adlhoch
hi list, I was wondering, would a get together in Montreal attract enough people that it would be worth organizing? maybe some of you are already planning trips, I also do not know how many of you live near Montreal. how many here, would attend a little reunion. I know I'd be willing to do a

[REBOL] Re: rebol get-together in montreal ?

2004-04-02 Thread Ammon Johnson
I already told Maxim this but since he is asking the list publicly, I personally am planning a trip to Montreal this summer so I will be there. That makes at two REBOLers, any other takers? Enjoy!! ~~Ammon ;~> - Original Message - From: "Maxim Olivier-Adlhoch" <[EMAIL PROTECTED]> To: "

[REBOL] command line arguments

2004-04-02 Thread tony summerfelt
On Fri, 02 Apr 2004 23:35:48 +0200, you wrote: >You get an error because >>> type? first arg >== string! > >So change >binkd-log: read/lines arg/1 >to >binkd-log: read/lines to-file arg/1 i had tried that, but there was an error later on that i mistook for an error with the first argument, but

[REBOL] Re: command line arguments

2004-04-02 Thread Hallvard Ystad
Dixit tony summerfelt (23.11 02.04.2004): >but i get: > >** Script Error: read expected source argument of type: file url >object block You get an error because >> type? first arg == string! So change binkd-log: read/lines arg/1 to binkd-log: read/lines to-file arg/1 HY Prætera censeo Carthag

[REBOL] command line arguments

2004-04-02 Thread tony summerfelt
still a beginner here. i was hardcoding a log file for parseing like this: binkd-log: read/lines %binkd.log and doing a:forall binkd-log [] later on i wanted to add command line parsing so i tried this: either not system/script/args == none [ arg: system/script/args ar

[REBOL] Re: MD5 Lib and other questions

2004-04-02 Thread rebOldes
Hello Robert, Tuesday, March 30, 2004, 8:29:25 AM, you wrote: RMM> On Sat, 27 Mar 2004 20:18:29 +0100, rebOldes <[EMAIL PROTECTED]> wrote: >> Now just how to count MD5 on file with size like 600MB :( RMM> Hi, I don't know anything about your use-case but if you use a MD5 to RMM> check for e

[REBOL] [python] loader of rebol data

2004-04-02 Thread Maxim Olivier-Adlhoch
has anyone created a tool in python which lets us load a rebol block of set-word! pairs into a python object? or anything else which would let me use rebol's simple block system as a data format for pyton? -MAx --- "You can either be part of the problem or part of the solution, but in the end,

[REBOL] Re: subtracting binaries

2004-04-02 Thread Mauro Fontana
On Thu, 01 Apr 2004 16:55:27 +0200, Maarten Koopmans <[EMAIL PROTECTED]> wrote: > > Hi, > > As anybody (efficiently) tackled suntracting two binary! values. I want > to compute the difference between two 160 bit SHA1 keys, with the > outcome a new binary. And I also need addition which sould be