<    April 2017    >
Su Mo Tu We Th Fr Sa  
                   1  
 2  3  4  5  6  7  8  
 9 10 11 12 13 14 15  
16 17 18 19 20 21 22  
23 24 25 26 27 28 29  
30
00:21 roooms joined
00:50 andyt1 joined
01:22 roooms joined
02:23 roooms joined
03:24 roooms joined
04:24 roooms joined
05:25 roooms joined
05:30 MJD joined
05:40 petro__ joined
06:01 MJD joined
06:26 roooms joined
06:49 MJD joined
07:15 Tica2 joined
07:27 roooms joined
07:52 andrew_deane_ joined
08:03 MJD joined
08:28 roooms joined
08:43 MJD joined
09:28 roooms joined
10:29 roooms joined
11:30 roooms joined
11:47 Tica2 joined
11:52 petro__ joined
12:31 roooms joined
13:16 bsparrow joined
13:32 roooms joined
14:32 roooms joined
15:33 roooms joined
16:24 iFire joined
16:24 <iFire> Anyone familiar with riak? I'm trying to access a strongly consistent key in a bucket and this fails.
16:24 <iFire> Riak.find(pid, "strongly_consistent", "test", "hello")
16:24 <iFire> Riak.Bucket.Type.list(pid, "strongly_consistent")
16:24 <iFire> {:ok, ["test"]}
16:25 <iFire> https://github.com/drewkerrigan/riak-elixir-client
16:35 roooms joined
16:35 <iFire> $ curl 172.17.0.3:8098/types/strongly_consistent/buckets/test/keys/hello
16:35 <iFire> world
16:39 <iFire> iex(10)> :riakc_pb_socket.fetch_type(pid, {"strongly_consistent", "test"}, "hello")
16:39 <iFire> {:error, "`undefined` is not a supported type"}
17:12 comptekki joined
17:35 roooms joined
18:36 roooms joined
18:41 <russelldb> iFire: I think fetch_type is only for Riak DataTypes (CRDTs)
18:41 <russelldb> not for strongly consistent buckets
18:42 <iFire> yeah :riakc_pb_socket.get(pid, {"strongly_consistent", "test"}, "hello") works
18:42 <iFire> but it only took 4 hours of reading code :(
18:47 <russelldb> iFire: bummer, sorry I wasn't around earlier. Building a new bike frame up
18:49 <russelldb> iFire: now's the time you save the next person by filing docs PR about what you learned?
19:01 <glickbot> iFire: does Riak.find(pid, {"strongly_consistent", "test"}, "hello") work?
19:20 <iFire> no
19:20 <iFire> ..
19:20 <iFire> yes
19:20 <iFire> ...
19:20 <iFire> let me look at my pr
19:21 <iFire> Riak.find(pid, {"strongly_consistent", "test"}, "hello") yes
19:38 roooms joined
19:46 <iFire> what is better creating a used map as a key value or running bucket get keys
19:53 <glickbot> using the elixir clients Bucket.keys function performs a key list, and should be avoided in general
20:01 <glickbot> iFire: more info on using sets/building indexes/avoiding listing keys: http://basho.com/posts/technical/index-for-fun-and-for-profit/
20:28 <iFire> "G-Set Term-Based Inverted Index" works for strong consistency?
20:39 roooms joined
20:40 <glickbot> if you're using strong consistency you won't need a crdt, or the idea of merging conflicts, because conflicts will never occur
20:41 <glickbot> however, you can still use the idea of using a key value pair as a lookup for a set, using the key as the lookup term and the set as a set of results for the term ( which you add/remove from yourself )
21:40 roooms joined
22:01 eliklein joined
22:41 roooms joined
23:41 roooms joined