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

World: r3wp

[Linux] group for linux REBOL users

Alan
8-Apr-2007
[1287]
to=that
btiffin
8-Apr-2007
[1288x3]
Alan; I don't know the deets, but ask about DO-BROWSER, one of the 
gurus might know something...
Alan does your Mandriva have a  sensible-browser  command?
If it does, we can get someone to update RAMBO ticket 3455 with this 
hint.
Alan
9-Apr-2007
[1291x2]
still kind of new to Mandriva-Linux if check and get back to you
not right now,am doing some updates and hopefully that command will 
be there  tried several commands I found on the net with no luck
btiffin
9-Apr-2007
[1293x2]
Alan; the sensible-browser seems to be a Debain branch feature.  
It's GPL so we can work that out.  The hint I left for the RAMBO 
folk is to internally call sensible-browser.  This won't work for 
us until RT does a build.  Once/if that is done, we can talk/plan 
more, about documenting getting browse native functioning.


In the meantime, try the  browse: [url /only] call reform ["path 
to browser command" rejoin [{"} url {"}]]

redef.  If you know the switches for your browser, you can even code 
this to support /only.
Debain is Debian
james_nak
9-Apr-2007
[1295]
Does anyone think that perhaps we may see a Rebol port to the Playstation 
3?
btiffin
9-Apr-2007
[1296]
That was mentioned in the blog on Vector.

http://www.rebol.net/cgi-bin/r3blog.r?view=0079
james_nak
9-Apr-2007
[1297]
Hmmm. Thanks. Wouldn't that be cool.
btiffin
9-Apr-2007
[1298x2]
I'm waiting for the Linux port to the Tungsten E2...that will be 
fun, with a little rebview running off an SD card.
Well, to be honest I'm a Nintendo fanboy.  So no  :)
james_nak
9-Apr-2007
[1300]
I waited many moons for a Palm port in the old rebol days... alas 
it was not to be. So then I got a Zaurus and alas again, no rebol. 
: (
Maxim
9-Apr-2007
[1301x2]
james, the palm was memory restricted in the days.
one process could not access enough ram to properly run any view 
app.
btiffin
9-Apr-2007
[1303x2]
The current port seems to be waiting on the Garnet OS group.  The 
Palm will all be running Linux soon.  Yeah soon.  Whatever that means.
Max; Yeah, that is still going to me an issue.
Maxim
9-Apr-2007
[1305x2]
and with many apps I see, it would still quickly be ram inhibited 
many apps use 20MB or more.
brian, yes linux is not too far away they where purchased by the 
no.1 linux handheld distributor... last I heard they are writing 
a palm emulator to be able to run normal palm apps on top of the 
linux kernel.
btiffin
9-Apr-2007
[1307]
I'm looking forward, but don't care nearly as much as R3 and Debian 
4.0  :)
Maxim
9-Apr-2007
[1308]
with linux instead, then we might have a better platform, since having 
64 mb palms is pretty much the minimum for a long time.  and if linux 
can be smart and allow us to use the SD cards as ram... well then 
there is no more problems.
btiffin
9-Apr-2007
[1309]
Yeah that's what I was reading.  Here's hoping REBOL/View runs.
Maxim
9-Apr-2007
[1310]
obviously the smaller screens also meen reduced memory footprint, 
since rebol/view has a lot of image clip regions cached... so smaller 
buttons and windows... means much less ram being used for those as 
well  :-)
btiffin
9-Apr-2007
[1311]
James; Do you like the Zaurus.  I've promised some of the staffers 
that I'd get them PDA's.  I was thinking about a low end Z 22
james_nak
9-Apr-2007
[1312]
I do but I wouldn't recommend it as a PDA.
Ladislav
9-Apr-2007
[1313]
Max, why don't you use LOAD in PARSE, if you want to? Example:

rule: [
	(result: make block! 0)
	any [
		[
			; trying to load
			pos: skip (
				next-rule: either error? try [
					set [value pos] load/next pos
				] [[end skip]] [[:pos]]
			) next-rule |
			; load didn't succeed, using something else
			copy value skip
		]
		(insert/only tail result get/any 'value)
	]
]

>> parse "1 2 a, 3" rule
== true
>> result
== [1 2 "a" "," 3]
btiffin
9-Apr-2007
[1314]
James; Thanks.  I'm still leaning toward cheap Z22s.
Maxim
9-Apr-2007
[1315x2]
well, its not that we can't right now... like you show, load can 
be called anywhere.


 (though I am going to admit I would not have figured out such an 
 elegent way to do it, *I* am not yet able to use the force... <ahem> 
 parse with such skill, MASTER JEDI  ;-) ... 


but did you see how much is needed to make that work and the twist 
of redefining a rule within the evaluated expression?  parse is supposed 
to scream in speed... having a load directive integrated would be 
MUCH faster IMHO, and would be MUCH simpler for the new guys on the 
block and us oldies too...  try to explain the above to the average 
joe and well... there goes the parser...  I only 'SEE' your example 
cause I've become able to fit parser in my mind, and I realize that 
even within the advanced REBOLer crowd... not everyone really grasps 
the parser...


one question though, does the set [value pos] define the word globally 
even if the entire above code is within a context which has a value 
and pos defined?
(and thanks for the example, I might just use it :-)
Ladislav
9-Apr-2007
[1317x2]
does the set [value pos] define the word globally
 - normal REBOL, so, if you use e.g.

use [result next-rule pos value] [
   rule: ...
]

then the variables are local, of course
twist of redefining a rule...

 - that is just to "tell PARSE" whether the paren operation succeeded 
 or not - [end skip] is failure
Graham
11-Apr-2007
[1319]
Often if you're running a script and you need to send an email, you 
can just use send.  But sometimes that doesn't work for various reasons 
.. like the internet connection being down.  So, I was wondering 
if it makes more sense to hand the email over the mail transport 
agent on your linux system.
Gabriele
11-Apr-2007
[1320]
if you have sendmail/postfix/whatever installed, just use localhost 
for your smtp in set-net.
btiffin
11-Apr-2007
[1321]
Max;  The Debian definition of "Free" is very very particular.  The 
DFSG allows for no strings attached.  The Mozilla team has placed 
copyrights on FireFox(tm) so, the Debian team wrestled with it and 
came up with Ice Weasel.  It's kinda dumb, but the DFSG is our friend. 
 If it comes from Debian Main, there are 'no strings attached'.
Maxim
11-Apr-2007
[1322]
so is it gpl or even freerer?  like bsd/mit ?
btiffin
11-Apr-2007
[1323]
GPL.  Extra Crispy GPL.  :)
Maxim
11-Apr-2007
[1324]
hum GPL itself is more like a 50 ton capable steel  cable when compared 
to a string.
btiffin
11-Apr-2007
[1325]
Other than Public Domain, I don't think there is a freer license. 
 Except for the fact you aren't free to restrict access to any stuff 
based on GPL...so freedom from / freedom to arises here.
Maxim
11-Apr-2007
[1326]
mit/bsd are freer in the sense where they do not remove your liberties 
about how you distribute your code.
btiffin
11-Apr-2007
[1327x2]
Yeah.  Agreed.
I may be wrong, but IIRC, Richard Stallman's original license had 
wording that you were not allowed to stop people from trying to 'steal' 
stuff based on the license.  :)
Maxim
11-Apr-2007
[1329x2]
but an mit/bsd license derived product can *become* close source 
in time... whereas a GPL-derived product cannot... but there is nothing 
stopping the "original" copyright holder to release further versions 
closed source.
MySQL being a good example.
btiffin
11-Apr-2007
[1331]
I don't know, I like the GPL, but it is definitely a 'headspace' 
issue.
Maxim
11-Apr-2007
[1332]
so even GPL does not guaranty long-term "freeness" from the original 
author.
btiffin
11-Apr-2007
[1333]
Nope.  Copyrights stay.  A good thing in my opinion. Again 'headspace'.
Maxim
11-Apr-2007
[1334x2]
that's the thing about public domain  :-)  no more rights, as free 
as a rock on the moon.
(if you can get one ;-)
btiffin
11-Apr-2007
[1336]
BSD is a respectable license.  But the GPL does not stop anyone from 
commercializing, it's just that you can't stop the next guy from 
giving the stuff away  for free.