Path: number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 11 Jan 2006 19:12:33 -0600
Newsgroups: fidonet.linux
From: Maurice_Kinal@p9.f38.n261.z1
Date: Wed, 11 Jan 2006 18:46:50 -0500
Subject: eRuby and uPerl
Message-ID:
References:
Organization: The Pointy Stick Society XV - Linux Point
2000
226/160
1396
1418
Lines: 50
NNTP-Posting-Host: 24.54.66.112
properly
Xref: number1.nntp.dca.giganews.com fidonet.linux:458
Hey Kenneth!
Jan 11 15:55 06, Kenneth Parrish wrote to Maurice Kinal:
KP> DESCRIPTION
KP> eruby interprets a Ruby code embedded text file. For exam?
KP> ple, eruby enables you to embed a Ruby code to a HTML
KP> file. A Ruby block starts with `'.
KP> eRuby replaces the block with its output. If `<%' is fol?
KP> lowed by `=', eRuby replaces the block with a value of the
KP> block. If `<%' is followed by `#', the block is ignored
KP> as a comment.
I can see that being useful. Maybe I'll write a simular filter using microperl
and/or bash. That way I won't need a web server to serve up pages to a local
text browser. Offhand this sounds quite doable.
MK>> bash. No additional libs are required but the modules would be
MK>> required for cgi scripting etc.
KP> yes, i think
See above. This should work without ruby and I shouldn't even need perl
modules to pull it off. Might even get away with just bash scripted sed with the
output being redirected to a browser. However I'm betting microperl would be
more effecient and faster.
KP> 2.6.15-git7 is big
KP> -rw------- 1 ken users 3189279 Jan 11 03:53
KP> /home/ken/build/kernel/patch-2.6.15-git7.bz2
Yeah that is big. I'll have to check the changelog later.
KP> it configured and compiled nicely for me but i included some of the
KP> new stuff (experimental) and had a lockup soon,
I hate when that happens.
KP> :) some nice features even now
Sounds great.
KP> ... Try not to have a good time. This is supposed to be educational.
Nah. The plan here is to have fun despite it being educational. When it stops
being fun I'll turn on the TV. No danger of 'educational' there.
Life is good,
Maurice
|