I`ve attached the short invite to my ( CoSy_MidWinter_Gathering 13 ) for
those of you around NYC . It will be the most interesting thing going on
next Friday . Click the link to the full invite page .
Yesterday , since I have not gotten the Sony I`m now using configured to
dial the phone from DOS anymore , I changed the line in the PFKDEFS
function in CoSy/APL
from | s 10 PFKSET ' CALL ''; :'' RDWD cursor ' | F10
to | s 10 PFKSET ' p KDO Z & cursor is 1 0 + cursor & O P ' | F10
which provides an environment in which ,
if I tap Enter , it "text processes" -- word wraps ;
if I tap F6 , it interprets the line in CoSy/APL , inserting any
answer in the text ;
if I tap F10 , it interprets the line in K , inserting any
answer in the text .
Very convenient - as long a I hit the correct key . Sorry I don`t have time
or energy to change more than one line per month or so .
A few days ago , in some Libertarian discussion of upgrading our web
facilities , an example of CommaSeparatedValues parsing in PERL was posted .
It convices me PERL is far from understanding the insights of APLs .
I replied with functions for CSV conversion cleaned up from some I`ve
created to convert my CitiBank account records :
--
SP : " " / the Space character
QT : "\"" / the Quote character
NE : { ~ x = y } / Not equal
QTMASK : { x | NE\ x : x = QT } / boolean mask of quoted substrings
DRB : { ( SP = * x ) _ x : x _di & t & 1 ! t : x = SP } / Delete Redundant
/ Blanks
CommaSplit : { ( , * x ) , 1 _' 1 _ x : ( 0 ,&(~ QTMASK . x)&x = ",") _ x }
/ Splits comma separated fields of CSV record .
CsvCnvrt : { .:'' + CommaSplit' DRB' x } / convert input records to columns of
/ converted values ( deleting redundant blanks )
.
--
Much more compact , of course , and more useful because of the nameable object
nature of the result .
I mentioned that it`s the tek of puting this stuff under a remotely hosted
web service that I need to know .
Hope to see some of you on the Frying Pan .
--
--- BobArmstrong --
http://CoSy.com -- 212-285-1864 ---
*** 14th CoSy_MidWinter_Gathering ( and Campaign Kickoff ) Feb 4 ***
Lightship "Frying Pan" , Pier 63 , 23rd St @ Hudson River
See
http://cosy.com/cal00/cg000204.htm
Libertarian candidate , (NY-8) in 2000 :
http://www.boba-in-y2k.org
Join the advisors :
http://www.egroups.com/list/boba-in-y2k/
"Let no man posture as an advocate of freedom if he claims the right to
establish HIS version of a good society where individual dissenters are
to be suppressed by means of physical force ."
Ayn Rand ; For the New Intellectual , p57 ; 1961 .
See
http://cosy.com/home.htm#Today for recent commentary and events .
Join the mail group :
http://www.egroups.com/group/cosy-notecomputing/
and download CoSy2000/APL NoteComputing Environment from the Vault .
** I reserve the right to post all communications I receive or
generate to CoSy website for further reflection .