Sequence
Finance and crypto
ledger api
SHOW HN2020
How HN took it
4 positive, 7 neutral or asking, 1 mixed, 3 critical, out of 15 comments about the project. Thread score +0.15.
Design: 0 for, 3 againstExecution: 2 for, 0 againstIdea: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Clean, well-written code
From 3 comments
Nice clean code! Thanks for open sourcing. I was a bit hoping to see how you were calculating amortization/interest charges in Clojure, but it appears to be only a pure ledger.…
elcritch on HNAmazing work there. I have looked at your code and it is very nice. Fun thing, I am currently building a similar ledger in clojure. The task is much harder then expected. My…
didiercrunch2 on HNNice work! Very well done
lelo_tp on HN
Detailed review of DynamoDB design praised
From 1 comment
It uses DynamoDB and transactions. Each double-entry appears to be 4 items, 1 for each balance update and 1 for each transaction. Each “journal” will use 2x4 WCU for the write to…
kondro on HN
Objections
Using NoSQL/DynamoDB for a ledger questioned as not truly relational
From 3 comments
Why did you go with a non-relational database?
bmh100 on HNDynamoDB is a key-value store. Key-value stores are not relational databases [1] The link you posted is a really good resource for someone who wants to start using DynamoDB…
nagyf on HNThat's really stretching the definition of a 'relational database'. You can create relationships on flat text files. It doesn't mean that you have a relational database now.
outworlder on HN
Eventual consistency and double-entry integrity concerns
From 1 comment
I was wondering as well. How does that work with eventual consistency? Shouldn’t there be double bookkeeping so you don’t generate money out of the air?
weitzj on HN
Limited partition size from LSI design and single-transaction model
From 1 comment
It uses DynamoDB and transactions. Each double-entry appears to be 4 items, 1 for each balance update and 1 for each transaction. Each “journal” will use 2x4 WCU for the write to…
kondro on HN
Requests
Support for multiple databases via adapters (Postgres, leveldb)
From 1 comment
Is DynamoDB baked into the product or could new adapters be written to use different key/value stores? Things like leveldb for local-only ledgers or even an adapter on top of…
zrail on HN
Interest and amortization calculations
From 2 comments
Nice clean code! Thanks for open sourcing. I was a bit hoping to see how you were calculating amortization/interest charges in Clojure, but it appears to be only a pure ledger.…
elcritch on HNAmazing work there. I have looked at your code and it is very nice. Fun thing, I am currently building a similar ledger in clojure. The task is much harder then expected. My…
didiercrunch2 on HN
Idempotent requests with request ids
From 1 comment
Also it seems like the amount is of type number. Ideally you would calculate in Dollarcents or Eurocents (I.e. solely use integers) like 100 Eurocents equal 1€ So you do not have…
weitzj on HN
Questions
Why a non-relational database was chosen
From 2 comments
Why did you go with a non-relational database?
bmh100 on HNWhy use nosql for a ledger?
jsmith99 on HN
Whether floating-point amounts are allowed
From 1 comment
Does it allow to save values with floating point imprecision such as 1.000000001? I don't think the issue is never in the database but the service that uses the API to send…
tappio on HN
Alternatives named
Ledger CLI
From 1 comment
You're right. Sequence is a ledger API. These tools will give you higher abstractions on top of their internal ledgers. I think you are on the right track. If you want something…
andriosr on HN
GnuCash and Frappe Books
From 1 comment
Sequence has interesting applications for longer-term work I'm on, and/but I'm Baader-Meinhoffing [0] re more-immediate small-biz accounting ledger needs: I spent a good chunk of…
smcnally on HN