REBOL3 - RAMBO (The REBOL bug and enhancement database [web-public])

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
3163btiffinThanks Gabriele; I knew there was a more concise method of getting at time! from date arithmetic, but I got sidetracked when the google search wanted to show me COBOL data arithmetic. ;) Can't ever know enough COBOL, err, aaah, REBOL.25-Aug-09 16:25
3162Gabriele(or difference now/precise then if necessary)25-Aug-09 9:59
3161Gabrielebtiffin, just use difference now then25-Aug-09 9:59
3160btiffinre; wait till time, isn't that add multiply subtract then/date now/date 86400 subtract then/time now/time

then - now * seconds per day + delta hours? Negative time! possible, which it seems wait takes as zero anyway.

25-Aug-09 0:56
3159Gabrielegraham, the only solution to that would be to wait, say, 10 seconds at a time, and check. but it really depends on the application...24-Aug-09 8:23
3158PeterWoodyou -> you're24-Aug-09 3:58
3157PeterWoodWhat happens if someone changes the machine's clock while you wating for a length of time ?24-Aug-09 3:58
3156Grahamwhat should?24-Aug-09 0:38
3155Grahamwhat happens if someone changes the clock while you're waiting on a date! ?24-Aug-09 0:38
3154OldesI agree, that it should be supported directly, so is there the ticket already?24-Aug-09 0:25
3153GreggAn excellent solution, but you still can't wait on a date!. :-)23-Aug-09 23:38
3152Maximalways someone to prove another wrong... ;-)23-Aug-09 0:22
3151Oldeswait-date: func [date [date!]][wait difference date now]22-Aug-09 21:41
3150GreggYou can't wait on date! AFAIK.21-Aug-09 13:49
3149Henrikgood idea. create a curecode wish for it, please.14-Aug-09 10:30
3148Pekrwould be good feature to have at least in R3 ...14-Aug-09 10:14
3147DockimbelPrecisely, I'm working on a scheduler lib for UniServe and I was wondering if I could wait for date!, but it looks like not.14-Aug-09 9:45
3146GrahamBeing able to wait for specified date/time would be great for doing cron14-Aug-09 9:27
3145GrahamIt's probably a documentation issue.14-Aug-09 9:25
3144Grahamdoesn't it mean a time value?14-Aug-09 9:24
3143DockimbelI've searched RAMBO about a WAIT inconsistency : the dictionnary says that "If the value is a DATE/TIME, wait until that DATE/TIME", but date! are not accepted as argument (both directly or in a block). If this a known bug? I can't find it in RAMBO.14-Aug-09 9:22
3142?I verified this same bug today http://www.rebol.net/cgi-bin/rambo.r?id=3357& The workaround is to use /binary and then the limit is gone.12-Jan-09 3:13
3141Gabrielethe main thing is, that changing rambo (i don't know the code) would take me more time (especially testing and making sure we're not going to lose data) than the 20 seconds or so it takes to delete the spam. So I never get to study the code and see what can be done...14-Oct-08 9:10
3140Gabrielegiven that there is not much protection in rambo, it's probably bot spam.14-Oct-08 9:08
3139Grahamcan you add a rebol captcha to it to save you work?14-Oct-08 8:58
3138Grahamis it all human spam? or bot spam?14-Oct-08 8:57
3137GabrieleAbout the spam, I clean that up every single day. What you see is one day worth of spam.14-Oct-08 8:57
3136GabrieleI think this might be in RAMBO already. At least I remember mentioning this problem to Carl a few years back. As Brian says, it's a missing /ALL refinement.14-Oct-08 8:57
3135BrianHIt sounds like the preprocessing is loading and molding the code before encapping, without using mold/all.13-Oct-08 16:25
3134HenrikRAMBO is still used for R2 bugs, yes.13-Oct-08 15:04
3133DockimbelShould I RAMBO that ? Is RAMBO still used ?13-Oct-08 15:00
3132Dockimbelrebview and enface are both 2.7.6.3.113-Oct-08 14:56
3131Dockimbelenface => word!13-Oct-08 14:55
3130Dockimbelrebview => none! (correct result)13-Oct-08 14:55
3129DockimbelREBOL [] probe type? first [#[none]] halt13-Oct-08 14:55
3128DockimbelI've just run in a bug in enface.exe (2.7.6.3.1). The following code doesn't give the same result if run under view or encapped with enface :13-Oct-08 14:55
3127DockimbelLooks like RAMBO needs to be cleaned from spam posts...13-Oct-08 14:53
3126Alan.14-Sep-08 7:02
3125Gabrielethanks.7-Apr-08 10:46
3124NormanDep[ 4321 ] this is actualy a borderliner.. Im not sure this is default behavior in windows or not, liinux does not have this problem, could stay open..6-Apr-08 21:19
3123NormanDepyes sure... [ 4322 ] SDl 276 was recompiled for both kernel 2.4 and kernel 2.6 [DEBIAN] (previously only kernel 2.6 was compiled) and they worked here. I cant confirm on ubuntu as its not my flavor of yoghurt ;-)6-Apr-08 21:16
3122GabrieleNorman, could you please elaborate? It might help people noticing the same thing.6-Apr-08 8:24
3121NormanDep[ 4321 ] can be closed5-Apr-08 21:08
3120NormanDep[ 4322 ] can be closed5-Apr-08 21:07
3119btiffinDo we still bother reporting to RAMBO? Is there any expecations for a production 2.7.6? I'd vote; please please please.21-Sep-07 1:27
3118Gabrieleyes, but semantically a/:b/c is a/(b)/c not a/(b/c) which is what you want.17-Jul-07 5:41
3117Dockimbelbtw, a/(:b/c) is quite heavy => 3 series instead of 1.16-Jul-07 12:22
3116DockimbelGreat! I've forgot paren! evaluation in paths.16-Jul-07 12:19
3115Henrik>> a: %path == %path >> b: context [c: %target] >> a/:b/c == %path/c:%20%target%0A/c >> a/(:b/c) == %path/target16-Jul-07 11:45
3114Henrikslipping objects into a path...16-Jul-07 11:40
3113DockimbelYes, it returns the object source and the point is is this useful to anyone ? I was hoping the behaviour of :b in a path! could be changed to something more useful, like acting as a pass-thru to /c, so that, in the ticket example, a/:b/c would results in %path/target.16-Jul-07 11:32
3112Henrikor perhaps form16-Jul-07 9:14
3111HenrikDocKimbel, #4288 looks to me like it inserts a molded object into the path.16-Jul-07 9:00
3110SunandaRe my trim question of a week or so ago.... Thanks for the responses. From RAMBO it seems this is deliberate (if unexpected) behavior: http://www.rebol.net/cgi-bin/rambo.r?id=3681 "This is intentional and not a bug. TRIM was designed that way to work well for trimming LINES of text. " [my emphasis of lineS, plural]12-Jul-07 19:00
3109DockimbelRAMBO lacks a free commenting support...12-Jul-07 18:41
3108Henrikthen it's probably been forgotten in Gabriele's priority list for 2.7.6.12-Jul-07 18:41
3107DockimbelI think that it's already in RAMBO12-Jul-07 18:40
3106Henrikwouldn't hurt :-)12-Jul-07 18:34
3105Pekr"On windows platforms, you'll get the infamous DOS window flashing when executing an external CGI ! It's just a matter of 1 flag to correctly set in 'call C source code, if you're really annoyed by that, ask RT to fix it asap (for 2.7.6 that would be good)! ;-) I may reimplement completely call command in REBOL, but it would be a big waste of time and energy...it should be a 10 minutes fix for RT. Addind a time limit to 'call would be a good thing too, it would also avoid me the reimplementation of 'call to add such feature...." - DocKimbel

Anx chance of getting above fixed? Should we rambo it?

12-Jul-07 18:33
3104AntonSunanda, I think, from memory of old conversation, that the default TRIM behaviour is particular and just insufficiently documented. It's annoying, chuck it in RAMBO to specify exact behaviour in doc string.6-Jul-07 11:42
3103IzkataHence why I always use trim/head/tail... I didn't think it was a bug, though, since your first example - trim " a ^/ ^/ a " - could be a shortcut for data files.. Trimming each line.4-Jul-07 18:01
3102SunandaI'm beginning to think so too, especially as (from my reading of the function), these two should be equivalent trim/head/trail " a ^/ ^/ a " trim" a ^/ ^/ a "3-Jul-07 14:52
3101RebolekTRIM behaviour is strange. Sometimes it removes too much as in your case, sometimes it removes too little as in (trim "^/a^/" == "a^/") . I would say it's a bug.3-Jul-07 12:45
3100SunandaIs rhis a bug, or just undocumented behavior? trim " a ^/ ^/ a " == "a^/^/a" The help says "Removes whitespace from a string. Default removes from head and tail." But in this case it seems to treat the string as a set of strings (separated by newline) and trims them all. Compare with the expected behavior here: trim " a b a " == "a b a"3-Jul-07 12:22
3099Dockimbel2.6.2 and 2.7.5, Windows and Linux (probably others too) : Encmd crashes if 'title keyword is used in 'encap header. It works correctly with enpro and enface.2-Jul-07 21:51
3098Gabrieleif it has been deleted, there's no way to recover it.1-Jul-07 15:39
3097GrahamNo .. did you want me to ??1-Jul-07 9:09
3096Gabrieledid you re-enter it?1-Jul-07 6:54
3095Grahamyeah ... I think you nuked it :(30-Jun-07 12:27
3094Gabrielei haven't seen it. worst case it was deleted with the spam (i check them carefully, but i may have missed it)30-Jun-07 12:09
3093Grahamwhat happened to my https rambo report ?? :(30-Jun-07 10:52
3092Steeveyeah , it's the normal behaviour for to block! , use load instead for binding30-Jun-07 4:04
3091AntonGood one.30-Jun-07 3:43
3090Volkerto block! does not bind. word is not included in system/words. sometimes that results in an error-mesage and sometimes in a crash.29-Jun-07 23:56
3089btiffinreported.29-Jun-07 22:59
3088Tomcwindows REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3 goes boom29-Jun-07 22:54
3087btiffinget first to block! {'thing} returns an error message ** Script Error: thing word has no context b: first to block! {'thing} == 'thing get b segfaults.29-Jun-07 22:53
3086FrankGot the same result... 1.3.2.4.2 and 2.7.5.4.229-Jun-07 22:52
3085btiffinHow about this on your end...just trying to reduce the code for the RAMBO report.

foreach a to block! {'word} [print get a] - this segfaults on Linux. too.

29-Jun-07 22:43
3084btiffinI'll check RAMBO add if not in there then...thanks Graham...I just reduced it to this so far...more experimenting to come.29-Jun-07 22:30
3083Grahamis it recursive?29-Jun-07 22:29
3082Frank+1 1.3.2.4.2 and 2.7.5.4.2 Linux29-Jun-07 22:29
3081Grahamcrashes windows as well29-Jun-07 22:28
3080btiffinyep29-Jun-07 22:28
3079Grahamlinux version29-Jun-07 22:25
3078btiffinCan I get someone to try this before I report it.

foreach [e s] to block! {thing 'word} [compose [e (get s)]]

segfaults 1.3.2.4.2 and 2.7.5.4.2

29-Jun-07 22:18
3077Grahamrambo'd https posting bug.28-Jun-07 20:19
3076AntonTo maybe fit in better with other styles, the caret colour can be changed. eg: area with [append init [named-colours: make named-colours [caret: black]]]20-Jun-07 10:09
3075AntonCool, let me know any problems.20-Jun-07 10:02
3074PeterDThanks Anton20-Jun-07 10:00
3073Anton(oh well, I guess it's one big bug workaround)19-Jun-07 16:30
3072AntonI should have announced that in the View group, sorry.19-Jun-07 16:29
3071AntonAdvantages: - middle and right aligned text is now usable and works as one would expect, with the caret appearing in the correct position. - you can render the caret how you like - you can render the highlighting how you like (I didn't show the above options clearly in the demos yet, you must still get your programming fingers dirty) Disadvantages: - lots of code to achieve the above - probably slow performance with large areas, because images are being created on every redraw19-Jun-07 16:27
3070AntonFirst run View 2.7.5.3.1 and do this:

site: select load-thru http://www.rebol.net/reb/index.r [folder "Anton"] clear find site %index.r load-thru/update site/patch/caret-to-offset-patch.r

Do the main demo, showing patched AREA:

do-thru site/patch/demo-caret-to-offset-patch.r

Three patched styles; AREA, FIELD, INFO: do-thru site/gui/demo-area.r do-thru site/gui/demo-field.r do-thru site/gui/demo-info.r

The initial experimental testing script:

do-thru site/patch/test-caret-to-offset-patch.r

19-Jun-07 16:18
3069AntonI've finally done it. Here is an AREA/FIELD style which handles and renders the caret much better with center and right-aligned text:19-Jun-07 16:18
3068btiffinChris; Umm, not according to help any. It returns the first value that is not false or none. So I guess unset! counts. :) But you're right. unset! should be more false than true.17-Jun-07 7:32
3067Chrisany [get/any 'no-word "Alt"] ; should this return "Alt" ?17-Jun-07 2:10
3066Oldesnever mind, you can delete it, I already have a solution... anyway... it would be nice to replace the clean-path function with the Anton's simple-clean-path13-Jun-07 14:52
3065Oldesso it's bug here: >> make-dir/deep %aaa//bb/ ** Access Error: Cannot open aaa// ** Near: make-dir/deep %aaa//bb/13-Jun-07 14:50
3064GabrieleREBOL does not ignore multiple slashes. However, this is not documented anywhere, so I'm not sure what the rules should be.13-Jun-07 6:12
3063Gabriele>> what-dir == %/home/giesse/ >> read %/ == [%proc/ %initrd/ %sys/ %bin/ %initrd.img %media/ %Recycled/ %srv/ %usr/ %etc/ %boot/ %vmlinuz %lib/ %mnt/ %tmp/ %sbin/ %cdrom/ %... >> read %// == [%.directory %giesse/] >> read %/// == [%Detective/ %.hplip.conf %.teamspeak2/ %.mythtv/ %.qt/ %.fontconfig/ %.clay/ %.Skype/ %.recently-used %.face.icon %.DCOPserver_...13-Jun-07 6:12
3062Gabrielenotice this behavior:13-Jun-07 6:12
3061GabrieleOldes, regarding your multiple slashes ticket...13-Jun-07 6:12
3060AntonAlso note, to get the caret and highlight handling / rendering working properly will require you to do in Rebgui the equivalent of the above ctx-text patching etc. That's quite a bit of work.12-Jun-07 12:36
3059AntonHere's what I have so far. (Note, this code may end up in another file.) http://anton.wildit.net.au/rebol/patch/caret-to-offset-patch.r12-Jun-07 12:29
3058AshleyCould you post/email me just the caret-to-offset and offset-to-caret patches? That should be enough for me to get RebGUI working. Thanks.12-Jun-07 12:19
3057AntonI was disappointed to find that merely patching caret-to-offset and offset-to-caret was not enough to fix the highlight and caret rendering. The View system does not appear to use them. (Maybe the View system keeps direct references to the native functions and does not refer to these global words to get to the native functions ?) This means that ctx-text and focus/unfocus have to be patched to prevent system/view/caret and highlight-start/end being set and thus rendering the highlight and caret.12-Jun-07 12:05
3056AntonAshley, the patching is quite heavy; - caret-to-offset and offset-to-caret replaced by mezzanines (mainly dependent on the TEXTINFO native) - in ctx-text, patched 10 functions and 2 feel objects (should be backwards compatible) - replaced the View rendering of the highlight and caret using several intermediate images (which will be slow for large faces)12-Jun-07 11:49
3055BrianHThe "Invalid argument: none" is just the default value of the second parameter that never gets used if you don't specify /part.11-Jun-07 4:57
3054BrianHThe /part is necessary when removing from a bitset,11-Jun-07 4:52
3053BrianHTry this: remove/part charset "abc" "a"11-Jun-07 4:51
3052Oldesyes.. that's what I forgot... but anyway... removing ? char is not enough:(10-Jun-07 22:32
3051SunandaCharsets don't always respond the way you'd expect -- or support all the operators they could. One way to remove a char: use difference: >> (charset "ac") = (difference charset "abc" charset "b") == true10-Jun-07 22:20
3050Oldeswhy this is not working?

>> remove charset "abc" "a" ** Script Error: Invalid argument: none ** Near: remove charset "abc" "a"

when in doc is: Character sets can also be modified with the insert and remove functions, or combinations of sets can be created with the union and intersect functions.

10-Jun-07 22:12
3049OldesIs it so difficult to remove a char from charset or I forgot something?10-Jun-07 22:07
3048Oldesthe bug is in the URL-parser of course... there should not be ? char in path-chars10-Jun-07 21:46
3047OldesThere is a bug in decode-url: >> probe decode-url http://test/path/target?text/something make object! [ user: none pass: none host: "test" port-id: none path: "path/target?text/" target: "something" ]

the target should be: target?text/something

10-Jun-07 21:41
3046AshleyGood news, does it involve patching caret-to-offset and/or offset-to-caret (via mezz wrappers)?6-Jun-07 12:47
3045Anton(and vertical alignment too !)6-Jun-07 8:40
3044AntonIt is with pleasure that I can announce that there is a workaround to the center / right aligned text highlighting issue. I have a working prototype. You can change the horizontal alignment of the face on the fly. Give me a day or two to clean it up and make a nice demo.6-Jun-07 8:39
3043AntonDoc, ah yes, I think I agree because I seem to remember doing the above sequence myself at some time.6-Jun-07 8:35
3042DockimbelAnton: yes, Windows4-Jun-07 17:37
3041Dockimbelspecs: info? a-file if specs/type = 'file [ probe read a-file ]

** Access Error: Cannot open /C/Dev/REBOL/script.r/ ** Near: read a-file

4-Jun-07 17:36
3040DockimbelIn my example above, the file! value is explicit, but in cases where it's not, it produces an odd and illogical bug, IMHO. See this other example :4-Jun-07 17:36
3039DockimbelThe issue I wanted to point out is just that if it's an existing file!, I should be able to read it ! So instead of letting the user wrongly think that's a file, and let 'read pop an error (which sounds illogical to me), I'm proposition to signal in 'info? that something is wrong with that file! value.4-Jun-07 17:33
3038btiffinWell I don't think it's weird anymore. make port! on %file/ uses scheme: 'directory make port! on %file uses scheme: 'file1-Jun-07 3:21
3037btiffinI get the DocKimbel behaviour with 2.7.5.4.2 Linux. But I see the point. Something weird in query...or make port! on files disguised as dir specs...1-Jun-07 3:10
3036AntonIf it's Windows, then I expect internally rebol just does this: >> to-local-file %user.r/ == "user.r"

stripping the final slash before accessing the file-system.

1-Jun-07 3:05
3035btiffinUmm is it the trailing slash?1-Jun-07 3:05
3034AntonYes, probably. Which platform are you on ?1-Jun-07 3:03
3033Dockimbel>> probe info? %script.r/ make object! [ size: 3405 date: 12-Sep-2000/21:40:20+2:00 type: 'file ]

>> read %script.r/ ** Access Error: Cannot open /C/Dev/REBOL/script.r/ ** Near: read %script.r/

Shoudn't INFO? return none (or an error) in this case ?

30-May-07 20:44
3032Volker+ platform + swing-widgets. But did not try yet.30-May-07 10:37
3031VolkerIf incremental dependency-based evaluation is what i think it is they may have an edge.30-May-07 10:36
3030PekrFull REBOL instead of their partial FX? :-)30-May-07 10:32
3029VolkerOr sun. They promote half of the syntax currently.30-May-07 10:30
3028VolkerWOuld mean Carl never gets at apple. Maybe google. :)30-May-07 10:30
3027VolkerWrong smiley :(30-May-07 10:29
3026Pekror some big announcement - e.g. MS buying RT on that date :-)30-May-07 10:28
3025Pekrsome mystical one, for e.g :-)30-May-07 10:27
3024Volker"ie before july 15th r3 ***release***" :)30-May-07 10:27
3023?What more meaning does it need than that Carl said he would do it?30-May-07 10:27
3022PekrGabriele - what's behind the date? :-) It is just that Carl decide to release R3 at that particular date, or has it any other internal meaning? :-)30-May-07 6:51
3021Gabrielenote, i didn't say "won't be fixed", i said that i find it unlikely that Carl will spend more time on 2.7 at this time (ie before july 15th r3 release).30-May-07 6:46
3020PeterDGreat way of "masking" the problem, I love it!30-May-07 0:43
3019PeterDVolker, Thanks that saves a few, indeed. My frustation is that we have to be to "REBOLish", a text box is as simple as it gets (maybe excluding a label), one can not be forced to adapt to the bugs and "adapt" to a new enforced way of editing text !!!30-May-07 0:42
3018Volker;Not perfect, but less clicky view layout [ style cfield field center feel [ redraw: func [face act pos] bind [ if all [in face 'colors block? face/colors] [ face/color: pick face/colors face <> focal-face ] foc?: same? face system/view/focal-face face/font/align: either foc? ['left] ['center] ] system/view ] cfield "hello" with [focus self] cfield "cflied2" cfield "cfield3" ]29-May-07 22:45
3017GrahamKnown for ages and won't be fixed .... :(29-May-07 21:54
3016PeterDForgot to include Gabriele's response. The short form is Yes, known for ages No will not be fixed (in 2.7 there is) Yes the glorious R3 will (probably) fix it29-May-07 21:38
3015PeterDDear Anton,

A mezzanine, that's it. I can not tell you how frustrated I am.

See my response to Gabriele below: Thanks for the info.

It is so sad to see that "little" things are not fixed in a reasonable fashion. Here I am, 99% of my stuff is Center aligned and I find myself "regretting" that I go for a "not so established" language. (never thought that entering text in a box will be a problem)

I have to actually ask 1000 people to klick 4 times more often, just to overcome a stupid bug. So I ask them to:

Change to left align Edit Go back to Center align

Repeat as long as needed and pardon, I used "REBOL"

Best regards

So, what is needed to fix this, please let's include Ashley Thanks a ton for the shimmer of light I see at the end of the tunnel Peter

29-May-07 21:31
3014AntonYou meant, center and *right* aligned text can not be edited. But yes, this is a long-standing bug, and it's annoyed me a few times. Actually, this is something that *could* be worked around. We just need to figure out how caret-to-offset and offset-to-caret work, then write mezzanines to replace them. I've been meaning to do this for a while.29-May-07 11:33
3013WillHave to agree with Pekr about naming issues!! Let find something sexier that anyone would be attracted to 8-).29-May-07 11:32
3012PeterDGabriele, Can you please take a look at these 2 submissions:

http://www.rebol.net/cgi-bin/rambo.r?id=4274& http://www.rebol.net/cgi-bin/rambo.r?id=4161&

I am desperate because center and left aligned text can not be edited.

Ca you please help? I convinced myself and 2 others to go REBOL with a small but important app I need, but simple stuff like this kills the idea.

29-May-07 10:53
3011PekrGabriele - you talk about two distinctive things, but we shold probably move from this group.25-May-07 6:53
3010Pekrbtiffin - only if group takes some sensible name :-) all those RUGs etc. remind me of linux or amiga groups, noone can depict the acronym and it sounds ugly, actually nothing I would like to wear on my T-shirt :-)25-May-07 6:53
3009Gabrieler3 will be open enough that people will be able to work on it without Carl's intervention. but for things that require Carl's intervention we follow Carl's rules.25-May-07 6:51
3008Gabrielepetr, remember the open view 1.3 project? the problem it didn't get anywhere (despite producing a lot of good code) is that Carl does not work that way. we can only aknowledge it.25-May-07 6:50
3007btiffinAll right. Two Brians...We win. But Pekr; RT has to be careful with this. Giving it out to too many will just generate too much noise... I'd gladly take my name off the list and wait, as to not overwhelm those in more appropriate positions...I'd rather get handed Government Reject Unfit for Normal Training work. Not that it isn't a nice shiny carrot dangling ever so close to the nose. And, being a little schizoid, I also agree with you. I surely hope you allow us to nominate you for Secretary of the (proposed) REBOL User Group. The (proposed) Executive Summary could definitely use your candor. :)25-May-07 6:46
3006PekrIIRC, there should be VID+ group, which was supposed to discuss what direction new VID should go. There is many talented ppl with various povs here, who could influence some decision in a good way imo ...25-May-07 6:18
3005Pekrwe are going thru the same attitude over and over again, for many years. First RT blogs, asks, debates, then closes the door and comes up with something,not asking if we like it or not ... then complaining, that we complain ;-)25-May-07 6:17
3004Pekrhmm, well, I can wait till late release. But - I don't like the attitude already - "like adding people when i have some vid stuff to show" ... that simply sucks25-May-07 6:16
3003Pekrah, wait, I forgot myself :-)25-May-07 6:15
3002Pekrsorry if I forgot someone :-)25-May-07 6:15
3001PekrR3 list initial release - BrianH, Anton, Volker, Henrik, Ashley, Graham, Gregg, Dockimbel, Sunanda, btiffin ... simply ppl who are skilled, and/or actively use Rebol with own projects ...25-May-07 6:15
3000Graham:)25-May-07 5:47
2999GrahamShall I create a R3 list here then ? :(25-May-07 5:46
2998Gabrielei actually want to try that out before july... but not sure i'll have the time.25-May-07 5:44
2997GrahamSo, is chord ready for R3 ? :)25-May-07 5:42
2996Gabriele(personally i want it to be dynamic. like adding people when i have some vid stuff to show.)25-May-07 5:41
2995GrahamAhh.. the Carl bottleneck problem.25-May-07 5:41
2994Gabrielei don't think there's a fixed list that has been written yet.25-May-07 5:40
2993Gabrielenext bug fix - no idea. depends on Carl's time.25-May-07 5:40
2992Grahamwho gets to see R3 on the first of Jun ?25-May-07 5:40
2991Gabrieledir req.......... R3.25-May-07 5:39
2990Grahamwhen is the next bug fix cycle?25-May-07 5:39
2989Gabrielemaybe we should follow reichart's bug fixing rules... but i can't redo the list ten times...25-May-07 5:39
2988Grahamsystem ...25-May-07 5:39
2987GrahamWhy can't we get a directory requestor?25-May-07 5:38
2986Grahamoh :(25-May-07 5:38
2985Gabrielebecause the ticket was created much after the list for 2.7.6 was created :-)25-May-07 5:38
2984Grahamwhy couldn't 4275 be fixed? Should be easy enough!25-May-07 5:35
2983Gabrieleanyway - you're right, but even though the target face may never be reached, if it is known already it would be good to have it there for many reasons.25-May-07 5:30
2982Gabrielei think there was a reason for it being critical... hmm.25-May-07 5:29
2981AntonAnd I think the Importance should be lowered from Critical.25-May-07 4:42
2980AntonGabriele, could you please add this note to #3867: "Update: I now understand that the events trickle down in a dynamic fashion and it cannot be known (for certain) at the beginning whether an event will arrive at a particular face, as DETECT functions along the way to the face can alter the route. -Anton"25-May-07 4:42
2979GabrieleOldes, unless the OS is really broken there is no need to release memory, because unused memory just gets paged out.24-May-07 17:19
2978HenrikI just think there should be better clarity on what are do's and don'ts in terms of how to preserve memory and have a stable application at the same time. Some apps of mine never eat more than 3-5 MB RAM, while others eat 250 MB RAM, and I don't know what causes it.24-May-07 14:25
2977Oldesnever? maybe it would be good to have some way how to force rebol to release what does not require from time-to-time. That's probably the reason why my nonstop running server requires 5MB instead of 3MB when was started.24-May-07 14:23
2976HenrikThanks for the explanation24-May-07 9:30
2975Gabrielerecycle never releases memory to the system (afaik) because that's usually inefficient, better to keep it for future usage.24-May-07 6:54
2974Gabrielehenrik, with recycle/off, no memory is ever reused, and obviously rebol is constantly allocating memory for temporary values and so on. so used memory grows. when you do a recycle, the gc will collect all the garbage and start reusing it for later allocations, so that memory used stops to grow until you get to the same point as before and rebol needs more memory.24-May-07 6:53
2973Henrika: [ append a [+ 1] 1] loop 1000 [ print [ do a newline ] print [ "Block length: " length? a "Bytes used: " ((length? a) * 16) ] ]24-May-07 4:52
2972Henrikhttp://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlPSTK <--- I can't find this old bug in RAMBO, and it still crashes REBOL.24-May-07 4:50
2971HenrikI must point out that recycle specifically was turned off and so the number would just keep growing for hours eating up 100s of MB. Recycle is probably normally invoked, if you don't specify that it has to be turned off. The fact that the memory usage just keeps growing in an idle situation seems just like a memory leak to me.24-May-07 4:42
2970GreggI don't know, but I've seen similar allocations that continue over time and then seem to stop.24-May-07 4:22
2969HenrikI'm studying memory usage and recycle for a bit. Whenever I'm adding a block or doing an operation, REBOL might consume small chunks of memory continuously, like 16-32 kb per second. whenever recycle is applied, it just stops. Why is that?23-May-07 23:02
2968AntonSame with paren!22-May-07 15:18
2967AntonThis is interesting because a path is a series, supposedly very similar to a block.22-May-07 15:16
2966AntonCopy/part can't use a path! as its RANGE argument

>> path: 'svvc/color == svvc/color

>> copy/part path back tail path ** Script Error: Invalid /part count: color ** Near: copy/part path back tail path

22-May-07 15:15
2965Gabrielelol - Carl does submit tickets too. it's just to remember about the bugs we find.22-May-07 12:06
2964Pekror pathological :-)22-May-07 10:37
2963PekrGraham - actually it might be educative :-)22-May-07 10:37
2962GrahamGab .. are you submitting and then replying to your own tickets?22-May-07 9:46
2961AntonExcellent, that's what I wanted to know, thankyou.21-May-07 11:00
2960OldesNote: Many pre-HTTP/1.1 user agents do not understand the 303 status. When interoperability with such clients is a concern, the 302 status code may be used instead, since most user agents react to a 302 response as described here for 303.21-May-07 10:59
2959Oldeshttp://tools.ietf.org/html/rfc2616#section-10.3.421-May-07 10:59
2958Oldesofficial HTTP1.0 spec doesn't know 303 response. And there are also missing 305 and 307 forward responses.21-May-07 10:58
2957AntonOk, so let me restate the situation: Due to a buggy foreign server, we are patching our HTTP scheme, which declares itself as HTTP1.0, with a part from HTTP1.1. (I just want to clarify that HTTP 1.0 does not contain 303.)21-May-07 10:58
2956Oldesit's patch for buggy foreign servers... as server should not return HTTP1.1 response if client requires HTTP1.021-May-07 10:53
2955Anton(if not, then this should be called a "workaround patch" or "temporary migration patch")21-May-07 7:24
2954AntonOldes, how do you classify this patch ? Is it simply improving Rebol's HTTP 1.0 scheme, or is it half-way sliding towards HTTP 1.1 ? (ie. does the official HTTP 1.0 spec contain a 303 response ?)21-May-07 7:20
2953AntonOldes, note that you can do this, which looks clearer to me: select second get in system/schemes/http/handler 'open [response-actions:]21-May-07 7:13
2952Oldesthere is a silly bug in my patch, it should be: use [tmp][ tmp: select second get in system/schemes/http/handler 'open to-set-word 'response-actions if none? find tmp 303 [ insert tmp reduce [303 select tmp 302] ] ]19-May-07 22:35
2951Oldesit should be easy imho19-May-07 22:29
2950Oldes(Reichard: will be fixed the Altme bug which cripples text with long links?)19-May-07 22:29
2949Oldeswhith the patch above you should be able to do for example:

trace/net on p: open/direct http://www.youtube.com/get_video?video_id=FVbf9tOGwno&t=OEgsToPDskKR0Ng6kANs3Z4VNG81T2tZ error? try [close p]

19-May-07 22:27
2948Oldesjust found, that youtube do not respect HTTP1.0 protocol => sends HTTP1.1 303 response even if client require HTTP1.0 (which is Rebol case). As there is no response specified for 303 in Rebol's http handler, it can be fixed using:

use [tmp][ tmp: select second get in system/schemes/http/handler 'open to-set-word 'response-actions if none? find tmp 303 insert tmp reduce [303 select tmp 302] ]

19-May-07 22:22
2947Henriksomething that randomly creates a large amount of blocks, inserts, deletes, manipulates, copies and does various other things.19-May-07 17:48
2946Gabrielebut i guess it won't show in that case...19-May-07 17:42
2945Gabrielerecycle/torture19-May-07 17:42
2944Henrikwell, if it's about memory allocation and clean up, would there not be a way to torture it? What's the worst possible way to stress the garbage collector?19-May-07 17:35
2943Gabrielebut at this point (focused on R3) RT does not have enough resources to debug a big app.19-May-07 17:23
2942Gabrielei feel the pain - same problem i had with chord.19-May-07 17:23
2941SunandaI don't have anything trivial that will trigger the bug. It's a big application that can run for a while before crashing....And the code has been tweaked to minimise the occurrence of the problem.19-May-07 17:18
2940Gabrieleanyone willing to find a way to reproduce it?19-May-07 17:17
2939SunandaHenrik, I see regular "Crash Should not happen" on one of my scripts, so you are not alone.19-May-07 15:58
2938GrahamDone.18-May-07 7:49
2937Henrikit's not a problem the other way around, so yes, it's inconsistent.18-May-07 7:45
2936GrahamOk18-May-07 7:44
2935Henrikyep18-May-07 7:44
2934GrahamRambo it ??18-May-07 7:43
2933Henrikconfirmed under OSX18-May-07 7:24
2932Grahamthis is an annoyance ... but 'to-local-file drops the trailing slash for directories18-May-07 5:13
2931Henrikit's quite simple, I think it was based on some cookbook code. moving to ports for that...17-May-07 16:48
2930Henrikactually I'm going to look at a printerserver, which deadlocks, if two people are trying to print too close to eachother.17-May-07 16:46
2929SunandaGood news! So you have a few days to fix the recycle problem for real :-)17-May-07 16:45
2928Henrikok, it ran perfectly. the demo was approved and the product goes live on Wednesday.17-May-07 16:42
2927Henrikit will not run more than 2-3 hours today :-)17-May-07 13:41
2926Oldesjust make sure you recycle sometimes... if it's long running process17-May-07 13:26
2925Henrikwith recycle forced off, it seems to be running OK for now17-May-07 12:43
2924VolkerIts only for demo, and 3:30 left. better waste memory than a contract..17-May-07 10:30
2923Oldesallocating 100000 elements for each block will slow down performance too much I guess17-May-07 10:27
2922Oldesanyway.... using make block! [] is quite useless17-May-07 10:23
2921Volker;like if 20 * 1000 * 1000 + stats > last-mem [ recycle . last-mem: stats ] ;and that every 0.01 second or so.17-May-07 10:23
2920Oldes:)17-May-07 10:21
2919Oldesyou may try recycle/off and do it yourself17-May-07 10:21
2918Volkeri had such a problem with massive gui and async. Workarounded the following way: recycle is off permanently. there is a thread (do-every or such) which checks how much memory was allocated and when it is to much it recycled. crashing stopped.17-May-07 10:21
2917HenrikI think I'll panic and allocate 100000 elements to every single block in the database17-May-07 10:03
2916Henrikit crashed again :-(17-May-07 10:02
2915SunandaLet's hope that gets you through the demo....Good luck!17-May-07 9:42
2914Henrikallocated 100000 to the first block in the code and it's still running...17-May-07 9:40
2913SunandaClear -- It's probably a good idea for this reason: the block will grow to its maximum size after repeated uses, and so saves time in memory allocation / block extension. May be a bad idea if that max size is causing problems :-)17-May-07 9:29
2912HenrikI had adopted the techinque of clearing a block before reusage instead of using a new make block! [] Maybe that's a bad idea.17-May-07 9:23
2911Henriksunanda, repeated clears of a block perhaps?17-May-07 9:22
2910Henrikhttp://rebol.hmkdesign.dk/db-sync.r <-- the db sync code is here.17-May-07 9:20
2909SunandaTo tell the truth, I don't know what I did with previous versions that actually worked. But doing *something* that affected garbage colection seemd to move the bug around. eg -- global words not local words -- xx: make block! 1000 not xx: copy []17-May-07 9:18
2908Henrikit seems to be accumulative, since it does not happen in exactly the same spot every tine and is possibly related to Rugby's do-every function, because it seems to happen whenever the do-every is executed.17-May-07 9:17
2907Henrikthe thing is that its db synchronization code (I'll think out loud here) and it's used in 5-6 different places. only in one place does it crash.17-May-07 9:15
2906OldesI think it would be good to have an example with this bug for sending it to Carl17-May-07 9:14
2905Henrikit's actually a showstopper for me and exactly this code needs to be working in front of a customer in about 5 hours....17-May-07 9:14
2904SunandaIt's annoying! Sometimes just moving code around can fix it. Try making some local words global, for example.17-May-07 9:13
2903HenrikI see. Unfortunately it seems I hit it close to every time I do a specific operation, but I have no time to debug it...17-May-07 9:09
2902SunandaNot gone entirely, but happens far less frequenty. Which makes it hard to debug. Very deeply nested blocks with many inserts and removes can trigger it.17-May-07 9:09
2901Henrikthis is on View 1.3.217-May-07 9:07
2900HenrikI'm hitting something that causes "invalid datatype during recycle" sometimes. I don't know yet what it is, but I thought the recycle bug was gone?17-May-07 9:04
2899Anton:-) I don't know. I kept notes in a file, but don't feel it's developed enough to publish. I have a vague desire for a new function which handles this case (as well as other, more general, set operations).12-May-07 15:55
2898GreggIt would be a good guru tech-note to post somewhere, The Singularity of Bindings.12-May-07 15:51
2897AntonIt's interesting I stumbled the same way twice. Will I do it again in a year or so ?12-May-07 15:48
2896GreggThat was my first thought.12-May-07 15:34
2895AntonAha! I know why. I seem to remember doing this once before. :) The SET gets its two arguments first, which binds the block twice, leaving the block bound to f2 before the setting takes place.12-May-07 12:40
2894AntonInteresting problem: Why do I need BIND/COPY ?

The aim is to copy the values of the facets in face F2 to face F1.

f1: make face [] f2: make face [text: "hello"]

facets: [text]

set bind facets f1 reduce bind facets f2 f1/text ;== none ; <-- why ???

f1/text: none set bind/copy facets f1 reduce bind facets f2 f1/text ;== "hello"

f1/text: none set bind facets f1 reduce bind/copy facets f2 f1/text ;== "hello"

f1/text: none set bind/copy facets f1 reduce bind/copy facets f2 f1/text ;== "hello"

12-May-07 12:36
2893AntonYes, that makes the most sense.10-May-07 16:32
2892GreggAs Gabriele said, it's not just words, it's any value, because it's part of the value slot.

>> val: first new-line/all [1 2 3] on == 1 >> head insert [] val == [ 1 ]

10-May-07 16:26
2891Antonand you can move the word into other series datatypes like path, then back to a block and see the new-line has followed it.10-May-07 15:49
2890Anton>> word: first new-line/all reduce ['word] on == word >> head insert [] word == [ word ]10-May-07 15:48
2889AntonI tested by extracting a word, then inserting into another block.10-May-07 15:48
2888AntonSo there must be at least one bit devoted to a new-line marker.10-May-07 15:46
2887GreggExcellent -- attributes of a value slot; that's clear.10-May-07 15:41
2886Gabrielenew-lines are attributes of value slots. values do not exist without value slots. rebol is always copyiing the 16 bytes of a rebol slot around... so it copies the new-line marker too10-May-07 15:39
2885MaximAFAICT line-markers are attributes of the "space in between" the content. using new-line we have complete, per-space control.10-May-07 15:35
2884GreggInteresting. I assumed new-line markers were liike pseudo-values in blocks.

Thanks for doing the research Anton.

10-May-07 15:29
2883AntonSubmitted the above bug to RAMBO.10-May-07 12:24
2882AntonTO-SET-PATH is also affected.10-May-07 12:13
2881AntonTO-PATH is affected the same way.10-May-07 12:10
2880AntonIt looks like it is. I was wondering where those new-lines were kept ! :)10-May-07 12:04
2879AntonI thought it was an attribute of a block, but maybe it's an attribute of a word ?10-May-07 11:58
2878AntonMakes me wonder how new-lines are implemented.10-May-07 11:57
2877AntonI think it's amazing that FIRST returns the word with its hidden new-line attached. Very confusing trying to reproduce it again today. :)10-May-07 11:57
2876GreggI agree Anton. I imagine it's because paths are a block type. So we want to make sure it doesn't mess up other block types when fixed.4-May-07 16:23
2875AntonI think it is an error, since I am molding a lit-path which can't be loaded back, because of the newline between the ' and the first word.4-May-07 13:52
2874AntonThis is the reduction: >> to-lit-path first new-line/all [word] on == ' word4-May-07 13:52
2873AntonYou are right.4-May-07 13:51
2872Oldesforeach [style obj] svv/vid-styles [print mold to-lit-path reduce [style get in obj 'color]]4-May-07 7:34
2871Oldesand why you use [style in obj 'color]? this will works as well: foreach [style obj] svv/vid-styles [print mold to-lit-path reduce [style 'color]]4-May-07 7:31
2870Oldesforeach [style obj] new-line/all svv/vid-styles off [print mold to-lit-path reduce [style in obj 'color]]4-May-07 7:29
2869Anton(The first one produces lit-paths starting with a newline - looks weird.)4-May-07 6:42
2868Antonforeach [style obj] svv/vid-styles [print mold to-lit-path new-line/all reduce [style in obj 'color] off]4-May-07 6:39
2867Antonsolution/workaround:4-May-07 6:39
2866Antonforeach [style obj] svv/vid-styles [print mold to-lit-path reduce [style in obj 'color]]4-May-07 6:39
2865AntonStrange new-line bug/issue:4-May-07 6:39
2864AntonOk, very good.2-May-07 6:52

Return to Index Page