anchor.diff:      end.
   
   demo_read(Client, WrittenValue) ->
  -    io:format("Fetching object at {riak_demo, \"demo\"}...~n"),
  -    case Client:get(riak_demo, <<"demo">>, 1) of
  +    io:format("Fetching object at {<<\"riak_demo\">>, <<\"demo\">>}...~n"),
  +    case Client:get(<<"riak_demo">>, <<"demo">>, 1) of
           {ok, Object} ->
               io:format("  Fetched successfully~n"),
               case lists:member(WrittenValue, riak_object:get_values(Object)) of
  
positive.code:     usage().
  
  continue_demo(Client) ->
      io:format("Looking for pre-existing object at {riak_demo, \"demo\"}...~n"),
      WrittenValue =
          case Client:get(riak_demo, <<"demo">>, 1) of
              {error, notfound} ->
                  io:format("  No pre-existing object found, creating new~n"),
                  demo_write(Client, riak_object:new(riak_demo, <<"demo">>, undefined));
              {ok, Object} ->
                  io:format("  Pre-existing object found, modifying~n"),
                  demo_write(Client, Object);
              Error ->
                  io:format("Error: request for {riak_demo, \"demo\"} failed: ~p~n",
                            [Error]),
                  halt(1)
          end,
  
negative.code: #!/usr/bin/env escript
  %% -*- erlang -*-
  %%! -name riak_demo@127.0.0.1 -pa ebin -setcookie xyzzy
  main([ConfigFile]) ->
      case file:consult(ConfigFile) of
          {ok, Config} ->
              run_demo(proplists:get_value(riak_nodename, Config),
                       proplists:get_value(riak_hostname, Config),
                       proplists:get_value(riak_cookie, Config));
          Error ->
              io:format("Error: could not open config file: ~p~n", [Error]),
  