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

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