/[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.54 - (show annotations)
Wed Mar 12 01:55:58 2003 UTC (21 years, 4 months ago) by joko
Branch: MAIN
Changes since 1.53: +8 -1 lines
+ AUTOCOMMIT: updated/added content

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

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