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

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