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.9 2003/03/07 20:56:02 joko Exp $ |
14 |
$Log: joko_2003-03.twingle,v $ |
15 |
Revision 1.9 2003/03/07 20:56:02 joko |
16 |
+ AUTOCOMMIT: updated/added content |
17 |
|
18 |
Revision 1.8 2003/03/07 18:26:17 joko |
19 |
+ AUTOCOMMIT: updated/added content |
20 |
|
21 |
Revision 1.7 2003/03/07 17:56:46 joko |
22 |
+ AUTOCOMMIT: updated/added content |
23 |
|
24 |
Revision 1.6 2003/03/07 16:56:42 joko |
25 |
+ AUTOCOMMIT: updated/added content |
26 |
|
27 |
Revision 1.5 2003/03/07 15:57:11 joko |
28 |
+ AUTOCOMMIT: updated/added content |
29 |
|
30 |
Revision 1.4 2003/03/07 04:25:54 joko |
31 |
+ AUTOCOMMIT: updated/added content |
32 |
|
33 |
Revision 1.3 2003/03/07 03:56:59 joko |
34 |
+ AUTOCOMMIT: updated/added content |
35 |
|
36 |
Revision 1.2 2003/03/07 00:56:08 joko |
37 |
+ AUTOCOMMIT: updated/added content |
38 |
|
39 |
Revision 1.1 2003/03/06 22:34:20 joko |
40 |
+ initial commit |
41 |
|
42 |
|
43 |
@sequence meta |
44 |
@x-transport |
45 |
@x-transport-from grasshopper.netfrag.org |
46 |
@x-transport-to quepasa.netfrag.org |
47 |
@x-transporter Microsoft Windows |
48 |
@x-transporter WinCVS [WinCVS 1.3.8.1 Beta 8 (Build 1)] |
49 |
@x-transporter-protocol cvs client-server protocol |
50 |
@x-transporter OpenSSH client on grasshopper [OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f] |
51 |
@x-transporter-protocol ssh [OpenSSH Version 2] |
52 |
@x-transporter OpenSSH daemon on quepasa [OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f] |
53 |
@x-transporter cvs [Concurrent Versions System (CVS) 1.11.1p1 (client/server)] |
54 |
@x-transporter-protocol cvs client-server protocol |
55 |
@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] |
56 |
@x-transporter-protocol ext3 |
57 |
@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] |
58 |
@x-transporter-protocol ext3 |
59 |
#@x-converter twingle [Twingle 0.01 - http://search.netfrag.org/twingle] |
60 |
|
61 |
@sequence script |
62 |
@set o=@todo |
63 |
|
64 |
|
65 |
|
66 |
@sequence block |
67 |
@injected |
68 |
@date 2003-03-06 20:29 |
69 |
@file [unknown] |
70 |
@x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3) |
71 |
@x-transporter Microsoft COM |
72 |
@x-transporter-protocol copy & paste negotiation |
73 |
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
74 |
|
75 |
|
76 |
o use arial|verdana for netscape|mozilla rendering on netfrag.org |
77 |
|
78 |
- We get spam! |
79 |
After feeling relatively safe through amavis based email filtering, it happened again. |
80 |
jonen recieved some spam again. |
81 |
|
82 |
Why? |
83 |
I believe the addresses get collected by foreign agents crawling |
84 |
the growing content on netfrag.org. |
85 |
|
86 |
What todo now? |
87 |
Mungle email addresses published on netfrag.org through some lisp- |
88 |
or scheme-based address-mungler found recently. |
89 |
They stay rfc-compliant, but are (hopefully) unreachable for common |
90 |
regex parsers. |
91 |
Send info to ->jonen. |
92 |
@tbd Automate this task! Do you wanna rewrite each address by hand...??? |
93 |
|
94 |
o personal requirement: |
95 |
o daily: review contributions made by other users |
96 |
o requirement to solve this: have everything as rss/rdf and filter the xml by author |
97 |
|
98 |
o rss.netfrag.org (register) |
99 |
o establish some web-based rss-browser embedding content from |
100 |
o RssGenerators for local content ... |
101 |
o news//rss (for news.netfrag.org) |
102 |
o cvs//rss (for cvs.netfrag.org) |
103 |
o ... and RssGateways to other ones, possibly at remote locations |
104 |
o phpWiki//rss (for www.netfrag.org) |
105 |
o TWiki//rss (for future www.netfrag.org) |
106 |
|
107 |
o post to perl-development (nfo.dev.perl): |
108 |
o how to abstract the view/editing of xml-files via an api? |
109 |
o fetch: all|single-node |
110 |
o edit: single-node flattened into an object |
111 |
o browser layer: locator registry (pointing to a) an orm-db and b) to a file-set of xml-files (our control-db)) |
112 |
o item layer: view/edit nodes of an xml-file a) in a tree-editor (look at HTML_Tree_XYZ itself!!!) and |
113 |
b) split into our "flat-components" Item and List (object-like) |
114 |
|
115 |
how b)? solve in backend! |
116 |
o backend |
117 |
o change values containing references to their interpolated placeholders to convert a node to an item |
118 |
->getNode(...) |
119 |
example: getNode('root') |
120 |
o place querying api via XPath parallel to that -> also returns a single node or multiples (a node-set) |
121 |
->getNodeSet(...) |
122 |
example: getNodeSet('xpath-query|named-filter') |
123 |
o establish backend querying api for xml-documents on top of that! |
124 |
->sendQuery(...) should dispatch to one of ->getNode or ->getNodeSet |
125 |
o frontend |
126 |
o browse relations (parent-, child-node) using the ValueInterpolator and the ItemComponent |
127 |
o edit Attributes and Content of Nodes with the ItemComponent showing *two* areas (this is the "FlatteningOfNodes"): |
128 |
o -> attributes |
129 |
o -> content |
130 |
That's the way various XML-EasyTree-Xyz implementations use to work. |
131 |
@link http://www.cpan.org/ |
132 |
o frontend issues these generic rpc-commands to the backend (encapsulated somewhere) |
133 |
o ->sendQuery(array(remote=1, rpc=1, blah=1, $query )) - |
134 |
which gets dispatched by switching some stuff from "$query" to these methods under the hood (in fact, *implemented at backend side*) |
135 |
o ->getNodeSet('xpath-query|named-filter') |
136 |
example: |
137 |
$xml_filter_query = array( 'return' => 'object|object-set', [filter => 'xpath-query|named-filter'] ); |
138 |
(speak: Item or List) |
139 |
sendQuery(array(remote=1, rpc=1, blah=1, $xml_filter_query , xml=1??? )) - |
140 |
|
141 |
--> what is 'remote' and/or 'rpc' about??? |
142 |
if i remember that right - 'remote' means 'orm' (the datasource-type) and 'rpc' means 'rpc' (the transport-type) |
143 |
|
144 |
o new twingle-symbol-topology using ... |
145 |
<code> |
146 |
o ... @-tags (stolen from JavaDoc via phpDocumentor) |
147 |
o @-tags only refer to scopes they live in |
148 |
o make the basic work: @todo, @link, @see, etc. (but enhanced - of course - since perl doesn't limit you in any way....!!!) |
149 |
o add some more: @sequence, @is-a, @title |
150 |
o @see |
151 |
o @embed this-and-that from these .twingle files: |
152 |
o @link DummyNamespaces in PHP - final proposal.twingle |
153 |
o @link Re - Namespaces in PHP.twingle |
154 |
</code> |
155 |
|
156 |
o project-metadata: / nfo topics |
157 |
<code> |
158 |
@is-a rfc |
159 |
@todo tbd |
160 |
x @topic source(cvs) |
161 |
x @topic doc(api) |
162 |
o @topic source(raw) (via symlinks: expand directories first, symlink files afterwards!) |
163 |
o @topic doc(tutorial) |
164 |
o @topic doc(examples) |
165 |
o @topic doc(howto) |
166 |
o introduce: @subtopic: |
167 |
@topic source |
168 |
@subtopic raw|cvs |
169 |
@topic doc |
170 |
@subtopic api|tutorial|examples|howto |
171 |
</code> |
172 |
|
173 |
o register: api.netfrag.org |
174 |
|
175 |
o arcor!!! |
176 |
|
177 |
o working alpha version of "Ts" on new server niu!!! |
178 |
|
179 |
o .phpdocrc: split main code to module, integrate index-generation of predefined (registered) modules |
180 |
|
181 |
o RssNewsletter: |
182 |
o schedule |
183 |
o hourly, daily, weekly, monthly, on-incoming |
184 |
o choose topic |
185 |
o all topics (cvs, news, api, docs, www) |
186 |
o choose destination |
187 |
o filtered-rss made available at specified url as xml or xhtml |
188 |
o via email |
189 |
o archived in archive-type (zip|tar) with format (html|) |
190 |
made available at specified url |
191 |
|
192 |
o look at FreeBSD's "doscmd"!!! |
193 |
|
194 |
o mechanism to refactor old smtp-mail-messages into new nntp-news-posts |
195 |
all our tools fail! *forwarding* the message seems to break mime (for e.g. the mozilla-viewer and probably others) |
196 |
o possible solution: strip "--- forwarded by ---" - header before actually posting |
197 |
maybe identifiable by subject: [Fwd: ] |
198 |
|
199 |
o enhance Twingle: |
200 |
o twingle2message: |
201 |
o twingle2mail: twingle2rfc822, twingle2mime |
202 |
o twingle2news: twingle2rfc |
203 |
|
204 |
o gather version info from installed components: |
205 |
o CPAN |
206 |
o PEAR |
207 |
x GNU: <program> --version (e.g.: cvs --version) |
208 |
x OpenSSH: ssh -V |
209 |
x Linux: cat /proc/version |
210 |
o our Perl-/PHP- component system |
211 |
|
212 |
|
213 |
|
214 |
@sequence block |
215 |
@written |
216 |
@date 2003-03-06 |
217 |
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
218 |
|
219 |
o what are the MIME-types of XML-payloads sent between (e.g.) RPCXML-hosts??? |
220 |
text/xml??? |
221 |
|
222 |
look at /etc/mime.types!!! |
223 |
e.g.: (stripped from there) - looking interesting: |
224 |
|
225 |
text/* |
226 |
text/x-java |
227 |
text/uri-list |
228 |
text/rfc822-headers |
229 |
text/directory |
230 |
text/vnd.IPTC.NewsML |
231 |
text/vnd.IPTC.NITF |
232 |
text/vnd.motorola.reflex |
233 |
text/vnd.DMClientScript |
234 |
text/richtext |
235 |
text/rtf |
236 |
text/plain |
237 |
text/comma-seperated-values |
238 |
text/css |
239 |
text/enriched |
240 |
|
241 |
--> vnd=vendor??? |
242 |
|
243 |
@sequence references |
244 |
@title The text/enriched MIME Content-type |
245 |
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1896.html |
246 |
@title Mechanisms for Specifying and Describing the Format of Internet Message Bodies |
247 |
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1521.html |
248 |
@title The text/enriched MIME Content-type |
249 |
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1523.html |
250 |
@title Mechanisms for Specifying and Describing the Format of Internet Message Bodies |
251 |
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1341.html |
252 |
@title The text/enriched MIME Content-type |
253 |
@link http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1563.html |
254 |
|
255 |
message/delivery-status |
256 |
message/disposition-notification |
257 |
message/external-body |
258 |
message/http |
259 |
message/s-http |
260 |
message/news |
261 |
message/partial |
262 |
message/rfc822 |
263 |
|
264 |
inode/chardevice |
265 |
inode/blockdevice |
266 |
inode/directory-locked |
267 |
inode/directory |
268 |
inode/fifo |
269 |
inode/socket |
270 |
|
271 |
multipart/* |
272 |
|
273 |
o refactor some twingle tags using ETF: |
274 |
@link http://citeseer.nj.nec.com/borenstein94textenriched.html |
275 |
--- snip --- |
276 |
@misc{ borenstein-textenriched, |
277 |
author = "N. Borenstein", |
278 |
title = "The text/enriched MIME Content-type", |
279 |
url = "citeseer.nj.nec.com/borenstein94textenriched.html" } |
280 |
--- snip --- |
281 |
|
282 |
o re-enable yakka! |
283 |
@link http://netfrag.org/~bareface/yakka/ |
284 |
|
285 |
o search.netfrag.org |
286 |
o enable mnoGoSearch to index http://www.netfrag.org/docs/code/api/ |
287 |
|
288 |
o post xml-via-rpc-querying proposal from above to nfo.dev.perl and cc to jonen! |
289 |
|
290 |
o enhancement for Twingle AutoLink LinkInterpolation: |
291 |
o don't resolve namespace identifiers (e.g. 'Data::Storage') against |
292 |
global search.netfrag.org/Search::This::Namespace |
293 |
o query namespaced links against an organization-wide (custom) NamespaceRegistry before!!! |
294 |
o use mysql/Tangram? |
295 |
o use xml? |
296 |
o just fallback to "GlobalSerchMode" if nothing was found in the step before! |
297 |
o Data::Storage will directly be resolved to this url or tag afterwards: |
298 |
@link http://www.netfrag.org/docs/topics/perl-libs/Data-Storage.html |
299 |
and not to |
300 |
@link http://www.netfrag.org/search/?q=Data::Storage&o=1&ul=/ |
301 |
like it was before! |
302 |
|
303 |
o mimic the functionality of TLTP (The LDAP Trigger Process) by using Data::Rap. |
304 |
|
305 |
o applications to be solved using LDAP |
306 |
o organization-wide addressbook |
307 |
o global / per-app software component registry |
308 |
o organization-wide item library -> inventory |
309 |
|
310 |
dot http://www.nc.ihost.com/ -> IBM |
311 |
|
312 |
@topic EasyAuthoring |
313 |
@see sdf |
314 |
@see text/enriched |
315 |
@see ETF |
316 |
@see WPP |
317 |
@link http://the.sunnyspot.org/wpp/index.html |
318 |
|
319 |
@company Watchfire |
320 |
@topic centrally located site integrity management software |
321 |
@link http://www.watchfire.com/ |
322 |
|
323 |
o look at brian finley's "Storage" article series at http://hpc.devchannel.org/ !!! |
324 |
|
325 |
- f-prot error on quepasa.netfrag.org: |
326 |
root@quepasa:~# tail -f /var/log/mail.log |
327 |
--- snip --- |
328 |
Mar 7 18:23:30 quepasa amavis[20705]: Virus scanner failure: /usr/local/f-prot/f-prot (error code: 1) |
329 |
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. |
330 |
Mar 7 18:23:30 quepasa amavis[20705]: mail processing failed, RETRY/TEMPFAIL |
331 |
Mar 7 18:23:30 quepasa sm-mta[20758]: h27HLveE020758: Milter: data, reject=451 4.7.1 Please try again later |
332 |
--- snip --- |
333 |
root@quepasa:~# /usr/local/f-prot/f-prot |
334 |
Error: SIGN.DEF is damaged or incompatible with this version of F-PROT. |
335 |
root@quepasa:~# /usr/local/f-prot/check-updates.sh |
336 |
root@quepasa:~# /usr/local/f-prot/f-prot |
337 |
|
338 |
|
339 |
|
340 |
@sequence block |
341 |
@injected |
342 |
@date 2003-03-07 19:01 |
343 |
@file [unknown] |
344 |
@x-editor Notepad [Microsoft Editor Version 5.0 (Build 2195: Service Pack 3) |
345 |
@x-transporter Microsoft COM |
346 |
@x-transporter-protocol copy & paste negotiation |
347 |
@x-editor UltraEdit [UltraEdit(r)-32 Professional Text/HEX Editor Version 8.10b] |
348 |
|
349 |
@set ->=@see |
350 |
|
351 |
|
352 |
o .phpdocrc: Tie::IxHash |
353 |
|
354 |
- writing a browser is a complex task |
355 |
-> Internet Explorer |
356 |
-> KDE xyz |
357 |
-> Mozilla |
358 |
|
359 |
- writing a mailer is a complex task |
360 |
-> Microsoft Outlook and (-Express) |
361 |
-> KDE (KMail, Kontact, Kolab) |
362 |
-> Evolution |
363 |
-> Mahogany |
364 |
|
365 |
|
366 |
|
367 |
@sequence block |
368 |
@written |
369 |
@date 2003-03-07 |
370 |
|
371 |
- janosch: pdf-gateway!? |
372 |
|
373 |
o setup ->colorize on quepasa.netfrag.org |
374 |
|
375 |
o refactor DesignPattern::MVC |
376 |
o new: @uses instances of classes inherited from the base ones |
377 |
DesignPattern::MVC::Model and DesignPattern::MVC::View, where |
378 |
- DesignPattern::MVC::Model is-a DesignPattern::Observer::Subject |
379 |
- DesignPattern::MVC::View is-a DesignPattern::Observer |
380 |
o new: refactor the rules-subsystem to be a ChangeManager |
381 |
between Subject and Observer sits a ChangeManager acting as mediator (is-a DesignPattern::Mediator) |
382 |
@see http://selab.korea.ac.kr/selab/courses/GoF-patterns/observer.htm |
383 |
|
384 |
o Twingle! |
385 |
o twingle -> dispatchmail (Twingle::Mail) |
386 |
o twingle -> twingledoc (Twingle::Doc) |
387 |
|