Better HN
topnewbestaskshowjobs
Log inSign up

bokenator

399 karma · joined Feb 7, 2013 (13y ago) · 142 submissions

Submissions

comment 10mo ago · link · parent

The crypto model of single entries with "from" and "to" field works well for transactions. For example you move $100 from checking to savings account, something like the following will capture it perfectly.

```json { "from": "Checking", "to": "Savings", "amount": 100 } ```

This is basically what a crypto ledger does.

But the main reason why we need double entry accounting is that not all accounting entries are transfers. For example, is we are logging a sales, cash increases by $100, and revenue increases by $100. What's the "from" here? Revenue isn't an account where account is taken from, it is the "source" of the cash increase. So something like the following doesn't capture the true semantics of the transaction.

```json { "from": "Revenue", "to": "Cash", "amount": 100 } ```

Instead, in accounting, the above transaction is captured as the following.

```json { "transaction": "Sale", "entries": [ { "account": "Cash", "debit": 100, "credit": null }, { "account": "Revenue", "debit": null, "credit": 100 } ] } ```

It gets worse with other entries like:

- Depreciation: Nothing moves. You're recognizing that a truck is worth less than before and that this consumed value is an expense. - Accruals: Recording revenue you earned but haven't been paid for yet. No cash moved anywhere.

The limitation of ledgers with "from" and "to" is that it assumes conservation of value (something moves from A to B). But accounting tracks value creation, destruction, and transformation, not just movement. Double-entry handles these without forcing a transfer metaphor onto non-transfer events.

comment 1y ago · link · parent

Wow, I've been looking for this. Thanks for sharing!

comment 1y ago · link · parent

Thanks a lot!

comment 1y ago · link · parent

That sounds like an awesome experience. Can you please share the links to the deck and the book?

comment 1y ago · link · parent

Me too. And KDE connect really does an awesome job of creating an integrated multi device experience.

comment 1y ago · link · parent

Which open source option did you end up going with? I'm in the same boat and would like to evaluate my options.

comment 2y ago · link · parent

This is a good place to use cumulants. Instead of working with joint characteristic functions, which gets messy, it lets you isolate the effects of correlation into a separate term. The only limitation is that this doesn't work if the moment doesn't exist.

comment 2y ago · link · parent

I've also tried out a few solutions for this problem, but I inevitably went back to use slack or signal. The reason is that these messenger apps are just always open and it's far easier to paste stuff into it than opening an app dedicated to this purpose.

9.

Understanding Moments(gregorygundersen.com ↗)

1 points · by bokenator · 3y ago · discuss

10.

Script Runner for Rust(github.com ↗)

1 points · by bokenator · 4y ago · discuss

11.

A Gentle Intro to Chaos Theory(cantorsparadise.com ↗)

4 points · by bokenator · 4y ago · discuss

12.

GitHub Star History Graph(star-history.com ↗)

176 points · by bokenator · 4y ago · 75 comments

13.

GitHub star history graph(star-history.com ↗)

3 points · by bokenator · 4y ago · discuss

14.

Symbian, the Secret History (2010)(theregister.com ↗)

2 points · by bokenator · 4y ago · discuss

15.

Popularity Ranking of Database Systems(db-engines.com ↗)

2 points · by bokenator · 4y ago · discuss

16.

Omega2 lets you add Linux to your hardware projects(techcrunch.com ↗)

2 points · by bokenator · 10y ago · discuss

17.

World's smallest Linux server computer with Wi-Fi for $5(kikdaily.com ↗)

11 points · by bokenator · 10y ago · 2 comments

18.

Omega2: $5 Linux Dev Board with WiFi(hackaday.com ↗)

5 points · by bokenator · 10y ago · discuss

19.

$5 World's Smallest Linux Server. With Wi-Fi(onion.io ↗)

8 points · by bokenator · 10y ago · 2 comments

comment 10y ago · link · parent

As long as you can power it with 3.3V you can run it without the docks.

21.

Communicating Between JavaScript and CSS Using CSS Variables(eager.io ↗)

2 points · by bokenator · 10y ago · discuss

22.

OpenJDK now available for Windows(developers.redhat.com ↗)

2 points · by bokenator · 10y ago · discuss

23.

The hard thing about testing(lifeimitatescode.com ↗)

1 points · by bokenator · 10y ago · discuss

24.

Scripting vs. Engineering(lshift.net ↗)

2 points · by bokenator · 10y ago · discuss

25.

DMCA Notices Nuke 8,268 Projects on GitHub(torrentfreak.com ↗)

2 points · by bokenator · 10y ago · discuss

26.

Interactive family tree of famous people(zoompast.org ↗)

2 points · by bokenator · 10y ago · discuss

27.

1 points · by bokenator · 10y ago · discuss

12345