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

World: r3wp

[RAMBO] The REBOL bug and enhancement database

Maxim
12-Oct-2006
[1842x3]
(and am still fiddling around with a cleaner http-post func)
but IIRC I can still see the mem leak in GLayout... so maybe another 
time I can look in my old dev backups and find a VID test I had done 
which re-created the leak.
(that's before devcon 2004)
Henrik
13-Oct-2006
[1845]
One has to be careful reloading scripts in the same console multiple 
times as this will also eat up hundreds of MB's of memory. I'm sure 
that I'm doing something "wrong" in those scripts, but have no time 
to investigate what it is. I wanted to ask earlier on a memory usage 
group and that we don't have one. Wouldn't it be nice to get laid 
out what techniques are useful in order to converve memory? Maybe 
the experts can put in a word or two on that. View does indeed also 
eat lots of memory, as well as image creation with to-image.
Anton
13-Oct-2006
[1846]
I can see the page now: "Memory Conservation in Rebol"
Henrik
13-Oct-2006
[1847]
see it? in your mind or what?
BrianH
13-Oct-2006
[1848]
What, with the entire VID and port systems as counterexamples?
Maxim
13-Oct-2006
[1849]
one quick memory saving trick... don't use view  ;-)
BrianH
13-Oct-2006
[1850]
Works for me, most of the time. Most of what I do can be done in 
/Core, much of it in /Base.
Maxim
13-Oct-2006
[1851]
unfortunately, most of what I do uses view  ;-)
Henrik
13-Oct-2006
[1852]
same here, but I don't see the problem as often as with continuous 
reuse of scripts in the same console. they might be graphics related, 
but not necessarily View related.
BrianH
13-Oct-2006
[1853]
Well you're graphics guys, while I mostly do file and data manipulation.
Robert
15-Oct-2006
[1854]
Henrik, yes, I know this problem. Looks to me that some things aren't 
reseted. You can see this, if you have a face A in the first run 
and than a face B (and not A anymore) in the second run. A is still 
available.
Anton
15-Oct-2006
[1855]
Henrik, ah yes, in my mind, sorry :)
Henrik
17-Oct-2006
[1856]
the clipboard bug mentioned in AltME is not rambo'ed? it would be 
easy to fix, wouldn't it?
Rebolek
17-Oct-2006
[1857]
what's the difference between Build and Done in RAMBO? Lot of bugs 
says Build with comment like "Fixed in 1.3.1 (1.3.2)". Shouldn't 
those bugs be marked as Done?
Gabriele
17-Oct-2006
[1858]
rebolek, the process should be built -> tested -> done. if noone 
is testing, they never get to tested. :) (we eventually assume that 
no news means good news and mark them.)
Anton
17-Oct-2006
[1859x3]
Ladislav, why is $4141 "If versus CASE" of high importance ?
Also, #4145 "Struct comparison bug" is the same as #3651 "struct! 
are incomparable".
#3225 "Default mezzanine", what would an example usage of try/recover 
look like ?
I think I still prefer 'default, being more concise.
Ladislav
17-Oct-2006
[1862x2]
High importance - Carl wanted it to be - to correct it soon
#3651 - I overlooked it somehow, sorry
Anton
17-Oct-2006
[1864]
Hmm, ok.
Ladislav
17-Oct-2006
[1865]
try/recover - that is how Carl wanted it to be. (he didn't want to 
define a new function)
Anton
17-Oct-2006
[1866]
Pity about that.
Ladislav
17-Oct-2006
[1867x4]
my note is, that it should be native
(because only a native can discern a "live" error and a "computed" 
one)
pity about that - I understand it, that you are already using Default 
and this will make your code incompatible?
you can still define the mezzanine in your %user.r if you want to
Anton
17-Oct-2006
[1871]
No, I was looking forward to using it. I've been avoiding the overhead 
of maintaining another patch script by using
	if error? set/any 'err try [...]
over and over...
Ladislav
17-Oct-2006
[1872]
usage:

    try/recover [...] 'error [print disarm error]
Anton
17-Oct-2006
[1873]
The pity is more from the "richness of human expression" point of 
view. I can understand the more conservative "don't fill up the default 
namespace with too many functions" point of view too..
Ladislav
17-Oct-2006
[1874]
(i.e. the usage will be the same as the usage of the Default function)
Anton
17-Oct-2006
[1875x2]
Ok, that's not bad. It does cut down 9 characters.
Oh I think I remember the discussion now.
Ladislav
17-Oct-2006
[1877x2]
The advantage of "reusing" TRY is, that the code will be easier to 
maintain this way (TRY and DEFAULT would have a lot of common code 
otherwise)
(I am speaking about interpreter code above)
Anton
17-Oct-2006
[1879x3]
Yes, that is good reasoning.
I am satisfied once again.
#4124 "set-modes doesn't work on file directories" - maybe add a 
note to Paul here that "the filesystem may not support setting all 
of the modes that are gettable by get-modes. For instance you can't 
set modification-date, but you can set the owner-write flag." Maybe 
there should be a more informative access error type, not just "Cannot 
open ...".
Graham
17-Oct-2006
[1882]
but it should work in windows
Maxim
17-Oct-2006
[1883]
will you be online for a few minutes?
BrianH
17-Oct-2006
[1884x2]
Anton, error #4124 is not a filesystem problem. I replicated it here, 
on NTFS, in a directory that I have permission to do anything. NTFS 
supports changing the modification date of directories - I have an 
Explorer shell extension that does just that, as well as a command 
line touch utility. REBOL can change that attribute on files, but 
not directories. REBOL is probably hust using the wrong API.
hust -> just (typo)
Pekr
17-Oct-2006
[1886]
different API - maybe the same goes with TimeZone info .... Ladislav 
found new pointer .... currently under investigation ...
Anton
18-Oct-2006
[1887]
Ok Brian, thanks for the clarification. Maybe that info should be 
added to the ticket "NTFS supports changing the modification date 
of directories..."
Henrik
22-Oct-2006
[1888]
I accidentally put a string in the font size, like this:

view layout [area font [size: "m"]]


Windows gives me a small font, which seems right. On OSX I either 
get screen trashing inside the text area, hanging or a segmentation 
fault.
Robert
23-Oct-2006
[1889]
Is there any simple way to add a screenshot upload function to the 
RAMBO script? Or has anyone done it already?
Anton
23-Oct-2006
[1890]
No, and the RAMBO source is not open, as far as I know.
Henrik
24-Oct-2006
[1891]
can anyone make the layout code I wrote above crash in Linux? I don't 
have Linux handy...