<?xml version="1.0" encoding="UTF-8"?><rss xmlns:xrl="http://1060.org/xrl" version="2.0"><channel><title>1060 Forum - Recent Entries</title><link>http://www.1060.org/forum/</link><description>
					Entries: 15 Views: 72</description><generator>1060 NetKernel Standard Edition v2.x.x 1060 Forum v1.0.0</generator><language>en-us</language><ttl>60</ttl><item><title>ok ... so how do I ...</title><link>http://www.1060.org/forum/entry/1674</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1674</guid><description>&lt;div&gt;Greetings Randy and Tony,&lt;br/&gt;&lt;br/&gt;Thanks for taking the time to track down the problem. I have done the same in DPML and that worked, so I was stumped for quite some time there. Hopefully you will advise me how best to tackle my problem then (without having to resort to actually managing my files myself).&lt;br/&gt;&lt;br/&gt;I'm trying to build a resource tree. The database is very simple, one record which contains the Bill of Material : ASSETBOM (shortdesc_owner, shortdesc_member);&lt;br/&gt;&lt;br/&gt;I enter my program with (obviously) a shortdesc_owner. In one run of the program I read all the shortdesc_members and in a loop start the program recursively for all of them (going down the tree). I've got the recursion covered. What I don't have covered is that I need to keep all the results. Let me give an example output :&lt;br/&gt;Level   Shortdesc&lt;br/&gt;0       SVLIPC16&lt;br/&gt;1       SVLIPC16_BOOTDISK&lt;br/&gt;1       SVLIPC16_CPU&lt;br/&gt;1       SVLIPC16_NETWORK&lt;br/&gt;2       SVLIPC16_NETW0&lt;br/&gt;2       XW010101_P001&lt;br/&gt;1       SVLIPC16_SAN&lt;br/&gt;(and then think some nice XSLT-transformation for the eye-candy).&lt;br/&gt;Now, since I have recursion covered, those levelnumbers are easy. I just pass a param down the line, increase /nvp/level at each pass. Piece of cake. For my data I thought to be smart as well and pass the URI as /nvp/uri. In DPML this worked great (but relatively slow). In Python ... I ran into the optimisation problem (but with "ordinary" files I outperform DPML 3/1).&lt;br/&gt;&lt;br/&gt;So Tony, while I do agree that this may not occur often in a real application, it does occur in mine ;-).&lt;br/&gt;&lt;br/&gt;Any suggestions ?&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Mon, 06 Oct 2008 06:38:00 GMT</pubDate></item><item><title>The cause</title><link>http://www.1060.org/forum/entry/1673</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1673</guid><description>&lt;div&gt;Hi Tom,&lt;br/&gt;I've looked into the test case you have and confirm that it is working as expected (at least by NetKernel if not you ;-) &lt;br/&gt;&lt;br/&gt;What is happening is that NKF API contains an optimisation to not re-request when it already has something and the response hasn't expired. So in this situation what happens is that the second source request isn't performed. (this explains why the visualizer doesn't show the request) Even if it was performed it would be plucked from the cache and the same result would ensue.&lt;br/&gt;&lt;br/&gt;I suspect the reason why the response from the source isn't expired is because ffcpl module resources use a poll period to avoid excessive file IO that drains performance. This poll period can be changed on the "Kernel Parameter Manager" page on the control panel. However it isn't good to rely upon this because it is entirely possible that the granularity of the filesystem timestamp isn't high-enough to detect the change anyway.&lt;br/&gt;&lt;br/&gt;Sorry this has tripped you up though I suspect this kind of behavior wouldn't happen much in a real application.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Tony&lt;/div&gt;</description><pubDate>Fri, 03 Oct 2008 16:19:00 GMT</pubDate></item><item><title>Confirmed behavior</title><link>http://www.1060.org/forum/entry/1672</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1672</guid><description>&lt;div&gt;Tom,&lt;br/&gt;&lt;br/&gt;Thank you for the program!&lt;br/&gt;&lt;br/&gt;I can confirm that only that first SOURCE request is showing up in the visualizer on my system. I changed the program a bit to see if some initial ideas about the problem would resolve it and they do not.&lt;br/&gt;&lt;br/&gt;We will now take a look at the issue and get back to you promptly.&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;-- Randy&lt;/div&gt;</description><pubDate>Fri, 03 Oct 2008 14:35:00 GMT</pubDate></item><item><title>the source</title><link>http://www.1060.org/forum/entry/1671</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1671</guid><description>&lt;div&gt;Greetings Randy,&lt;br/&gt;&lt;br/&gt;Here it is :&lt;br/&gt;&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;import sys&lt;br/&gt;import time&lt;br/&gt;sys.add_package("org.ten60.netkernel.layer1.representation")&lt;br/&gt;sys.add_package("org.ten60.netkernel.xml.representation")&lt;br/&gt;sys.add_package("org.ten60.netkernel.xml.xda")&lt;br/&gt;sys.add_package("org.ten60.netkernel.xml.util")&lt;br/&gt;sys.add_package("org.ten60.netkernel.layer1.nkf")&lt;br/&gt;sys.add_package("org.ten60.rdbms.representation")&lt;br/&gt;from org.ten60.netkernel.layer1.representation import StringAspect   &lt;br/&gt;#######################################################&lt;br/&gt;temp_uri="ffcpl:/tmp/test_randy"&lt;br/&gt;# Write initial output &lt;br/&gt;outputs="BEGIN"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#######################################################&lt;br/&gt;output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+="\nTHIS LINE GOES LOST"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#######################################################&lt;br/&gt;output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+="\nEND"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#######################################################&lt;br/&gt;resp=context.createResponseFrom(StringAspect('RETURN'))&lt;br/&gt;resp.setMimeType("text/xml")&lt;br/&gt;context.setResponse(resp)&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;And my output in /tmp/test_randy :&lt;br/&gt;BEGIN&lt;br/&gt;END&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Fri, 03 Oct 2008 06:35:00 GMT</pubDate></item><item><title>Re: NK 4 Preview 1</title><link>http://www.1060.org/forum/entry/1670</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1670</guid><description>&lt;div&gt;Thanks Peter.&lt;br/&gt;&lt;br/&gt;I'd like to point out that the Preview 1 .jar file is exactly the same one that was distributed on the key at the Architect's Weekend (the source code for the lib modules is new).&lt;br/&gt;&lt;br/&gt;So to install from this .jar file, follow the instructions from the readme.txt file (on the key only), which are as follows:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt; &lt;tr&gt;&lt;td&gt;&lt;div class="forum-quote"&gt;1060 NetKernel v4.0 Preview 1&lt;br/&gt;-----------------------------&lt;br/&gt;&lt;br/&gt;The NetKernel preview is packaged in an executable jar. NetKernel is&lt;br/&gt;pre-built to run from the jar - like a Linux-Live-CD.&lt;br/&gt;&lt;br/&gt;There's an installer tool that allows NetKernel to install itself to a&lt;br/&gt;local disk.&lt;br/&gt;&lt;br/&gt;System Requirements:&lt;br/&gt;--------------------&lt;br/&gt;&lt;br/&gt;NetKernel 4 requires Java 5 or higher.&lt;br/&gt;&lt;br/&gt;To view the SVG diagrams in the documentation you will need an XHTML/SVG capable&lt;br/&gt;browser such as Firefox or Opera.&lt;br/&gt;&lt;br/&gt;Boot&lt;br/&gt;----&lt;br/&gt;&lt;br/&gt;To boot NetKernel:&lt;br/&gt;&lt;br/&gt;java -jar 1060-NetKernel-4.0.0-preview-1.jar&lt;br/&gt;&lt;br/&gt;and point your browser at&lt;br/&gt;&lt;br/&gt;http://localhost:1060&lt;br/&gt;&lt;br/&gt;Install&lt;br/&gt;-------&lt;br/&gt;&lt;br/&gt;To install NetKernel, when booted, point your browser at&lt;br/&gt;&lt;br/&gt;http://localhost:1060/installer/&lt;br/&gt;&lt;br/&gt;Follow the prompts to tell NetKernel where to install itself.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;enjoy,&lt;br/&gt;-tom&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 16:25:00 GMT</pubDate></item><item><title>Python program</title><link>http://www.1060.org/forum/entry/1669</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1669</guid><description>&lt;div&gt;Tom,&lt;br/&gt;&lt;br/&gt;I am not a python programmer, however, I am now setup with a debug module in which I want to replicate your problem with sink/source.&lt;br/&gt;&lt;br/&gt;Would you mind posting a &lt;i&gt;complete&lt;/i&gt;, short python script that replicates the problem with some simple strings? I'll use that in my module and see if I can figure out what is going on.&lt;br/&gt;&lt;br/&gt;Thanks -- Randy[/i]&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 15:57:00 GMT</pubDate></item><item><title>NK 4 Preview 1</title><link>http://www.1060.org/forum/entry/1668</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1668</guid><description>&lt;div&gt;I just sent email with details of where to get the limited access preview. If you didn't get it (or I screwed up the mailing list ;-) please drop me a note and I'll point you to it.&lt;br/&gt;&lt;br/&gt;Cheers and enjoy.&lt;br/&gt;&lt;br/&gt;Peter&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 14:58:00 GMT</pubDate></item><item><title>jdbc indeed</title><link>http://www.1060.org/forum/entry/1667</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1667</guid><description>&lt;div&gt;Greetings Randy, Tony,&lt;br/&gt;&lt;br/&gt;Its indeed a jdbc problem. It does work in HSQLDB. So I'm considering it a limitation of sqlite (you can't have everything in so small an engine).&lt;br/&gt;Thanks for the suggestions that put me in the right track ... moving on to the other fish I got to fry with this application ;-)&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;br/&gt;&lt;br/&gt;P.S. Randy, if you still want to have a look at the code your welcome to it (but I presume there's plenty of problems waiting at the moment). Its the same code I have the sink/source problem with.&lt;br/&gt;&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 14:22:00 GMT</pubDate></item><item><title>non threadsafe issue in jdbc driver</title><link>http://www.1060.org/forum/entry/1666</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1666</guid><description>&lt;div&gt;Hi Tom,&lt;br/&gt;&lt;br/&gt;I'd say it looks like your jdbc driver isn't threadsafe and you are hitting it with concurrent requests.&lt;br/&gt;&lt;br/&gt;A solution might be to look for options on it's configuration or look at limiting the pool size for connections to 1. &lt;br/&gt;&lt;br/&gt;If none of that works maybe you could create a data layer in your application to do database ops and place a throttle over it.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Tony&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 12:54:00 GMT</pubDate></item><item><title>DB Problem</title><link>http://www.1060.org/forum/entry/1665</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1665</guid><description>&lt;div&gt;Tom,&lt;br/&gt;&lt;br/&gt;The exception report seems to be coming from your database, if so my comments may help...&lt;br/&gt;&lt;br/&gt;In your code snippet you are iterating on the results of a query. Since the DOM has already been created there should be no active connection to the database for that query. So the exception can't be caused by that code.&lt;br/&gt;&lt;br/&gt;I'll presume that the code "impact_tree.py" is connecting to your database also. Since you are calling the code asynchronously you may be getting the database into a state it doesn't like. I don't know SQLLite. However I do know that some databases require column access in a certain order if BLOB or CLOB columns are involved. (The columns must be accessed in the order they are mentioned in the SQL statement - this has to do with buffering, etc in JDBC and the driver). &lt;br/&gt;&lt;br/&gt;If you can provide the code (or a summary of it) from "impact_tree.py" maybe I can be of further assistance.&lt;br/&gt;&lt;br/&gt;Randy&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 12:35:00 GMT</pubDate></item><item><title>async processing</title><link>http://www.1060.org/forum/entry/1664</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1664</guid><description>&lt;div&gt;Greetings,&lt;br/&gt;-- I seem to monopolise the forums at the moment ... ah well :-)&lt;br/&gt;&lt;br/&gt;This is a snippet of my code ...&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;   counter=0&lt;br/&gt;   resp={}&lt;br/&gt;   for i in resultdom.getNodesFor('/results/row/shortdesc'):&lt;br/&gt;      counter+=1&lt;br/&gt;      newdesc=resultdom.getText('/results/row[' + str(counter) + ']/shortdesc',0)&lt;br/&gt;      sat.setText('/nvp/description',newdesc)&lt;br/&gt;      sr=context.createSubRequest("active:python")&lt;br/&gt;      sr.addArgument("operator", "ffcpl:/resources/impact_tree.py")&lt;br/&gt;      sr.addArgument("param",DOMXDAAspect(sat))&lt;br/&gt;      resp[counter]=context.issueAsyncSubRequest(sr)&lt;br/&gt;&lt;br/&gt;   counter=0   &lt;br/&gt;   for i in resultdom.getNodesFor('/results/row/shortdesc'):&lt;br/&gt;      counter+=1&lt;br/&gt;      resp[counter].join()&lt;br/&gt;&lt;br/&gt;# Write final output&lt;br/&gt;if level==0:&lt;br/&gt;   # Here the code for after all processing&lt;br/&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;As you can see I submit requests in a loop. Actually this is recusive, this is a snippet from impact_tree.py itself. I'm not really interested in the results ... however, I do want to know when all the requests in the loop have ended since I do have some final processing to do (only at the lowest level, but I know when that is).&lt;br/&gt;&lt;br/&gt;I'd say that logically speaking my code is correct, however it throws following exception :&lt;br/&gt;&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;Message: call() called in inappropriate state &lt;br/&gt;Callstack: org.ibex.nestedvm.Runtime.call() line:655 &lt;br/&gt;org.ibex.nestedvm.Runtime.call() line:647 &lt;br/&gt;org.sqlite.NestedDB.call() line:451 &lt;br/&gt;org.sqlite.NestedDB.call() line:433 &lt;br/&gt;&lt;br/&gt;org.ibex.nestedvm.Runtime$ExecutionException: Jumped to invalid address at (unknown)&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;Seems that I'm pushing something to the limit ... any pointers as to what that can be ?&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 07:02:00 GMT</pubDate></item><item><title>read write works ... source sink does not</title><link>http://www.1060.org/forum/entry/1663</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1663</guid><description>&lt;div&gt;Greetings,&lt;br/&gt;&lt;br/&gt;I replaced the source/sinks with "normal" python file access ... and that works. However I don't like it. I've got to specify where my files go, need specific routines for copying and deleting ... Somehow this does not feel like what I've gotten used to when using Netkernel.&lt;br/&gt;&lt;br/&gt;So ... still looking for a solution to my "source"-problem ...&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Thu, 02 Oct 2008 05:34:00 GMT</pubDate></item><item><title>Re: Proxy my Accessors?</title><link>http://www.1060.org/forum/entry/1662</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1662</guid><description>&lt;div&gt;Hi Shane,&lt;br/&gt;&lt;br/&gt;Because of the loose coupling inherent in ROC, adding AOP-like behavior is easy. It is most often a matter of "wrapping" existing services by intercepting or translating their logical addresses.&lt;br/&gt;&lt;br/&gt;So, instead of thinking about extending accessors or altering code, imagine the logical requests flowing around the system. The logical requests are all specified by URIs. You probably want to "intercept" only a identified subset of these URIs and pass the rest through. This is the ROC equivalent of identifying your joinpoints in AOP.&lt;br/&gt;&lt;br/&gt;You are correct in identifying this pattern as an overlay in NK4, but the Functional Overlay pattern is also implementable in NK3:&lt;br/&gt;&lt;br/&gt;&lt;a href="http://docs.1060.org/docs/3.3.0/book/architectguide/doc_tutorial_patterns_functional_overlay.html" target="_new"&gt;http://docs.1060.org/docs/3.3.0/book/architectguide/doc_tutorial_patterns_functional_overlay.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;     regards,&lt;br/&gt;     -Tom&lt;br/&gt;[/quote]&lt;/div&gt;</description><pubDate>Wed, 01 Oct 2008 17:38:00 GMT</pubDate></item><item><title>Proxy my Accessors?</title><link>http://www.1060.org/forum/entry/1661</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1661</guid><description>&lt;div&gt;Is it possible to proxy my accessors for AOP types of behavior?  I have two problems when I look at this.  One, I will need some means to control the creation process by NetKernel and second, the lack of interfaces at this level.  I realize I could probabaly implement my own base accessor and in turn achieve some of the same goals but I like the idea of wrapping them post implementation.&lt;br/&gt;&lt;br/&gt;I also realize there will be overlay opportunites in 4.x but we are currently working in 3 and will be there for a while.  In either case wrapping the accessor would work in both platforms.&lt;/div&gt;</description><pubDate>Wed, 01 Oct 2008 17:05:00 GMT</pubDate></item><item><title>Where is the download?</title><link>http://www.1060.org/forum/entry/1660</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1660</guid><description>&lt;div&gt;Hi Peter,&lt;br/&gt;&lt;br/&gt;Hope the architects weekend went fantastic.&lt;br/&gt;I am itching to see NK4. How do I get it?&lt;br/&gt;&lt;br/&gt;Warm regards,&lt;br/&gt;Satya&lt;/div&gt;</description><pubDate>Wed, 01 Oct 2008 10:59:00 GMT</pubDate></item><item><title>well ...</title><link>http://www.1060.org/forum/entry/1659</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1659</guid><description>&lt;div&gt;Randy,&lt;br/&gt;&lt;br/&gt;No worries. Take your time to unpack ...&lt;br/&gt;If I put only one source-request (I tried both source and sourceAspect) in my code it works as I expect :&lt;br/&gt;&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;if level==0:&lt;br/&gt;   outputs="{\r\n identifier: 'shortdesc',\r\n label: 'shortdesc',\r\n items: ["&lt;br/&gt;   context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;&lt;br/&gt;# So this first source request works&lt;br/&gt;resp=context.source(temp_uri,StringAspect)&lt;br/&gt;output=resp.getAspect(StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+= "\r\n  { shortdesc:'" &lt;br/&gt;outputs+= description &lt;br/&gt;outputs+= "', numberOfItems:0,"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#&lt;br/&gt;# And here I now comment the source request ... &lt;br/&gt;#resp=context.source(temp_uri,StringAspect)&lt;br/&gt;#output=resp.getAspect(StringAspect)&lt;br/&gt;#outputs=str(output.getString())&lt;br/&gt;outputs+="\r\n  }" &lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#&lt;br/&gt;# Write final output and again I comment out the source request&lt;br/&gt;if level==0:&lt;br/&gt;   #resp=context.source(temp_uri,StringAspect)&lt;br/&gt;   #output=resp.getAspect(StringAspect)&lt;br/&gt;   #outputs=str(output.getString())&lt;br/&gt;   outputs+= "\r\n ]\r\n}"&lt;br/&gt;   context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;   context.sinkAspect(save_uri,StringAspect(outputs))&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;This works perfectly.&lt;br/&gt;However. You'll notice that I've still got way too many sinks. &lt;br/&gt;This is because this is just skeleton code. In between the two main requests I want to do a lot more processing, amongst other things some asynchronous subrequests that will in turn access the same uri.&lt;br/&gt;&lt;br/&gt;So, before each sink I want to make sure I have the latest source (I'm going to add locks and unlocks too). But beyond the first source request none of the others (when I uncomment them) shows up in the visualizer.&lt;br/&gt;&lt;br/&gt;Before you show me the error of my ways, let me explain what I want to accomplish. I'm building up a recursive tree (so my script will call itself recursively). I've managed this perfectly in DPML where I build up the tree in a temporary file. I don't have management of that file, curi takes care of that perfectly (and I pass the uri in the param of each recursive request). Now, I want to speed-up my code by using Python (am thinking of asynchronous requests handled by a table). But now the filehandling seems to be my problem ...&lt;br/&gt;&lt;br/&gt;Long story. Like I said, take your time, in the mean time I'm learning lots by going to all the netkernel code and trying to find similar stuff.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Tue, 30 Sep 2008 14:30:00 GMT</pubDate></item><item><title>Visualizer</title><link>http://www.1060.org/forum/entry/1658</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1658</guid><description>&lt;div&gt;Tom,&lt;br/&gt;&lt;br/&gt;We are just now getting back from the Architects' Weekend and it may take us a little while to unpack and setup in our offices before we can answer your question.&lt;br/&gt;&lt;br/&gt;While you are waiting I'll ask this quick question - have you viewed this request processing in the visualizer? You might want to do so to confirm that all sub-requests are being issued, the arguments are as you think they should be, etc.&lt;br/&gt;&lt;br/&gt;-- Randy&lt;br/&gt;&lt;/div&gt;</description><pubDate>Tue, 30 Sep 2008 13:39:00 GMT</pubDate></item><item><title>request visualizer</title><link>http://www.1060.org/forum/entry/1657</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1657</guid><description>&lt;div&gt;Greetings,&lt;br/&gt;&lt;br/&gt;-- Additional information&lt;br/&gt;&lt;br/&gt;I used the Request Visualizer on this code ...&lt;br/&gt;All the "sinks" are there ... but only the first "source" is listed ...&lt;br/&gt;So my "result" is logical ... but I still don't understand why the other "sourceAspect" requests are not done ...&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Tue, 30 Sep 2008 10:13:00 GMT</pubDate></item><item><title>Goodies</title><link>http://www.1060.org/forum/entry/1656</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1656</guid><description>&lt;div&gt;Greetings,&lt;br/&gt;&lt;br/&gt;Come on Peter ... where can we find the goodies ... :-)&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom (who is getting bad habbits from playing beta versions from online games)&lt;/div&gt;</description><pubDate>Tue, 30 Sep 2008 08:59:00 GMT</pubDate></item><item><title>python filehandling sinkAspect sourceAspect newbie question</title><link>http://www.1060.org/forum/entry/1655</link><guid isPermaLink="true">http://www.1060.org/forum/entry/1655</guid><description>&lt;div&gt;Greetings,&lt;br/&gt;&lt;br/&gt;It's probably a newbie question, but why would this work :&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;# Write initial output &lt;br/&gt;if level==0:&lt;br/&gt;   outputs="{\r\n identifier: 'shortdesc',\r\n label: 'shortdesc',\r\n items: ["&lt;br/&gt;   context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;&lt;br/&gt;#&lt;br/&gt;output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+= "\r\n  { shortdesc:'" &lt;br/&gt;outputs+= description &lt;br/&gt;outputs+= "', numberOfItems:0,"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;And would this not work :&lt;br/&gt;&lt;table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="forum-code"&gt;&lt;pre&gt;# Write initial output &lt;br/&gt;if level==0:&lt;br/&gt;   outputs="{\r\n identifier: 'shortdesc',\r\n label: 'shortdesc',\r\n items: ["&lt;br/&gt;   context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#&lt;br/&gt;# output from this block goes lost&lt;br/&gt;output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+= "\r\n  { shortdesc:'" &lt;br/&gt;outputs+= description &lt;br/&gt;outputs+= "', numberOfItems:0,"&lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;#&lt;br/&gt;# output from this block goes lost&lt;br/&gt;output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;outputs=str(output.getString())&lt;br/&gt;outputs+= "\r\n  }" &lt;br/&gt;context.sinkAspect(temp_uri,StringAspect(outputs))&lt;br/&gt;&lt;br/&gt;# Write final output (this output I get)&lt;br/&gt;if level==0:&lt;br/&gt;   output=context.sourceAspect(temp_uri,StringAspect)&lt;br/&gt;   outputs=str(output.getString())&lt;br/&gt;   outputs+= "\r\n ]\r\n}"&lt;br/&gt;   context.sinkAspect(temp_uri,StringAspect(outputs))&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;These are just preliminary blocks, so yes, I know that its not the most efficient code possible. I basically want to do multiple writes (sinks ?) to the same fileresource at different stages in my code. But I seem to run into some sort of caching (?) problem. Can somebody explain how I should best do this ?&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;Tom&lt;/div&gt;</description><pubDate>Tue, 30 Sep 2008 08:55:00 GMT</pubDate></item></channel></rss>