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

World: r3wp

[Linux] group for linux REBOL users

btiffin
5-Apr-2007
[1271x2]
Nice.  Good luck.
Ahh, blows.  It gets very very particular.
Graham
5-Apr-2007
[1273x2]
This is getting silly.  I have to run a daytime server on windows 
2003 server so that my cron job on the fedora side can read the time 
and then set the time.
well, that seems to work though!
btiffin
5-Apr-2007
[1275x2]
:)  Long live the King.
Does the clock drift immediately after that?  Or did you win.
Graham
5-Apr-2007
[1277x3]
well it drifts but I correct it every 2 minutes with my rebol script.
forever [
	if error? set/any 'err try [
		d: read daytime://192.168.220.2
		d: load d

  call rejoin [ "date -s " {"} d/month "/" d/day "/" d/year " " d/time 
  {"} ]
	][ print mold disarm err ]
	wait 0:02:00
] 

]
something along those lines
btiffin
6-Apr-2007
[1280]
Ok for now.  I'd keep looking into though.  Shocking the system clock 
every two minutes...hmmm.
Graham
6-Apr-2007
[1281]
well  I have to install the vmware tools .. but I can't recompile 
the kernel without the kernel headers and I can't find them yet.
Henrik
6-Apr-2007
[1282]
http://www.stud.fit.vutbr.cz/~xcapmi00/etoile/<--- Étoilé is starting 
to look very interesting. Here's how they want it to work.
btiffin
7-Apr-2007
[1283]
The insiders are pre-planning Debian etch release parties...woohoo! 
 Debian GNU/Linux 4.0

If you haven't, you gotta.  The only cost is time.
btiffin
8-Apr-2007
[1284]
Debian GNU/Linux 4.0 Rev 0 Released!  Happy Happy Easter.
http://debian.org

You gotta.
Alan
8-Apr-2007
[1285x3]
damn I was there 1 hour ago and it wasn't ready yet.So I just reinstalled 
Mandriva,some thing happened to my home dir.First thing after a reboot;install 
View/Altme :)
now to find to file that"hopefully" will get set-browser-path working
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.