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

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