> Any one got any better ideas?
Nope. But I can shift the problem a little.
It may or may not make sense for your script but if you give the action a
name then you don't need the parens:
>> my-action: [(print "i'm here!")]
== [(print "i'm here!")]
>> parse [ x ] compose [(to-word "w
Hi Gabriele,
>PROJECT NAME: dbms3.r (temporary)
>
>PURPOSE:
>
>writing a small and simple relational database management system
>in REBOL, for use with applications that don't need a full blown
>separate DBMS such as MySQL. With respect to dbms.r, it will be
>more efficient in the data storage to
Gabriele your project is very interesting both for its intended output and
approach.
Vanilla Proposal
My first comment is about achieving the level of collaboration hoped for. I
have been experimenting a lot recently with Vanilla. It is a wonderful
system, offering an excellent platform for all
You will be able to sell your scripts eventually. I intended to buy scripts
for resale but only under my exclusive rights. That is - I buy into the
REBOL Royalty agreement and purchase/distribute scripts with my exclusive
rights to the software. The only reason I never purchased Encap was that
Hi Romano,
>The advantage of row/col is for export functions. It can be easy converted in
>a CVS db for more complex works or to change direction if you see that db
>becomes too big. But i'm open to every solutions. In my custom db i use nested
>blocks which are not easy converted in a row/column
Hi Patrick,
> file: %/c/rebol/prog.r/program.r
> find/last file "."
> == %.r
>
> So it returns the end of the file (or the end of the string in my previous
> post). However you are both using it as it was returning a position. What is
> wrong with me ?
I had misinterpreted your question. My answ
Hi Andrew,
> The most annoying problem with Rebol at the moment, is that 'compose on
> 'parse rule actions, composes the action parts of the rules. It's quite
> tricky arranging script to avoid this problem. I use some thing like:
>
> compose/deep [
> (
> make paren! [
> ;
Hi Rod,
> I just don't want to start with rows and columns and having to think
> about my REBOL data within the confines of a RDBMS. I am a database
> developer by day and a reboler by night but I know REBOL is capable
> of a very different kind of database.
The advantage of row/col is for expo
The most annoying problem with Rebol at the moment, is that 'compose on
'parse rule actions, composes the action parts of the rules. It's quite
tricky arranging script to avoid this problem. I use some thing like:
compose/deep [
(
make paren! [
; rule action stuff in here.
Hi Romano,
>I can't answer for Gabriele, but i can say why i need it: after writing 3
>different custom db for my programs, i feel the need of a "standard" rebol db
>to store/retrieve data. I do not want to use an external db only for some
>items.
Don't get me wrong - I need it as well.
I just
Hi Patrick,
>So it returns the end of the file (or the end of the string in my previous
>post). However you are both using it as it was returning a position. What is
>wrong with me ?
The answer is the argument of the Part refinement. From doc:
"For series, the /PART refinement will
copy [change
I can't answer for Gabriele, but i can say why i need it: after writing 3
different custom db for my programs, i feel the need of a "standard" rebol db
to store/retrieve data. I do not want to use an external db only for some
items.
I was thinking to write my own but if Gabriele write it i'll use
Hi Gabriele,
Now i've started to read the dbms code. The first notes:
1) I like to have a function to update the db. Until the funtions call all the
changes should resides in memory or in a temp file.
2) I do not like to use a dir for a db. Neither to use a dir name for a db
name. My preference
RE: [REBOL] How to change a file extension ?
Hi Patrick
foreach f read %./
[ either parse f [copy g to %.r thru %.r]
[ g: join g %.bakPrint ["renaming" f "->" g] ]
[ print ["keeping" f] ]
]
; + quick double %.r workaround:
foreach f read %./
[ either parse f compose [copy
RE: [REBOL] Re: 'Compose' into feel -engage function
[EMAIL PROTECTED] wrote:
>
> Phillippe wrote:
> > For example, (first tempo1) is not reduce.
>
> Try:
> compose/deep
> and your problem should be solved.
>
except code is
tblEvent: parse (to-string event/offset) "x"
Hi Gabriele,
>PROJECT NAME: dbms3.r (temporary)
>
>PURPOSE:
>
>writing a small and simple relational database management system
>in REBOL, for use with applications that don't need a full blown
>separate DBMS such as MySQL. With respect to dbms.r, it will be
>more efficient in the data storage to
Hi paolo and andrew,
Thanks to both of you. However I do not understand how it works. Especially
what find/last is doing.
For example:
file: %/c/rebol/prog.r/program.r
find/last file "."
== %.r
So it returns the end of the file (or the end of the string in my previous
post). However you are bo
Hi Ladislav,
How come there is no round function in my rebol ?
Patrick
- Original Message -
From: "Ladislav Mecir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 13, 2002 8:12 PM
Subject: [REBOL] Re: strange results with decimal!
> If I understood correctly, the ori
Hi Gabriele,
I am using your dbms.r for month to store photo names. I'll be glad to help
for testing, building some example (as I already did in the past when I was
trying dbms.r for the first time.), making a few suggestion ( for example a
more secure way to delete a record ), helping a bit for
Don Cox wrote:
>On 13-Jan-02, Brett Handley wrote:
>
>>Say you have a script with some functions defined and the main
>>execution code. Rugby allows you to split that script up to run across
>>more than one Rebol process (usually on different machines). You could
>>put all the functions in one sc
Hi Gabriele,
> Have you seen dbms.r? I plan to keep a similar interface (well,
> better, I hope :).
No, i'll see asap.
---
Ciao
Romano
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
Gabriele Santilli wrote:
>Hello Petr!
>
>I still think a small REBOL dbms can be useful. I've been using
>MySQL a lot, and I'm not going to abandon it... but it's not
>always the best solution IMHO.
>
OK, I can now see your point - however - starting to build dbms system
and allowing it to be on
On 13-Jan-02, Brett Handley wrote:
> Say you have a script with some functions defined and the main
> execution code. Rugby allows you to split that script up to run across
> more than one Rebol process (usually on different machines). You could
> put all the functions in one script and place tha
Hey all,
Your explanation is indeed very good Brett. May I include it in the docs
somewhere?
I will need to upgrade the documentation even more. It tells you how things
work, but the common pitfalls and problems in distributed computing probably
need to be touched as well, as well as a cool web
If I understood correctly, the original problem was, how to perform some
simple operations (addition in this case, but it can be generalized to the
multiplication or other operations) to get "accurate" results in the case
where the results should be numbers with two decimal digits. If you perform
Hello Romano!
On 13-Gen-02, you wrote:
RT> I feel the need of a standard interface. It must be short,
RT> closed in itself and fast (and bug free of course :-). In
RT> other cases it is a better choise, i think, to write own
RT> routines and integrate them in the program.
Have you seen dbms
Hello Petr!
On 13-Gen-02, you wrote:
PK> - next Rebol update should also introduce
PK> new port type, with ability to perform seek upon direct
PK> opened port, maybe you would want to wait for this one?
I've been waiting, but now I need it so I'll go with it and
improve in the future.
PK>
Hello Joel!
On 13-Gen-02, you wrote:
JN> At the same time, it takes real courage to expose one's
JN> thinking in near-real-time to an audience or a group of
JN> collaborators. I applaud your bravery!
Well, I hope you will all be indulgent to me. :)
JN> My experience suggests that there's v
Patrick Philipotwrote:
> How to change a file extension ?
> Example:
> Changing from %program.r to %program.bak
CD: :change-dir
LD: :list-dir
MD: :make-dir
WD: :what-dir
Directory?: func [File [file!]][#"/" = last File]
Filename: func [File [file!]][copy/part File find/last File "."]
Extension
Phillippe wrote:
> For example, (first tempo1) is not reduce.
Try:
compose/deep
and your problem should be solved.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subje
Hi Patrick,
> infile: to-string %/d/rebol/prog.r/program.r
> ext: find/last infile "."
> outfile: copy/part infile (length? infile) - (length? ext)
> append outfile ".bak"
> print outfile
>
> It seems to me a bit complicated. Does anyone have a better (simpler)
> solution ?
one mode:
file: %/
Hi Gabriele,
> PROJECT NAME: dbms3.r (temporary)
>
> PURPOSE:
>
> writing a small and simple relational database management system
> in REBOL, for use with applications that don't need a full blown
> separate DBMS such as MySQL. With respect to dbms.r, it will be
> more efficient in the data stor
Hello Dr. Luis!
On 13-Gen-02, you wrote:
DT> What is the url for your pdf maker? I went to your website,
sites/rebol.it
or
http://web.tiscali.it/rebol/index.r
or (if the above is slow)
http://www.rebolforces.com/~gisse/reb/index.r
(I didn't provide the link because I thought t
Hi
I need robust date-time handling, for referencing a wide range of
timestamped data, historical, ancient, modern, up to and including current
internet messaging logfiles etc..
Ideally looking for REBOL implementation of the rich feature set offered by
Marc-André Lemburg's superb mxDateTime m
Hi, Gabriele,
Let me first offer a word of support to your approach. As is
probably obvious to anyone who has read the first refactoring
article on REBOLforces (hint, hint, hint ;-) I strongly believe
that there's much more value in seeing HOW code is designed and
constructed -- including false
> hmmm anyone know what an "Etag:" is?
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19
http://mail.anywhereyougo.com/pipermail/wap-dev/2001-January/016615.html
ETag is used for checking if the resource is modified. When you modify a
resource, server generates new ETag for it. E
> Here's an attempt (WARNING long winded).
> ===Why a request broker?
> ===The dark times.
> ===Rugby
> ===Scenarios
> Rugby does it's job so well it seems overkill to even talk about Request
> Brokers.
Brett
LoL :-) that's really wonderful.. thanks for de-mystifying teh subject in
such an enter
> I have a few doubts about rugby. I can make a direct call using rexec and
sexec, putting the service at http layer. So I can call a service through
rugby to be sent to a browser, but how can I send back args to my functions
inside rugby server via my IE5?
> What are the variables that I must rea
ANN: Rebol/Flash dialect updated
Hello there...
I've updated the Rebol/Flash dialect again...
Now it's possible to ControlFlow (Either and If now)
and some other Action parser enhancements...
What's important is that I've fi
How to change a file extension ?
Example:
Changing from %program.r to %program.bak
Pitfall:
It cannot be done with a simple find and replace. Find and replace will fail
in some case like the following:
/d/rebol/prog.r/program.r -> /d/rebol/prog.bak/program.r
/d/rebol/prog.r/program.r -> /d/rebo
Hello,
I got a problem with the 'compose word.
I use 'compose with append to layout for texts and pairs, when the text or
pair is created before the append and often in a recursive way.
But i can't compose some parameters in the feel [engage ] function.
The code below is working for (coor). The ()
Hello,
just two notes - I think that we also need some library wrappers. If you
will look at some open sourced libraries, you'll find plenty of various
languages mentioned, except Rebol of course.
- next Rebol update will feature call-back functions in Library interface
- next Rebol update sho
PROJECT NAME: dbms3.r (temporary)
PURPOSE:
writing a small and simple relational database management system
in REBOL, for use with applications that don't need a full blown
separate DBMS such as MySQL. With respect to dbms.r, it will be
more efficient in the data storage to be usable with much m
Hello everyone,
since challenges don't seem to work , :) I've got another
idea for the REBOL community.
I've been thinking about the weak points of my contributions (such
as dbms.r and PDF Maker):
- incomplete/poor documentation;
- messy code (when I'm in a hurry... :);
- slow/intermit
Hi,
> Sunanda wrote:
> > Of course they could be found by someone doing a determined and
exhaustive
> search. But how many postings containing "sort" would you have to read to
> find this tip? How is anyone starting Rebol next week ever going to
stumble
> across Volver's brilliant vv?
>
> > It's
Sunanda wrote:
> Of course they could be found by someone doing a determined and exhaustive
search. But how many postings containing "sort" would you have to read to
find this tip? How is anyone starting Rebol next week ever going to stumble
across Volver's brilliant vv?
> It's not a new suggesti
Hi Tom,
> /compare is your friend
>
> just somrthing like
>
> sort/compare object-list func[a b][a/path-to-field <= b/path-to-field]
>
> should be fine
Thank you.
I should have done what Louis did and ask the list before rolling my own.
Reinventing the wheel isn't always a bad thin
47 matches
Mail list logo