r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[All] except covered in other channels

[unknown: 5]
28-Mar-2005
[1569]
I wasn't thinking of tape actually, I was thinking more along the 
lines of backup to other harddrive storage
Graham
28-Mar-2005
[1570]
Bo has written such a utlity .. that also backs up to a ftp directory
[unknown: 5]
28-Mar-2005
[1571]
I have a program I made myself also.
Graham
28-Mar-2005
[1572]
It would be nice for a rebolish way to interface to tape drives and 
dvd writers
[unknown: 5]
28-Mar-2005
[1573]
Yeah - Carl should try to chime in sometime on some suggestions on 
how to do that.
Robert
29-Mar-2005
[1574]
Graham, right, I need to access the tape. The next problem is to 
handle things like: open-files, system state for Windows machines 
etc. IIRC Windows provides an API for backup-programs. If you want 
to do live backups of things like running DBs or Exchange etc. you 
need special APIs as well.
Robert
8-Apr-2005
[1575]
Hi, does someone know a good development environment which can create 
DLLs and simplifies COM programming? I want to create some wrapper 
DLLs for Rebol that use COM objects. But I really don't want to hack 
through MBs of MS header files etc.
BrianH
8-Apr-2005
[1576]
Borland Delphi. They have an Open Edition that is no-charge.
Robert
9-Apr-2005
[1577]
Hmm... my Pascal knowledge is a bit rusty ;-)) Thanks.
eFishAnt
9-Apr-2005
[1578x3]
My son Josh wrote a tutorial on this.  I don't remember at the moment 
exactly where he put it, maybe on his web site, but I will find out. 
 A very simple, to the point how-to.
...well, I don't remember if .com   (sorry)
it was some free download c compiler.
Volker
9-Apr-2005
[1581]
Gregg mentioned somewhere he uses realbasic. Blackbox Builder was 
proud about it too and is now open source. but have not read enough 
docu.
BrianH
9-Apr-2005
[1582]
There's a Free clone of Delphi out there called Free Pascal with 
a GUI-alike called Lazarus, but I doubt its COM support is that good, 
and they can't do the GUI as well because the best features of Delphi's 
GUI are patented by Borland. I think Microsoft licenses those patents 
for Visual Studio.
Josh
10-Apr-2005
[1583]
Robert, I'm not sure if this will be helpful, but this is what steve 
was talking about:  http://www.cs.grinnell.edu/~shirema1/docs/DLLsinREBOL.html
Robert
11-Apr-2005
[1584]
Josh, thanks for the link. My problem isn't creating the DLL part 
but getting the COM part done in a simple way. Writing the wrapper 
for Rebol is done quite fast.
[unknown: 5]
27-Apr-2005
[1585]
Anyone know any other languages that are similiar in design to REBOL?
JaimeVargas
27-Apr-2005
[1586]
Similar in which way?
[unknown: 5]
27-Apr-2005
[1587]
Where you can define words and use them in dialects
JaimeVargas
27-Apr-2005
[1588x2]
Forth
Do you mean that it has a bnf parser included?
BrianH
28-Apr-2005
[1590x2]
Nemerle
Though with that, the dialecting is done at compile time rather than 
at run time. Not quite the same, but still much of the language is 
dialects in the REBOL sense.
shadwolf
28-Apr-2005
[1592]
Lisp ...
[unknown: 5]
28-Apr-2005
[1593]
Wow thanks guys - I look some of these up
Gregg
30-Apr-2005
[1594]
OCaml has some interesting features along those lines.
BrianW
1-May-2005
[1595]
Doesn't smalltalk kind of work like that, since there are no keywords 
and everything can be redefined on the fly?
Gregg
1-May-2005
[1596]
Except that being a pure object environment, you have a lot of small 
methods that accept very specific messages, so you don't really create 
dialects, though you can take the first step and create a vocabulary. 
It just doesn't get used the same way. I'm not a real Smalltalker, 
only tinkered a bit a long time ago, so someone correct me if I'm 
wrong.
BrianW
2-May-2005
[1597]
That makes sense, Gregg. The difference between vocabulary and dialect 
can be hard to describe. Can Rebol dialects actually change the way 
the Rebol language functions?
PeterWood
2-May-2005
[1598]
Yes. Any Rebol code can change the way the language functions:
>> copy: func [a] ["hijacked"]
>> b: copy "123456"
>> b
== "hijacked"


As dialects are implemented in Rebol they can change the way the 
langauge functions.
BrianH
2-May-2005
[1599]
For that matter, much of how REBOL functions now is actually implemented 
as REBOL dialects, some in native code, some in REBOL code.
Sunanda
2-May-2005
[1600]
See, for example http://www.rebol.net/projects/view1.3/chat65.html
(around about msg 25)
Volker
2-May-2005
[1601]
dialects are interpreters, which you can write in rebol. as interpreters, 
they can change everything. from rebol they inherit datatypes/syntax, 
which saves a lot work and makes things consistent. and the binding, 
which makes it easy to have variables in dialects and share them 
with rebol. the nice thing it, they keep their context. if you just 
pass strings and use regexp, you can do dialects in perl too, but 
the strings don't keep their context. which means sharing namespaces/locals 
with interpreters is less comfortable upto impossible.
Maarten
23-May-2005
[1602]
I am working on a "REBOL powerpack". A set of libraries to help developers 
jump-start development. Check the REBOL powerpack group for details.
ChristianE
29-May-2005
[1603]
Funny question: What's a good iconic metaphor for "Save file"? Okay, 
we're used to have a floppy-disk-icon to click on, but do all people 
now-a-days remember what floppy disks were? I can't imagine a working 
successor, though. An USB-stick pixeled on a 16x16 pixel grid?  Not 
too easily recognised, I assume ... Any suggestions?
ScottT
29-May-2005
[1604]
Funny answer:  should one really have to specify that something is 
to be saved?  rather than try to guide everyone from the desktop 
to the pictures of things that are really actions (floppy isn't floppy 
it's SAVE).  Why not assume that something is needing to be saved, 
and only bother the user about such details for exceptions, like 
to save under a different name or a different place than whereever 
it was you were keeping it.  What is the object that means the verb 
SAVE AS?  icons are generally pretty miserable unless they are representing 
Nouns.  use the word if you can.  otherwise stick with what is usually 
used, the floppy.
ChristianE
29-May-2005
[1605]
Good argument. Icon metaphors often are pretty misleading or ambigous 
at least. But the intention of my question was more of the kind of 
"What icon will we see in the future in places where now-a-days we're 
still used to find a floppy disk?" I'm sure we'll have to wait a 
reasonable amount of time until my computer knows what I want to 
save and what not ;-) We'll use icons for some more years, I suppose.
ScottT
29-May-2005
[1606]
yeah, I think we are sorta stuck with it.  From a usability standpoint, 
deviating tends to be a bad thing.  most people will look for floppy, 
or know what it means when they see it.  since floppy's aren't good 
for much else, enshrining them as a token of how far we've come is 
fine.  there aren't good icons for actions.  we need arrows and things 
to show transference for most verbs, and 16x16 just doesn't cut it 
for showing some visual diagram of the action.  a document and a 
folder and an arrow showing movement of document to folder has been 
done quite a few times, and that one is probably closer than floppy, 
but when icons try to represent actions like this, the only semantic 
truly expressed is that there is movement of some thing.  and with 
files and folders or something, all the icons look the same except 
for the direction of the arrows.
Tomc
29-May-2005
[1607]
thumb, as in hitchike, nmemonic for thumbdrive and transport ion
Graham
29-May-2005
[1608]
brain
Tomc
29-May-2005
[1609]
optimist
[unknown: 9]
30-May-2005
[1610]
Sadly we have not developed a lexicon of common icons.


The icon for power on/off is becoming standard (a circle with a vertical 
line through 12 O'clock)


The save icon being a floppy also looks like a SD card or Microdrive 
to a lot of people.

It would be nice if the standards were set up for everyone:

Save
Load
New
Quit
Prefs
Edit
ChristianE
30-May-2005
[1611]
Brain, Graham, would probably be better suited for wild angry clicking 
when recognising "I only thought I've saved!" :-D
Charles
1-Jun-2005
[1612]
Why do we have to save ?  "redo" action, you know ?  In real life, 
you don't save, you take one thing, you do something, and you stop. 
 When it can be the same in an app, it's better I think.  I have 
an app, where there is no save-button, this is very cool !
Sunanda
2-Jun-2005
[1613]
I agree Charles -- I also wrote an application in REBOL that has 
no Save button....the data set is consistent every time a field is 
exited. It makes for far fewer mistakes by the users.


But, when they do make mistakes, the applicaton has an Undo button. 
And that works even if they've exited and restarted the application.
Anton
2-Jun-2005
[1614]
That's right. Persistent data. It's the future (even though the idea 
has been around for ages.)
Brock
2-Jun-2005
[1615]
Hey Sunanda, how did you implement that... Carl's Rebodex has a nice 
little engine for doing the auto-saving, but I've been thinking of 
providing an undo feature as well.  Would be interested in seeing 
how you did it if your app is available for public viewing.
Sunanda
2-Jun-2005
[1616]
Brock, the app has an API to its own "flat file" database ... mainly 
blocks of REBOL objects.

On each update transaction (which usually affects several flat files) 
we record the before images.

That makes Undo really just the same as a Rollback.


The Undo log keeps the last 100 (or a user selectable number of) 
transactions, so they can go back a long way if they need to.


But,. like a lot of things, the code was experiemental and as such 
is a pile of kark. One day, I might tidy it up into an API undertstandable 
by someone other than me,  It the meantime, I that's enough high-level 
clues to help you replicate the logic.
Guest
2-Jun-2005
[1617]
hi rebols, is there any flag to set the number of max. redirections 
for the http-scheme ?
Brock
2-Jun-2005
[1618]
Sunanda, thanks, that does give me a good idea as to what you did... 
thanks.