/[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.57 - (show annotations)
Wed Mar 12 04:55:52 2003 UTC (21 years, 4 months ago) by joko
Branch: MAIN
Changes since 1.56: +5 -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.56 2003/03/12 04:26:09 joko Exp $
14 $Log: joko_2003-03.twingle,v $
15 Revision 1.56 2003/03/12 04:26:09 joko
16 + AUTOCOMMIT: updated/added content
17
18 Revision 1.55 2003/03/12 02:55:54 joko
19 + AUTOCOMMIT: updated/added content
20
21 Revision 1.54 2003/03/12 01:55:58 joko
22 + AUTOCOMMIT: updated/added content
23
24 Revision 1.53 2003/03/12 01:25:57 joko
25 + AUTOCOMMIT: updated/added content
26
27 Revision 1.52 2003/03/11 23:55:58 joko
28 + AUTOCOMMIT: updated/added content
29
30 Revision 1.51 2003/03/11 23:25:49 joko
31 + AUTOCOMMIT: updated/added content
32
33 Revision 1.50 2003/03/11 22:56:12 joko
34 + AUTOCOMMIT: updated/added content
35
36 Revision 1.48 2003/03/11 22:03:23 joko
37 + AUTOCOMMIT: updated/added content
38
39 Revision 1.47 2003/03/11 21:05:22 joko
40 + AUTOCOMMIT: updated/added content
41
42 Revision 1.45 2003/03/11 18:55:52 joko
43 + AUTOCOMMIT: updated/added content
44
45 Revision 1.43 2003/03/11 17:56:02 joko
46 + AUTOCOMMIT: updated/added content
47
48 Revision 1.42 2003/03/11 15:26:01 joko
49 + AUTOCOMMIT: updated/added content
50
51 Revision 1.41 2003/03/11 14:56:02 joko
52 + AUTOCOMMIT: updated/added content
53
54 Revision 1.40 2003/03/11 06:25:59 joko
55 + AUTOCOMMIT: updated/added content
56
57 Revision 1.39 2003/03/11 05:56:44 joko
58 + AUTOCOMMIT: updated/added content
59
60 Revision 1.38 2003/03/11 05:26:23 joko
61 + AUTOCOMMIT: updated/added content
62
63 Revision 1.37 2003/03/11 04:25:58 joko
64 + AUTOCOMMIT: updated/added content
65
66 Revision 1.36 2003/03/11 02:55:54 joko
67 + AUTOCOMMIT: updated/added content
68
69 Revision 1.35 2003/03/11 01:55:57 joko
70 + AUTOCOMMIT: updated/added content
71
72 Revision 1.34 2003/03/10 23:55:51 joko
73 + AUTOCOMMIT: updated/added content
74
75 Revision 1.33 2003/03/10 18:55:55 joko
76 + AUTOCOMMIT: updated/added content
77
78 Revision 1.32 2003/03/10 17:56:05 joko
79 + AUTOCOMMIT: updated/added content
80
81 Revision 1.31 2003/03/10 16:25:55 joko
82 + AUTOCOMMIT: updated/added content
83
84 Revision 1.30 2003/03/10 03:56:32 joko
85 + AUTOCOMMIT: updated/added content
86
87 Revision 1.29 2003/03/10 03:27:24 joko
88 + AUTOCOMMIT: updated/added content
89
90 Revision 1.27 2003/03/09 19:56:04 joko
91 + AUTOCOMMIT: updated/added content
92
93 Revision 1.25 2003/03/08 23:26:21 joko
94 + AUTOCOMMIT: updated/added content
95
96 Revision 1.24 2003/03/08 22:56:30 joko
97 + AUTOCOMMIT: updated/added content
98
99 Revision 1.23 2003/03/08 18:26:20 joko
100 + AUTOCOMMIT: updated/added content
101
102 Revision 1.21 2003/03/08 14:26:13 joko
103 + AUTOCOMMIT: updated/added content
104
105 Revision 1.20 2003/03/08 13:56:42 joko
106 + AUTOCOMMIT: updated/added content
107
108 Revision 1.19 2003/03/08 12:56:24 joko
109 + AUTOCOMMIT: updated/added content
110
111 Revision 1.18 2003/03/08 12:27:20 joko
112 + AUTOCOMMIT: updated/added content
113
114 Revision 1.17 2003/03/08 11:27:00 joko
115 + AUTOCOMMIT: updated/added content
116
117 Revision 1.16 2003/03/08 08:56:05 joko
118 + AUTOCOMMIT: updated/added content
119
120 Revision 1.15 2003/03/08 07:55:59 joko
121 + AUTOCOMMIT: updated/added content
122
123 Revision 1.14 2003/03/08 07:25:57 joko
124 + AUTOCOMMIT: updated/added content
125
126 Revision 1.13 2003/03/08 05:56:38 joko
127 + AUTOCOMMIT: updated/added content
128
129 Revision 1.12 2003/03/08 05:25:54 joko
130 + AUTOCOMMIT: updated/added content
131
132 Revision 1.11 2003/03/08 04:55:46 joko
133 + AUTOCOMMIT: updated/added content
134
135 Revision 1.10 2003/03/07 22:26:20 joko
136 + AUTOCOMMIT: updated/added content
137
138 Revision 1.9 2003/03/07 20:56:02 joko
139 + AUTOCOMMIT: updated/added content
140
141 Revision 1.8 2003/03/07 18:26:17 joko
142 + AUTOCOMMIT: updated/added content
143
144 Revision 1.7 2003/03/07 17:56:46 joko
145 + AUTOCOMMIT: updated/added content
146
147 Revision 1.6 2003/03/07 16:56:42 joko
148 + AUTOCOMMIT: updated/added content
149
150 Revision 1.5 2003/03/07 15:57:11 joko
151 + AUTOCOMMIT: updated/added content
152
153 Revision 1.4 2003/03/07 04:25:54 joko
154 + AUTOCOMMIT: updated/added content
155
156 Revision 1.3 2003/03/07 03:56:59 joko
157 + AUTOCOMMIT: updated/added content
158
159 Revision 1.2 2003/03/07 00:56:08 joko
160 + AUTOCOMMIT: updated/added content
161
162 Revision 1.1 2003/03/06 22:34:20 joko
163 + initial commit
164
165
166 @sequence meta
167 @x-transport
168 @x-transport-from grasshopper.netfrag.org
169 @x-transport-to quepasa.netfrag.org
170 @x-transporter Microsoft Windows
171 @x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)]
172 @x-transporter-protocol cvs client-server protocol
173 @x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f]
174 @x-transporter-protocol ssh [OpenSSH Version 2]
175 @x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f]
176 @x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)]
177 @x-transporter-protocol cvs client-server protocol
178 @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]
179 @x-transporter-protocol ext3
180 @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]
181 @x-transporter-protocol ext3
182 #@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle]
183
184 @sequence script
185 @set o=@todo
186
187
188
189 @sequence block
190 @injected
191 @date 2003-03-06 20:29
192 @file [unknown]
193 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
194 @x-transporter Microsoft COM
195 @x-transporter-protocol copy & paste negotiation
196 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
197
198
199 o use arial|verdana for netscape|mozilla rendering on netfrag.org
200
201 - We get spam!
202 After feeling relatively safe through amavis based email filtering, it happened again.
203 jonen recieved some spam again.
204
205 Why?
206 I believe the addresses get collected by foreign agents crawling
207 the growing content on netfrag.org.
208
209 What todo now?
210 Mungle email addresses published on netfrag.org through some lisp-
211 or scheme-based address-mungler found recently.
212 They stay rfc-compliant, but are (hopefully) unreachable for common
213 regex parsers.
214 Send info to ->jonen.
215 @tbd Automate this task! Do you wanna rewrite each address by hand...???
216
217 o personal requirement:
218 o daily: review contributions made by other users
219 o requirement to solve this: have everything as rss/rdf and filter the xml by author
220
221 o rss.netfrag.org (register)
222 o establish some web-based rss-browser embedding content from
223 o RssGenerators for local content ...
224 o news//rss (for news.netfrag.org)
225 o cvs//rss (for cvs.netfrag.org)
226 o ... and RssGateways to other ones, possibly at remote locations
227 o phpWiki//rss (for www.netfrag.org)
228 o TWiki//rss (for future www.netfrag.org)
229
230 o post to perl-development (nfo.dev.perl):
231 o how to abstract the view/editing of xml-files via an api?
232 o fetch: all|single-node
233 o edit: single-node flattened into an object
234 o browser layer: locator registry (pointing to a) an orm-db and b) to a file-set of xml-files (our control-db))
235 o item layer: view/edit nodes of an xml-file a) in a tree-editor (look at HTML_Tree_XYZ itself!!!) and
236 b) split into our "flat-components" Item and List (object-like)
237
238 how b)? solve in backend!
239 o backend
240 o change values containing references to their interpolated placeholders to convert a node to an item
241 ->getNode(...)
242 example: getNode('root')
243 o place querying api via XPath parallel to that -> also returns a single node or multiples (a node-set)
244 ->getNodeSet(...)
245 example: getNodeSet('xpath-query|named-filter')
246 o establish backend querying api for xml-documents on top of that!
247 ->sendQuery(...) should dispatch to one of ->getNode or ->getNodeSet
248 o frontend
249 o browse relations (parent-, child-node) using the ValueInterpolator and the ItemComponent
250 o edit Attributes and Content of Nodes with the ItemComponent showing *two* areas (this is the "FlatteningOfNodes"):
251 o -> attributes
252 o -> content
253 That's the way various XML-EasyTree-Xyz implementations use to work.
254 @link http://www.cpan.org/
255 o frontend issues these generic rpc-commands to the backend (encapsulated somewhere)
256 o ->sendQuery(array(remote=1, rpc=1, blah=1, $query )) -
257 which gets dispatched by switching some stuff from "$query" to these methods under the hood (in fact, *implemented at backend side*)
258 o ->getNodeSet('xpath-query|named-filter')
259 example:
260 $xml_filter_query = array( 'return' => 'object|object-set', [filter => 'xpath-query|named-filter'] );
261 (speak: Item or List)
262 sendQuery(array(remote=1, rpc=1, blah=1, $xml_filter_query , xml=1??? )) -
263
264 --> what is 'remote' and/or 'rpc' about???
265 if i remember that right - 'remote' means 'orm' (the datasource-type) and 'rpc' means 'rpc' (the transport-type)
266
267 o new twingle-symbol-topology using ...
268 <code>
269 o ... @-tags (stolen from JavaDoc via phpDocumentor)
270 o @-tags only refer to scopes they live in
271 o make the basic work: @todo, @link, @see, etc. (but enhanced - of course - since perl doesn't limit you in any way....!!!)
272 o add some more: @sequence, @is-a, @title
273 o @see
274 o @embed this-and-that from these .twingle files:
275 o @link DummyNamespaces in PHP - final proposal.twingle
276 o @link Re - Namespaces in PHP.twingle
277 </code>
278
279 o project-metadata: / nfo topics
280 <code>
281 @is-a rfc
282 @todo tbd
283 x @topic source(cvs)
284 x @topic doc(api)
285 o @topic source(raw) (via symlinks: expand directories first, symlink files afterwards!)
286 o @topic doc(tutorial)
287 o @topic doc(examples)
288 o @topic doc(howto)
289 o introduce: @subtopic:
290 @topic source
291 @subtopic raw|cvs
292 @topic doc
293 @subtopic api|tutorial|examples|howto
294 </code>
295
296 o register: api.netfrag.org
297
298 o arcor!!!
299
300 o working alpha version of "Ts" on new server niu!!!
301
302 o .phpdocrc: split main code to module, integrate index-generation of predefined (registered) modules
303
304 o RssNewsletter:
305 o schedule
306 o hourly, daily, weekly, monthly, on-incoming
307 o choose topic
308 o all topics (cvs, news, api, docs, www)
309 o choose destination
310 o filtered-rss made available at specified url as xml or xhtml
311 o via email
312 o archived in archive-type (zip|tar) with format (html|)
313 made available at specified url
314
315 o look at FreeBSD's "doscmd"!!!
316
317 o mechanism to refactor old smtp-mail-messages into new nntp-news-posts
318 all our tools fail! *forwarding* the message seems to break mime (for e.g. the mozilla-viewer and probably others)
319 o possible solution: strip "--- forwarded by ---" - header before actually posting
320 maybe identifiable by subject: [Fwd: ]
321
322 o enhance Twingle:
323 o twingle2message:
324 o twingle2mail: twingle2rfc822, twingle2mime
325 o twingle2news: twingle2rfc
326
327 o gather version info from installed components:
328 o CPAN
329 o PEAR
330 x GNU: <program> --version (e.g.: cvs --version)
331 x OpenSSH: ssh -V
332 x Linux: cat /proc/version
333 o our Perl-/PHP- component system
334
335
336
337 @sequence block
338 @written
339 @date 2003-03-06
340 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
341
342 o what are the MIME-types of XML-payloads sent between (e.g.) RPCXML-hosts???
343 text/xml???
344
345 look at /etc/mime.types!!!
346 e.g.: (stripped from there) - looking interesting:
347
348 text/*
349 text/x-java
350 text/uri-list
351 text/rfc822-headers
352 text/directory
353 text/vnd.IPTC.NewsML
354 text/vnd.IPTC.NITF
355 text/vnd.motorola.reflex
356 text/vnd.DMClientScript
357 text/richtext
358 text/rtf
359 text/plain
360 text/comma-seperated-values
361 text/css
362 text/enriched
363
364 --> vnd=vendor???
365
366 @sequence references
367 @title The text/enriched MIME Content-type
368 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1896.html
369 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
370 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1521.html
371 @title The text/enriched MIME Content-type
372 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1523.html
373 @title Mechanisms for Specifying and Describing the Format of Internet Message Bodies
374 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1341.html
375 @title The text/enriched MIME Content-type
376 @link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1563.html
377
378 message/delivery-status
379 message/disposition-notification
380 message/external-body
381 message/http
382 message/s-http
383 message/news
384 message/partial
385 message/rfc822
386
387 inode/chardevice
388 inode/blockdevice
389 inode/directory-locked
390 inode/directory
391 inode/fifo
392 inode/socket
393
394 multipart/*
395
396 o refactor some twingle tags using ETF:
397 @link http://citeseer.nj.nec.com/borenstein94textenriched.html
398 --- snip ---
399 @misc{ borenstein-textenriched,
400 author = "N. Borenstein",
401 title = "The text/enriched MIME Content-type",
402 url = "citeseer.nj.nec.com/borenstein94textenriched.html" }
403 --- snip ---
404
405 o re-enable yakka!
406 @link http://netfrag.org/~bareface/yakka/
407
408 o search.netfrag.org
409 o enable mnoGoSearch to index http://www.netfrag.org/docs/code/api/
410
411 o post xml-via-rpc-querying proposal from above to nfo.dev.perl and cc to jonen!
412
413 o enhancement for Twingle AutoLink LinkInterpolation:
414 o don't resolve namespace identifiers (e.g. 'Data::Storage') against
415 global search.netfrag.org/Search::This::Namespace
416 o query namespaced links against an organization-wide (custom) NamespaceRegistry before!!!
417 o use mysql/Tangram?
418 o use xml?
419 o just fallback to "GlobalSerchMode" if nothing was found in the step before!
420 o Data::Storage will directly be resolved to this url or tag afterwards:
421 @link http://www.netfrag.org/docs/topics/perl-libs/Data-Storage.html
422 and not to
423 @link http://www.netfrag.org/search/?q=Data::Storage&o=1&ul=/
424 like it was before!
425
426 o mimic the functionality of TLTP (The LDAP Trigger Process) by using Data::Rap.
427
428 o applications to be solved using LDAP
429 o organization-wide addressbook
430 o global / per-app software component registry
431 o organization-wide item library -> inventory
432
433 dot http://www.nc.ihost.com/ -> IBM
434
435 @topic EasyAuthoring
436 @see sdf
437 @see text/enriched
438 @see ETF
439 @see WPP
440 @link http://the.sunnyspot.org/wpp/index.html
441
442 @company Watchfire
443 @topic centrally located site integrity management software
444 @link http://www.watchfire.com/
445
446 o look at brian finley's "Storage" article series at http://hpc.devchannel.org/ !!!
447
448 - f-prot error on quepasa.netfrag.org:
449 root@quepasa:~# tail -f /var/log/mail.log
450 --- snip ---
451 Mar 7 18:23:30 quepasa amavis[20705]: Virus scanner failure: /usr/local/f-prot/f-prot (error code: 1)
452 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.
453 Mar 7 18:23:30 quepasa amavis[20705]: mail processing failed, RETRY/TEMPFAIL
454 Mar 7 18:23:30 quepasa sm-mta[20758]: h27HLveE020758: Milter: data, reject=451 4.7.1 Please try again later
455 --- snip ---
456 root@quepasa:~# /usr/local/f-prot/f-prot
457 Error: SIGN.DEF is damaged or incompatible with this version of F-PROT.
458 root@quepasa:~# /usr/local/f-prot/check-updates.sh
459 root@quepasa:~# /usr/local/f-prot/f-prot
460
461
462
463 @sequence block
464 @injected
465 @date 2003-03-07 19:01
466 @file [unknown]
467 @x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3)
468 @x-transporter Microsoft COM
469 @x-transporter-protocol copy & paste negotiation
470 @x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b]
471
472 @set ->=@see
473
474
475 o .phpdocrc: Tie::IxHash
476
477 - writing a browser is a complex task
478 -> Internet Explorer
479 -> KDE xyz
480 -> Mozilla
481
482 - writing a mailer is a complex task
483 -> Microsoft Outlook and (-Express)
484 -> KDE (KMail, Kontact, Kolab)
485 -> Evolution
486 -> Mahogany
487
488
489
490 @sequence block
491 @written
492 @date 2003-03-07
493
494 - janosch: pdf-gateway!?
495
496 o setup ->colorize on quepasa.netfrag.org
497
498 o refactor DesignPattern::MVC
499 o new: @uses instances of classes inherited from the base ones
500 DesignPattern::MVC::Model and DesignPattern::MVC::View, where
501 - DesignPattern::MVC::Model is-a DesignPattern::Observer::Subject
502 - DesignPattern::MVC::View is-a DesignPattern::Observer
503 o new: refactor the rules-subsystem to be a ChangeManager
504 between Subject and Observer sits a ChangeManager acting as mediator (is-a DesignPattern::Mediator)
505 @see http://selab.korea.ac.kr/selab/courses/GoF-patterns/observer.htm
506
507 o Twingle!
508 o twingle -> dispatchmail (Twingle::Mail)
509 o twingle -> twingledoc (Twingle::Doc)
510
511 o refactor to "twingled/":
512 o http://netfrag.org/~joko/computing/overview/topics/topics/
513 o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/
514 o update http://netfrag.org/~joko/computing/overview/topics/topics.html
515
516 x re-enable Yakka
517
518 o setup phpDocumentor from cvs
519
520 o "subscribe" a Folder (using rss/rdf!)
521
522 o Arial (or similar font w/o serifs) for Mozilla!
523
524 o edit preferences: Font (family, size)
525
526 o debian-upgrade -> perl-upgrade => missing CPAN packages =>
527 o check in intervals:
528 o /data/opt/dispatchmail/bin/dispatchmail
529 --- snip --- [/var/log/mail.log]
530 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
531 Mar 8 07:15:51 quepasa sm-mta[30731]: h286FmeE030726: h286FpeD030731: DSN: unknown mailer error 2
532 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
533 Mar 8 07:15:52 quepasa sm-mta[30731]: h286FpeD030731: h286FpeE030731: return to sender: unknown mailer error 2
534 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
535 Mar 8 07:15:53 quepasa sm-mta[30731]: h286FpeD030731: Saved message in /var/lib/sendmail/dead.letter
536 --- snip ---
537 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.
538 BEGIN failed--compilation aborted at ./dispatchmail line 34.
539 x perl -MCPAN -e "install Hash::Merge"
540 dependencies resolved automagically: ->Clone
541 o /data/opt/dispatchmail/bin/postmessage
542 --- snip --- [/var/log/mail.log]
543 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
544 Mar 8 07:26:41 quepasa sm-mta[30953]: h286Q5eE030946: h286QfeD030953: DSN: unknown mailer error 2
545 Mar 8 07:26:47 quepasa sm-mta[30946]: h286Q5eG030946: collect: premature EOM: unexpected close
546 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>
547 --- snip ---
548 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.
549 BEGIN failed--compilation aborted at ./postmessage line 8.
550 x perl -MCPAN -e "install News::Article"
551 o /data/opt/dispatchmail/bin/buildmail
552 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.
553 BEGIN failed--compilation aborted at ./buildmail line 7.
554 x perl -MCPAN -e "install MIME::Lite"
555 o /data/opt/dispatchmail/bin-tests/build_dispatch_mode mail2news alt.test
556 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.
557 BEGIN failed--compilation aborted at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 6, <STDIN> line 16.
558 Compilation failed in require at (eval 6) line 1, <STDIN> line 16.
559 BEGIN failed--compilation aborted at (eval 6) line 1, <STDIN> line 16.
560 (/data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm:193)
561 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.
562 x perl -MCPAN -e "install mixin"
563 o check okay:
564 --- snip --- [/var/log/mail.log]
565 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
566 --- snip ---
567
568 o @lookup Data::Match - Complex data structure pattern matching [by Kurt A. Stephens]
569 @see also perl, Array::PatternMatcher, Data::Compare, Data::Dumper, Data::DRef, Data::Walker
570
571 o make up a notation which can explicit describe component far away
572 e.g. CPAN--Hash::Merge
573
574 o @lookat News::FormReply News::FormArticle News::AutoReply
575
576 x updated phpDocumentor to version from cvs
577 o trying to get uml-rendering working
578 x apt-get install dia
579 x apt-get install dia2code
580
581 x setup org.droogs--Autodia: location http://www.droogs.org/autodia/
582 #> cd /tmp
583 #> /data/opt/tools/Autodia-1.4/autodia.pl -l php -i * -p /data/www/virtual/netfrag/docs/nfo/code/flib -O
584 x setup CPAN--Template: perl -MCPAN -e "install Template"
585 ->CPAN--TT2
586 ->CPAN--Splash!
587 Which Splash! colour scheme would you like to use to build the
588 documentation? Acceptable values are:
589 Name Colours
590 -------------------------
591 default lilac/mauve
592 aqua aqua/marine
593 blue grey75/blue75
594 green grey75/green75
595 grey grey75/grey50
596 leon red75/orange/white/black
597 red grey75/red75
598 Enter name of colour scheme: [default]
599 ->CPAN--AppConfig
600 ->CPAN--GD
601 CPAN.pm: Going to build L/LD/LDS/GD-2.06.tar.gz
602 NOTICE: This module requires libgd 2.0.5 or higher.
603 ->Debian--libgd2: apt-get install libgd2 libjpeg62 libpng2 xlibs zlib1g
604 ->Debian--debconf ->Debian--nethack-common ->Debian--xfree86-common
605 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
606 Installing new version of config file /etc/X11/Xsession.d/99xfree86-common_start ...
607 Adding system startup for /etc/init.d/xfree86-common ...
608 /etc/rcS.d/S70xfree86-common -> ../init.d/xfree86-common
609 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
610 Setting up X server socket directory /tmp/.X11-unix...done.
611 Setting up xlibs (4.2.1-6) ...
612 ->CPAN--Math::Trig
613 ->Debian--libgd2-xpm: apt-get install libgd2-xpm libgd2-xpm-dev
614 #> cd /.cpan/build/GD-2.06
615 #> make
616 x some further library-patches: cd /usr/lib
617 #> ln -s ln -s libperl.so.5.8 libperl.so
618 #> ln -s libpng.so.2 libpng.so
619 #> ln -s libfreetype.so.6 libfreetype.so
620 #> ln -s libjpeg.so.62 libjpeg.so
621 x test:
622 #> ld -l png|jpeg|freetype|perl|X11
623 X11 still fails with make GD!!!
624 #> cd /.cpan/build/GD-2.06
625 #> make
626 /usr/bin/ld: cannot find -lX11
627 collect2: ld returned 1 exit status
628 make: *** [blib/arch/auto/GD/GD.so] Error 1
629 #> apt-get install xlibs-dev
630 #> make
631 yai!
632 #> make test
633 t/GD..........ok 1/10libpng warning: Application was compiled with png.h from libpng-1.2.5
634 libpng warning: Application is running with png.c from libpng-1.0.12
635 gd-png: fatal libpng error: Incompatible libpng version in application and library
636 #> apt-get install libpng2-dev
637 #> apt-get install libjpeg62-dev
638 ... still the same error with "make test"
639 #> apt-get install libpng3 libpng3-dev
640 #> apt-get install libfreetype6-dev
641 The first output xml is seen! Great! Let's move on to graphviz:
642 Can't locate GraphViz.pm in @INC (@INC contains: /data/opt/tools/Autodia-1.4 /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/opt/tools/Autodia-1.4/Autodia/Diagram.pm line 336.
643 #> apt-get install graphviz
644 ???#> perl -MCPAN -e "install Template"
645 #> perl -MCPAN -e "install Graphviz"
646 ->CPAN--IPC::Run
647 ->CPAN--Graph
648 ->CPAN--Math::Bezier
649 ->CPAN--Heap
650 Freetype Font's do not work!
651 #> apt-get install freetype2-tools
652 #> apt-get install libttf-dev
653 #> apt-get install xfonts-scalable
654 #> apt-get install xfonts-base
655 #> apt-get install ttf-freefont
656 Freefont Serif, Sans and Mono Truetype fonts:
657 A set of free high-quality TrueType fonts covering the UCS character set.
658 These fonts are similar to the (in)famous Helvetica, Times and Courier fonts.
659 http://packages.debian.org/unstable/x11/ttf-freefont.html
660 (#> apt-get install ttf-xfree86-nonfree ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon)
661 #> defoma-font register-all /etc/defoma/hints/ttf-freefont.hints
662 o enhance:
663 root@quepasa:/home/joko/public_html/test# ./.autodiarc
664 getting pattern for php
665 using directory : /data/www/virtual/netfrag/docs/nfo/code/org.netfrag.glib
666 recursively searching files..
667 o the "php-pattern" should also contain namespaces and stuff
668 (components gets instantiated by either 'mkObject' or 'php::mkComponent')
669 make this possible!
670
671 o quick (javascript) search for netfrag.org and packages.debian.org (xul?)
672
673 o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]
674
675 @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/
676
677 o autodia: enhance with "projects"
678 <-> couple with phpDocumentor
679
680 o phpDocumentor: try php 4.3.0 for having cross-indexed browsable source as an additional feature ;-)
681 o <-> link to pages prepared by Autodia
682 o add additional browser in top left frame for cross-domain-browsing (having multiple apis beside each other)
683 o the html-title! (make it unique!!!)
684
685 o for Autodia:
686 o resize images to a) 800x600 portrait and b) DIN A 4 square or s.th.l.th.
687 => x .autozoom -> zoomall -> zoommulti -> zoomone
688 o stamp picture with header and footer (little expressions for including predefined title, current filename, date, etc.!)
689 o idea: render as SVG???
690 o class- and package-diagrams:
691 o "Class" for relationships of Code- and DB-Schema-classes
692 o "Package" for relationships of code-packages
693 o integrate with phpDocumentor:
694 /data/opt/tools/phpdocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/left_frame.tpl
695 o Autodia-TODO:
696 Add ability to split projects into multiple diagrams and group contents of
697 a diagram/subdir into system boxes - much improving clarity in big
698 projects.
699
700 o glib-namespace aufräumen!
701
702 o twingle
703 o what about "<pre>"-blocks?
704 o what about non-html-tags (e.g. <optional-var-name>)?
705 => we'll probably need a html-tag-db to solve this
706 o establish as RunnerAgent and IntervalRunnerAgent on quepasa!
707
708 o phpDocumentIndex
709 o recognize symlinked directories!!!
710 o integrate with ImageZoom written for Autodia
711 -> manipulate images: zoom, rotate
712 o sort order:
713 o default: show directories on top
714 o make changable through columns
715 o option to force view of hidden files (e.g. dot-files)
716 o 24h-time-format (no AM/PM)
717 o UML-Class-diagram-icon for tutorial!!!
718
719 o modify /etc/hosts entry by rule!!!!
720
721 o Yakka: automate reinstallation (new IntervalRunnerAgent) of libxml2
722 #> dpkg -i /home/bareface/public_html/yakka/data/libxml2_2.4.19-4_i386.deb
723 #> /etc/init.d/apache restart
724
725 o autozoom/runzoom
726 o from (e.g. test6/)
727 o to (e.g. test6/zoomed/)
728
729 o global "last-recent-error"-page for admin to view errors occouring
730 ->SystemErrors
731 ->StepProcessing: ./.runrc: update|build|publish
732
733 o clean up disks!!!
734 o h1.service.netfrag.org
735 o quepasa.netfrag.org
736
737 o natraj/sorceress: server-consolidation?
738
739 o monitor regularly: http://netfrag.org/docs/code/api/org.netfrag/errors.html
740
741 o DataSource::Generic <-> ObjectList!!!
742
743 o Yakka: (javascript-control):
744 o let CTRL + ENTER make a new para
745 o let CTRL + CTRL (double-hit) make a new page from WikiWord left of the cursor (splash into a new DHTML page!)
746
747 x root@quepasa:/data# apt-get install pdumpfs
748
749 o final solution for the libxml-problem?
750 root@quepasa:/home/service/backup# apt-get --fix-broken --show-upgraded --simulate dist-upgrade
751 Reading Package Lists... Done
752 Building Dependency Tree... Done
753 Correcting dependencies... Done
754 Calculating Upgrade... Done
755 The following packages will be REMOVED:
756 libxslt1 php4-domxml
757 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
758 Remv libxslt1 (1.0.27-1 ) [php4-domxml ]
759 Remv php4-domxml (4:4.2.3-11 )
760 root@quepasa:/tmp# apt-get install pdumpfs
761 Reading Package Lists... Done
762 Building Dependency Tree... Done
763 You might want to run `apt-get -f install' to correct these:
764 Sorry, but the following packages have unmet dependencies:
765 libxslt1: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
766 php4-domxml: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
767 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
768 x dpkg --force-depends -r libxml2
769 o dpkg-liftpackage libxml2_2.4.19-4_i386.deb 2.5.0-1
770 x dpkg-deb -x libxml2_2.4.19-4_i386.deb fakepkg
771 x dpkg-deb -e libxml2_2.4.19-4_i386.deb
772 x mv DEBIAN fakepkg/
773 x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
774 x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
775
776 o announce on www.netfrag.org
777 o api-doc
778 o packages.netfrag.org (libxml2!)
779 o autogenerate:
780 o api-doc & diags
781 o twingle
782
783 o ->search.netfrag.org/ruby
784
785 o install and use 'monit' to monitor uml's!
786
787 o refactor Yakka::YakkaSetup
788
789 o quepasa - Error: AMaViS
790
791 <screen>
792 Starting AMaViS Daemons: amavis-milter amavisd
793 Can't locate Razor/Client.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 /usr/sbin/amavisd line 54.
794 BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
795 </screen>
796
797 - probably because of perl-5.8.0?
798
799 x apt-get install razor #)§$&(
800 solution:
801 x dpkg --force-depends -r razor
802 x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
803 x dpkg -i razor_1.20-1_all.deb
804 => depends on 'libtime-hires-perl', so:
805 x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
806 x dpkg -i libtime-hires-perl_1.20-4_i386.deb
807 dpkg: dependency problems prevent configuration of libtime-hires-perl:
808 libtime-hires-perl depends on perlapi-5.6.0; however:
809 Package perlapi-5.6.0 is not installed.
810 ;-( /)(%(/$%%&$
811 => removing dependencies about everything from razor1-package
812 x dpkg -x razor_1.20-1_all.deb razor
813 x dpkg -r razor_1.20-1_all.deb
814 x mv DEBIAN/ razor/
815 x do: remove line 'Depends:' from DEBIAN/control
816 [x chmod -R 0755 razor/DEBIAN/] maybe! (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
817 x dpkg -b razor razor_1.20-1_all_nodeps.deb
818 x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
819 =>
820 x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
821 => [test]
822 x /etc/init.d/amavis-milter start
823 <screen>
824 Can't load '/usr/lib/perl5/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /usr/lib/perl5/auto/Time/HiRes/HiRes.so: undefined symbol: PL_stack_max at /usr/lib/perl/5.8.0/DynaLoader.pm line 225.
825 at /usr/sbin/amavisd line 46
826 Compilation failed in require at /usr/sbin/amavisd line 46.
827 BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.
828 </screen>
829 => [CPAN-install]
830 x perl -MCPAN -e "install Time::HiRes"
831 <screen>
832 [...]
833 compile -- compile -- compile
834 [...]
835 Running make install
836 Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
837 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
838 Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
839 Installing /usr/share/man/man3/Time::HiRes.3pm
840 Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
841 Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
842 /usr/bin/make install -- OK
843 </screen>
844
845 x probably because of perl-5.8.0? yes! -- is it fixed now? let's try... (again)
846 x /etc/init.d/amavis-milter restart
847 no! same error as above!
848 the problem is:
849 watch the output of 'perl -V' - at the bottom:
850 <screen>
851 Characteristics of this binary (from libperl):
852 Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
853 Built under linux
854 Compiled at Feb 17 2003 12:38:57
855 @INC:
856 /etc/perl
857 /usr/local/lib/perl/5.8.0
858 /usr/local/share/perl/5.8.0
859 /usr/lib/perl5
860 /usr/share/perl5
861 /usr/lib/perl/5.8.0
862 /usr/share/perl/5.8.0
863 /usr/local/lib/site_perl
864 .
865 </screen>
866
867 The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
868 /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
869
870 We have these options:
871 1. delete this stuff
872 2. put a better version at '.'
873 3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
874 4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
875
876 Hmmm.....
877 I think i'll choose option 1.:
878 x rm -rf /usr/lib/perl5/auto/Time/HiRes
879 (or if you don't wanna be as brute-force)
880 x cd /usr/lib/perl5/auto/Time
881 x mv HiRes HiRes.old
882
883 => let's try again:
884 x /etc/init.d/amavis-milter restart
885 Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
886
887 => ahhh... (also testable via 'perl -MTime::HiRes')
888 x dpkg --force-depends -r libtime-hires-perl
889 => my fault! ;-)
890
891 => so, everything works fine now....
892 x /etc/init.d/amavis-milter restart
893
894 o BER.pm: BER (Basic Encoding Rules) encoding and decoding.
895
896 o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
897
898 o use pdumpfs!
899
900 o what we build seems similar to Torque <-> Maven (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
901
902 o write meta-documentation about why it's required to lift version-numbers of debian-packages
903 -> Why dpkg-liftversion?
904 1. yakka: libxml2!!!
905 2. amavis-milter: razor-1-branch-required
906
907 o installing pdumpfs as system-wide backup-system:
908 x mkdir -p /home/service/virtual/pdumpfs/var/data
909 x mkdir -p /home/service/virtual/pdumpfs/var/log
910 x cd /usr/local/bin
911 x ln -s /home/service/virtual/pdumpfs/backup .
912
913 o feature: BrowsableBackup:
914 o missing: authentication via LDAP....
915
916 o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc...
917 ->packages.service.netfrag.org
918 -->/usr/local/bin
919
920 o one account - three services:
921 o wiki
922 o news
923 o backup
924 (o ssh) (not-a-must)
925
926 o dpkg-modcontrol!!!
927
928 o robinson - purge package dependencies from .deb- or .rpm-packages
929 can alien do that?
930
931 o rsync working: view from the server-side:
932 3968 ? R 0:40 rsync --server --sender -vulogDtprz . /home/service/backup/
933
934 x finally: we have a backup-system!
935 - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup'
936 - backs up:
937 x /home/* (except /home/service)
938 x /data/bin (approx. 9.2M)
939 x /data/libs (approx. 1.7M)
940 x /data/opt (approx. 27M)
941 o /data/var (approx. 104M)
942 o mysql-db
943 o news-spool
944 o /data/www (approx. 126M)
945 x /data/www/virtual/lashlarue (approx. 28M)
946 x /data/www/virtual/netfrag (approx. 68M)
947 x /data/www/virtual/wac (approx. 4M)
948 o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!!
949 o prevent recursive backups (what happens if the backup directory itself would be specified to backup???)
950 => #> crontab -e
951 adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all
952 o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G)
953
954 o establish logfile-rotation with logrotate!!!
955 #> cd /data/www/virtual/lashlarue/log
956 #> gzip access_log
957 #> gzip error_log
958
959 o more todos:
960 1. clean more diskspace
961 How to find files larger than, hmm, let's say: 512MB?
962 use 'dus'! [Disk Usage Sorter]
963 http://marginalhacks.com/bin/dus
964 x now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf)
965 o /home/uml/skels aufräumen!
966 2. draw more diagrams
967 3. let 'monit' monitor our umls
968 4. make more backups
969
970 o look in /var/log/syslog after crash! (other logfiles?)
971

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