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

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