• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 10201 end: 10300]

world-name: r3wp

Group: Parse ... Discussion of PARSE dialect [web-public]
Brock:
30-Jan-2005
Can anyone explain this?  Is this expected or a bug?
Brock:
30-Jan-2005
Save the following data out to a file (I used territory.txt)...
Brock:
30-Jan-2005
What is it about the first row of data in particular it starting 
with a string that prevents the parsing of the carriage return ("^/") 
to not work?
Chris:
30-Jan-2005
It may be a recurrence of a problem parsing " at the beginning of 
a line -- doesn't seem to be a problem on the beta that I have open 
(1.2.54).  As an alternative, you could always read/lines, or simply 
load the file...
Geomol:
30-Jan-2005
It's a bug, as I see it.
Graham:
30-Jan-2005
and what do you do if the text is not a file ?  Write your own parse 
rule.
Romano:
30-Jan-2005
1.2.57
>> parse/all {"a""b""c"de} "e"
== ["a" "b" "c" "d"]
Please, add the bug to RAMBO.
Graham:
8-Mar-2005
How do you break a parse rule and still have it be true ?
Graham:
10-Mar-2005
Actually, what I was wondering was how to break out of an action 
in a rule and still let it return true
Anton:
10-Mar-2005
In a paren, you can change a 'break-rule from an empty block to [to 
end], then include that break-rule in your main parse-rule somewhere.
Anton:
10-Mar-2005
(for a more backwards compatible solution)
Anton:
10-Mar-2005
Oh dear, looks like my memory was not so great. I was using 'break 
in the early-exit rule here:

extract-link-by-name: func ["Returns the first A link with the specified 
text in the source string."
	name [any-string!] "link text"
	str [any-string!] "html source string"
	/local start end terms non-terms link text early-exit
][
	early-exit: []
	if parse/all str [
		some [
			thru "<a " any " " 
			["name" | [
				"href" any " " "=" any " "

    [{"} (terms: {"}) | (terms: " >")] ; set terms depending on how url 
    starts, with double-quote?
				(non-terms: complement charset terms)
				start: some non-terms end: (link: copy/part start end)
				opt {"} any " "
				thru ">" copy text to "</a" ; <- was before just "<"
				(if text = name [early-exit: [to end break]])
			]]
			early-exit
		]
	][reduce ['link link 'name text]]
]
Anton:
10-Mar-2005
Ah, here is an example of what I was thinking:

>> rule: [] parse "aaabbbb" [any [rule ["a" (print 'a) | "b" (print 
'b rule: [to end " "])]] to end]
a
a
a
b
== true
Anton:
10-Mar-2005
When the first b is encountered, rule is set to a rule which cannot 
be succeed, thus breaking out of the outer any.
Graham:
12-Mar-2005
The email is obtained by reading from a port in binary mode, so could 
this be due to the lack of line ending conversion ?
Graham:
12-Mar-2005
From a unix system to windows32?
Brett:
12-Mar-2005
Hi Graham. Line ending in Internet protocols = Apples; Line/Paragraph 
representation in text files = Oranges. :-)

Best not to compare them for this task.  As far as I've seen, Internet 
protocols have an on-the-wire line ending of CRLF.  So yes this is 
very likely a problem with your parse rules.
Graham:
12-Mar-2005
Hi Brett.  Do you then see a problem with me parse rules?
Tomc:
12-Mar-2005
unix would be a single "^J"
Tomc:
12-Mar-2005
yes ,  my rule was for a single lin as in your first code  sample
Tomc:
12-Mar-2005
mac is a single ^M for a single line
Chris:
12-Mar-2005
;I tend to use charsets as a way of skipping 'thru while looking 
for multiple possibilities:
line-end: charset [#"^/" #"^M"] ; etc
line: complement newlines

parse m [copy header [some [some line line-end]]]
Chris:
12-Mar-2005
a way of skipping
 -> "an alternative to"
Chris:
12-Mar-2005
That means any character that isn't a line-ending...
Chris:
12-Mar-2005
line-end: charset [#"^/" #"^M" #"^J"]
line: complement line-end
parse m [copy header [some [some line line-end]] to end]

; Note that 'line-end in the parse line should be replaced with permutations 
of what a line-ending can be, without describing any permutation 
of a double line-ending.
Graham:
13-Mar-2005
I'll give this one a go as well.
Tomc:
20-Mar-2005
Joe:   What do you need a perl comatible regular expression  to do?
BrianW:
20-Mar-2005
It wouldn't have to be industrial-strength, but it would like a security 
blanket for developers experimenting with the new language. PCRE 
is found all over the place in languages on Linux machines, and the 
absence makes some developers uncomfortable - despite the fact that 
Parse is better.
BrianW:
20-Mar-2005
Good point. One article I was thinking would be along the lines of 
a "phrasebook", translating PCRE concepts to Parse equivalents.
BrianW:
20-Mar-2005
What about a parse rule that takes pcre strings as input and produces 
a parse rule as output?
Tomc:
20-Mar-2005
I am not totatly against REs I use them all the time in shells, and 
having them built in would make writing "work alike" programs easier 
but over all , it  seems to me like a step down
Tomc:
20-Mar-2005
I will be a few to make concreat but basicly you work with what is 
common to all lines , in this case colons and newlines
Vincent:
20-Mar-2005
sorry, I missed a problem in this expression: the header must start 
with a newline, so
parse header [header-rule some [thru "^/" header-rule]]
is better
Graham:
20-Mar-2005
Ahh...well, invariablly the first line of the header is "Return-path:" 
so i'ts not a problem.
Graham:
20-Mar-2005
I need the "^/... as nowadays, there's email coming thru with authentication 
signatures that contain the headers in a block
Tomc:
20-Mar-2005
if you came accross a novel header line before you came across  the 
To: line you would not get to the To: line
Graham:
20-Mar-2005
this header-rule should now be applied each time I get  a "^/" ...
Group: DevCon2007 ... DevCon 2007 [web-public]
[unknown: 9]:
10-May-2007
I hate when the "network" brings applications to a halt.
Pekr:
10-May-2007
Terry - in a good way? :-) Reichart is rich man, he has experience 
with business, he contracts many rebol developers already :-)
Terry:
10-May-2007
My point is.. is Rebol going corporate.. with a particular agenda.. 
(ie: Microsoft).. or leaning towards open source.. this is a serious 
question.
Gabriele:
10-May-2007
Terry: basically, Safeworlds will offer a product, AltME 3, that 
replaces View, IOS and AltMe 1. That is a product and so is more 
business targeted.
Gabriele:
10-May-2007
RT, instead, focuses on the language itself, and the language has 
a lot of parts that are open source.
Gabriele:
10-May-2007
the core itself is still proprietary (a 200k dll so far)
Terry:
10-May-2007
There can be a conflict of interest
Gabriele:
10-May-2007
RT is interested in developing the language REBOL. Safwerolds is 
interested in developing the product AltMe 3. their iinterests converge 
a lot. there's mainly just a difference of focus.
Terry:
10-May-2007
So Altme3 is the new view?  You don't see a conflict there?
[unknown: 9]:
10-May-2007
How can there be a conflict in a free marketplace?
Terry:
10-May-2007
I understand the financial aspect.. and the free market aspect.  
 Is Rebol turning into an application, more than a language the Im 
to build a company on?
Terry:
10-May-2007
Carl said he'll discuss R3 licensing/pricing later.. let's hope for 
some fresh air in this area, or I'm afraid R3 will become a specialty 
application for a very narrow user base, with a specific agenda.
3:20 a.m. here.. signing off.. enjoy the rest of the conference.
[unknown: 9]:
10-May-2007
I'm riding my bicycle with some friends in about 4 hours...at a place 
that two days ago all burned.  We lost something like 300 hectacres.
[unknown: 9]:
10-May-2007
Los Angeles lost a HUGE resource, Grifith Park burned to the ground.
Pekr:
10-May-2007
Gabriele - in what way is AltME a virtual OS?
[unknown: 9]:
10-May-2007
The idea is to open source a lot, and just keep the low level stuff 
closed, but RT will post something official.
Pekr:
10-May-2007
Why not? rebol.dll was already out there on the net with plug-in. 
Jaime posted interface - you could pass it a string with rebol code, 
no?
Henrik:
10-May-2007
I'm a bit confused that REBOL/View == AltME now, so does it mean 
that GUI development is moved away from RT?
Gabriele:
10-May-2007
ie for us developers nothing changes (except for the fact that altme 
3 opens up a lot of opportunities etc)
Gabriele:
10-May-2007
don't - even i don't speak always english... so i guess a lot of 
people here
[unknown: 9]:
10-May-2007
We have considered hiring him.....but he has a first love.
Sunanda:
10-May-2007
It could be a job interview :-)
[unknown: 9]:
10-May-2007
My vote for a name is YANSEFTL (You Are Not Smart Enough For This 
Language)
[unknown: 9]:
10-May-2007
How about a language that changes pronoun.  I program in ME, it can 
amazing things for YOU.
Anton:
10-May-2007
That could be just a clever ploy in today's world.
Anton:
10-May-2007
Carl's comments on merging of VID dialect and global namespace. It 
took me a long while to learn it, but I appreciate it more and more.
Gabriele:
10-May-2007
well it's supposed to be a quick lunch
[unknown: 9]:
10-May-2007
Right, 2 hours is a quick lunch in France...
[unknown: 9]:
10-May-2007
I got a few hours of sleep earlier....so I'm up for the next 20 hours 
or so.
[unknown: 9]:
10-May-2007
Free wine?!?  Don't let Carl near it, he will start comparing it 
to his own Vineyards...and it will be a 3-4 hour lunch!
[unknown: 9]:
10-May-2007
Some how I think this group can handle a lot of wine...
Sunanda:
10-May-2007
We're closed for lunch now.

Back in a Parisian hour for Carl speaking on: "The Motivation for 
R3"
[unknown: 9]:
10-May-2007
Sorry, no, a "hot mic" is a mic that swings with volume level...so 
when there are sharp increases in sound, it clips.
[unknown: 9]:
10-May-2007
A good trick is to put foam over the mic.
[unknown: 9]:
10-May-2007
first post is one on a hot mic.
Anton:
10-May-2007
obviously there must be a solution to this problem already, but I'm 
just thinking two mics, one soft, one loud, and a "compressor" box 
that selects the loudest signal which does not clip.
[unknown: 9]:
10-May-2007
Actually, up until a few years ago (when mics got a lot better) they 
used to have foam covers.
Anton:
10-May-2007
So you still get a good effect with a new mic ? Do you think the 
devcon mic is a new one or old one ?
Anton:
10-May-2007
ok, so even a newer mic can be helped with foam in this situation.
[unknown: 9]:
10-May-2007
A big glass room is a nightmare for sound.
[unknown: 9]:
10-May-2007
Yes, putting foam over the mic would help a little, but it would 
also mean that it would not work as well iat a distance.  What you 
really want is a mic wired on the person (which has foam built in), 
 and no mic on the room.
Henrik:
10-May-2007
I think there is often a problem with the sound being too strained, 
as if you're holding your nose while talking or it sounds like you 
have a cold. Mine suffers from that, as well as not handling the 
pronounciation of P sounds properly.
Anton:
10-May-2007
A directional mic on the person.
[unknown: 9]:
10-May-2007
It is actually a omni directional I think, but has a peak range of 
1 meter.
[unknown: 9]:
10-May-2007
It is called a Lanier Mic
Anton:
10-May-2007
Henrik, that sounds like it doesn't have a good response. Have you 
checked a frequency response.
Anton:
10-May-2007
I bought a really cheap mic recently - I think it was $3 - and the 
frequency range is abysmal.
[unknown: 9]:
10-May-2007
Mics have dropped in price, just like optics for cameras...but $3 
is still TOO CHEAP.  Pay $50+ and you will get a good mic.  I always 
trust Plantronics for headsets.
Anton:
10-May-2007
the Lanier mic obviously has a tight dynamic range.
[unknown: 9]:
10-May-2007
They dropped in price ($299) so you can get them now for probably 
$200+, which is a great deal.
[unknown: 9]:
10-May-2007
They also have a -35 dB drop, so they REALLY work well on Planes.
[unknown: 9]:
10-May-2007
My name should get caught in your throat like a a painful peice of 
dry food...
Henrik:
10-May-2007
philB, look closely. he's holding a PSP :-)
PhilB:
10-May-2007
or maybe typing onto a PDA
PhilB:
10-May-2007
wish we had a PS3 that small !!
Ashley:
10-May-2007
Watching this on Safari/Quicktime I get sound and a green image?
[unknown: 9]:
10-May-2007
And that he has a name badge!!!!
Anton:
10-May-2007
Ah.. le son a cessé
Anton:
10-May-2007
oh goody a secret context !
Maxim:
10-May-2007
that sounded like a challenge  :-)
Maxim:
10-May-2007
docs? what'a that?
Gabriele:
10-May-2007
(btw docbase is already running, as carl said this morning, and carl 
has been writing a lot of things in it.)
Maxim:
10-May-2007
considers allowing object! to define the port handler... like a feel.. 
.MUCH easier to Tweak and scan handler
10201 / 6460812345...101102[103] 104105...643644645646647