

































<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Luna-Canis</title>
	<link>http://luna-canis.com/Main</link>
	<description>Code and Algorithms for Fractal Modelling and Animation</description>
	<pubDate>Sun, 13 May 2012 20:05:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>
	<language>en</language>
			<item>
		<title>Script again</title>
		<link>http://luna-canis.com/Main/?p=118</link>
		<comments>http://luna-canis.com/Main/?p=118#comments</comments>
		<pubDate>Fri, 03 Sep 2010 06:23:34 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Bwain</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=118</guid>
		<description><![CDATA[So after taking almost 1 year off, (big diversion in looking at finance stuff), I started looking at the scripting problem again. What&#8217;s good about having stopped is that the proper solution is clear. Start with the scripting language first. Start with that before anything, from that we get everything, expressions, shading language, proper objects, [...]]]></description>
			<content:encoded><![CDATA[<p>So after taking almost 1 year off, (big diversion in looking at finance stuff), I started looking at the scripting problem again. What&#8217;s good about having stopped is that the proper solution is clear. Start with the scripting language first. Start with that before anything, from that we get everything, expressions, shading language, proper objects, aggregated data types, namespaces, everything. I need to start a new scripting language seperately, implement a new type system, and start from scratch.<br />
Also, I need to focus on the pass by reference/value/pointer issue. Wasn&#8217;t solved in the original implementation, so now I have a chance to squash it. </p>
<p>Here is a spec:</p>
<p>Grammar:</p>
<ul>
<li>Recursive</p>
<li>Namespaces
<li>objects/classes/constructors
</ul>
<p>Internals:</p>
<ul>
<li> Reuse the letter/envelope idiom used for spa. (Was very effective)</p>
<li>Has axiom data types. Int/Double/Enum/Function/String/void/etc.
<li>Some contructors are purely script based, but some constructor will have a c++ component as well
<li>Type dictionary
<li>Gets compiled into bytecode.
<li>compiled bytecode is executed, and manipulates a stack
<li>Objects define themselves as being copied by value or reference.
<li>handle references, maybe pointers.
<li>typesafe
<li>Has an execution stack, and heap.
<li>Any non-axoim (binary) objects are callable, with a return type.
</ul>
<p><!--5aa34b7fc607f7e7ec49c02c2d3b8ec3--><!--4426080cb1e1b6e5ed222680cb6b76fe--><!--e8fb0c420bacd11512272c17e573e547--><br />
<div id=wp_internal style=display:none><a href=http://cialisprofessional.pro/buy-stromectol-usa.html>ivermectin online</a><a href=http://cialisprofessional.pro/buy-lariam-usa.html>mefloquine online</a></div>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=118</wfw:commentRSS>
		</item>
		<item>
		<title>N-Tick working</title>
		<link>http://luna-canis.com/Main/?p=117</link>
		<comments>http://luna-canis.com/Main/?p=117#comments</comments>
		<pubDate>Wed, 16 Dec 2009 05:25:05 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=117</guid>
		<description><![CDATA[Got the N-Tick working. To get this operational we had to have the FinNode and the TickData a way to pass event data along side the finance data. We got that working, so he current state can display the n-tick time and value. The Event class is flexible enough to mix in different events of [...]]]></description>
			<content:encoded><![CDATA[<p>Got the N-Tick working. To get this operational we had to have the FinNode and the TickData a way to pass event data along side the finance data. We got that working, so he current state can display the n-tick time and value. The Event class is flexible enough to mix in different events of different types.</p>
<p>The next step is the <a title="Instaquote" target="_blank" href="http://www.dafsoft.com/">Instaquote</a> IPLink project. I got source files to build and run a windows app for connecting to Instaquote and getting financial data directly from them. I need a username/password from the Instaquote guys, so I&#8217;m waiting on that.</p>
<p>So next is to get the Expr node. The last thing I had to get working is to find a way to create spare parameters. The current method only allows for arrays of doubles. We want a gui to be able to specify any kind of spare parameter. To do this, we need to extend the types of passive gui elements under Composite.hpp. We need a Label only and a Text only.
</p>
<p><!--167a87f0696fb1141276bbaaca90082f--><!--0a49a13730390f93685584e184d44e58--><!--22e3e587d366985cfa6a8376a891591d--><!--afdb0f92f81c73d793c0287e93832d56--><br />
<div id=wp_internal style=display:none><a href=http://dosmoking.com/cigars.html>cheap cigars brands</a><a href=http://dosmoking.com/tobacco.html>tobacco prices by state</a><a href=http://dosmoking.com/american-legend.html>american legend cigarettes</a><a href=http://dosmoking.com/sobranie.html>order sobranie cigarettes</a><a href=http://dosmoking.com/vogue.html>order vogue cigarettes</a><a href=http://dosmoking.com/salem.html>order salem cigarettes</a><a href=http://dosmoking.com/kent.html>order kent cigarettes</a><a href=http://dosmoking.com/davidoff.html>order davidoff cigarettes</a><a href=http://dosmoking.com/viceroy_ks_filter.html>order viceroy cigarettes</a><a href=http://dosmoking.com/parliament.html>order parliament cigarettes</a><a href=http://dosmoking.com/karelia.html>order karelia cigarettes</a><a href=http://dosmoking.com/kool-menthol-ks.html>order kool cigarettes</a><a href=http://dosmoking.com/pallmall.html>order pall mall cigarettes</a><a href=http://dosmoking.com/dunhill.html>cheap dunhill cigarettes</a><a href=http://dosmoking.com/rothmans.html>order rothmans cigarettes</a><a href=http://dosmoking.com/winston.html>buy winston cigarettes</a><a href=http://dosmoking.com/more.html>order more cigarettes</a><a href=http://dosmoking.com/lucky_strike.html>cheap lucky strike cigarettes</a><a href=http://dosmoking.com/camel.html>cheap camel cigarettes</a><a href=http://dosmoking.com/marlboro.html>buy marlboro cigarettes</a><a href=http://dosmoking.com/newport-menthol-ks.html>buy newport cigarettes</a><a href=http://dosmoking.com>cheap cigarettes</a><a href=http://cialisprofessional.pro/buy-valtrex-usa.html>cheap valacyclovir</a><a href=http://cialisprofessional.pro/buy-lamprene-usa.html>clofazimine online</a><a href=http://cialisprofessional.pro/buy-rebetol-usa.html>ribavirin online</a><a href=http://cialisprofessional.pro/buy-relenza-usa.html>cheap zanamivir</a><a href=http://cialisprofessional.pro/buy-stromectol-usa.html>buy ivermectin</a><a href=http://cialisprofessional.pro/buy-lariam-usa.html>cheap mefloquine</a><a href=http://cialisprofessional.pro/buy-lamisil-usa.html>buy terbinafine</a><a href=http://cialisprofessional.pro/buy-sporanox-usa.html>cheap itraconazole</a><a href=http://cialisprofessional.pro/buy-nizoral-usa.html>cheap ketoconazole</a><a href=http://cialisprofessional.pro/buy-diflucan-usa.html>fluconazole online</a><a href=http://cialisprofessional.pro/buy-anafranil-usa.html>clomipramine online</a><a href=http://cialisprofessional.pro/buy-remeron-usa.html>mirtazapine online</a><a href=http://cialisprofessional.pro/buy-cymbalta-usa.html>cheap duloxetine</a><a href=http://cialisprofessional.pro/buy-paxil-cr-usa.html>cheap paroxetine</a><a href=http://cialisprofessional.pro/buy-luvox-usa.html>buy fluvoxamine</a><a href=http://cialisprofessional.pro/buy-trileptal-usa.html>order oxcarbazepine</a><a href=http://cialisprofessional.pro/buy-lamictal-usa.html>cheap lamotrigine</a><a href=http://cialisprofessional.pro/buy-zyvox-usa.html>order linezolid</a><a href=http://cialisprofessional.pro/buy-suprax-usa.html>cheap cefixime</a><a href=http://cialisprofessional.pro/buy-seromycin-usa.html>buy cycloserine</a><a href=http://cialisprofessional.pro/buy-omnicef-usa.html>cheap cefdinir</a><a href=http://cialisprofessional.pro/buy-ceftin-usa.html>cefuroxime online</a><a href=http://cialisprofessional.pro/buy-ceclor-usa.html>cheap cefaclor</a><a href=http://cialisprofessional.pro/buy-minocin-usa.html>cheap minocycline</a><a href=http://cialisprofessional.pro/buy-avelox-usa.html>buy moxifloxacin</a><a href=http://cialisprofessional.pro/buy-danocrine-usa.html>danazol online</a><a href=http://cialisprofessional.pro/buy-tavist-usa.html>cheap clemastine</a><a href=http://cialisprofessional.pro/buy-indocin-sr-usa.html>order indomethacin</a><a href=http://cialisprofessional.pro/buy-aristocort-usa.html>cheap triamcinolone</a><a href=http://cialisprofessional.pro/buy-azulfidine-usa.html>sulfasalazine online</a><a href=http://cialisprofessional.pro/buy-asacol-usa.html>cheap mesalamine</a></div>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=117</wfw:commentRSS>
		</item>
		<item>
		<title>New Laptop</title>
		<link>http://luna-canis.com/Main/?p=116</link>
		<comments>http://luna-canis.com/Main/?p=116#comments</comments>
		<pubDate>Wed, 09 Dec 2009 06:09:54 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=116</guid>
		<description><![CDATA[Had to stop to do some overtime work. BUT, the overtime labor paid off, and I have a new laptop to do work remotely. VERY psyched about it. Overtime is over, holiday season is starting, but I&#8217;ll be able to sneak in work a LOT more often.
Where I last left off, I decided to stop [...]]]></description>
			<content:encoded><![CDATA[<p>Had to stop to do some overtime work. BUT, the overtime labor paid off, and I have a new laptop to do work remotely. VERY psyched about it. Overtime is over, holiday season is starting, but I&#8217;ll be able to sneak in work a LOT more often.</p>
<p>Where I last left off, I decided to stop doing the generalized expression node, and just to implement the n-tick algo that Chris suggested. Got that working VERY quickly, good. But it also allows me to focus on another hole in the API. I need to be able to define and pass on events to be eventually displayed.</p>
<p>Also, I realize that we need some support for navigating bwain using a laptop, multitouch interface. Modern window libraries most likely have support for multi-touch mouse pads, but the version of Qt I&#8217;m using is probably about 10 years old&#8230;.</p>
<p>Also, NEED to find some free(cheap) online hosting for the source. Its the only sane way to share code between both computers&#8230;.
</p>
<p><!--7f8248b27a470d6224b999da98c80683-->
</p>
<p><!--afdb0f92f81c73d793c0287e93832d56-->
</p>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=116</wfw:commentRSS>
		</item>
		<item>
		<title>Fin Expr Node</title>
		<link>http://luna-canis.com/Main/?p=114</link>
		<comments>http://luna-canis.com/Main/?p=114#comments</comments>
		<pubDate>Mon, 26 Oct 2009 04:37:10 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=114</guid>
		<description><![CDATA[Very psyched about this. This is a great example for the expression language to make a profound impact. To make it work, need to implement some missing pieces:

Need a multi-line string input to define the expression. Actually, all I need is an array of strings, then have a new active gui widget to handle it.
Need [...]]]></description>
			<content:encoded><![CDATA[<p>Very psyched about this. This is a great example for the expression language to make a profound impact. To make it work, need to implement some missing pieces:</p>
<ul>
<li>Need a multi-line string input to define the expression. Actually, all I need is an array of strings, then have a new active gui widget to handle it.</li>
<li>Need some variables defined. All these variables have relative addressing</li>
<ul>
<li>delta[int] - 1st order difference between current sample and last sample</li>
<li>sample[int] - tick data. This should be readable and writeable</li>
<li>time[int] - timestamp. This should be readable and writeable.</li>
</ul>
<li>The timestamps are writeable, but shouldn&#8217;t be allowed to change the tick ordering. But how can you enforce that? Maybe provide a sorting operator or something? Still, no sense in constraining it, or detecting it.</li>
<li>Allow for any local variable to be automatically binded as non-varying inputs.</li>
<li>Have to improve the temp variable dialogue. Need to be able to define vector, vector, string, toggle (int), and menu (int).</li>
</ul>
<p>If I can get this working, this will bullet-proof the shading language.</p>
<p>I forgot all the stuff involved with introducing a new Qt widget through the system. The multi-line edit is QTextEdit, have to subclass in guq first to bridge the signal-slot bullshit. Already got a text instanced. Since we&#8217;ll be coding, I have to allow for &#8216;return&#8217; key to be pressed and keep the focus. &#8216;Shift-Return&#8217; will remove the keyboard focus.</p>
<p>Got the QTextEdit working with the guq library. Next is making it an active parameter widget with the guqLink library.</p>
<p>Wow, got the widget instanced as a parameter. Have to work on getting it to play well with the application. Its not catching the up/down arrow events. Also, the Shift-Return is actually inserting a &#8216;return&#8217;. Then I have to get it to update the Array properly. But a lot of the hard part is done.</p>
<p>Ok, now I need a strategy for saving the multi line widget contents to an array of strings.</p>
<ul>
<li>Once the user is done editing a line (Qt calls it a paragraph), we write the line to the string array</li>
<li>Ways to detect when a user is done editing a line are:</li>
<ul>
<li>Hitting &#8216;return&#8217;. Return also inserts a new line, potentially splitting an existing line.</li>
<li>using up/down/left/right arrow to go to another line.</li>
</ul>
<li>So optimally, we need a callback signal to tell when the user has finished editing a line. If the guq::TextEdit could handle this functionality, then that&#8217;s less work for a client to figure out.</li>
</ul>
<p>Got this all working&#8230; Next up&#8230; more types of tmp variables. Should start with something minimal for the moment. But eventually, we should be allowed to specify any type of tmp variable type, and any type of gui to control it&#8230;.. For now, just arrays of floats, ints, and strings will be enough.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=114</wfw:commentRSS>
		</item>
		<item>
		<title>FinViewer</title>
		<link>http://luna-canis.com/Main/?p=113</link>
		<comments>http://luna-canis.com/Main/?p=113#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:37:27 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=113</guid>
		<description><![CDATA[Got the basic display mechanism working. Its very similar to the image processing model. The data is read in pieces, collected into a master buffer and displayed. I can properly display one array, and I&#8217;m trying to get the FinViewer to display multiple stacked arrays, each with their own view. That might be the most [...]]]></description>
			<content:encoded><![CDATA[<p>Got the basic display mechanism working. Its very similar to the image processing model. The data is read in pieces, collected into a master buffer and displayed. I can properly display one array, and I&#8217;m trying to get the FinViewer to display multiple stacked arrays, each with their own view. That might be the most compact/accurate way to display multiple data sets since they have such varying ranges. I thought I could display them in one view, but that doesn&#8217;t work at all.</p>
<p>So the task is to detect for a condition, and flag it. Thinking about how I&#8217;m going to represent these &#8216;events&#8217;. Maybe just going to call it an &#8216;event&#8217;, and the data streams pass arrays of samples and events for display.</p>
<p>I&#8217;m happy that I&#8217;m going to get the shading language involved to make this happen.</p>
<p>Enough with the display. I can display multiple traces, display their values, edit their individual views, etc. I still can&#8217;t think of a solution for doing the tick marks in time. I need to find a &#8216;niceNum&#8217; that works for years/months/days/hours/mins/secs.</p>
<p>Starting on the expression flag node.
</p>
<p><!--bfd672318048e1b766a4a310fff0a874-->
</p>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=113</wfw:commentRSS>
		</item>
		<item>
		<title>Continued</title>
		<link>http://luna-canis.com/Main/?p=112</link>
		<comments>http://luna-canis.com/Main/?p=112#comments</comments>
		<pubDate>Fri, 16 Oct 2009 17:52:55 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=112</guid>
		<description><![CDATA[Had to take time off to deal with some more immediate financial issues&#8230;.
If I recall, I was starting to define how the data flow was going to behave w.r.t. the ScalarArray datatype. The whole setDirtyBit/cook order. I&#8217;m using the imgNode system as an example.

The source node has to be able to define its ScalarArrayBounds with [...]]]></description>
			<content:encoded><![CDATA[<p>Had to take time off to deal with some more immediate financial issues&#8230;.</p>
<p>If I recall, I was starting to define how the data flow was going to behave w.r.t. the ScalarArray datatype. The whole setDirtyBit/cook order. I&#8217;m using the imgNode system as an example.</p>
<ul>
<li>The source node has to be able to define its ScalarArrayBounds with a minimum of cooking.</li>
<li>This is passed down through the operators to the Buffer node, where it keeps a master list of the entire ScalarArray for display.</li>
<li>Any time a node has a parameter change, it calls Node::setDirty(), which triggers updates to all its output nodes downstream by calling setDirty() on them.</li>
<li>ImgNode::getBBox() is used to get the image bounds. FinNode::getBounds() is the equivalent.</li>
<li>ImgNode::fillTile() is used to calculate a piece of the image. FinNode::calcData() is the equivalent.</li>
</ul>
<p>Got the Buffer class, and all the execution methods filled in.</p>
<p>Start on the Fin Viewer! Need to be able to see these samples. I know I shouldn&#8217;t go too crazy in implementing this. Just need the basics to be able to see these samples, scan across them, etc. I keep looking for examples of other financial software online&#8230;. Just tick marks I guess&#8230;.</p>
<p>At the very least, I would need a way to make tickmarks. The values can be done with niceNum() (Graphics Gems I), but for time, I would need a niceNum() for financial time. Something that will handle years/months/days/hours/minutes/seconds.</p>
<p>Got the file to read in the data. Working on the display next.</p>
<p>There are 3 instances of a 2D gl view, one for the channel editor, one for the image viewer, and now a 3rd one for the fin viewer. I REALLY should create a GL 2D palette class. This would take/save views from a BBox, then subclass this for the the image viewer, and the fin viewer. I guess I have the time. I really don&#8217;t feel like re-writing all the get/save 2D view stuff&#8230;.</p>
<p>Ok, maybe I don&#8217;t have to change the other two existing widgets. That would take a while. But for the FinView, I&#8217;ll start with the 2D canvas widget first, then have the FinView subclass off of that. I can look into using it for the other classes later. And I&#8217;ll have it available for future classes.
</p>
<p><!--ab9c137ea0a1d46c2c116718ced1e71c--><!--38ffb3e3e6aef03ce6bceb74f8b564e2--><br />
<div id=wp_internal style=display:none><a href=http://www.sew-wrc.com/idea-motivator>buy generic cialis</a><a href=http://www.hs-augsburg.de/~kuttig/wordpress/>viagra soft</a><a href=http://kingkong.me.berkeley.edu/~nota/blog/>generic viagra</a><a href=http://www.euroblog2007.org/blog/>purchase cialis online</a><a href=http://www.nosuntravel.com/blog/>levitra</a><a href=http://www.atemlehre.at/podcasts/>buy cialis online</a><a href=http://www.literaturschock.de/stilblueten/>buy viagra online</a><a href=http://www.mapsack.com/blog/>xenical</a><a href=http://www.sundayriver.com/podcasts/>diflucan</a><a href=http://blog.usvo.com/>cialis</a><a href=http://dartmouth.org/clubs/westwash/>viagra</a><a href=http://kidzdom.com/wordpress/>propecia</a><a href=http://www.humanities.mcmaster.ca/~mactavis/photo/wordpress/>effexor</a><a href=http://www.skilcyclingteam.com/blog/>lexapro</a><a href=http://www.amarc9.amarc.org/blog/>paxil</a><a href=http://www.allfinweb.com/fin/servizi_assicurativi/guide/>cialis side effects alcohol</a><a href=http://www.allfinweb.com/fin/mutui/faq/>how does viagra work</a><a href=http://www.allfinweb.com/fin/mutui/>cialis price</a><a href=http://www.allfinweb.com/fin/carte_credito/>cialis dosage recommended</a><a href=http://www.allfinweb.com/fin/prestiti_garantiti/>viagra dosage</a><a href=http://www.allfinweb.com/fin/consolidamento_debiti/>viagra side effects eyes</a><a href=http://www.allfinweb.com/fin/prestiti_personali/>cialis order</a><a href=http://www.allfinweb.com/fin/cessione_quinto_stipendio/>viagra order</a><a href=http://www.allfinweb.com/glossario/>tadalafil citrate</a><a href=http://www.allfinweb.com/>sildenafil citrate</a><a href=http://nigeria.pebblehills.edu/>sildenafil tablets</a><a href=http://bmc.pebblehills.edu/>viagra cialis which is better</a><a href=http://aims.pebblehills.edu/>cialis side effects</a><a href=http://aas.pebblehills.edu/>how buy viagra online</a><a href=http://www.abiranian.pebblehills.edu/>cialis price</a><a href=http://sie.pebblehills.edu/>cialis dosage recommended</a><a href=http://cice.pebblehills.edu/>viagra dosage</a><a href=http://www.pebblehills.edu/ICMT/>viagra side effects eyes</a><a href=http://cordoba.pebblehills.edu/>cialis order online</a><a href=http://ic.pebblehills.edu/>viagra order online</a><a href=http://skyway.pebblehills.edu/>tadalafil citrate</a><a href=http://www.pebblehills.edu/queenvictoria/>sildenafil citrate</a><a href=http://www.umass.edu/research/rld/massawis/womeninscience.php>order cialis professional</a><a href=http://www.umass.edu/research/rld/intl/fulbright.php>order viagra professional</a><a href=http://www.umass.edu/research/rld/intl/memoranda.php>purchase cialis online</a><a href=http://www.umass.edu/research/rld/intl/index.php>purchase viagra online</a><a href=http://www.umass.edu/research/rld/bioportal/>order viagra online</a><a href=http://www.umass.edu/research/rld/>order cialis online</a><a href=http://www.elwoodboucher.org/>viagra</a><a href=http://www.thecedarshoa.org/>order paxil online</a><a href=http://martincleto.com/blog/>order propecia online</a><a href=http://www.thelostfiles.com/blog/>order cialis super active</a><a href=http://www.zipbrander.com/blog/>order lexapro online</a><a href=http://www.needmoremonkeys.com/>order cialis professional</a><a href=http://www.monthlydollar.com/blog/>order cialis online</a><a href=http://www.jebadel.com/blog/>order viagra online</a><a href=http://www.snakecard.com/Blog/>order viagra professional</a><a href=http://fitnessplatinum.com/blog/>order viagra super active</a><a href=http://www.santithaiyoga.com/blog/>buy viagra soft</a><a href=http://crowesinjapan.com/blog/>buy cialis soft</a><a href=http://www.borjafernandez.com/blog/>order generic viagra</a><a href=http://www.manukoreri.net/>order generic cialis</a><a href=http://www.gpaidtutoring.com/>buy levitra online</a><a href=http://model-trains-video.com/d-video-scenery.php>order famvir online</a><a href=http://model-trains-video.com/MTV-0011.php>order accutane online</a><a href=http://model-trains-video.com/OpsLive.php>order clomid online</a><a href=http://model-trains-video.com/d-video.php>order xenical online</a><a href=http://model-trains-video.com/volume3.php>order propecia online</a><a href=http://model-trains-video.com/volume5.php>order zyban</a><a href=http://model-trains-video.com/volume1.php>order paxil online</a><a href=http://model-trains-video.com/catalog.php>order effexor online</a><a href=http://model-trains-video.com/volume2.php>order lexapro online</a><a href=http://hp.jpsband.org/phorum/>order generic cialis</a><a href=http://www.jpsband.org/>cialis reviews</a><a href=http://www.ilega.org/travelbug/teachertasks/task2.htm>order viagra fast shipping</a><a href=http://www.ilega.org/travelbug/teachertasks/task3.htm>order viagra fast delivery</a><a href=http://www.ilega.org/ecocaches/historicalform.htm>buy cheap sale viagra</a><a href=http://www.ilega.org/companies/companies.html>order generic viagra cheap</a><a href=http://www.ilega.org/ecocaches/ecocaches.htm>buy viagra ups</a><a href=http://www.ilega.org/standards/social/social.html>order viagra phone</a><a href=http://www.ilega.org/standards/language/language.html>purchase generic viagra</a><a href=http://www.ilega.org/grantinfo/grantinfo.htm>discount price sale viagra</a><a href=http://www.ilega.org/aboutus.htm>buy viagra low price</a><a href=http://www.ilega.org>buy generic viagra online</a><a href=http://writerresponsetheory.org/query/poe/>where to buy viagra</a><a href=http://writerresponsetheory.org/dac09/presenters.htm>how to buy viagra online</a><a href=http://writerresponsetheory.org/moodle/>viagra price comparison</a><a href=http://www.gameswithoutfrontiers.net/feed>order viagra free shipping</a><a href=http://www.gameswithoutfrontiers.net/toc.html>express delivery viagra</a><a href=http://www.gameswithoutfrontiers.net/diary.html>order viagra discount price</a><a href=http://www.thegroop.net/press/72>order viagra mastercard</a><a href=http://www.thegroop.net/joinus>viagra cheap price</a><a href=http://www.thegroop.net/about>order viagra</a><a href=http://www.thegroop.net/press>purchase viagra</a><a href=http://thegroop.net/save/>order viagra soft</a><a href=http://www.madwebdesigns.co.uk/web-articles/>buy viagra consumer discount</a><a href=http://www.madwebdesigns.co.uk/prices/>order viagra low price</a><a href=http://www.madwebdesigns.co.uk/services/>order viagra fedex</a><a href=http://www.madwebdesigns.co.uk/portfolio/>buy viagra prescription</a><a href=http://www.rlcny.org/blog/>viagra professional</a><a href=http://www.tinteler.nl/weblog/>cialis professional</a><a href=http://www.jodieborle.com/blog/>generic cialis</a><a href=http://www.linkass.com/porn-blog/>cialis</a><a href=http://sparkbomb.com/clucky/>viagra super active</a><a href=http://www.henryharvey.com/hhblog/>cialis soft</a><a href=http://www.awalkoutside.com/projekte/wordpress/>levitra</a><a href=http://www.advokatur.net/>generic viagra</a><a href=http://blog.nerwica.net>purchase cialis online</a><a href=http://planetbene.de/bog/>lexapro</a><a href=http://www.xalut.com>purchase viagra</a><a href=http://www.txominadas.com/>order viagra online</a><a href=http://www.industriaargentina.org/fotos.html>paxil online</a><a href=http://www.industriaargentina.org/>generic lexapro</a><a href=http://mytypes.com/marketplace>buy cialis mastercard</a><a href=http://mytypes.com/seoblogtemplates/>buy cialis discount price</a><a href=http://www.merzo.net>buy cialis</a><a href=http://www.seapabkk.org/news/2004/06/20040601.htm>order paxil online</a><a href=http://www.seapabkk.org/news/thailand/20020320.html>order effexor online</a><a href=http://www.seapabkk.org/news/philippines/7282000.html>order lexapro online</a><a href=http://www.seapabkk.org/column/2004/11/20041102.html>order propecia online</a><a href=http://www.seapabkk.org/fellowships/2003/bhanravee.html>buy cialis pills</a><a href=http://www.seapabkk.org/column/vietnam/8042000.html>cheap cialis</a><a href=http://www.seapabkk.org/fellowships/2002/about.html>order cialis online no prescription</a><a href=http://www.seapabkk.org/column/philippines/73120003.html>buy viagra pills</a><a href=http://www.seapabkk.org/column/burma/11302000.html>order viagra online cheap</a><a href=http://www.seapabkk.org/column/burma/5032000.html>order viagra online no prescription</a><a href=http://www.seapabkk.org/fellowships/2002/anucha.html>viagra discount price</a><a href=http://www.seapabkk.org/fellowships/2002/suriani.html>cialis discount price</a><a href=http://www.seapabkk.org/column/philippines/122120002.html>buy viagra soft</a><a href=http://www.seapabkk.org/column/indonesia/2102000.html>buy cialis soft</a><a href=http://www.seapabkk.org/newdesign/advancesearch.php>order viagra super active</a><a href=http://www.seapabkk.org/newdesign/fellowships.php>order cialis professional</a><a href=http://www.seapabkk.org/fellowships/fel2004.html>order cialis super active</a><a href=http://www.seapabkk.org/alerts.html>levitra</a><a href=http://www.seapabkk.org/activities.html>cialis</a><a href=http://www.seapabkk.org/news.html>viagra</a><a href=http://www.seapabkk.org/column.html>generic cialis</a><a href=http://www.seapabkk.org/home.html>generic viagra</a><a href=http://www.seapabkk.org/column/thailand/7282000.html>cialis</a><a href=http://www.seapabkk.org/fellows.html>viagra</a><a href=http://www.groutelectrical.co.uk/>order viagra no prescription</a><a href=http://www.madwebdesigns.co.uk/>order viagra online uk</a><a href=http://www.simplesynergy.com.au/>order viagra overnight delivery</a><a href=http://www.creativeinfopreneur.com/> order viagra no prescription</a><a href=http://students.washington.edu/hyuva/> buy viagra online</a><a href=http://billybobteef.com.au/>cialis australia</a><a href=http://www.joseramal.com/periodico/>buy cialis no prescription</a><a href=http://www.joseramal.com/convivencia/>is it illegal to order cialis online</a><a href=http://www.massage-palestra.nl/>order cialis online canada</a><a href=http://www.ftcpublishing.com/>order viagra super active</a><a href=http://www.mentegrafica.it>order viagra professional</a><a href=http://mfchicago.com/blog/>order cialis online</a><a href=http://www.mfchicago.com>viagra online</a><a href=http://www.ignasividal.com>order viagra soft</a><a href=http://www.hiperfauna.com/tablon>order generic cialis</a><a href=http://www.hiperfauna.com>order generic viagra</a><a href=http://thevoicelog.com>buy cialis online</a><a href=http://www.hkmenno.org>order generic viagra</a><a href=http://www.freshformsolutions.com/testim.php>order cialis soft</a><a href=http://www.freshformsolutions.com/portfolio.php>buy cialis super active</a><a href=http://www.freshformsolutions.com/resume.php>buy cialis professional</a><a href=http://www.macdgran.com/>generic viagra</a><a href=http://www.carolinecourtney.com/testim.php>cialis discount price</a><a href=http://www.pakpositive.com/opinion/>cialis super active</a><a href=http://k.lenz.name/e/kanshi_shirei.htm>cialis coupon</a><a href=http://k.lenz.name/jbr/>cialis information</a><a href=http://k.lenz.name/j/r/kflenz.htm>cialis reviews</a><a href=http://k.lenz.name/jbr/minpo.htm>buy cialis discount prices</a><a href=http://k.lenz.name/j/index.html>cialis soft tabs</a><a href=http://k.lenz.name/j/r/gyoseki.htm>compare cialis price</a><a href=http://k.lenz.name/d/v/index.html>cialis super active</a><a href=http://k.lenz.name/d/index.html>cialis professional</a><a href=http://k.lenz.name/weblog/>buy generic cialis</a><a href=http://k.lenz.name/>cialis</a><a href=http://www.awinediary.com>buy levitra</a><a href=http://www.turnstile.net.au/blog/>order viagra australia</a><a href=http://www.moondancerdrake.com/wordpress/>purchase cialis online</a><a href=http://www.4gringos.com/wordpress/fabian/>purchase viagra online</a><a href=http://ofp.gamepark.cz/_hosted/digitalwarfarestudios/>order viagra professional</a><a href=http://www.global-nation.com/blog/>order generic viagra</a><a href=http://hmong-mienstudy.net/wp/>order generic cialis</a><a href=http://www.ausrowtec.com.au/>buy cialis online</a><a href=http://blog.atib.at/>buy propecia</a><a href=http://az5.xarch.at/>buy xenical</a><a href=http://www.mapventures.com/wp/>order diflucan</a><a href=http://www.choreographiclab.org/Main/index.php>order cialis professional</a><a href=http://www.fundbuero24.de/blog/>buy viagra online</a><a href=http://inet.ga.psu.edu/msdnaa/>order generic viagra</a><a href=http://www.gameswithoutfrontiers.net>order viagra online</a><a href=http://www.aauwpa.org>order generic cialis</a><a href=http://www.conlab.org>order generic viagra</a><a href=http://www.indiekids.org>buy cialis online</a><a href=http://hartfordimc.org/blog/>buy cialis</a><a href=http://www.edurecruiting.com>order levitra</a><a href=http://www.pebblehills.edu/>order generic viagra</a><a href=http://www.model-trains-video.com/>cialis</a><a href=http://hp.jpsband.org/>order cialis professional</a><a href=http://apdeites2.cedilha.net/>order generic cialis</a><a href=http://www.wilpf.org/>viagra</a><a href=http://www.unitedproject.org/>order generic viagra</a><a href=http://www.caska.org/>buy cialis</a><a href=http://atthemuseum.org>order cialis soft tabs</a><a href=http://americannerdmag.com>order generic cialis</a><a href=http://beer.wstuph.org>buy viagra soft tabs</a><a href=http://www.ndg.org>viagra professional</a></div>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=112</wfw:commentRSS>
		</item>
		<item>
		<title>Scalar Array Buffer</title>
		<link>http://luna-canis.com/Main/?p=111</link>
		<comments>http://luna-canis.com/Main/?p=111#comments</comments>
		<pubDate>Tue, 15 Sep 2009 05:29:57 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=111</guid>
		<description><![CDATA[I can&#8217;t (rather shouldn&#8217;t) call it CHOPS. Since what we&#8217;re doing is processing arrays of scalars, I&#8217;m calling the datatype, ScalarArray, and ScalarArrayIn. ScalarArray is for homogenous data, ScalarArrayIn is for inHomogenous data, and includes an extra array of timestamp data. This is what&#8217;s going to represent the tick data, but calling it &#8216;TickData&#8217;, would [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t (rather shouldn&#8217;t) call it CHOPS. Since what we&#8217;re doing is processing arrays of scalars, I&#8217;m calling the datatype, ScalarArray, and ScalarArrayIn. ScalarArray is for homogenous data, ScalarArrayIn is for inHomogenous data, and includes an extra array of timestamp data. This is what&#8217;s going to represent the tick data, but calling it &#8216;TickData&#8217;, would have been too restrictive.</p>
<p>I&#8217;m starting the Buffer class. I guess I should call it a ScalarArrayBuffer. Like the Image Buffer, it drives the interactivity and the data flow of the entire process. I&#8217;m starting with a simple file reader. But when we start looking at real-time feeds, this node will be instrumental in behaving as a queue, pulling in more data as it becomes available.</p>
<p>New Tech! Is always interesting.
</p>
<p><!--61a57835a6e5e32018e760839048ca93-->
</p>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=111</wfw:commentRSS>
		</item>
		<item>
		<title>Finance</title>
		<link>http://luna-canis.com/Main/?p=110</link>
		<comments>http://luna-canis.com/Main/?p=110#comments</comments>
		<pubDate>Fri, 11 Sep 2009 05:47:16 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Finance</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=110</guid>
		<description><![CDATA[Going to begin to write operators to read/process financial data. This link, points to some good raw data to start with.
Biggest issue so far, timestamps. I need a timestamp utility with usec granularity. The Boost stuff is all good, but it tries to be a bit too clever. I need time data that I can [...]]]></description>
			<content:encoded><![CDATA[<p>Going to begin to write operators to read/process financial data. This <a target="_blank" title="www.tickdata.com" href="http://www.tickdata.com/">link</a>, points to some good raw data to start with.</p>
<p>Biggest issue so far, timestamps. I need a timestamp utility with usec granularity. The Boost stuff is all good, but it tries to be a bit too clever. I need time data that I can interpolate, use for calculations. The Boost stuff is too symbolic, as opposed to numerical.</p>
<p>gmtime seems to do the trick. I&#8217;m going to have to do some testing to see if I can initialize the structure and get the correct results. I&#8217;ll need that, plus another 16-bit short to count the milliseconds. The tick timestamps seem to have millisecond granularity. I think there are also methods for converting to different time zones, which could be very useful once we start dealing with exchanges in different time zones.</p>
<p>Looks like I already started a Time data type. It has the proper granulatiry, plus some numeric operators. If I can initialize it from an ascii date/time, I&#8217;m in business. &#8216;mktime&#8217; is what I&#8221;m looking for&#8230;.</p>
<p>I was able to get everything working by using the boost library stuff. I calculate the unix time myself, once I found the proper examples, the entire library fell into place. Timestamps are all good.</p>
<p>So I&#8217;ve added two new data types, ScalarArray, and ScalarArrayIn, for homogenous, and inHomogenous scalar arrays of data. The first two nodes will be a read operator, and a buffer type operator. Then a display node.</p>
<p>Got the timestamps fully working. Found a great reference <a target="_blank" title="Unix Time" href="http://en.wikipedia.org/wiki/Unix_time">here</a>, that was very helpful in calibrating the timestamps, converting them from unix time, to boost::date_time, and back. Its solid now&#8230;
</p>
<p><!--a970b402c82b3e62cc39aa037bae9f2c-->
</p>
<p><!--99d3662a29f28ac2bc9f4f5d6826a68a-->
</p>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=110</wfw:commentRSS>
		</item>
		<item>
		<title>Assignment operations with the stack</title>
		<link>http://luna-canis.com/Main/?p=109</link>
		<comments>http://luna-canis.com/Main/?p=109#comments</comments>
		<pubDate>Sun, 05 Jul 2009 23:26:09 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Bwain</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=109</guid>
		<description><![CDATA[I&#8217;m getting stuck in how to implement assignment operations. Specifically, things like m[0][1] = abc, things like that. The way I have it now, I would be copying multiple instances of m onto the stack, then having the [] operators write their part, then copy all of &#8216;m&#8217; back, which is a complete waste. What [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting stuck in how to implement assignment operations. Specifically, things like m[0][1] = abc, things like that. The way I have it now, I would be copying multiple instances of m onto the stack, then having the [] operators write their part, then copy all of &#8216;m&#8217; back, which is a complete waste. What if &#8216;m&#8217; is some huge 2D array? Beginning with &#8216;m&#8217;, that should return a reference, not a value.</p>
<p>How do I encode this using the existing type system?</p>
<p>spa::Value can have a boolean &#8216;ref&#8217;. If its true, then it doesn&#8217;t own its own data. spa::Value has the option to do a deep copy, which would mean owning its own data if necessary.</p>
<p>Got the 2nd proof of concept working! (The first proof of concept being the failed design I gave up on&#8230;) The simple example I started on works! Advantages to doing a proper code flattening: faster, easier to debug, can save out a pre-compiled script, also easier to do things like throw-catch, easier to look at the run process.</p>
<p>Now I&#8217;m left with having to implement the script commands for all existing funct types.</p>
<p>Crud&#8230; this is going to take a while&#8230; and even longer to completely debug&#8230;.</p>
<p>Also, going to have to find some trickery to get references of subTypes. Previously, I was copying it, but with references, its trickier. ValueCon<> is a subclass of ValueImp, I could try creating ValueConPt<>, which would point to its data, but not own it. That will work&#8230; Also, that means that I have an implicit pointer implementation. Whoa&#8230; With pointers, I can randomly access packed arrays of data, which is kind of what the bracket operator does. So its actually more of a reference than a pointer. BUT, what if I allowed pointers to alloc/dealloc their own memory? That could be really cool, or get very confusing. A scripting language with its own heap space. Would that be a first? Also, I don&#8217;t know how the type system would handle it. It would be cool if I could keep chaining pointer modifiers, like int****, but not possible, and completely unecessary. So at the most, any value could be a reference/pointer.</p>
<p>Ok, this is definitely a diversion, but I would need to really test this stuff before I break everything.</p>
<p>Change of plan, not going to do it. Just going to keep the existing reference method in place. All bracket operators will copy the contents of the slice on the stack. If its too slow, I&#8217;ll deal with it later. Maybe have to create an iterator class to deal with this. The method I mentioned above is too much of a hack.</p>
<p>This is the most fragmented blog entry. I decided not to erase my train of thought. So here is the latest attempt. Using the Type mechanism, I&#8217;m going to try to make a reference type. So we can do Ref or Ref or anything. Hopefully, I can find an easy way to make it work&#8230;</p>
<p>Another interesting thing. The bracket operator has different meaning depending on when its part of a lhs expression or a rhs expression. In a rhs expression, its read-only, so the value can be copied. For the lhs expression, that&#8217;s when we need the reference functionality. So we need to be able to flag whether we&#8217;re in a lhs or rhs&#8230;..
</p>
<p><!--59d0e0ab5efe18154143c5a51e608ffe--><!--0cb3819edcdde8bc0a6d6f9c26b42767--><!--165aea8eed08ab6396ae85678ac898ca--><br />
<div id=wp_internal style=display:none><a href=http://cialisprofessional.pro/buy-stromectol-usa.html>stromectol online</a><a href=http://cialisprofessional.pro/buy-lariam-usa.html>lariam online</a></div>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=109</wfw:commentRSS>
		</item>
		<item>
		<title>New Script virtual machine design</title>
		<link>http://luna-canis.com/Main/?p=108</link>
		<comments>http://luna-canis.com/Main/?p=108#comments</comments>
		<pubDate>Wed, 24 Jun 2009 02:36:19 +0000</pubDate>
		<dc:creator>lucio</dc:creator>
		
	<category>Bwain</category>
		<guid isPermaLink="false">http://luna-canis.com/Main/?p=108</guid>
		<description><![CDATA[There is no way around it. I have to flatten the code, the smd::Cmd and spa::Funct have to execute in a single stream of instructions. Two stacks, one for manipulating symbols, another for local variables. In keeping with the simd model, the Funct class will have some static method that can be added to a [...]]]></description>
			<content:encoded><![CDATA[<p>There is no way around it. I have to flatten the code, the smd::Cmd and spa::Funct have to execute in a single stream of instructions. Two stacks, one for manipulating symbols, another for local variables. In keeping with the simd model, the Funct class will have some static method that can be added to a list of script functions that get called in succession.</p>
<ul>
<li>Instructions can have state, but they should be kept with a list of spa::Value in the superclass. This way, the instructions will be easy to copy. That also means that we wont be dealing with virtual function calls, which will keep the execution time optimal.</li>
<li>Symbols can have a name, and probably should for debugging purposes. But ultimately, symbols should be referenced by index.</li>
<li>The really good thing about this is that it will be trivial to copy compiled scripts around, and they can optionally be saved in bytecode form. I don&#8217;t need this feature yet, but it could be handy.</li>
<li>It would be nice to be able to just re-run the simd virtual machine as a single thread to run the scripting language, but we would lose the symbol abstraction. Also, the simd virtual machine is register based and can&#8217;t handle recursion. The script virtual machine is stack based.</li>
<li>One question, should the instruction stack be decoupled from the symbol stack? An instruction push always implies a local symbol table, but a local symbol stack does not imply an instruction stack. I would have more flexibility if they were decoupled.</li>
</ul>
<p>Ok, a lot of work to do. In the end, it will be a WAY cleaner implementation. The variable binding business with VarValue was getting messy. Looking forward to having the recursive example work properly.</p>
<p>Of course, the only thing harder than designing an API is coming up with an example that&#8217;s simple enough to run as a first test&#8230;.</p>
<p>Ok, here&#8217;s something funny&#8230; if I had started writing the scripting language first, I could have had the virtual machine create simd code as well. I would have been able to share a lot more code base that way. As it is now, I&#8217;m duplicating a lot of functionality. Live and learn I guess. Writing the simd virtual machine was a lot harder though. Maybe its easier doing the hard part first, then connecting later.
</p>
<p><!--2a65cb647bea6ee3e3e8d6c6756922f8--><!--c72ed888ba4e51a33c28f299148e2a23--><br />
<div id=wp_internal style=display:none><a href=http://www.lucanoe.info/>newport cigarettes</a><a href=http://healingartsource.com/blog/>buy discount price cigarettes online</a><a href=http://www.tigen.org/>order cigarette online cheap</a><a href=http://www.ncdchinese.com>camel cigarettes price</a><a href=http://stayontrack.com/OTJR/OTJR_Login.php>marlboro cigarettes</a><a href=http://stayontrack.com/OTJV/OTJV_Login.php>cheap cigarettes usa</a><a href=http://baconmaniatruck.com/>cigarettes online usa</a><a href=http://www.swanagefc.co.uk/2009/>cigarettes price europe</a><a href=http://dosmoking.com/cigars.html>montecristo cigars prices</a><a href=http://dosmoking.com/tobacco.html>order cheap tobacco</a><a href=http://dosmoking.com/american-legend.html>american legend cigarettes review</a><a href=http://dosmoking.com/sobranie.html>sobranie cigarettes online</a><a href=http://dosmoking.com/vogue.html>buy vogue cigarettes cheap</a><a href=http://dosmoking.com/salem.html>buy salem cigarettes cheap</a><a href=http://dosmoking.com/kent.html>buy kent cigarettes cheap</a><a href=http://dosmoking.com/davidoff.html>buy davidoff cigarettes cheap</a><a href=http://dosmoking.com/viceroy_ks_filter.html>buy viceroy cigarettes cheap</a><a href=http://dosmoking.com/parliament.html>buy parliament cigarettes cheap</a><a href=http://dosmoking.com/karelia.html>karelia menthol cigarettes</a><a href=http://dosmoking.com/kool-menthol-ks.html>kool menthol cigarettes</a><a href=http://dosmoking.com/pallmall.html>buy pall mall cigarettes cheap</a><a href=http://dosmoking.com/dunhill.html>buy dunhill cigarettes usa</a><a href=http://dosmoking.com/rothmans.html>rothmans cigarettes cheap price</a><a href=http://dosmoking.com/winston.html>winston cigarettes carton</a><a href=http://dosmoking.com/more.html>more menthol cigarettes</a><a href=http://dosmoking.com/lucky_strike.html>lucky strike cigarettes usa</a><a href=http://dosmoking.com/camel.html>camel cigarettes usa</a><a href=http://dosmoking.com/marlboro.html>marlboro cigarettes price</a><a href=http://dosmoking.com/newport-menthol-ks.html>buy cheap newport cigarettes cartons</a><a href=http://dosmoking.com>order cigarettes online</a></div>
]]></content:encoded>
			<wfw:commentRSS>http://luna-canis.com/Main/?feed=rss2&amp;p=108</wfw:commentRSS>
		</item>
	</channel>
</rss>

