/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Contents of /joko/doc/SampleTasks/joko_2003-03.twingle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations)
Sat Mar 8 07:55:59 2003 UTC (21 years, 8 months ago) by joko
Branch: MAIN
Changes since 1.14: +8 -1 lines
+ AUTOCOMMIT: updated/added content

1 @sequence meta
2 @title joko's sample notes - 2003-03 - ResourceIntegration
3 @subtitle ResourceIntegration II
4 @topic joko's Tasks
5 @author joko@netfrag.org
6 @document-mime-type text/plain
7 @document-mime-type text/english text/german
8 @document-mime-type text/vnd.twingle
9
10 @sequence meta
11 @document-history
12 @cvs-info
13 $Id: joko_2003-03.twingle,v 1.14 2003/03/08 07:25:57 joko Exp $
14 $Log: joko_2003-03.twingle,v $
15 Revision 1.14 2003/03/08 07:25:57 joko
16 + AUTOCOMMIT: updated/added content
17
18 Revision 1.13 2003/03/08 05:56:38 joko
19 + AUTOCOMMIT: updated/added content
20
21 Revision 1.12 2003/03/08 05:25:54 joko
22 + AUTOCOMMIT: updated/added content
23
24 Revision 1.11 2003/03/08 04:55:46 joko
25 + AUTOCOMMIT: updated/added content
26
27 Revision 1.10 2003/03/07 22:26:20 joko
28 + AUTOCOMMIT: updated/added content
29
30 Revision 1.9 2003/03/07 20:56:02 joko
31 + AUTOCOMMIT: updated/added content
32
33 Revision 1.8 2003/03/07 18:26:17 joko
34 + AUTOCOMMIT: updated/added content
35
36 Revision 1.7 2003/03/07 17:56:46 joko
37 + AUTOCOMMIT: updated/added content
38
39 Revision 1.6 2003/03/07 16:56:42 joko
40 + AUTOCOMMIT: updated/added content
41
42 Revision 1.5 2003/03/07 15:57:11 joko
43 + AUTOCOMMIT: updated/added content
44
45 Revision 1.4 2003/03/07 04:25:54 joko
46 + AUTOCOMMIT: updated/added content
47
48 Revision 1.3 2003/03/07 03:56:59 joko
49 + AUTOCOMMIT: updated/added content
50
51 Revision 1.2 2003/03/07 00:56:08 joko
52 + AUTOCOMMIT: updated/added content
53
54 Revision 1.1 2003/03/06 22:34:20 joko
55 + initial commit
56
57
58 @sequence meta
59 @x-transport
60 @x-transport-from grasshopper.netfrag.org
61 @x-transport-to quepasa.netfrag.org
62 @x-transporter Microsoft Windows
63 @x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)]
64 @x-transporter-protocol cvs client-server protocol
65 @x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f]
66 @x-transporter-protocol ssh [OpenSSH Version 2]
67 @x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f]
68 @x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)]
69 @x-transporter-protocol cvs client-server protocol
70 @x-transporter Linux running on quepasa.netfrag.org [Linux version 2.4.18-29um (root@linux) (gcc version 2.95.3 20010315 (SuSE)) #1 Sun May 26 17:01:48 CEST 2002]
71 @x-transporter-protocol ext3
72 @x-transporter Linux running on h1.service.netfrag.org [Linux version 2.4.10-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 Tue Sep 25 12:33:54 GMT 2001]
73 @x-transporter-protocol ext3
74 #@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle]
75
76 @sequence script
77 @set o=@todo
78
79
80
81 @sequence block
82 @injected
83 @date 2003-03-06 20:29
84 @file [unknown]
85 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
86 @x-transporter Microsoft COM
87 @x-transporter-protocol copy & paste negotiation
88 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
89
90
91 o use arial|verdana for netscape|mozilla rendering on netfrag.org
92
93 - We get spam!
94 After feeling relatively safe through amavis based email filtering, it happened again.
95 jonen recieved some spam again.
96
97 Why?
98 I believe the addresses get collected by foreign agents crawling
99 the growing content on netfrag.org.
100
101 What todo now?
102 Mungle email addresses published on netfrag.org through some lisp-
103 or scheme-based address-mungler found recently.
104 They stay rfc-compliant, but are (hopefully) unreachable for common
105 regex parsers.
106 Send info to ->jonen.
107 @tbd Automate this task! Do you wanna rewrite each address by hand...???
108
109 o personal requirement:
110 o daily: review contributions made by other users
111 o requirement to solve this: have everything as rss/rdf and filter the xml by author
112
113 o rss.netfrag.org (register)
114 o establish some web-based rss-browser embedding content from
115 o RssGenerators for local content ...
116 o news//rss (for news.netfrag.org)
117 o cvs//rss (for cvs.netfrag.org)
118 o ... and RssGateways to other ones, possibly at remote locations
119 o phpWiki//rss (for www.netfrag.org)
120 o TWiki//rss (for future www.netfrag.org)
121
122 o post to perl-development (nfo.dev.perl):
123 o how to abstract the view/editing of xml-files via an api?
124 o fetch: all|single-node
125 o edit: single-node flattened into an object
126 o browser layer: locator registry (pointing to a) an orm-db and b) to a file-set of xml-files (our control-db))
127 o item layer: view/edit nodes of an xml-file a) in a tree-editor (look at HTML_Tree_XYZ itself!!!) and
128 b) split into our "flat-components" Item and List (object-like)
129
130 how b)? solve in backend!
131 o backend
132 o change values containing references to their interpolated placeholders to convert a node to an item
133 ->getNode(...)
134 example: getNode('root')
135 o place querying api via XPath parallel to that -> also returns a single node or multiples (a node-set)
136 ->getNodeSet(...)
137 example: getNodeSet('xpath-query|named-filter')
138 o establish backend querying api for xml-documents on top of that!
139 ->sendQuery(...) should dispatch to one of ->getNode or ->getNodeSet
140 o frontend
141 o browse relations (parent-, child-node) using the ValueInterpolator and the ItemComponent
142 o edit Attributes and Content of Nodes with the ItemComponent showing *two* areas (this is the "FlatteningOfNodes"):
143 o -> attributes
144 o -> content
145 That's the way various XML-EasyTree-Xyz implementations use to work.
146 @link http://www.cpan.org/
147 o frontend issues these generic rpc-commands to the backend (encapsulated somewhere)
148 o ->sendQuery(array(remote=1, rpc=1, blah=1, $query )) -
149 which gets dispatched by switching some stuff from "$query" to these methods under the hood (in fact, *implemented at backend side*)
150 o ->getNodeSet('xpath-query|named-filter')
151 example:
152 $xml_filter_query = array( 'return' => 'object|object-set', [filter => 'xpath-query|named-filter'] );
153 (speak: Item or List)
154 sendQuery(array(remote=1, rpc=1, blah=1, $xml_filter_query , xml=1??? )) -
155
156 --> what is 'remote' and/or 'rpc' about???
157 if i remember that right - 'remote' means 'orm' (the datasource-type) and 'rpc' means 'rpc' (the transport-type)
158
159 o new twingle-symbol-topology using ...
160 <code>
161 o ... @-tags (stolen from JavaDoc via phpDocumentor)
162 o @-tags only refer to scopes they live in
163 o make the basic work: @todo, @link, @see, etc. (but enhanced - of course - since perl doesn't limit you in any way....!!!)
164 o add some more: @sequence, @is-a, @title
165 o @see
166 o @embed this-and-that from these .twingle files:
167 o @link DummyNamespaces in PHP - final proposal.twingle
168 o @link Re - Namespaces in PHP.twingle
169 </code>
170
171 o project-metadata: / nfo topics
172 <code>
173 @is-a rfc
174 @todo tbd
175 x @topic source(cvs)
176 x @topic doc(api)
177 o @topic source(raw) (via symlinks: expand directories first, symlink files afterwards!)
178 o @topic doc(tutorial)
179 o @topic doc(examples)
180 o @topic doc(howto)
181 o introduce: @subtopic:
182 @topic source
183 @subtopic raw|cvs
184 @topic doc
185 @subtopic api|tutorial|examples|howto
186 </code>
187
188 o register: api.netfrag.org
189
190 o arcor!!!
191
192 o working alpha version of "Ts" on new server niu!!!
193
194 o .phpdocrc: split main code to module, integrate index-generation of predefined (registered) modules
195
196 o RssNewsletter:
197 o schedule
198 o hourly, daily, weekly, monthly, on-incoming
199 o choose topic
200 o all topics (cvs, news, api, docs, www)
201 o choose destination
202 o filtered-rss made available at specified url as xml or xhtml
203 o via email
204 o archived in archive-type (zip|tar) with format (html|)
205 made available at specified url
206
207 o look at FreeBSD's "doscmd"!!!
208
209 o mechanism to refactor old smtp-mail-messages into new nntp-news-posts
210 all our tools fail! *forwarding* the message seems to break mime (for e.g. the mozilla-viewer and probably others)
211 o possible solution: strip "--- forwarded by ---" - header before actually posting
212 maybe identifiable by subject: [Fwd: ]
213
214 o enhance Twingle:
215 o twingle2message:
216 o twingle2mail: twingle2rfc822, twingle2mime
217 o twingle2news: twingle2rfc
218
219 o gather version info from installed components:
220 o CPAN
221 o PEAR
222 x GNU: <program> --version (e.g.: cvs --version)
223 x OpenSSH: ssh -V
224 x Linux: cat /proc/version
225 o our Perl-/PHP- component system
226
227
228
229 @sequence block
230 @written
231 @date 2003-03-06
232 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
233
234 o what are the MIME-types of XML-payloads sent between (e.g.) RPCXML-hosts???
235 text/xml???
236
237 look at /etc/mime.types!!!
238 e.g.: (stripped from there) - looking interesting:
239
240 text/*
241 text/x-java
242 text/uri-list
243 text/rfc822-headers
244 text/directory
245 text/vnd.IPTC.NewsML
246 text/vnd.IPTC.NITF
247 text/vnd.motorola.reflex
248 text/vnd.DMClientScript
249 text/richtext
250 text/rtf
251 text/plain
252 text/comma-seperated-values
253 text/css
254 text/enriched
255
256 --> vnd=vendor???
257
258 @sequence references
259 @title The text/enriched MIME Content-type
260 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1896.html
261 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
262 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1521.html
263 @title The text/enriched MIME Content-type
264 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1523.html
265 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
266 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1341.html
267 @title The text/enriched MIME Content-type
268 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1563.html
269
270 message/delivery-status
271 message/disposition-notification
272 message/external-body
273 message/http
274 message/s-http
275 message/news
276 message/partial
277 message/rfc822
278
279 inode/chardevice
280 inode/blockdevice
281 inode/directory-locked
282 inode/directory
283 inode/fifo
284 inode/socket
285
286 multipart/*
287
288 o refactor some twingle tags using ETF:
289 @link http://citeseer.nj.nec.com/borenstein94textenriched.html
290 --- snip ---
291 @misc{ borenstein-textenriched,
292 author = "N. Borenstein",
293 title = "The text/enriched MIME Content-type",
294 url = "citeseer.nj.nec.com/borenstein94textenriched.html" }
295 --- snip ---
296
297 o re-enable yakka!
298 @link http://netfrag.org/~bareface/yakka/
299
300 o search.netfrag.org
301 o enable mnoGoSearch to index http://www.netfrag.org/docs/code/api/
302
303 o post xml-via-rpc-querying proposal from above to nfo.dev.perl and cc to jonen!
304
305 o enhancement for Twingle AutoLink LinkInterpolation:
306 o don't resolve namespace identifiers (e.g. 'Data::Storage') against
307 global search.netfrag.org/Search::This::Namespace
308 o query namespaced links against an organization-wide (custom) NamespaceRegistry before!!!
309 o use mysql/Tangram?
310 o use xml?
311 o just fallback to "GlobalSerchMode" if nothing was found in the step before!
312 o Data::Storage will directly be resolved to this url or tag afterwards:
313 @link http://www.netfrag.org/docs/topics/perl-libs/Data-Storage.html
314 and not to
315 @link http://www.netfrag.org/search/?q=Data::Storage&o=1&ul=/
316 like it was before!
317
318 o mimic the functionality of TLTP (The LDAP Trigger Process) by using Data::Rap.
319
320 o applications to be solved using LDAP
321 o organization-wide addressbook
322 o global / per-app software component registry
323 o organization-wide item library -> inventory
324
325 dot http://www.nc.ihost.com/ -> IBM
326
327 @topic EasyAuthoring
328 @see sdf
329 @see text/enriched
330 @see ETF
331 @see WPP
332 @link http://the.sunnyspot.org/wpp/index.html
333
334 @company Watchfire
335 @topic centrally located site integrity management software
336 @link http://www.watchfire.com/
337
338 o look at brian finley's "Storage" article series at http://hpc.devchannel.org/ !!!
339
340 - f-prot error on quepasa.netfrag.org:
341 root@quepasa:~# tail -f /var/log/mail.log
342 --- snip ---
343 Mar 7 18:23:30 quepasa amavis[20705]: Virus scanner failure: /usr/local/f-prot/f-prot (error code: 1)
344 Mar 7 18:23:30 quepasa amavis[20705]: virus_scan FAILED, retry: All virus scanners failed! at /usr/sbin/amavisd line 933, <GEN9> line 4712.
345 Mar 7 18:23:30 quepasa amavis[20705]: mail processing failed, RETRY/TEMPFAIL
346 Mar 7 18:23:30 quepasa sm-mta[20758]: h27HLveE020758: Milter: data, reject=451 4.7.1 Please try again later
347 --- snip ---
348 root@quepasa:~# /usr/local/f-prot/f-prot
349 Error: SIGN.DEF is damaged or incompatible with this version of F-PROT.
350 root@quepasa:~# /usr/local/f-prot/check-updates.sh
351 root@quepasa:~# /usr/local/f-prot/f-prot
352
353
354
355 @sequence block
356 @injected
357 @date 2003-03-07 19:01
358 @file [unknown]
359 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
360 @x-transporter Microsoft COM
361 @x-transporter-protocol copy & paste negotiation
362 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
363
364 @set ->=@see
365
366
367 o .phpdocrc: Tie::IxHash
368
369 - writing a browser is a complex task
370 -> Internet Explorer
371 -> KDE xyz
372 -> Mozilla
373
374 - writing a mailer is a complex task
375 -> Microsoft Outlook and (-Express)
376 -> KDE (KMail, Kontact, Kolab)
377 -> Evolution
378 -> Mahogany
379
380
381
382 @sequence block
383 @written
384 @date 2003-03-07
385
386 - janosch: pdf-gateway!?
387
388 o setup ->colorize on quepasa.netfrag.org
389
390 o refactor DesignPattern::MVC
391 o new: @uses instances of classes inherited from the base ones
392 DesignPattern::MVC::Model and DesignPattern::MVC::View, where
393 - DesignPattern::MVC::Model is-a DesignPattern::Observer::Subject
394 - DesignPattern::MVC::View is-a DesignPattern::Observer
395 o new: refactor the rules-subsystem to be a ChangeManager
396 between Subject and Observer sits a ChangeManager acting as mediator (is-a DesignPattern::Mediator)
397 @see http://selab.korea.ac.kr/selab/courses/GoF-patterns/observer.htm
398
399 o Twingle!
400 o twingle -> dispatchmail (Twingle::Mail)
401 o twingle -> twingledoc (Twingle::Doc)
402
403 o refactor to "twingled/":
404 o http://netfrag.org/~joko/computing/overview/topics/topics/
405 o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/
406 o update http://netfrag.org/~joko/computing/overview/topics/topics.html
407
408 x re-enable Yakka
409
410 o setup phpDocumentor from cvs
411
412 o "subscribe" a Folder (using rss/rdf!)
413
414 o Arial (or similar font w/o serifs) for Mozilla!
415
416 o edit preferences: Font (family, size)
417
418 o debian-upgrade -> perl-upgrade => missing CPAN packages =>
419 o check in intervals:
420 o /data/opt/dispatchmail/bin/dispatchmail
421 --- snip --- [/var/log/mail.log]
422 Mar 8 07:15:51 quepasa sm-mta[30731]: h286FmeE030726: to=|"/data/opt/dispatchmail/bin/dispatchmail --base=/home/joko/virtual/joko_mail", ctladdr=<joko_mail@quepasa.netfrag.org> (1000/100), delay=00:00:03, xdelay=00:00:01, mailer=prog, pri=30962, dsn=5.3.0, stat=unknown mailer error 2
423 Mar 8 07:15:51 quepasa sm-mta[30731]: h286FmeE030726: h286FpeD030731: DSN: unknown mailer error 2
424 Mar 8 07:15:52 quepasa sm-mta[30731]: h286FpeD030731: to=|"/data/opt/dispatchmail/bin/dispatchmail --base=/home/joko/virtual/joko_mail", ctladdr=<joko_mail@quepasa.netfrag.org> (1000/100), delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=31986, dsn=5.3.0, stat=unknown mailer error 2
425 Mar 8 07:15:52 quepasa sm-mta[30731]: h286FpeD030731: h286FpeE030731: return to sender: unknown mailer error 2
426 Mar 8 07:15:53 quepasa sm-mta[30731]: h286FpeE030731: to=|"/data/opt/dispatchmail/bin/dispatchmail --base=/home/joko/virtual/joko_mail", ctladdr=joko_mail (1000/100), delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=33010, dsn=5.3.0, stat=unknown mailer error 2
427 Mar 8 07:15:53 quepasa sm-mta[30731]: h286FpeD030731: Saved message in /var/lib/sendmail/dead.letter
428 --- snip ---
429 Can't locate Hash/Merge.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at ./dispatchmail line 34.
430 BEGIN failed--compilation aborted at ./dispatchmail line 34.
431 x perl -MCPAN -e "install Hash::Merge"
432 dependencies resolved automagically: ->Clone
433 o /data/opt/dispatchmail/bin/postmessage
434 --- snip --- [/var/log/mail.log]
435 Mar 8 07:26:40 quepasa sm-mta[30953]: h286Q5eE030946: to=|/data/opt/dispatchmail/bin/dispatchmail, ctladdr=<links-computing@netfrag.org> (1014/1014), delay=00:00:32, xdelay=00:00:22, mailer=prog, pri=47232, dsn=5.3.0, stat=unknown mailer error 2
436 Mar 8 07:26:41 quepasa sm-mta[30953]: h286Q5eE030946: h286QfeD030953: DSN: unknown mailer error 2
437 Mar 8 07:26:47 quepasa sm-mta[30946]: h286Q5eG030946: collect: premature EOM: unexpected close
438 Mar 8 07:26:47 quepasa sm-mta[30946]: h286Q5eG030946: collect: unexpected close on connection from pD9E77CD4.dip.t-dialin.net, sender=<andreas.motl@ilo.de>
439 --- snip ---
440 Can't locate News/Article.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at ./postmessage line 8.
441 BEGIN failed--compilation aborted at ./postmessage line 8.
442 x perl -MCPAN -e "install News::Article"
443 o /data/opt/dispatchmail/bin/buildmail
444 Can't locate MIME/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at ./buildmail line 7.
445 BEGIN failed--compilation aborted at ./buildmail line 7.
446 x perl -MCPAN -e "install MIME::Lite"
447 o /data/opt/dispatchmail/bin-tests/build_dispatch_mode mail2news alt.test
448 DesignPattern::Bridge->load: Can't locate mixin/with.pm in @INC (@INC contains: /data/libs/nfo/perl/libs /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl .) at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 6, <STDIN> line 16.
449 BEGIN failed--compilation aborted at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 6, <STDIN> line 16.
450 Compilation failed in require at (eval 6) line 1, <STDIN> line 16.
451 BEGIN failed--compilation aborted at (eval 6) line 1, <STDIN> line 16.
452 (/data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm:193)
453 Can't locate object method "Newsgate" via package "Mail::Audit::Dispatch" at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm line 194, <STDIN> line 16.
454 x perl -MCPAN -e "install mixin"
455 o check okay:
456 --- snip --- [/var/log/mail.log]
457 Mar 8 07:45:55 quepasa sm-mta[31471]: h286jNeD031413: to=|"/data/opt/dispatchmail/bin/dispatchmail --base=/home/joko/virtual/joko_mail", ctladdr=<joko_mail@localhost> (1000/100), delay=00:00:32, xdelay=00:00:05, mailer=prog, pri=577260, dsn=2.0.0, stat=Sent
458 --- snip ---
459
460 o @lookup Data::Match - Complex data structure pattern matching [by Kurt A. Stephens]
461 @see also perl, Array::PatternMatcher, Data::Compare, Data::Dumper, Data::DRef, Data::Walker
462
463 o make up a notation which can explicit describe component far away
464 e.g. CPAN--Hash::Merge
465
466 o @lookat News::FormReply News::FormArticle News::AutoReply
467
468 x apt-get install dia
469 x apt-get install dia2code
470
471

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed