1 |
joko |
1.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 |
joko |
1.21 |
$Id: joko_2003-03.twingle,v 1.20 2003/03/08 13:56:42 joko Exp $ |
14 |
joko |
1.2 |
$Log: joko_2003-03.twingle,v $ |
15 |
joko |
1.21 |
Revision 1.20 2003/03/08 13:56:42 joko |
16 |
|
|
+ AUTOCOMMIT: updated/added content |
17 |
|
|
|
18 |
joko |
1.20 |
Revision 1.19 2003/03/08 12:56:24 joko |
19 |
|
|
+ AUTOCOMMIT: updated/added content |
20 |
|
|
|
21 |
joko |
1.19 |
Revision 1.18 2003/03/08 12:27:20 joko |
22 |
|
|
+ AUTOCOMMIT: updated/added content |
23 |
|
|
|
24 |
joko |
1.18 |
Revision 1.17 2003/03/08 11:27:00 joko |
25 |
|
|
+ AUTOCOMMIT: updated/added content |
26 |
|
|
|
27 |
joko |
1.17 |
Revision 1.16 2003/03/08 08:56:05 joko |
28 |
|
|
+ AUTOCOMMIT: updated/added content |
29 |
|
|
|
30 |
joko |
1.16 |
Revision 1.15 2003/03/08 07:55:59 joko |
31 |
|
|
+ AUTOCOMMIT: updated/added content |
32 |
|
|
|
33 |
joko |
1.15 |
Revision 1.14 2003/03/08 07:25:57 joko |
34 |
|
|
+ AUTOCOMMIT: updated/added content |
35 |
|
|
|
36 |
joko |
1.14 |
Revision 1.13 2003/03/08 05:56:38 joko |
37 |
|
|
+ AUTOCOMMIT: updated/added content |
38 |
|
|
|
39 |
joko |
1.13 |
Revision 1.12 2003/03/08 05:25:54 joko |
40 |
|
|
+ AUTOCOMMIT: updated/added content |
41 |
|
|
|
42 |
joko |
1.12 |
Revision 1.11 2003/03/08 04:55:46 joko |
43 |
|
|
+ AUTOCOMMIT: updated/added content |
44 |
|
|
|
45 |
joko |
1.11 |
Revision 1.10 2003/03/07 22:26:20 joko |
46 |
|
|
+ AUTOCOMMIT: updated/added content |
47 |
|
|
|
48 |
joko |
1.10 |
Revision 1.9 2003/03/07 20:56:02 joko |
49 |
|
|
+ AUTOCOMMIT: updated/added content |
50 |
|
|
|
51 |
joko |
1.9 |
Revision 1.8 2003/03/07 18:26:17 joko |
52 |
|
|
+ AUTOCOMMIT: updated/added content |
53 |
|
|
|
54 |
joko |
1.8 |
Revision 1.7 2003/03/07 17:56:46 joko |
55 |
|
|
+ AUTOCOMMIT: updated/added content |
56 |
|
|
|
57 |
joko |
1.7 |
Revision 1.6 2003/03/07 16:56:42 joko |
58 |
|
|
+ AUTOCOMMIT: updated/added content |
59 |
|
|
|
60 |
joko |
1.6 |
Revision 1.5 2003/03/07 15:57:11 joko |
61 |
|
|
+ AUTOCOMMIT: updated/added content |
62 |
|
|
|
63 |
joko |
1.5 |
Revision 1.4 2003/03/07 04:25:54 joko |
64 |
|
|
+ AUTOCOMMIT: updated/added content |
65 |
|
|
|
66 |
joko |
1.4 |
Revision 1.3 2003/03/07 03:56:59 joko |
67 |
|
|
+ AUTOCOMMIT: updated/added content |
68 |
|
|
|
69 |
joko |
1.3 |
Revision 1.2 2003/03/07 00:56:08 joko |
70 |
|
|
+ AUTOCOMMIT: updated/added content |
71 |
|
|
|
72 |
joko |
1.2 |
Revision 1.1 2003/03/06 22:34:20 joko |
73 |
|
|
+ initial commit |
74 |
|
|
|
75 |
joko |
1.1 |
|
76 |
|
|
@sequence meta |
77 |
|
|
@x-transport |
78 |
|
|
@x-transport-from grasshopper.netfrag.org |
79 |
|
|
@x-transport-to quepasa.netfrag.org |
80 |
|
|
@x-transporter Microsoft Windows |
81 |
|
|
@x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)] |
82 |
|
|
@x-transporter-protocol cvs client-server protocol |
83 |
|
|
@x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f] |
84 |
|
|
@x-transporter-protocol ssh [OpenSSH Version 2] |
85 |
|
|
@x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f] |
86 |
|
|
@x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)] |
87 |
|
|
@x-transporter-protocol cvs client-server protocol |
88 |
|
|
@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] |
89 |
|
|
@x-transporter-protocol ext3 |
90 |
|
|
@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] |
91 |
|
|
@x-transporter-protocol ext3 |
92 |
|
|
#@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle] |
93 |
|
|
|
94 |
|
|
@sequence script |
95 |
|
|
@set o=@todo |
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
@sequence block |
100 |
|
|
@injected |
101 |
|
|
@date 2003-03-06 20:29 |
102 |
|
|
@file [unknown] |
103 |
|
|
@x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3) |
104 |
|
|
@x-transporter Microsoft COM |
105 |
|
|
@x-transporter-protocol copy & paste negotiation |
106 |
|
|
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
107 |
|
|
|
108 |
|
|
|
109 |
|
|
o use arial|verdana for netscape|mozilla rendering on netfrag.org |
110 |
|
|
|
111 |
|
|
- We get spam! |
112 |
|
|
After feeling relatively safe through amavis based email filtering, it happened again. |
113 |
|
|
jonen recieved some spam again. |
114 |
|
|
|
115 |
|
|
Why? |
116 |
|
|
I believe the addresses get collected by foreign agents crawling |
117 |
|
|
the growing content on netfrag.org. |
118 |
|
|
|
119 |
|
|
What todo now? |
120 |
|
|
Mungle email addresses published on netfrag.org through some lisp- |
121 |
|
|
or scheme-based address-mungler found recently. |
122 |
|
|
They stay rfc-compliant, but are (hopefully) unreachable for common |
123 |
|
|
regex parsers. |
124 |
|
|
Send info to ->jonen. |
125 |
|
|
@tbd Automate this task! Do you wanna rewrite each address by hand...??? |
126 |
|
|
|
127 |
|
|
o personal requirement: |
128 |
|
|
o daily: review contributions made by other users |
129 |
|
|
o requirement to solve this: have everything as rss/rdf and filter the xml by author |
130 |
|
|
|
131 |
|
|
o rss.netfrag.org (register) |
132 |
|
|
o establish some web-based rss-browser embedding content from |
133 |
|
|
o RssGenerators for local content ... |
134 |
|
|
o news//rss (for news.netfrag.org) |
135 |
|
|
o cvs//rss (for cvs.netfrag.org) |
136 |
|
|
o ... and RssGateways to other ones, possibly at remote locations |
137 |
|
|
o phpWiki//rss (for www.netfrag.org) |
138 |
|
|
o TWiki//rss (for future www.netfrag.org) |
139 |
|
|
|
140 |
|
|
o post to perl-development (nfo.dev.perl): |
141 |
|
|
o how to abstract the view/editing of xml-files via an api? |
142 |
|
|
o fetch: all|single-node |
143 |
|
|
o edit: single-node flattened into an object |
144 |
|
|
o browser layer: locator registry (pointing to a) an orm-db and b) to a file-set of xml-files (our control-db)) |
145 |
|
|
o item layer: view/edit nodes of an xml-file a) in a tree-editor (look at HTML_Tree_XYZ itself!!!) and |
146 |
|
|
b) split into our "flat-components" Item and List (object-like) |
147 |
|
|
|
148 |
|
|
how b)? solve in backend! |
149 |
|
|
o backend |
150 |
|
|
o change values containing references to their interpolated placeholders to convert a node to an item |
151 |
|
|
->getNode(...) |
152 |
|
|
example: getNode('root') |
153 |
|
|
o place querying api via XPath parallel to that -> also returns a single node or multiples (a node-set) |
154 |
|
|
->getNodeSet(...) |
155 |
|
|
example: getNodeSet('xpath-query|named-filter') |
156 |
|
|
o establish backend querying api for xml-documents on top of that! |
157 |
|
|
->sendQuery(...) should dispatch to one of ->getNode or ->getNodeSet |
158 |
|
|
o frontend |
159 |
|
|
o browse relations (parent-, child-node) using the ValueInterpolator and the ItemComponent |
160 |
|
|
o edit Attributes and Content of Nodes with the ItemComponent showing *two* areas (this is the "FlatteningOfNodes"): |
161 |
|
|
o -> attributes |
162 |
|
|
o -> content |
163 |
|
|
That's the way various XML-EasyTree-Xyz implementations use to work. |
164 |
|
|
@link http://www.cpan.org/ |
165 |
|
|
o frontend issues these generic rpc-commands to the backend (encapsulated somewhere) |
166 |
|
|
o ->sendQuery(array(remote=1, rpc=1, blah=1, $query )) - |
167 |
|
|
which gets dispatched by switching some stuff from "$query" to these methods under the hood (in fact, *implemented at backend side*) |
168 |
|
|
o ->getNodeSet('xpath-query|named-filter') |
169 |
|
|
example: |
170 |
|
|
$xml_filter_query = array( 'return' => 'object|object-set', [filter => 'xpath-query|named-filter'] ); |
171 |
|
|
(speak: Item or List) |
172 |
|
|
sendQuery(array(remote=1, rpc=1, blah=1, $xml_filter_query , xml=1??? )) - |
173 |
|
|
|
174 |
|
|
--> what is 'remote' and/or 'rpc' about??? |
175 |
|
|
if i remember that right - 'remote' means 'orm' (the datasource-type) and 'rpc' means 'rpc' (the transport-type) |
176 |
|
|
|
177 |
|
|
o new twingle-symbol-topology using ... |
178 |
|
|
<code> |
179 |
|
|
o ... @-tags (stolen from JavaDoc via phpDocumentor) |
180 |
|
|
o @-tags only refer to scopes they live in |
181 |
|
|
o make the basic work: @todo, @link, @see, etc. (but enhanced - of course - since perl doesn't limit you in any way....!!!) |
182 |
|
|
o add some more: @sequence, @is-a, @title |
183 |
|
|
o @see |
184 |
|
|
o @embed this-and-that from these .twingle files: |
185 |
|
|
o @link DummyNamespaces in PHP - final proposal.twingle |
186 |
|
|
o @link Re - Namespaces in PHP.twingle |
187 |
|
|
</code> |
188 |
|
|
|
189 |
|
|
o project-metadata: / nfo topics |
190 |
|
|
<code> |
191 |
|
|
@is-a rfc |
192 |
|
|
@todo tbd |
193 |
|
|
x @topic source(cvs) |
194 |
|
|
x @topic doc(api) |
195 |
|
|
o @topic source(raw) (via symlinks: expand directories first, symlink files afterwards!) |
196 |
|
|
o @topic doc(tutorial) |
197 |
|
|
o @topic doc(examples) |
198 |
|
|
o @topic doc(howto) |
199 |
|
|
o introduce: @subtopic: |
200 |
|
|
@topic source |
201 |
|
|
@subtopic raw|cvs |
202 |
|
|
@topic doc |
203 |
|
|
@subtopic api|tutorial|examples|howto |
204 |
|
|
</code> |
205 |
|
|
|
206 |
|
|
o register: api.netfrag.org |
207 |
|
|
|
208 |
|
|
o arcor!!! |
209 |
|
|
|
210 |
|
|
o working alpha version of "Ts" on new server niu!!! |
211 |
|
|
|
212 |
|
|
o .phpdocrc: split main code to module, integrate index-generation of predefined (registered) modules |
213 |
|
|
|
214 |
|
|
o RssNewsletter: |
215 |
|
|
o schedule |
216 |
|
|
o hourly, daily, weekly, monthly, on-incoming |
217 |
|
|
o choose topic |
218 |
|
|
o all topics (cvs, news, api, docs, www) |
219 |
|
|
o choose destination |
220 |
|
|
o filtered-rss made available at specified url as xml or xhtml |
221 |
|
|
o via email |
222 |
|
|
o archived in archive-type (zip|tar) with format (html|) |
223 |
|
|
made available at specified url |
224 |
|
|
|
225 |
|
|
o look at FreeBSD's "doscmd"!!! |
226 |
|
|
|
227 |
|
|
o mechanism to refactor old smtp-mail-messages into new nntp-news-posts |
228 |
|
|
all our tools fail! *forwarding* the message seems to break mime (for e.g. the mozilla-viewer and probably others) |
229 |
|
|
o possible solution: strip "--- forwarded by ---" - header before actually posting |
230 |
|
|
maybe identifiable by subject: [Fwd: ] |
231 |
|
|
|
232 |
|
|
o enhance Twingle: |
233 |
|
|
o twingle2message: |
234 |
|
|
o twingle2mail: twingle2rfc822, twingle2mime |
235 |
|
|
o twingle2news: twingle2rfc |
236 |
|
|
|
237 |
|
|
o gather version info from installed components: |
238 |
|
|
o CPAN |
239 |
|
|
o PEAR |
240 |
|
|
x GNU: <program> --version (e.g.: cvs --version) |
241 |
|
|
x OpenSSH: ssh -V |
242 |
|
|
x Linux: cat /proc/version |
243 |
|
|
o our Perl-/PHP- component system |
244 |
|
|
|
245 |
joko |
1.8 |
|
246 |
|
|
|
247 |
|
|
@sequence block |
248 |
|
|
@written |
249 |
|
|
@date 2003-03-06 |
250 |
|
|
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
251 |
|
|
|
252 |
joko |
1.1 |
o what are the MIME-types of XML-payloads sent between (e.g.) RPCXML-hosts??? |
253 |
|
|
text/xml??? |
254 |
|
|
|
255 |
|
|
look at /etc/mime.types!!! |
256 |
|
|
e.g.: (stripped from there) - looking interesting: |
257 |
|
|
|
258 |
|
|
text/* |
259 |
|
|
text/x-java |
260 |
|
|
text/uri-list |
261 |
|
|
text/rfc822-headers |
262 |
|
|
text/directory |
263 |
|
|
text/vnd.IPTC.NewsML |
264 |
|
|
text/vnd.IPTC.NITF |
265 |
|
|
text/vnd.motorola.reflex |
266 |
|
|
text/vnd.DMClientScript |
267 |
|
|
text/richtext |
268 |
|
|
text/rtf |
269 |
|
|
text/plain |
270 |
|
|
text/comma-seperated-values |
271 |
|
|
text/css |
272 |
|
|
text/enriched |
273 |
|
|
|
274 |
|
|
--> vnd=vendor??? |
275 |
|
|
|
276 |
|
|
@sequence references |
277 |
|
|
@title The text/enriched MIME Content-type |
278 |
|
|
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1896.html |
279 |
|
|
@title Mechanisms for Specifying and Describing the Format of Internet Message Bodies |
280 |
|
|
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1521.html |
281 |
|
|
@title The text/enriched MIME Content-type |
282 |
|
|
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1523.html |
283 |
|
|
@title Mechanisms for Specifying and Describing the Format of Internet Message Bodies |
284 |
|
|
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1341.html |
285 |
|
|
@title The text/enriched MIME Content-type |
286 |
|
|
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1563.html |
287 |
|
|
|
288 |
|
|
message/delivery-status |
289 |
|
|
message/disposition-notification |
290 |
|
|
message/external-body |
291 |
|
|
message/http |
292 |
|
|
message/s-http |
293 |
|
|
message/news |
294 |
|
|
message/partial |
295 |
|
|
message/rfc822 |
296 |
|
|
|
297 |
|
|
inode/chardevice |
298 |
|
|
inode/blockdevice |
299 |
|
|
inode/directory-locked |
300 |
|
|
inode/directory |
301 |
|
|
inode/fifo |
302 |
|
|
inode/socket |
303 |
|
|
|
304 |
|
|
multipart/* |
305 |
|
|
|
306 |
|
|
o refactor some twingle tags using ETF: |
307 |
|
|
@link http://citeseer.nj.nec.com/borenstein94textenriched.html |
308 |
|
|
--- snip --- |
309 |
|
|
@misc{ borenstein-textenriched, |
310 |
|
|
author = "N. Borenstein", |
311 |
|
|
title = "The text/enriched MIME Content-type", |
312 |
|
|
url = "citeseer.nj.nec.com/borenstein94textenriched.html" } |
313 |
|
|
--- snip --- |
314 |
|
|
|
315 |
|
|
o re-enable yakka! |
316 |
|
|
@link http://netfrag.org/~bareface/yakka/ |
317 |
|
|
|
318 |
|
|
o search.netfrag.org |
319 |
|
|
o enable mnoGoSearch to index http://www.netfrag.org/docs/code/api/ |
320 |
joko |
1.2 |
|
321 |
|
|
o post xml-via-rpc-querying proposal from above to nfo.dev.perl and cc to jonen! |
322 |
|
|
|
323 |
|
|
o enhancement for Twingle AutoLink LinkInterpolation: |
324 |
|
|
o don't resolve namespace identifiers (e.g. 'Data::Storage') against |
325 |
|
|
global search.netfrag.org/Search::This::Namespace |
326 |
|
|
o query namespaced links against an organization-wide (custom) NamespaceRegistry before!!! |
327 |
|
|
o use mysql/Tangram? |
328 |
|
|
o use xml? |
329 |
|
|
o just fallback to "GlobalSerchMode" if nothing was found in the step before! |
330 |
|
|
o Data::Storage will directly be resolved to this url or tag afterwards: |
331 |
|
|
@link http://www.netfrag.org/docs/topics/perl-libs/Data-Storage.html |
332 |
|
|
and not to |
333 |
|
|
@link http://www.netfrag.org/search/?q=Data::Storage&o=1&ul=/ |
334 |
|
|
like it was before! |
335 |
|
|
|
336 |
joko |
1.3 |
o mimic the functionality of TLTP (The LDAP Trigger Process) by using Data::Rap. |
337 |
joko |
1.2 |
|
338 |
joko |
1.3 |
o applications to be solved using LDAP |
339 |
|
|
o organization-wide addressbook |
340 |
|
|
o global / per-app software component registry |
341 |
|
|
o organization-wide item library -> inventory |
342 |
|
|
|
343 |
|
|
dot http://www.nc.ihost.com/ -> IBM |
344 |
joko |
1.4 |
|
345 |
|
|
@topic EasyAuthoring |
346 |
|
|
@see sdf |
347 |
|
|
@see text/enriched |
348 |
|
|
@see ETF |
349 |
|
|
@see WPP |
350 |
|
|
@link http://the.sunnyspot.org/wpp/index.html |
351 |
joko |
1.5 |
|
352 |
|
|
@company Watchfire |
353 |
|
|
@topic centrally located site integrity management software |
354 |
|
|
@link http://www.watchfire.com/ |
355 |
joko |
1.6 |
|
356 |
joko |
1.7 |
o look at brian finley's "Storage" article series at http://hpc.devchannel.org/ !!! |
357 |
joko |
1.6 |
|
358 |
joko |
1.7 |
- f-prot error on quepasa.netfrag.org: |
359 |
|
|
root@quepasa:~# tail -f /var/log/mail.log |
360 |
|
|
--- snip --- |
361 |
|
|
Mar 7 18:23:30 quepasa amavis[20705]: Virus scanner failure: /usr/local/f-prot/f-prot (error code: 1) |
362 |
|
|
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. |
363 |
|
|
Mar 7 18:23:30 quepasa amavis[20705]: mail processing failed, RETRY/TEMPFAIL |
364 |
|
|
Mar 7 18:23:30 quepasa sm-mta[20758]: h27HLveE020758: Milter: data, reject=451 4.7.1 Please try again later |
365 |
|
|
--- snip --- |
366 |
|
|
root@quepasa:~# /usr/local/f-prot/f-prot |
367 |
|
|
Error: SIGN.DEF is damaged or incompatible with this version of F-PROT. |
368 |
|
|
root@quepasa:~# /usr/local/f-prot/check-updates.sh |
369 |
|
|
root@quepasa:~# /usr/local/f-prot/f-prot |
370 |
joko |
1.8 |
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
@sequence block |
374 |
|
|
@injected |
375 |
|
|
@date 2003-03-07 19:01 |
376 |
|
|
@file [unknown] |
377 |
|
|
@x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3) |
378 |
|
|
@x-transporter Microsoft COM |
379 |
|
|
@x-transporter-protocol copy & paste negotiation |
380 |
|
|
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
381 |
|
|
|
382 |
|
|
@set ->=@see |
383 |
|
|
|
384 |
|
|
|
385 |
|
|
o .phpdocrc: Tie::IxHash |
386 |
|
|
|
387 |
|
|
- writing a browser is a complex task |
388 |
|
|
-> Internet Explorer |
389 |
|
|
-> KDE xyz |
390 |
|
|
-> Mozilla |
391 |
|
|
|
392 |
|
|
- writing a mailer is a complex task |
393 |
|
|
-> Microsoft Outlook and (-Express) |
394 |
|
|
-> KDE (KMail, Kontact, Kolab) |
395 |
|
|
-> Evolution |
396 |
|
|
-> Mahogany |
397 |
|
|
|
398 |
joko |
1.10 |
|
399 |
|
|
|
400 |
|
|
@sequence block |
401 |
|
|
@written |
402 |
|
|
@date 2003-03-07 |
403 |
|
|
|
404 |
joko |
1.8 |
- janosch: pdf-gateway!? |
405 |
|
|
|
406 |
|
|
o setup ->colorize on quepasa.netfrag.org |
407 |
joko |
1.9 |
|
408 |
|
|
o refactor DesignPattern::MVC |
409 |
|
|
o new: @uses instances of classes inherited from the base ones |
410 |
|
|
DesignPattern::MVC::Model and DesignPattern::MVC::View, where |
411 |
|
|
- DesignPattern::MVC::Model is-a DesignPattern::Observer::Subject |
412 |
|
|
- DesignPattern::MVC::View is-a DesignPattern::Observer |
413 |
|
|
o new: refactor the rules-subsystem to be a ChangeManager |
414 |
|
|
between Subject and Observer sits a ChangeManager acting as mediator (is-a DesignPattern::Mediator) |
415 |
|
|
@see http://selab.korea.ac.kr/selab/courses/GoF-patterns/observer.htm |
416 |
joko |
1.10 |
|
417 |
|
|
o Twingle! |
418 |
|
|
o twingle -> dispatchmail (Twingle::Mail) |
419 |
|
|
o twingle -> twingledoc (Twingle::Doc) |
420 |
joko |
1.11 |
|
421 |
|
|
o refactor to "twingled/": |
422 |
|
|
o http://netfrag.org/~joko/computing/overview/topics/topics/ |
423 |
|
|
o http://netfrag.org/~joko/computing/overview/topics/SampleTasks/ |
424 |
|
|
o update http://netfrag.org/~joko/computing/overview/topics/topics.html |
425 |
|
|
|
426 |
|
|
x re-enable Yakka |
427 |
|
|
|
428 |
|
|
o setup phpDocumentor from cvs |
429 |
|
|
|
430 |
|
|
o "subscribe" a Folder (using rss/rdf!) |
431 |
joko |
1.12 |
|
432 |
|
|
o Arial (or similar font w/o serifs) for Mozilla! |
433 |
joko |
1.13 |
|
434 |
|
|
o edit preferences: Font (family, size) |
435 |
joko |
1.14 |
|
436 |
|
|
o debian-upgrade -> perl-upgrade => missing CPAN packages => |
437 |
|
|
o check in intervals: |
438 |
|
|
o /data/opt/dispatchmail/bin/dispatchmail |
439 |
|
|
--- snip --- [/var/log/mail.log] |
440 |
|
|
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 |
441 |
|
|
Mar 8 07:15:51 quepasa sm-mta[30731]: h286FmeE030726: h286FpeD030731: DSN: unknown mailer error 2 |
442 |
|
|
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 |
443 |
|
|
Mar 8 07:15:52 quepasa sm-mta[30731]: h286FpeD030731: h286FpeE030731: return to sender: unknown mailer error 2 |
444 |
|
|
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 |
445 |
|
|
Mar 8 07:15:53 quepasa sm-mta[30731]: h286FpeD030731: Saved message in /var/lib/sendmail/dead.letter |
446 |
|
|
--- snip --- |
447 |
|
|
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. |
448 |
|
|
BEGIN failed--compilation aborted at ./dispatchmail line 34. |
449 |
|
|
x perl -MCPAN -e "install Hash::Merge" |
450 |
|
|
dependencies resolved automagically: ->Clone |
451 |
|
|
o /data/opt/dispatchmail/bin/postmessage |
452 |
|
|
--- snip --- [/var/log/mail.log] |
453 |
|
|
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 |
454 |
|
|
Mar 8 07:26:41 quepasa sm-mta[30953]: h286Q5eE030946: h286QfeD030953: DSN: unknown mailer error 2 |
455 |
|
|
Mar 8 07:26:47 quepasa sm-mta[30946]: h286Q5eG030946: collect: premature EOM: unexpected close |
456 |
|
|
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> |
457 |
|
|
--- snip --- |
458 |
|
|
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. |
459 |
|
|
BEGIN failed--compilation aborted at ./postmessage line 8. |
460 |
|
|
x perl -MCPAN -e "install News::Article" |
461 |
|
|
o /data/opt/dispatchmail/bin/buildmail |
462 |
|
|
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. |
463 |
|
|
BEGIN failed--compilation aborted at ./buildmail line 7. |
464 |
|
|
x perl -MCPAN -e "install MIME::Lite" |
465 |
|
|
o /data/opt/dispatchmail/bin-tests/build_dispatch_mode mail2news alt.test |
466 |
|
|
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. |
467 |
|
|
BEGIN failed--compilation aborted at /data/libs/nfo/perl/libs/Mail/Audit/Dispatch/Newsgate.pm line 6, <STDIN> line 16. |
468 |
|
|
Compilation failed in require at (eval 6) line 1, <STDIN> line 16. |
469 |
|
|
BEGIN failed--compilation aborted at (eval 6) line 1, <STDIN> line 16. |
470 |
|
|
(/data/libs/nfo/perl/libs/Mail/Audit/Dispatch.pm:193) |
471 |
|
|
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. |
472 |
|
|
x perl -MCPAN -e "install mixin" |
473 |
|
|
o check okay: |
474 |
|
|
--- snip --- [/var/log/mail.log] |
475 |
|
|
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 |
476 |
|
|
--- snip --- |
477 |
|
|
|
478 |
|
|
o @lookup Data::Match - Complex data structure pattern matching [by Kurt A. Stephens] |
479 |
|
|
@see also perl, Array::PatternMatcher, Data::Compare, Data::Dumper, Data::DRef, Data::Walker |
480 |
|
|
|
481 |
|
|
o make up a notation which can explicit describe component far away |
482 |
|
|
e.g. CPAN--Hash::Merge |
483 |
|
|
|
484 |
|
|
o @lookat News::FormReply News::FormArticle News::AutoReply |
485 |
joko |
1.15 |
|
486 |
joko |
1.16 |
x updated phpDocumentor to version from cvs |
487 |
|
|
o trying to get uml-rendering working |
488 |
|
|
x apt-get install dia |
489 |
|
|
x apt-get install dia2code |
490 |
joko |
1.17 |
|
491 |
|
|
x setup org.droogs--Autodia: location http://www.droogs.org/autodia/ |
492 |
joko |
1.18 |
#> cd /tmp |
493 |
|
|
#> /data/opt/tools/Autodia-1.4/autodia.pl -l php -i * -p /data/www/virtual/netfrag/docs/nfo/code/flib -O |
494 |
joko |
1.17 |
x setup CPAN--Template: perl -MCPAN -e "install Template" |
495 |
|
|
->CPAN--TT2 |
496 |
|
|
->CPAN--Splash! |
497 |
|
|
Which Splash! colour scheme would you like to use to build the |
498 |
|
|
documentation? Acceptable values are: |
499 |
|
|
Name Colours |
500 |
|
|
------------------------- |
501 |
|
|
default lilac/mauve |
502 |
|
|
aqua aqua/marine |
503 |
|
|
blue grey75/blue75 |
504 |
|
|
green grey75/green75 |
505 |
|
|
grey grey75/grey50 |
506 |
|
|
leon red75/orange/white/black |
507 |
|
|
red grey75/red75 |
508 |
|
|
Enter name of colour scheme: [default] |
509 |
|
|
->CPAN--AppConfig |
510 |
|
|
->CPAN--GD |
511 |
|
|
CPAN.pm: Going to build L/LD/LDS/GD-2.06.tar.gz |
512 |
|
|
NOTICE: This module requires libgd 2.0.5 or higher. |
513 |
|
|
->Debian--libgd2: apt-get install libgd2 libjpeg62 libpng2 xlibs zlib1g |
514 |
|
|
->Debian--debconf ->Debian--nethack-common ->Debian--xfree86-common |
515 |
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
516 |
|
|
Installing new version of config file /etc/X11/Xsession.d/99xfree86-common_start ... |
517 |
|
|
Adding system startup for /etc/init.d/xfree86-common ... |
518 |
|
|
/etc/rcS.d/S70xfree86-common -> ../init.d/xfree86-common |
519 |
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
520 |
|
|
Setting up X server socket directory /tmp/.X11-unix...done. |
521 |
|
|
Setting up xlibs (4.2.1-6) ... |
522 |
|
|
->CPAN--Math::Trig |
523 |
|
|
->Debian--libgd2-xpm: apt-get install libgd2-xpm libgd2-xpm-dev |
524 |
|
|
#> cd /.cpan/build/GD-2.06 |
525 |
|
|
#> make |
526 |
joko |
1.18 |
x some further library-patches: cd /usr/lib |
527 |
|
|
#> ln -s ln -s libperl.so.5.8 libperl.so |
528 |
|
|
#> ln -s libpng.so.2 libpng.so |
529 |
|
|
#> ln -s libfreetype.so.6 libfreetype.so |
530 |
|
|
#> ln -s libjpeg.so.62 libjpeg.so |
531 |
|
|
x test: |
532 |
|
|
#> ld -l png|jpeg|freetype|perl|X11 |
533 |
|
|
X11 still fails with make GD!!! |
534 |
|
|
#> cd /.cpan/build/GD-2.06 |
535 |
|
|
#> make |
536 |
|
|
/usr/bin/ld: cannot find -lX11 |
537 |
|
|
collect2: ld returned 1 exit status |
538 |
|
|
make: *** [blib/arch/auto/GD/GD.so] Error 1 |
539 |
|
|
#> apt-get install xlibs-dev |
540 |
|
|
#> make |
541 |
|
|
yai! |
542 |
|
|
#> make test |
543 |
|
|
t/GD..........ok 1/10libpng warning: Application was compiled with png.h from libpng-1.2.5 |
544 |
|
|
libpng warning: Application is running with png.c from libpng-1.0.12 |
545 |
|
|
gd-png: fatal libpng error: Incompatible libpng version in application and library |
546 |
|
|
#> apt-get install libpng2-dev |
547 |
|
|
#> apt-get install libjpeg62-dev |
548 |
|
|
... still the same error with "make test" |
549 |
|
|
#> apt-get install libpng3 libpng3-dev |
550 |
|
|
#> apt-get install libfreetype6-dev |
551 |
|
|
The first output xml is seen! Great! Let's move on to graphviz: |
552 |
joko |
1.19 |
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. |
553 |
joko |
1.18 |
#> apt-get install graphviz |
554 |
|
|
???#> perl -MCPAN -e "install Template" |
555 |
|
|
#> perl -MCPAN -e "install Graphviz" |
556 |
joko |
1.19 |
->CPAN--IPC::Run |
557 |
|
|
->CPAN--Graph |
558 |
|
|
->CPAN--Math::Bezier |
559 |
|
|
->CPAN--Heap |
560 |
joko |
1.20 |
Freetype Font's do not work! |
561 |
|
|
#> apt-get install freetype2-tools |
562 |
|
|
#> apt-get install libttf-dev |
563 |
joko |
1.21 |
#> apt-get install xfonts-scalable |
564 |
joko |
1.19 |
|
565 |
joko |
1.18 |
|
566 |
|
|
o quick (javascript) search for netfrag.org and packages.debian.org (xul?) |
567 |
|
|
|
568 |
|
|
o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]] |
569 |
|
|
|
570 |
|
|
@lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/ |
571 |
|
|
|