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

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