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

World: r3wp

[All] except covered in other channels

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.
Anton
2-Jun-2005
[1619]
Brock, also trap the window close event and any other way of ending 
your app, and, at that point, save to the default image. A "Save 
As.." button can be used to save to a particular file if the user 
wants.
Brock
3-Jun-2005
[1620]
Thanks Anton, that's how the Rebodex app works so I was aware of 
this method.
Anton
3-Jun-2005
[1621]
ok cool..
Pekr
7-Jun-2005
[1622]
could anyone suggest me please free sntp (time protocol) server, 
we could test our device against? Thanks ...
[unknown: 10]
7-Jun-2005
[1623x2]
ntp.xs4all.nl
ntp.surfnet.net
Pekr
8-Jun-2005
[1625]
Mozilla Firefox will use bsdiff and bspatch for software updates. 
http://www.daemonology.net/bsdiff/, it remains me of xor based patching 
Gabriele came up with in the past. I wonder if similar aproach is 
still possible for Rebol products?
Gabriele
8-Jun-2005
[1626]
rebol is small enough, that you don't usually need it. :)
Pekr
8-Jun-2005
[1627x3]
bzzz ....
:-)
Once again we will be wasting, even if we don't necessarily need 
to? :-) But we want fmod in rebol, tasking, font-engine, VM, extensions 
... it will not be small-enough for ages :-)
Volker
8-Jun-2005
[1630]
MAybe could be used to run scripts which insists on a special version. 
then the current one could be patched with a few-kb-download :)
Gabriele
8-Jun-2005
[1631x3]
petr: how much do you save if you use bsdiff from 1.2.1 to 1.2.223?
the waste is the memory and time used by bsdiff and bspatch in this 
case.
all you need, is using a smart autoupdate system like the one in 
the detective :P
Pekr
8-Jun-2005
[1634]
I don't know how much do I save - you tell me. But Rebol slowly grows 
- View now has 700 KB, on GPRs connection, it takes few minutes :-)
Gabriele
8-Jun-2005
[1635x2]
patch size: 294kb, compressed rebol.exe 431kb.
is that worth the effort of telling the user how to use bsdiff? or, 
even worse, implementing that in rebol...
Pekr
8-Jun-2005
[1637]
why is patch size so big? You once showed some 20kb or so patch size 
for an app. It probably depends upon what you actually patch, no? 
If it is rebol itself, it will nearly mean downloading it once again, 
it if it change in your encapped app, it could be smaller, no?
DideC
8-Jun-2005
[1638x2]
Normally, VM should be lighter when the dual rendering core will 
be removed: actually, there is the old Rebol one (for effects and 
text) and the AGG one (for Draw). Effects needs to be proted on AGG 
AFAIK
proted=ported
Pekr
8-Jun-2005
[1640]
yes, that is possilbe, DideC
Gabriele
8-Jun-2005
[1641x4]
petr: don't be fooled. my technique was to update apps produced with 
THE SAME ENCAPPER, i.e. same version of rebol, changed rebol code.
so, you just update the rebol code.
i do that in a better way in the detective.
when you update the detective, you only download the rebol code. 
the interpreter can be updated too, and you just download a new compressed 
interpreter.
Pekr
8-Jun-2005
[1645]
That is what I talk about, so an misunderstanding :-) I miss e.g. 
desktop being in separated file, as is with IOS IIRC ....
Gabriele
8-Jun-2005
[1646]
you don't need bsdiff to do that :)
Volker
8-Jun-2005
[1647x3]
the diff could be done on the server, and the merge only contain 
data and offsets?
where is that detective stuff? does it protec to run nly authorized 
files?
google helped :)
Robert
9-Jun-2005
[1650]
Ok, I know I raised this topic already a few times but nevertheless 
here it's again:

Does anybody see a chance that we could create a sync interface in 
Rebol that communicate with smartphones? I would like to sync contacts 
and appointments that's it for now.


Such an interface could be used together with xpeers and move us 
a hughe step ahead WRT convince Outlook users etc.
Pekr
9-Jun-2005
[1651x3]
Yes, general sync framework, even for something better than IOS is. 
I am near writing proposal for who would be willing to develop file-exchange 
framework, but supporting certificates, e-signatures. Maybe I could 
get something like 1000 EUR for that, but I know that is hardly enough 
for you "west" folks :-(
The "low price" of solution would be to actually get "license for 
the code", which would be later released to be as free to rebol community.
The only sync projects I know about was DocKimbel's Rsync port attempt 
(it was not finished, as it was said as being too slow in rebol) 
and Graham's Coyote?
MichaelB
9-Jun-2005
[1654]
Robert: What do you understand under a sync interface. Easiest way 
and most compatible way would probably be to support syncML, as at 
least symbian supports it, but this would mean that IOS has to become 
a syncML server, that's not so easy - I think.
Pekr
9-Jun-2005
[1655]
I dunno what is Outlook syncing based upon ....
MichaelB
9-Jun-2005
[1656]
I think they have their own protocol - at least in regard to exchange.
Pekr
9-Jun-2005
[1657]
but we are talking about syncing mobile users with Outlook, right? 
So the question is, what protocols are used on smart devices ...
MichaelB
9-Jun-2005
[1658x2]
symbian for instance will support from v9.0 on (at least the announced 
this) exchange protocol for exactly that reason
and they use syncML - I just don't use outlook or anything common 
so I never could test it (SE P900)
Pekr
9-Jun-2005
[1660]
It is really a BIG problem. I work close to management and some of 
them change their devices every few months ;-) - you know those geeks 
:-), and we have to install plenty of sw, set-up devices in various 
modes, for various operators, cooperating with notebooks, etc. A 
real pain. Symbian are pigs. Gettrin new P910  one year ago connected 
via BlueTooth was real pain. Companies release beta level quality 
sw ...
Robert
9-Jun-2005
[1661x2]
Michael, yes something like SyncML.
Petr, keep it simple. I just want to sync an address block to the 
mobil so that it's added to the contact database. That's it.
Pekr
9-Jun-2005
[1663x3]
I wonder, why there is not any standard, e.g. for exporting cell-phone 
content, or to import it later, between all producers ...
I have friends who run large cell phone shop here and they do both 
- export cell phone contacts, as well as backup all phone info, becase 
there are sometimes problems with new sw, which refuses to import 
setttings backed-up by older sw version and similar mess, and I talk 
about Nokias only ...
so what do they use? SyncML?