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