Hacker Newsnew | past | comments | ask | show | jobs | submit | gomezjdaniel's commentslogin


It could be they had a way to warm up the batteries until these explode


Thanks for the article.

You have ton of interesting posts in your personal website!


Why don't you check the BIN yourself before sending the request to Stripe?

I can assist you with that: danielgomjur/at/gmail/dot/com


Cause I redirect the customer to Stripe hosted page. I'd really prefer not to go into the whole PCI DSS thing for this. Also, why should I jump through hoops when it's Stripe that chooses to make life harder for me? I'd rather find a better alternative.


It would be illegal to do this in the US or Europe without the business being PCI compliant first.

You might want to offer up the country's laws you are familiar with before making offers like this.


Why?


Even though ACID-compliant databases are very trustworthy, it's still bad practice to mutate amounts of money in-place, even if you trust the database not to duplicate or destroy money. "Accountants shouldn't use erasers" and all that.

If you're dealing with money, you should at a minimum have some kind of ledger, and derive the current state from that.

Calling an SQL transaction "Classic funds transfer" is a bit of a disservice to all the banking that happened before databases. Mesopotamians were recording transactions on clay tablets 5000 years ago.


Thank you.

Using incorrect and invalid models of real world systems and using them as exemplars of technical concepts, even as a short hand, is a sign of a not well written document.

It gets worse, because the "level up" to distributed transactions builds on the model by trying to show two banks engaged in a distributed transaction using 2PC to handle a funds transfer. This doesn't exist. It's not a thing. It never has been. There's nothing "classical" about this example.

It exists in the same canon as "a manager is a person. an employee is a person..." examples to explain data modeling.

Using these "examples" leads readers (learners) to walk away with incorrect understanding that they will likely spend a ton of time having to unlearn and overcome.


I've been job hunting lately and one of the positions was for someone trying to disrupt Visa. It took me years of chats with billing folks and dealing with declined purchases to piece together what I know about how credit cards actually work, and it's just the tip of the iceberg.

Good luck with your Chesterton's Fence adventure boys. You're gonna need it.


Mind sharing URL?


It is open sourced anywhere? I am curious


Author from [1] (518 points, 102 comments) and [2] just launched a Kickstarter campaign

[1] https://news.ycombinator.com/item?id=35961590

[2] https://github.com/hendricius/the-sourdough-framework


Hey hendricius! Just wanted to say thank you for your free material. I discovered you months ago and I love your 'scientific' approach

Looking forward to that Kickstarter campaign :)


Thank you very much!


Which language did you use to code the application?


Typescript and Rust, with SvelteKit and Tauri.


Do you mind telling where and why are you using rust?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: