HN user

bokenator

399 karma
Posts72
Comments16
View on HN
gregorygundersen.com 2y ago

Understanding Moments

bokenator
1pts0
github.com 3y ago

Script Runner for Rust

bokenator
1pts0
www.cantorsparadise.com 4y ago

A Gentle Intro to Chaos Theory

bokenator
4pts0
star-history.com 4y ago

GitHub Star History Graph

bokenator
176pts75
star-history.com 4y ago

GitHub star history graph

bokenator
3pts0
www.theregister.com 4y ago

Symbian, the Secret History (2010)

bokenator
2pts0
db-engines.com 4y ago

Popularity Ranking of Database Systems

bokenator
2pts0
techcrunch.com 9y ago

Omega2 lets you add Linux to your hardware projects

bokenator
2pts0
www.kikdaily.com 9y ago

World's smallest Linux server computer with Wi-Fi for $5

bokenator
11pts2
hackaday.com 9y ago

Omega2: $5 Linux Dev Board with WiFi

bokenator
5pts0
onion.io 9y ago

$5 World's Smallest Linux Server. With Wi-Fi

bokenator
8pts2
eager.io 10y ago

Communicating Between JavaScript and CSS Using CSS Variables

bokenator
2pts0
developers.redhat.com 10y ago

OpenJDK now available for Windows

bokenator
2pts0
lifeimitatescode.com 10y ago

The hard thing about testing

bokenator
1pts0
www.lshift.net 10y ago

Scripting vs. Engineering

bokenator
2pts0
torrentfreak.com 10y ago

DMCA Notices Nuke 8,268 Projects on GitHub

bokenator
2pts0
www.zoompast.org 10y ago

Interactive family tree of famous people

bokenator
2pts0
mashable.com 10y ago

$4 Smartphone Finally Gets a Shipping Date

bokenator
3pts0
techcrunch.com 10y ago

Amazon Gives the Alexa App Store a Makeover

bokenator
1pts0
nvie.com 10y ago

How you should be branching your git repos

bokenator
4pts0
reviewskeptic.com 10y ago

Check If a Hotel Review Is Real of Fake

bokenator
1pts0
immersivemath.com 10y ago

Interactive Linear Algebra Textbook

bokenator
10pts1
markstaton.files.wordpress.com 10y ago

Growth Hacking: The Definitive Guide [pdf]

bokenator
4pts0
www.logoshi.com 10y ago

Startup Logo Generator

bokenator
2pts0
www.firstmenonthemoon.com 10y ago

Back in Time: Watch the first moon landing in real time

bokenator
2pts0
www.vectorizer.io 10y ago

Turn an image into a higher quality vector version of itself

bokenator
2pts0
www.ssavr.com 10y ago

Share text and files on the same Wi-Fi network

bokenator
2pts0
xqt2.com 10y ago

Server-Free Web Page Encryption

bokenator
2pts0
dinahmoelabs.com 10y ago

Tonecraft: Minecraft for Composing Music

bokenator
5pts0
visual6502.org 10y ago

Interactive visual JavaScript simulation of the 6502 CPU, used in the Apple II

bokenator
1pts0

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.

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.