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

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