HackerTrans
TopNewTrendsCommentsPastAskShowJobs

vitalikpie

no profile record

Submissions

Spanish traders set the standard for GnuCash database design

handson.money
133 points·by vitalikpie·w zeszłym miesiącu·81 comments

Ask HN: Build trust for closed source product

1 points·by vitalikpie·4 miesiące temu·5 comments

comments

vitalikpie
·w zeszłym miesiącu·discuss
Yeah this is exactly what I do under the hood. All the data is stored as Ints, charts use double for speed, views use decimal to display stuff properly in the user locale.

P.S. Doubles are absolute evil for calculations:

    @Test
    func test() {
        var a = Decimal(100.4449315513924) * 100 // It's me being dumb, not noticing that
        let b = NSDecimalNumber(decimal: a).intValue
        #expect(b == 10044) // Expectation failed: (b → -8402) == 1044
    }
vitalikpie
·w zeszłym miesiącu·discuss
Thanks. After all I'm a human too. I'm prone to AI psychosis.
vitalikpie
·w zeszłym miesiącu·discuss
Thanks :)
vitalikpie
·w zeszłym miesiącu·discuss
I was contemplating between hledger and GnuCash for a while and then choose GnuCash because it has pretty good UX for transactions entry.

The missing piece for me was a mobile app. So trying closing this gap with HandsOnMoney.

But I'll be honest - I'm putting off the statement import as much as I can until my financial anxiety kicks in.
vitalikpie
·w zeszłym miesiącu·discuss
In hindsight do you think it was an right decision or too "pure"?
vitalikpie
·w zeszłym miesiącu·discuss
Thanks for idea. I think I'll do another more techy article on this.
vitalikpie
·w zeszłym miesiącu·discuss
Agree on this. Current situation is kinda broken:

- people do not trust Plaid and Finicity - data is captive inside of bank portals - each damn CSV has it's own format
vitalikpie
·w zeszłym miesiącu·discuss
God damn it! I did not bother to check the treasury. Thank you for catching mistake - I will correct it.

I knew there will be something to hunt minor units.
vitalikpie
·w zeszłym miesiącu·discuss
Yeah. Likely so. While at the same time, they may have some other reason - https://www.youtube.com/watch?v=g9S6qD_Wylw
vitalikpie
·w zeszłym miesiącu·discuss
Did not know that. Will update the article. Thank you!
vitalikpie
·w zeszłym miesiącu·discuss
I'm using a free version, so if an LLM suggestions slipped in - it only a couple of them.
vitalikpie
·w zeszłym miesiącu·discuss
Thanks for the info! But did you guys thought about fractional commodities those days? Or was it clear that it is going away?
vitalikpie
·w zeszłym miesiącu·discuss
I think it's because thought-process is done in Russian, translated into English and the checked for grammar mistakes with Grammarly.
vitalikpie
·w zeszłym miesiącu·discuss
Thanks! I believe blogs and indie products should have personality - otherwise it so easy to overlook them.
vitalikpie
·w zeszłym miesiącu·discuss
Thanks!
vitalikpie
·w zeszłym miesiącu·discuss
Do you do budget in GnuCash or somewhere else?
vitalikpie
·w zeszłym miesiącu·discuss
Yeah, I'm just a developer mostly chatting with LLMs. I hope I'll develop a distinct style some day.
vitalikpie
·w zeszłym miesiącu·discuss
Yeah, I thought about it when I first saw the coin cut into pieces - https://www.pirateglossary.com/glossary/pieces-of-eight

But then why didn't they cut it into 10 pieces - https://etc.usf.edu/clipart/40600/40610/pie_01-10a_40610.htm ?
vitalikpie
·w zeszłym miesiącu·discuss
hm, I don't have any other ways to prove it. The thing is - I thought this is something LLM can't write about.

Just imagine a prompt: "Hey Claude, go ahead and come up with idea why GnuCash stores numbers as fractions and come up with an article for HN". I actually tried it and god damn thing came up with something very similar :D
vitalikpie
·w zeszłym miesiącu·discuss
Yeah, sorry. It's kind of intentional. Did not want to give it a boring name like "Storing fractions vs decimals".