datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
Casey 2021-03-11T15:33:39.060200Z

Bad entity value :db.type/bytes at [:db/add 12 :db/valueType :db.type/bytes],
   value does not match schema definition. Must be conform to: #{:db.type/number
   :db.type/instant :db.type/tuple :db.type/boolean :db.type/uuid :db.type/value
   :db.type/string :db.type/keyword :db.type/ref :db.type/bigdec :db.type/float
   :db.type/bigint :db.type/double :db.type/long :db.type/symbol}
Is :db.type/bytes not implemented in datahike?

Casey 2021-03-11T15:34:42.060500Z

https://github.com/replikativ/datahike/blob/master/src/datahike/schema.cljc#L40 ah, that would appear to be the case

Casey 2021-03-12T08:48:09.064600Z

Thanks! I've joined the discord.

2021-03-11T16:48:18.062900Z

@ramblurr @jjttjj We have implemented effcient timeseries querying in Datomic. The insertion of data is capped by the transactor and the number of datoms becomes a problem at some point. But it is possible if you insert the data with accumulating values

2021-03-11T16:49:00.063Z

E.g on t0 you insert the value X0, on t1 you insert the value X0 + X1

2021-03-11T16:49:50.063200Z

When you query arbitrary ranges you substract X0 from X1 and you have the value for that period

2021-03-11T16:50:19.063400Z

So depending on the granularity and the range of the data the query will be heavy or very lite (even over years if the steps in between are big)

kkuehne 2021-03-11T19:12:31.063700Z

Yes it's planned. We had the discussion on implementing the byte type over on discord.

kkuehne 2021-03-11T19:21:55.063900Z

https://discord.com/channels/735146089241509909/775327453132095498/815246396227059743 you can see the thread.

raspasov 2021-03-11T20:51:19.064500Z

(re-posting this from #datomic) Do you guys know of any graphical UI for browsing Datalog data? I’m thinking something in the style of Postico (for Postgres) or Sequel Pro for MySQL

Casey 2021-03-12T08:49:03.064900Z

I know of this https://github.com/replikativ/datahike-frontend haven't used it myself. I'd also be very interested in a nice frontend.

👍 1
JB 2021-03-13T07:21:28.065800Z

https://github.com/homebaseio/datalog-console homebase + lambdaforge/datahike are working on one!

👍 1