World: r3wp
[Core] Discuss core issues
older newer | first last |
Pekr 9-Feb-2006 [3384] | I wonder if not being strongly typed (as Haskell claims they are), does not lead to almost untrackable bugs ... yesterday, working with debugger with our Ubicom CPU, I started to wodner, how we can live without the debugger in REBOL :-( |
MikeL 9-Feb-2006 [3385] | I''ve been caught-22 on that many times since I like to set my ini file definitions to be readable blocks and don't follow why other data types are correctly recognized e.g. blk: [1 12-feb-2006 $30.00] but not true or false or Yes or No without a reduce. If you use blocks for the ini file settings you get caught by the reduce e.g. if want this ini: [ clean-up-target-directory? Yes start-at 10:30:01 first-day-to-run 12-dec-2006 last-day-to-run 31-dec-2006] reduce requires me to flag the words as 'words. |
Sunanda 9-Feb-2006 [3386x2] | I tend to use nested objects as records stored in files. They suffer the same problem. My solution is a single read function hat runs through reducing things. |
Petr: having only 'trace or inserted 'print for debugging is like going back to the dark ages. Better debugging would be a great step forward. | |
Henrik 9-Feb-2006 [3388x2] | debugger? does a tool like this exist for REBOL? http://www.hmkdesign.dk/rebol/reblog/reblog.html |
it's practically automated testing and probe on serious steroids :-) | |
Sunanda 9-Feb-2006 [3390] | Looks great! Any release date? |
Henrik 9-Feb-2006 [3391] | I could release it now, but it's very, very buggy and it's not shielded from the program context |
Sunanda 9-Feb-2006 [3392] | You need to decide if you have the time now to deal with the bugs people will issue. If not, wait til it is more stable. |
Henrik 9-Feb-2006 [3393x3] | http://www.hmkdesign.dk/rebol/tester/tester.r |
consider it a flimsy prototype. requires list-view.r to be in the same path as the script | |
please don't submit suggestions or bug reports at this point | |
Pekr 9-Feb-2006 [3396x2] | heh, cool :-) |
Henrik - wrong link to list-view on the above reblog.html .... /reblog/ in the path should not be there ... | |
Gabriele 9-Feb-2006 [3398] | true and false - just use mold/all or save/all. |
Pekr 9-Feb-2006 [3399] | well, imo Bobik has this block as some result of form field get-values function :-) |
Gabriele 9-Feb-2006 [3400] | is the user typing true and false in? |
Pekr 9-Feb-2006 [3401] | dunno, would have to ask him, once I catch him on icq ... but - I think it is OK, I explained to him why he needs to reduce the block ... |
DideC 9-Feb-2006 [3402] | Henrik: just for info, there is CSS styles junks at the top of some pages like this one (in IE6 almost) http://www.hmkdesign.dk/rebol/reblog/files/category-3.html |
Volker 9-Feb-2006 [3403] | #[true] etc. |
Henrik 9-Feb-2006 [3404x2] | didec: odd. maybe not the entire page was uploaded. my internet connection is very bad right now |
pekr, link fixed | |
Sunanda 9-Feb-2006 [3406] | Thanks Gabriele --- save/all neatly does the job. No use to me though in several cases -- I support applications that pre-date that refinement and run under older versions of core. But it'll save me a chore in future apps. |
Henrik 10-Feb-2006 [3407] | hmm... seems I forgot there are some LIST-VIEW 0.0.29 only functions used in Tester. maybe I should do a release soon.... |
Gregg 10-Feb-2006 [3408x2] | Another new feature that may help is the /ONLY refinement on REDUCE. |
Very cool idea Henrik. Keep us posted. | |
Graham 10-Feb-2006 [3410] | Does any one have a tool for examining large objects? I'm trying to find where things are defined in beer, and using an editor to browse the port object is not fun. A sort of anamonitor for objects? |
Gregg 10-Feb-2006 [3411] | port! values don't support the use of FIRST to get their words (AFAIK). At least I think that's what I ran into trying to support them in my old object browser. |
Graham 10-Feb-2006 [3412] | where's your object browser Gregg? |
Henrik 10-Feb-2006 [3413] | graham, did you try the object browser in Viewtop/Tools ? |
Graham 10-Feb-2006 [3414] | Nope .. ;) |
Volker 10-Feb-2006 [3415] | first is a port-operation.. Maybe it could use the default-words for ports. |
Gregg 10-Feb-2006 [3416] | Under Developer/Users/Gregg. Run it under 1.3, it isn't happy under Link for some reason. I have some other versions floating around as well, but probably not too different from that one. |
Anton 11-Feb-2006 [3417] | Graham, anamonitor can examine custom objects, not just the system object. You just need to type in a word/path which refers to the interesting object. |
Graham 11-Feb-2006 [3418] | Ok, good to know. |
Anton 11-Feb-2006 [3419] | Yep, Anamonitor 2.0, next to the help button, there's a field that says "Name or command". Replace that string with "ctx-edit" for instance. |
Gabriele 11-Feb-2006 [3420] | i think anamonitor 3 can also examine ports, though i haven't tried |
Anton 11-Feb-2006 [3421] | That would be pretty cool. Actually, as cool as anamonitor is, I don't use it much ! I probably should go exploring in it once in a while. |
Henrik 13-Feb-2006 [3422] | all updates on Tester has been moved to the Tester group |
Oldes 16-Feb-2006 [3423x2] | how to produce nice formated blocks? (with newlines where needed - not to have all values in onle line?) |
hm, just found this: probe to-block {1 2^/3 4^/ 5} but I would like to insert newline formating when I produce block where I use repend | |
Sunanda 16-Feb-2006 [3425] | Hve you tried the new-line function -- available in recent versions of REBOL? |
Oldes 16-Feb-2006 [3426x2] | that's it:) thanks |
it's not documented here: http://www.rebol.com/docs/changes.html | |
Gregg 16-Feb-2006 [3428] | They're listed in the View 1.3 release notes, but not heavily doc'd. |
Sunanda 16-Feb-2006 [3429] | :-) I only found it by accident while failing to get something of Gabriele's to run under an earlier version |
Pekr 17-Feb-2006 [3430x2] | a bug or a feature? ;-) view layout [tl: text-list "" "ahoj" "" "cus"] ... just click on an empty element .... |
not even view layout [tl: text-list do [ tl/data: reduce [copy "" "ahoj" copy "" "cus"] show tl] ] works ... | |
Sunanda 17-Feb-2006 [3432] | Looks like a bug -- can't have a duplicate entry.....Try clicking on one of the "cus"s unview/all view layout [tl: text-list "cus" "" "ahoj" "" "cus" "cus"] |
Pekr 17-Feb-2006 [3433] | it looks for value instead of for index when hilighting? What purpose does it have? IIRC it was reported few years ago ... that is rudiculous behavior and makes the style completly useless ... |
older newer | first last |