World: r3wp
[All] except covered in other channels
older newer | first last |
Andrew 10-Feb-2005 [1081] | Still AM here... |
BrianW 10-Feb-2005 [1082] | heh |
BrianW 11-Feb-2005 [1083x2] | Dumb question that I've asked before: How do I tell Rebol/View what my browser is? |
So far I've been able to cheat just by creating a symlink called 'netscape' to my firefox executable, but it would be nice to just use the currently open firefox session | |
Graham 11-Feb-2005 [1085] | windows or linux? |
BrianW 11-Feb-2005 [1086] | Linux |
Graham 11-Feb-2005 [1087] | didn't Jamie post some code that shows how to use an existing Firefox session? |
BrianW 11-Feb-2005 [1088] | ... scrolling back ... yes indeed. Must be the brain shrinkage ;-) |
Vincent 11-Feb-2005 [1089] | Brian: browser for Rebol/View >1.2.1 set-browser-path "path/to/firebird -url " for Rebol/View 1.21 (may not work on linux): append clear netscan/def-browser "path/to/firebird -url " |
Terry 11-Feb-2005 [1090] | First earthquake seafloor images back from SOC marine geologists in the Indian Ocean http://www.soc.soton.ac.uk/soc_home2.php?pagetype=news3&idx=223 The collision has forced up spectacular large thrust ridges up to 1500 m high, higher than Ben Nevis. These unstable blocks have collapsed in places, producing large landslides several kilometres across that have scarred the seafloor. |
Louis 12-Feb-2005 [1091] | Has anyone made a utility to download a complete web site? |
Graham 12-Feb-2005 [1092x3] | that's not a very friendly thing to do. |
and if you hit a website that is cgi based...you will be downloading from an infinite space. | |
Having said that, I think Bo has written a utility to spider a website | |
Louis 12-Feb-2005 [1095] | Do you have a link? |
Graham 12-Feb-2005 [1096] | try the library .. |
Louis 12-Feb-2005 [1097] | Don't find it there. Oh well, I've got to log off and get some sleep. I'll look better tomorrow. Thanks, Graham. |
Graham 12-Feb-2005 [1098] | http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?color=yes&script=webcrawler.r |
Sunanda 12-Feb-2005 [1099] | Carl's also written a links checker -- this may be easy to adapt to what you want by limiting it to internal URLs http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=site-check.r But as Graham says, if you run anything like this, be social. Many sites have banned things like HTTtrack (a website downloader) simply because they don't pace their requests. |
Izkata 12-Feb-2005 [1100] | Carl's link checker goes infinite if there's a "../" link anywhere in the website... |
Tomc 12-Feb-2005 [1101] | I have a patch for that ../ bug in carls link checker |
Will 13-Feb-2005 [1102x2] | §§§§§§ |
wops, was cleaning the keyboard..sorry 8) | |
Chris 15-Feb-2005 [1104] | Can someone give me a succinct definition of the term 'meta'? -- for example, in the context that it is used in an HTML document to provide additional information on the content... |
Anton 15-Feb-2005 [1105] | You mean, what is the meaning in English? The html definition for META was not useful ? |
PeterWood 15-Feb-2005 [1106x2] | I believe the term 'meta" is usually used as a short form of Metadata. Metadata is data which descrbes the data. Eg A value of 1000 is data, its metadata includes - type is integer; it has 4 digits, it is positive. Hope this is of some help |
Here's a definition from http://biology.usgs.gov/nbs/meta/metadata.htm : -- Metadata describe the content, quality, condition, and other characteristics of data. Metadata help a person to locate and understand data. | |
Anton 15-Feb-2005 [1108] | Yep, that's how I understand it. |
Geomol 15-Feb-2005 [1109] | In the context of UNIX, we talk about meta characters. That's characters with special meaning to the shell. Examples are *, ?, [ and ]. I agree with the metadata definition above. And then we have the Metabaron! Ah yes! :-) But then we're in the comics context of Moebius and Jodorowsky. |
Will 15-Feb-2005 [1110] | hello everybody! I'd like to store data in a block as follow: [ 12 [name "John" phone "123"] 14 [name "Carl"] bb [name "Bob" phone "222"] ] is there a rapid way to get the index: [12 14 bb] would it be better to keep an index? [ [12 14 bb] [ 12 [name "John" phone "123"] 14 [name "Carl"] bb [name "Bob" phone "222"] ] ] any better idea on how to better store data, welcome! thx 8) |
Vincent 15-Feb-2005 [1111] | 'extract extract your-data 2 returns a block with [12 14 bb] |
Ammon 15-Feb-2005 [1112] | What do you need the index for? with a structure like that you can do the following... data: [ 12 [name "John" phone "123"] 14 [name "Carl"] bb [name "Bob" phone "222"] ] data/12 ; == [name "John" phone "123"] data/12/name ; == "John" record: 12 data/:record ; == [name "John" phone "123"] |
Will 15-Feb-2005 [1113x2] | Vincent, Thank you, I wasn't aware of the 'extract function and never used forskip till now. Now I wonder if it takes more resources to update the index or use the extract when I need the index. |
Ammon, I need to peek a random record 8) | |
Ammon 15-Feb-2005 [1115] | Ah, I see what you are trying to accomplish now. ;-) |
Vincent 15-Feb-2005 [1116x2] | in your case, a cheap (resource-wise) extract is: index: make bloc! (length? data) / 2 foreach [value pad][insert tail index value] |
bloc! == block! | |
Chris 15-Feb-2005 [1118x2] | Re. meta -- Peter, that follows the one dictionary definition* that seems to fit -- "used with the name of a discipline to designate a new but related discipline designed to deal critically with the original one" -- so metadata is new data used to describe (or deal critically with) data, right? * http://www.m-w.com/cgi-bin/dictionary?meta- |
If that holds -- does a Rebol header contain meta-values? Is RSS meta-content of a web site? Is this discussion meta-meta? (ok, too far...) | |
Guest 15-Feb-2005 [1120] | Help: after 6 hours configuration I couldn't run rebol/pro on my dedicated webserver (IIs6). does anybody have a install tip ?ps: the taskmanager shows reppro.exe running but did'nt terminate the exe nor deliver the page. I tried also different script header and examples from the docs. |
Graham 15-Feb-2005 [1121] | Seems a lot of people have problems getting rebol cgi working with IIS |
Guest 15-Feb-2005 [1122] | yes, tried with path/rebpro.exe" -cs %s %s" nothing change, the exe is running but did'nt deliver until timeout... |
Ammon 15-Feb-2005 [1123] | Have you tried looking at the error logs? |
Graham 15-Feb-2005 [1124x4] | from the mailing list |
Windows generally uses the registry for mapping to extension. Try looking for something as follows under "regedit": HKEY_LOCAL_MACHINE System CurrentControlSet Services W3Svc Parameters Script_Map Once there you wantto EDIT --> New --> String Value to add a new extension association of ".cgi" Then MODIFY the new ".cgi" entry to associated it with the rebol executable, eg "C:\rebol\rebol.exe %s %s" Here "C:\rebol\" may be different on your system and note that you must end with .exe. Now restart the computer to get the new setting. | |
After that any script in a directory that the server sees as EXECUTABLE (eg, the default "scripts" directory) which ends in *.cgi will be sent to the rebol interpreter. Best YekSoon, keeping my fingers crossed. | |
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlNCDQ | |
Guest 15-Feb-2005 [1128] | thanks for the tip, will try it immediatly... |
Graham 15-Feb-2005 [1129x2] | better read the whole thread |
more on IIS setup : http://www.rebol.com/docs/core23/rebolcore-13.html#section-13.1 | |
older newer | first last |