News for hackers. Stuff that matters.
Re:Migration from Postgres to Datomic by itchynosedev on Thursday July 06, 2017 @09:23PM (#14715313)
Hell, even implementing CRUD applications with Datomic / Clojure and Clojurescript is blowing everything else out of the water.

No string literals, pure data. Add transit to the mix and you get full-stack killer combo with unparalleled productivity.

With so many parts from Cognitect filling the stack it would be silly not to boost adoption with a friendly licensing.

Re:Migration from Postgres to Datomic by slagfart on Thursday July 06, 2017 @09:50PM (#14715444)
"Unparalleled productivity" sounds like hyperbole, especially considering the posts below, showing how exactly the same thing can be done trivially in Postgres.

Do you have an example?

Re:Migration from Postgres to Datomic by dustingetz on Friday July 07, 2017 @09:44AM (#14718239)
It's because Datomic doesn't have the object/relational impedance mismatch. Because immutbility yields idealized caching so a lot of hard performance problems inherent to RDBMS go away. It's like moving from CVS to Git.

Fuck it, hyperfiddle isn't launched but lets just post it here. Hyperfiddle is JSFiddle + Datomic. http://hyperfiddle.net/ If you care about this, you should reach out, please email me!

Re:Migration from Postgres to Datomic by vosper on Friday July 07, 2017 @10:13AM (#14718449)
It sounds like the site's not finished yet, but FYI it's a trainwreck on iPhone6 + Safari
Re:Migration from Postgres to Datomic by pbowyer on Friday July 07, 2017 @10:45AM (#14718713)
I like the idea. Nice work!
Re:Migration from Postgres to Datomic by joe-user on Thursday July 06, 2017 @11:30PM (#14715812)
This doesn't answer your question, but I just wanted to make clear that the posts below certainly do not show, trivially or otherwise, how to use "no string literals" and "pure data" in Postgres.
Re:Migration from Postgres to Datomic by iaabtpbtpnn on Friday July 07, 2017 @12:00AM (#14715935)
Those concepts don't make any sense, so it's no wonder that a serious RDMBS like Postgres doesn't support them.
Re:Migration from Postgres to Datomic by Risord on Friday July 07, 2017 @02:37AM (#14716540)
Can you explain your statement?
Re:Migration from Postgres to Datomic by narag on Friday July 07, 2017 @03:47AM (#14716791)
Can you explain what those concepts mean and why are they important? It's the first time I've read about them or Datomic for that matter.
Re:Migration from Postgres to Datomic by Risord on Friday July 07, 2017 @08:33AM (#14717845)
I asked since I don't know much about datomic either or how usable is it in production. So I haven't much to share.
Re:Migration from Postgres to Datomic by sheepmullet on Thursday July 06, 2017 @11:56PM (#14715913)
> especially considering the posts below, showing how exactly the same thing can be done trivially in Postgres.

So then where is the open source version / extension to Postgres?

How about this - I'll give you $1000 if you can give me a seamless extension on top of Postgres that has most of the functionality of Datomic.

Since it is trivial it is easy money for you.

Re:Migration from Postgres to Datomic by skrebbel on Friday July 07, 2017 @02:25AM (#14716483)
GGP talked about building a CRUD app with "unparalleled productivity". That's where the burden of proof is, not to the GP who is skeptical about that claim.
Re:Migration from Postgres to Datomic by VLM on Friday July 07, 2017 @08:28AM (#14717822)
"So then where is the open source version / extension to Postgres?"

As a concrete example I like the way in the datomic schema you can eliminate bridge tables for many-many relationships using :db/cardinality :db.cardinality/many and then you store or get a vector.

There should be a way to have a super-SQL middleware compatible with any language bindings including a bare CLI that eats "SQL plus some cardinality" and behind the scenes implements the bridge table manipulations. Don't repeat yourself and all that, and many/many tables are kinda repetitive.

There doesn't seem to be anything remotely like that out there.

Re:Migration from Postgres to Datomic by hellofunk on Friday July 07, 2017 @05:32AM (#14717146)
You are asking for evidence of disproof. That is a logical paradox, and frequently used as an argument by extremist politicians.

Where is the evidence that you do not [insert anything here]? That's a slippery slope of challenge.

Re:Migration from Postgres to Datomic by throw13209 on Friday July 07, 2017 @07:25AM (#14717582)
Unparalleled productivity maybe, but only once you've learned how to read code that looks like an AST, and to juggle parens in Emacs (learn paredit etc).

For better or worse, history has proven that doesn't appeal to many developers. Lisps just aren't popular, and that lack of mindshare matters.

Re:Migration from Postgres to Datomic by swlkr on Friday July 07, 2017 @07:02PM (#14722902)
There is parinfer which turns lisp into a white space significant language, no special commands necessary