Month: November 2009

11/27/2009DAssitA repo 0.0.7


As DAssitA had moved to almost version been used in more than 3 private projects of mine so far + 2 projects for the East company to which I’m working for it is time to make a quick release of the current repo & its tools/modules.

I have to note that the repo includes some external tools which licenses I’ve didn’t found/included yet, where this will be done for the next major release of DAssitA’s repo 0.1.

Let’s get started:
Minimum requirements:
- Windows 7 OS
- Adobe AIR runtime installed

You can download the repo_0.0.7

And here are the steps required to get it moving:

0) unzip the downloaded repo to a folder where appropriate (mine setup is that the repo is extracted at D:\pd-repo\)
1) install haxe compiler with batteries included from here
2) install last revision of ActionPdmlToolbar
3) install last revision of PdmlEditor
4) to be able to use Svn module – install slick subversion command line client
5) add to your apache  new virtual host pointing to your unziped repo root folder using similar to this syntax:

<VirtualHost *:80>
ServerAdmin webmaster@pdrepo.dev
DocumentRoot D:\pd-repo
ServerName pdrepo.dev
ServerAlias pdrepo.dev
ErrorLog pdrepo.dev-error_log
CustomLog pdrepo.dev-access_log common
</VirtualHost>

<VirtualHost *:80>

    ServerAdmin webmaster@pdrepo.dev
    DocumentRoot <<YOUR PATH TO THE REPO's ROOT FOLDER>>
    ServerName pdrepo.dev
    ServerAlias pdrepo.dev
    ErrorLog pdrepo.dev-error_log
    CustomLog pdrepo.dev-access_log common
</VirtualHost>
Note that pdrepo.dev servername alias should not be changed, otherwise ActionPdmlToolbar & PdmlEditor won't boot.

6) add the following entry in C:\windows\system32\drivers\hosts file:

 127.0.0.1 pdrepo.dev

7) enable mod_neko2 for your apache by placing the following in httpd.conf:

LoadModule neko_module "C:/Program Files (x86)/Motion-Twin/neko/mod_neko2.ndll"
AddHandler neko-handler .n

8) place the ndll file from <<repo>>/haxe/org/dassista/tools/Prc.ndll to your neko directory

And that you go.
To test is DAssitA is installed properly try the following:

1) launch ActionPdmlToolbar
2) open explorer to <<repo>>\haxe\org\dassista\_pdmls\
3) drag the file compile.pdml to the ActionPdmlToolbar
4) double click on the compile.pdml entry from the action toolbar and see that there are no exceptions or anything scary outputed (usually compiling DAssitA itself requires around 5 to 6 secs and should ouput only empty lines)

11/25/2009Development fundamental problem in evolving context


As things are going really streamlined about Active Network & its immediate possibilities there is one very early scenario problem which should be solved:

1) developer A builds a simple ‘mailman’ bot, responsible only to sending given mail content + attachments using specified mail server to specified end recipient(s).
2) other developers build bots based on the ‘mailman’ bot just after its initial version is released.
3)  developer A find issue/adds new feature to the mailman bot, thus makes a new version of it (the mailman bot evolves)
4) all other developers need either to use the old version of the mailman bot or to change/fix their bots to be able to use the new version.

The problem is that if bots are kept alive in separate versions – then we’ll develop as the nature had been developing our world for million years until now (even today it still does) -> all bot ‘branches’ based on old versions of bots will eventually fail or will need to evolve to be able to keep them-selfs stable…

But as we are building the context where bots will reside, therefore we can make it to shorten to minimum the evolving time & amount of ‘dead’ bot branches…

There will be an open realtime discussion about that in skype today (25.11.09) at 21:00 BG/FI time. If you want to participate just place a comment on this post or contact me at skype : b.filipov , so upon the time we can gather all in one conversation.

11/17/2009DAssistA on the long run


Currently there is running development on the ActionPdmlToolbar which will support PdmlEditor for execution/parsing of pdml files. Where there current solutions defined into applications is as follows:

DAssistA shell can do only one thing: invoke & pass any command line arguments to specified multi-module.
DAssistA rest can do only one thing which is the same as the shell, but made in rest-like context via http request/responses

ActionPdmlToolbar can do only two simple things:
- list  available (cached) pdmls & triggers their parsing/execution also providing feedback as pop up window.
- list available runtime modules returned by ModuleInfo impl. & trigger their execution.

PdmlEditor can do only one simple thing:
- edit pdml files. Currently it supports drag & drop operations for all available runtime modules returned by ModuleInfo impl.

So far so good.
There are still some little issues which should be fixed before new repo release can be made + engaging auto-update features for both PdmlEditor & ActionPdmlToolbar.

One of the biggest challenges so far is to build ‘universal’ application while keep the code needed to minimum, where this is so far hard near to impossible  even for so simple things like fast & cross-platform command line invokes… But all this soon will be past :)

11/06/2009DAssistA now has PdmlEditor integration


As the pdml editor evolved into very useful tool for writing down pdml scripts, today I’ve bundled a simple repo setup pdml script for automatic download & install of it. Take a look at :

repo_0.0.6

Note: you’ll need haxe compiler installed to be able to engage the system :)

Here is simple steps to be followed (later will make them automatic):

1) you need a repo(swarm) & haxe compiler installed
2) type within the repo “parser.bat haxe.org.dassista._pdmls.setup” – this will install PdmlEditor
3) start DAssistA’s restService by typing within the repo “restService.bat”
4) Use  PdmlEditor as separate application for editing pdml files.

Next to come:

PdmlToolbar – separate quick access to avarage pdml files
ProjectModeler – separate project modeling tool (just the top of the iceberg indeed)

11/04/2009A snip into the future


Today one quote took a spinning turn in my mind:

Graph oriented data persistence is just the beginning of AI

That’s all it goes… ;)