Live data from Hacker News

Datomic is Free

blog.datomic.com

141–150 of 436 posts

Re: Datomic is Free

#141
post #132

Earlier quoted context omitted.

I felt the exact same thing. I was pretty sure the answer was "No" but they were too chicken to write it. Were they hoping that people wouldn't notice?

It worked for Docker Desktop and BSC. The products even have github repos! There's just no source in them. It's open source cosplay.

> It's open source cosplay.

I am stilling that phrase. It's perfect.

Re: Datomic is Free

#143

Earlier quoted context omitted.

> Someone needs to have the working set of your database in memory, why shouldn't it be your app server and business logic? This one confused me. The obvious reason why you don't want the whole working set of your database in the app server's memory is because you have lots of app servers, whereas you only have one database[1]. This suggests that you put the working set of the database in the database , so that you s…

Consider this use case - in addition to your web app, you have a reporting service that makes heavy duty reports; if you run one at a bad time, bad things might happen like users not being able to log in or do any other important work, because the database is busy with the reports. So in a traditional DB you might have a DBA set up a reporting database so the operational one is not affected. Using Datomic the reporti…

I appreciated this insight into other people's use cases, thank you for that! This architecture brings RethinkDB to mind, which also had some ability to run your client as a cluster node that you alone get to query. (Although there it was more about receiving the live feed than about caching a local working set.)

Re: Datomic is Free

#144

What is Datomic, you ask? It's a database written in Clojure. https://hn.algolia.com/?q=datomic Datomic is an operational database management system - designed for transactional, domain-specific data. It is not designed to be a data warehouse, nor a high-churn high-throughput system (such as a time-series database or log store). It is a good fit for systems that store valuable information of record, require developer…

[deleted]

Re: Datomic is Free

#145
post #11

Datomic's is perfect for probably 90% of small-ish backoffice systems that never has to be web scale (i.e. most of what I do at work). Writing in a single thread removes a whole host of problems in understanding (and implementing) how data changes over time. (And a busy MVCC sql db spends 75% of its time doing coordination, not actual writes, so a single thread applying a queue of transactions in sequence can be fast…

You seem to describe the Event Source paradigm rather than a database :)

Re: Datomic is Free

#146
post #123

Earlier quoted context omitted.

But what if you never had the source form? You can’t redistribute what you never had… This is actually an interesting question. But I can’t see how a binary only distribution would be in the spirit of the Apache license.

It is the very reason the license exists. It is in the spirit and the letter of the license to do binary only distribution. Why do you think so many companies are pushing the Apache License 2.0 over the GPL?

I thought the reason was the explicit patent language and lack of license virality.

The Apache license 2 is pretty clear that binary only distribution is allowed, but I think it’s also clear that the assumption is that source is available in some form. Otherwise, why would you care about derivative works?

As is, it would be possible to decompile the JVM code into something resembling source code and then distribute that with or without modification. Which just seems odd to me.

Re: Datomic is Free

#147
> Is it Open Source?

> Datomic binaries are provided under the Apache 2 license which grants all the same rights to a work delivered in object form.

That doesn't answer the question at all. I assume the answer is no, because otherwise they would just say yes, and have a link to the source code somewhere. But that is such a weird, and possibly duplicitous way to answer.

Re: Datomic is Free

#148
Question to people having used Datomic:

Based on experience with Prolog, I always thought using Datalog in a database like Datomic would mean being able to model your data model using stored queries as a very expressive way of creating "classes". And that by modeling your data model using nested such queries, you alleviate the need for an ORM, and all the boilerplate and duplication of defining classes both in SQL and as objects in OO code ... since you already modelled your data model in the database.

Does Datomic live up to that vision?

Re: Datomic is Free

#149
post #27

Earlier quoted context omitted.

Maven actually has a tutorial on publishing binaries without source. So I assume it's ok when they tell you how to do it.

Sure, Maven makes this possible. But Maven Central has strict rules around what can be published there. I just double checked and it's a requirement to publish the source as well as the binaries: https://central.sonatype.org/publish/requirements/#supply-ja...

it seems you're right, but it also says the following, so i'm confused on whether it's a hard requirement?

"If, for some reason (for example, license issue or it's a Scala project), you can not provide -sources.jar or -javadoc.jar , please make fake -sources.jar or -javadoc.jar with simple README inside to pass the checking. We do not want to disable the rules because some people tend to skip it if they have an option and we want to keep the quality of the user experience as high as possible."

Re: Datomic is Free

#150
post #11

Datomic's is perfect for probably 90% of small-ish backoffice systems that never has to be web scale (i.e. most of what I do at work). Writing in a single thread removes a whole host of problems in understanding (and implementing) how data changes over time. (And a busy MVCC sql db spends 75% of its time doing coordination, not actual writes, so a single thread applying a queue of transactions in sequence can be fast…

You seem to describe the Event Source paradigm rather than a database :)

The main difference between event sourcing and datomic are the indexes and the "schema", which provides full SQL-like relational query powers out of the box, as well as point-in-time snapshots for every "event" (transactions of facts).

So, "events" in Datomic are structured and Datomic uses them to give you query powers, they're not opaque blobs of data.

Post reply on HN