June 19, 2011

Graphical notation for Erlang processes

Hi,


Reading Maurice Castro "Towards an Event Modeling Language" ..
I remembered that Umlet has custom components but it was flexible enough to accommodate for Maurice's notation.

I brushed new Palette for Erlang process notation:
- Process definition with StartUp, ProcessLife and Interfaces
- Incarnation with and without link
-Synchronous and Asynchronous message passing 

It doesn't look close to original but feels more modern to me.


  9
  
    com.umlet.element.Class
    
      27
      90
      189
      162
    
    <<gen_server>>
X::erst
{T < 10 min}
--
{M,F,A}
_S=#state{val, another}_
--
/mod:start/0/
/mod:stop/1/
--
Responsibilities
- Coordinator
    
  
  
    com.umlet.element.Relation
    
      18
      234
      170
      63
    
    lt=.>
spawn
    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      261
      170
      63
    
    lt=<x.>>>>>
spawn link
m2=1..n

    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      306
      170
      63
    
    lt=<-
async msg
    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      333
      170
      63
    
    lt=<<-
sync msg
    27;45;153;45
  
  
    com.umlet.element.Note
    
      9
      18
      279
      63
    
    - Process definition with StartUp, 
     ProcessLife and Interfaces
- Incarnation with and without link
- Synchronous and Asynchronous messages
fg=blue
    
  


June 6, 2011

Erlang, Testing and TDD

EUnit Testing gen_fsm – Part 1 | Erlang, Testing and TDD

Nice tutorial. TO support it with 'rebar on console we can use
$ while true; do inotifywait -r -e close_write --exclude ".*_flymake.*" */*.erl; rebar eunit; done

Works on linux.

March 4, 2011

Associative photography

Casual photographer snapshots done like (a) `I spy with my little eye.. ` something; and then putting camera between self ans something and taking a shot. Or (b) pick a subject; put a camera somewhere; imagine stranger come by and look in you camera; adjust; take a shot.

(b) is disassociative. This way impressionists work. You have to walk near their pictures to find that exactly spot where `camera was. (a) is associative method. It is all about creator. If in (b) most work is with light and sometime with color (usually DSLR get it right), going with (a) brings emotions, context and influence of stuff behind focal point to consideration.

It's hard to get `associative right. Nevertheless 8 from 10 images on `flickr taken this way.

March 3, 2011

Continuous Integration Corporate way

Hi,

I can think about differentiation in 9 ways and able to explain it to adult at least in 6 distinkt approaches.
It is because I have degree in physics and master my skills for quite a time.

Curiously, middle management in place where I get my salary, understand continuos integration in software project by reading few books, no hand on experience and not even asking experts (not me).

They did everything wrong in epic way...

Nevertheless I expressed my opinion constructively in requirement document.

This maretial is for internal use only, unless somebody care to know programers view on subject.

Problem with 150 cm fitting 152 size

My daughter is 150 cm height. I brought her trouthers of 152 size.
They did not fit perfectly.
It took her some time to decide how much she have to fold them.
What would your advice?

a) 1 cm
b) 2 cm
c) 4 cm