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

World: r3wp

[I'm new] Ask any question, and a helpful person will try to answer.

Carl
9-Jun-2005
[126]
We did not get it in time. :(  -- But let's make sure not to miss 
it on the 1.3.1 release.
Pekr
9-Jun-2005
[127]
I don't particularly understand, what does it mean, Carl. Who does 
set your timeframes? So you do prefer releasing non-fully-fixed 1.3 
"in time", instead of fixing known issues first, and releasing e.g. 
few days later? That simply does not make sense ..
Ashley
9-Jun-2005
[128]
If Carl delays the release until the last bug is reported and fixed, 
it'll *never* be released. ;)
Graham
9-Jun-2005
[129]
Agree, get it out there now.
Henrik
9-Jun-2005
[130]
Real Artists Ship
 - Steve Jobs
Gregg
10-Jun-2005
[131]
There is no such thing as "fully fixed" software. :-) 


There are many many many things on the list that didn't get in, and 
even a little change like this--which may seem safe and easy--means 
more testing and inspection, often a lot more than you expect. 


In this case, let's look at how many people are screaming that this 
particular issue is killing their apps; not many; it's been around 
a while. Let's also look at whether we can work around it even if 
1.3 doesn't fix it; yes we can, and without too much trouble it seems. 
So, as one person hammering on RT to ship 1.3, I'd vote to ship without 
it.
Pekr
10-Jun-2005
[132]
Gregg - I am not talking about one particular issue mentioned above, 
more about installer etc. issues. You should distinguish between 
a bug fix importances, as if Installer is not solved in a good way, 
it can annoy many ppl!
Gregg
10-Jun-2005
[133]
Yes, I think we all agree Petr; it's a balancing act. Carl is *very* 
aware of the importance of these things, but also knows that "shipping 
is a feature".
BrianH
10-Jun-2005
[134x3]
Consider: The installer is run once per version, and the only problems 
left in its function are the location of registry entries that aren't 
visible from View anyway. The problems that affect day-to-day View 
operation have been fixed with the use of a seperate sandbox directory. 
The rest can be fixed in later versions with automagic migration 
code and no REBOL scripts would know the difference. Once installed, 
View can be used in a multiuser environment now (as of 1.2.117); 
we can make the installer multiuser-safe later.
The installer works properly for single-user installations right 
now (as of 1.2.117).
I mean in terms of leaving View in a workable state - internal installer 
functionality has been fixed somewhat since then.
Pekr
10-Jun-2005
[137]
Installer aproach is imo incorrect and I will post my findings
BrianH
10-Jun-2005
[138]
Please do, although perhaps the Debug p1.3 or View group might be 
better for that :)
Pekr
10-Jun-2005
[139]
ok, now I am glad Gregg provided new group for that, so I will move 
and post my observations in new Installer group ...
Normand
22-Jun-2005
[140]
I am trying to add a newline to separate blocks of hashs I add to 
a file withe the save command.

[idkey: 1 objectname: "article" creator: "Lec, Norm" fulltitle: "Title 
1" pageread: "1"] {#"^^/"} [idkey: 2 objectname: "article" ...
with the line: append bib mold/all newline

Unfortunately I dont find the way to dispose the blocks in a pleasing 
format because the newline separating them is in source format.

I did try a dozen of combination with reduce, form mold and compose 
and the various newline forms I know ^/ "^/" but to no avail.

It shure is stupid but I am stock with this.  If I use write I am 
OK, but would like to learn the trick with save. Thanks.
DideC
22-Jun-2005
[141x2]
In last View version (1.3.x) and last Core, there is a 'new-line 
function to format a block in lines. I think it does not work on 
hash! (just try), but you can use 'to-block on your hash! to be able 
to use it.
>> help new-line
USAGE:
    NEW-LINE block value /all /skip size

DESCRIPTION:
     Sets or clears the new-line marker within a block.
     NEW-LINE is a native value.

ARGUMENTS:
     block -- Position in block to change marker (Type: block)
     value -- Set TRUE for newline. (Type: any)

REFINEMENTS:
     /all -- Set/clear marker to end of block

     /skip -- Set/clear marker periodically to the end of the block
         size -- (Type: integer)
>> a: [1 2 3 4 5 6 7 8 9 10]
== [1 2 3 4 5 6 7 8 9 10]
>> new-line a true
== [
    1 2 3 4 5 6 7 8 9 10
]
>> new-line a false
== [1 2 3 4 5 6 7 8 9 10]
>> new-line/skip a true 2
== [
    1 2
    3 4
    5 6
    7 8
    9 10
]
Normand
22-Jun-2005
[143]
Thanks, I shure missed that one.
DideC
22-Jun-2005
[144]
It's a new feature and it's not currently documented, just mentioned 
in the View 1.3 change log page.
Volker
22-Jun-2005
[145]
http://www.rebol.net/article/0059.html
RebolJohn
27-Jun-2005
[146]
Hello all.. I need help!  I am trying to append a series within a 
series..  i.e.  [ [a b c] [d e f] ].  How would I add [g h i] to 
the end of my series so that I would have [ [abc] [ d e f] [g h i] 
], and not [ [a b c] [d e f] g h i ] ?
BrianH
27-Jun-2005
[147]
append/only [ [a b c] [d e f] ] [g h i]
RebolJohn
28-Jun-2005
[148]
sweet.
Jean-François
14-Jul-2005
[149]
How to make this work?

>> foreach line read/lines request-file [prin "before " prin line 
print " after"]

** Access Error: Invalid port spec: /C/Documents and Settings/meta/Desktop/node_list.txt
** Where: halt-view

** Near: foreach line read/lines request-file [prin "before " prin 
line print " after"]
>>

I'm trying to read each line from a file and add something before 
and after

thanks
Allen
14-Jul-2005
[150x3]
foreach line read/lines (to-file request-file) [prin "before " prin 
line print " after"]
The to-file converts the response of request-file to the file! datatype 
which read/lines is expecting. The () are needed to ensure that the 
result of to-file is used as the argument
I'm pressed for time. I'm sure others will correct / amend my explanation..
Izkata
14-Jul-2005
[153]
>> request-file
== [%/C/Izkata/Rebol/bay.jpg %/C/Izkata/Rebol/palms.jpg]
>> request-file/only
== %/C/Izkata/Rebol/palms.jpg

This might be better to keep anyone from choosing multiple files:

foreach line read/lines request-file/only [print ["before " line 
" after"]]
Jean-François
15-Jul-2005
[154]
thanks guys
Allen it seems the ( ) are not necessary.
Jean-François
27-Jul-2005
[155]
Hello everyone,

I have an EditME me that I'm using to manage a project this summer. 
I would like to use Rebol to logon to my wiki, edit some pages and 
attach files to pages.

Are their any code exemples that I could use to understand how to 
go about this. I need to be able to fill in forms and send them in 
to my wiki. 
many thanks
Jean-François
20-Aug-2005
[156]
Is there something similar to Python format string in Rebol?
eFishAnt
20-Aug-2005
[157x3]
Have you read the CGI how tos?
http://www.rebol.com/docs/cgi1.htmland    http://www.rebol.com/docs/cgi2.html
after those, the RBBS project does some dynamic pages generated from 
databases and key values http://www.rebol.com/docs/cgi-bbs.html
  HOWEVER, when delving into anything CGI (not wiki link, so maybe 
not what you want) it takes some heavy head-scratching
Gregg
22-Aug-2005
[160]
There is no PRINTF-like function in REBOL right now. Eric Long wrote 
one which should be available somewhere (or write to me privately). 
RT has mentioned it more than once; the hard part will be designing 
the interface to it. I wouldn't want a standard FORMAT function to 
work like PRINTF myself, but I think it would be good if there was 
one out there for pople to use who wanted it.
BrianH
13-Sep-2005
[161]
I know I've been around for a while, but it's been so long since 
I submitted anything to the REBOL.org script library that all the 
rules have changed. So I'm new again :(


What headers should I add to the script to integrate it into the 
script library? I'd like to BSD license it - how do I indicate that? 
Are there any other headers that are necessary? How do I indicate 
that a minimum version of REBOL is required (Core compatible, but 
I use a few recent features)?


This is related to an extended version of the compress-source function 
I made for the Canvas section.
BrianH
14-Sep-2005
[162]
If there is a page on REBOL.org that explains this, could someone 
post the link?
Rebolek
14-Sep-2005
[163]
http://www.rebol.org/cgi-bin/cgiwrap/rebol/one-click-submission-help.r
Sunanda
14-Sep-2005
[164]
Alternatively. try to upload without a Library header.....One'll 
get added, and you can then edit it.


[It'd be good to get one more script in the Library. Right now we 
have 666, and that's an iconic number for some people :-)]
Graham
14-Sep-2005
[165]
here on the other side of the world, it looks like 999
Sunanda
14-Sep-2005
[166]
...That's the number of the beast's yoga trainer?
Graham
14-Sep-2005
[167]
No, that's the number of years Australia will get to keep the Ashes 
once they win it back.
Sunanda
14-Sep-2005
[168]
:-)
PeterWood
14-Sep-2005
[169]
Australia may well win back the Ashes at some stage but they never 
get to keep them. The men with excruciating taste in ties keep them 
under lock and key in the Long Room.
RobertDumond
14-Sep-2005
[170]
Hello, everyone... Ii am using encryption in Rebol/SDK, and I would 
like to store the actual binary value returned from the port as a 
string... not the to-string value, but the binary value... for example, 
if I get back #{455121D505CD240595E530589ADCD7787F22EF9DE899D6D8} 
from the port, I would like to store 455121D505CD240595E530589ADCD7787F22EF9DE899D6D8 
as a string in a file... does anyone know if this is possible?
Gabriele
14-Sep-2005
[171]
enbase/base #{...} 16
RobertDumond
14-Sep-2005
[172]
sweet!  thank you very much
BrianH
14-Sep-2005
[173x3]
Thanks Kru! I'm editing it now.
Hey all, what is the current expected syntax for the Needs header 
of a REBOL script?
Last time I checked (a while ago) it was undocumented.