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