End Of Iteration 2013w31

Previous Post
Next Post

A week with great activity:


I wrote and published the first version of a particle system:


It has particles with position x, y, velocity dx, dy, applying forces fx, fy, and with springs (Hooke’s law) between two particles:

Next steps: mass in particles, other forces btw two particles, and fixed particle to a position until a force > f move it; github pages.



A little work, using TDD, to add store to simple rows (plain JavaScript objects)



I added support to have modules in NPM (Node Package Manager). When a module is imported or loaded, the system searchs on folder node_modules.



I published version 0.0.2. The new feature: message queue has a maximum size.



I created and published version 0.0.1. I will use it in some of my new projects. It splits a source code text into tokens. Each token has a value (ie. “foo”) and a type (ie Type.Word). It’s not language specific, but you can add extension points (ie. to recognize separators like { }, or to recognize strings with escaped characters). The language details (like recognizing ‘$k’ as a PHP variable) is a responsability for a lexer, that can consume this simple, generic tokenizer.



A proof of concept, impleming use cases using TDD. A value (simple value, or object) can be associated to a context. Ie. “John” can be associated to “{ country: ‘UK’, company: ‘Acme’ }”. There are inheritance between context, that is, “{ country: ‘UK’, category: ‘Beverages’}” inherits the items associated to “{ country: ‘UK’ }”. You can retrieve and alter the values/objects associated with a context. I could rewrite it in C#, with more ceremony and type checking



Good advance, in unification and query algorithm. Next steps: rules, goal stack, solver algorithm with backtrack and cut operator, a parser

Smalltalk Intro

I gave my talk, and these are the slides:


I worked on two private projects, one involving an in-memory model.

More fun is comming.

Keep tuned!

Angel “Java” Lopez

3 thoughts on “End Of Iteration 2013w31

  1. Pingback: End Of Iteration 2013w30 | Angel "Java" Lopez on Blog

  2. Kian

    So obviously, all the extra little toys that a lot of manufacturers say
    are mandatory in making a valid Survival knife are packed with bunk.

    A solid Survival Knife will eject any sliver, open any bottle you will find even extract a screw you
    are to be found in remote wilderness. With a heavier grade of knife, nearly all are single blade and a little larger than a traditional pocket knife and
    they are often referred to as folding knives.

  3. Pingback: End Of Iteration 2013w32 | Angel "Java" Lopez on Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s