anchor.diff:  -export([websocket_info/3]).
   -export([websocket_terminate/3]).
   
  --export([pulse_data/4, make_queries/2, resolve_embed/2]).
  +-export([pulse_data/3, make_queries/1, resolve_embed/2]).
   
   -record(ws_state, {
     pulses
  
positive.code: 
  handle(Req, #page_state{resolver={Resolver,Resolve}, embed=Embed}=State) ->
    case erlang:apply(Resolver, Resolve, [Embed, []]) of
      {ok, Title, Account, Queries} ->
        {Path, Req5} = cowboy_req:path(Req),
        WsPath = filename:join([Path,"events"]),
  
        Template = undefined,
        InitData = page_init_data(Embed, Title, Account, Queries, WsPath),
        {ok, Reply} = cowboy_req:reply(200, headers(html), fill_template(Template, InitData), Req5),
        {ok, Reply, State};
      _ -> 
  
negative.code:   erlang:binary_to_term(Bin).
  
  
  make_queries(Query0) ->
    {Now,_} = pulsedb:current_second(),
    {_,_,Name,_} = Query1 = pulsedb_query:parse(Query0),
    
    Query2 = pulsedb_query:remove_tag([from, to], Query1),
    QueryRealtime = Query2,
    QueryHistory = pulsedb_query:add_tag({from, Now-360}, QueryRealtime),
    {Name,
     pulsedb_query:render(QueryRealtime),
  