HNHacker News
TopNewBestAskShowJobs

bokenator

399 karma · joined February 7, 2013

submissionscomments
bokenator··on Accounting for Computer Scientists (2011)
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.

bokenator··on I did 98,000 Anki reviews. Anki is already dead
Wow, I've been looking for this. Thanks for sharing!
bokenator··on I did 98,000 Anki reviews. Anki is already dead
Thanks a lot!
bokenator··on I did 98,000 Anki reviews. Anki is already dead
That sounds like an awesome experience. Can you please share the links to the deck and the book?
bokenator··on How to Bring Back Oddly Shaped App Icons in macOS 26 Tahoe
Me too. And KDE connect really does an awesome job of creating an integrated multi device experience.
bokenator··on Databricks in talks to acquire startup Neon for about $1B
Which open source option did you end up going with? I'm in the same boat and would like to evaluate my options.
bokenator··on Probability-generating functions
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.
bokenator··on Show HN: I made a Note-Taking app for people who keep texting themselves
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.
bokenator··on Omega2: the $5 Linux Server with WiFi
As long as you can power it with 3.3V you can run it without the docks.
bokenator··on Poll: What Programming Language Do You Use for Server Side Web Development?
Just added go
bokenator··on Bluetooth 5 will quadruple the range, double the speed
What's wrong with Engadget?
bokenator··on Bluetooth 5 will quadruple the range, double the speed
I've found that microwave interferes very strongly with Bluetooth headphones
bokenator··on Bluetooth 5 will quadruple the range, double the speed
who is he?
bokenator··on Bluetooth 5 will quadruple the range, double the speed
I think it's a bandwidth issue. If I use bluetooth mouse, keyboard, and headphones at the same time, the mouse becomes very sluggish. It works totally fine if I turn off either the keyboard or the headphone.
bokenator··on Has anyone successfully implemented the 4 hour workweek?
It is becoming hard to negotiate remote work deals because many bosses have also read the book! lol
bokenator··on Has anyone successfully implemented the 4 hour workweek?
That's amazing, I have spoken to many people who have read the book, and I haven't met anyone who has even attempted it. I have tried it a couple of times as well, but I haven't been able to get it to sustain.