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

World: r3wp

[Rebol School] Rebol School

shadwolf
21-Aug-2011
[3825]
I can't beleive rebol get such a pathetic endign
Sunanda
21-Aug-2011
[3826]
Shadwolf -- you are off-topic for this group.
Please switch to ~vent.
Thanks!
shadwolf
21-Aug-2011
[3827x9]
i think to appriaciate my work ability only the people  close to 
me can ... like maxime or steeeve .....  I really like steeeve ... 
and maxime and if it was up to me to do r3gui I choose them with 
a set of feature... I would had to the experience ashley truter telling 
him to do what he did in the rebGUI begining and forgetting on the 
over optimised code redused habite he developped later on this project<d
sunanda I tryed to talk to you even to  offer  to you help to make 
rebol.org  better  you ignored me those past 6 years buddy so keep 
doing it you website is a shame it tasks more than 30 hours to submit 
a scrit you failled
it takes me than 30 mitnute to submit a rebol script ! you failled!
and sunanda understand me .. I like  you ... I appreciate you like 
I appreciate cyphre and robert munch or carl ,,,
when you fail guys you need someone to tell you so honnestly without 
any corner and you know if you ask me I woudl be the very first in 
contributing
but since 2004 it was your baby and no one had to  give a comment 
on it
my comment to rebol,org sunanda in 2004 was obvious can't you do 
a form for the very heavy header submision ? ahnd in 2011 it's not 
done ...
sunanda don't take me wrong .... even carl don't use rebol.org he 
use github as a rebol.org how can you stand this  ?
and  I liked all the improvement done to rebol.org .... sunanda really 
but the core thing "script submition" never improved
Sunanda
21-Aug-2011
[3836]
Shadwolf -- you are off-topic for this group.
Please switch to ~vent.
Thanks!
shadwolf
21-Aug-2011
[3837x9]
7 years later sunanda can you say here to me that rebol.org isn't 
a pain in the ass for script subscribers ?
sunanda I won't go to vent cause this will just allow you to once 
again ignore me ... so please answer or even blame me and offer the 
means to redem myself
and trust me if you give me the power on rebol.org change is gona 
happend
sunanda I want to talk with you ... like I want to talk to robert 
and to any self proclamed gurus acknoledged by carl
so far for me all of you failled only nenad  succed in a thing and 
it was doing something else than rebol
and trust me I'm teared  ... I stupidly love rebol and all the things 
rebol tryed to  create ---  but I like nenad's guts to get ride of 
your doing the same thing .... cause that was you really deserve
rebol school is void since the core stuff designing rebol isn't populated 
PARSE
rebol school my ass you don't even  know how to do a dialect or to 
properly use parse
rebol school is yet another self satisfactory idiom used by those 
self proclamed gurus
Henrik
21-Aug-2011
[3846]
Marco, my response to you seems to have scrolled away. Did you get 
it?
Geomol
21-Aug-2011
[3847]
:) Nice way to put it, Henrik!
Marco
21-Aug-2011
[3848]
@Henrik I have a mix of "settable" and "unsettable" values (eg. the 
color of a "box") and I don't use your kit (at the moment).
todun
4-Oct-2011
[3849x4]
hello.
is there a way to remove the newline at the end of a file?
is there a way to remove the newline at the end of a file?
my last attempt to connect to the room failed...
Ashley
4-Oct-2011
[3853]
write %b.txt trim/tail read %a.txt
todun
4-Oct-2011
[3854x5]
@Ashley Thanks. I will try that.  Also, do you know how I can display 
 each line of a file in an "info" field when using "view layout"?
My intention is to have a button that I will press that will tell 
me what the next line to read and display will be.
So one button will let me go 5 lines in the file. Another 20 lines 
etc.
Then when I quit the view, I will have the last line read be the 
starting point.
trim/tail did not work for me.
PeterWood
5-Oct-2011
[3859]
Try:

write %b.txt head remove back tail read %a.txt

(I think that trim doesn't treat a "newline" as whitespace)
todun
5-Oct-2011
[3860]
PeterWood: Thanks . sadly that didn't work either. though the other 
issues are greater at this point.
GrahamC
5-Oct-2011
[3861]
You should be able to open/direct, skip to the end and write a space 
or null to the end
todun
5-Oct-2011
[3862]
@GrahamC, how do I accomplish this?
PeterWood
5-Oct-2011
[3863x2]
The code that I gave does remove a newline from the end of a file:

>> read/binary %a.txt                            

== #{31323334350E}

>> write %b.txt head remove back tail read %a.txt

>> read/binary %b.txt                           
 
== #{3132333435}
Can you show the last few characters of your file here?
Geomol
5-Oct-2011
[3865x2]
The example with trim/tail does remove the newline from the end here.
Peter, on what system is #{0E} a newline?
todun
5-Oct-2011
[3867x3]
How do I make a file containing tokens on each line be displayed 
one at a time in an "info" field (.ie. non-modifiable view, just 
readable) on the view when I click a button?
How do I make the data loaded from the file change to another token 
in the file when I click another button?
@PeterWood, thanks for the suggestion. I will try that.
Kaj
5-Oct-2011
[3870]
Please don't cross-post, thanks
PeterWood
5-Oct-2011
[3871x3]
John: It isn't it was my mistake.
Here is the correction:

>> write %a.txt "12345^/"                       
 
>> read/binary %a.txt   
 
== #{31323334350A}

>> write/binary %b.txt head remove back tail read %a.txt

>> read/binary %b.txt                                  
 
== #{3132333435}
So I believe the answer to todun's issue is the need to use the binary 
refinement of write to stop REBOL adding a newline at the end of 
the file.
todun
5-Oct-2011
[3874]
@Kaj, I have no idea what the conventions are here or what all the 
different rooms mean. I assumed that my questions in "I'm new" were 
not meeting the requiremetns of the room so I posted here. Sorry 
if I'm tresspasing on some rule here.