Live data from Hacker News

Griffin – A fully-regulated, API-driven bank, with Clojure

juxt.pro

71–80 of 223 posts

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#71
> The problem right now is that there’s no way to control the behavior of the underlying Java threading libraries, nio, and writing to disk.

Nor will there ever be, just by the nature of those systems.

You can't get deterministic execution from a system that uses non-deterministic request ordering, task scheduling, etc. -- which is what you get if you always use multiple OS threads, or spawn multiple discrete processes in tests, and so on.

I mean, I guess you _can_ make that stuff deterministic, but it would require you to build synchronization points into every transition in your application state machines, in a way that would be controllable by tests, which is a very tall order!

In practice, the only way to do this kind of thing is to design the core of your system to be fully synchronous, and to make it concurrent by adding concurrency at higher layers, expressed at run-time.

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#72
post #32

> and this additional proprietary thing that I really need to open source (I ported Datascript to FoundationDB). Yes please! I wonder how that plays out as an alternative to Datomic.

the whole article read to me like a guide: How to over engineer a project for kicks and giggles.

It clearly explained what the design constraints were and why the technology choices met them

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#74

Why are these API banks always in the UK? I've been waiting to do my banking using curl for years and no one has made it available in the US.

The US banking world seems to be firmly stuck in the 80s and banks need to be dragged kicking and screaming to implement anything recent, so this doesn't surprise me at all.

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#75

Why are these API banks always in the UK? I've been waiting to do my banking using curl for years and no one has made it available in the US.

Now there's https://column.com as discussed here last year:

Column – a chartered bank for developers

https://news.ycombinator.com/item?id=31109170

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#76
post #26

Despite the unpopularity here. I am still a fan of cryptocurrency as an alternative to traditional banking.

I put 100k EUR of Bitcoin into a wallet, but then I lose the private key. There has to be a way for me to recover access to my funds. The only way to do that is to delegate trust to a central authority. Crypto will never, can never, be an alternative to traditional banking for the general population.

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#77
post #35
post #26

Despite the unpopularity here. I am still a fan of cryptocurrency as an alternative to traditional banking.

Unless finance institutions and laws can protect wallets and insure crypto, I will never use it. Currency is not just a number you move around, currency is deeply intertwined with how civilization works, and it requires a high amount of trust for people to use it. Trust is rather a social concept that something you can really prove mathematically. It's collective trust. Unless you can DRASTICALLY reduce mis-use with…

I don't understand why this would be a serious impediment.

Suppose you go to an online exchange or Bitcoin ATM or local man with a crypto wallet, you hand over five $10 bills or transfer some money from your bank account, you get $50 in cryptocurrency.

Now you go to the adult bookstore's website and don't have to give them your name, you send $20 to your friend in a foreign country so she can get a cab to the airport without having to lose another $15+ to a wire transfer fee, or you just use it to pay for parking.

Even if you screw up entirely, the most you're out is $50. But then nobody is tying your literature preferences to your name, you can do your friend a favor more efficiently, and the credit card company doesn't have a database of where and when you park your car.

The trust issues come when you want to be a speculator holding a large amount of wealth in a form someone could steal by breaking into your computer, but what does that have to do with using ordinary amounts day to day as a currency?

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#78

I absolutely hate when an articles starts out with: > IN A STARTUP, YOU SHOULD BE USING THE MOST POWERFUL LANGUAGE YOU CAN, AND THAT IS CLOJURE. says you. one opinion. in a startup you should use the language that your team can build and launch your MVP the fastest so you can get your first customers or funding. Hell, this could be a low code or no-code platform(probably not in fintech, just saying with startups in g…

Of course it's an opinion. Anytime somebody says something, it's his/her opinion.

My opinion, for example, is that I agree with his opinion :-) My solo-founder business would not have been possible without Clojure and ClojureScript, which is a testament to the "power" of this language. I consider it "powerful", because it lets a single developer write and maintain a complex app over the years. It gives me power.

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#79
post #60
post #31

Earlier quoted context omitted.

In OO languages (Java, C#, C++, etc...), and functional ones (F#, Haskell, OCaml, etc...) types do not validate the correctness of logic, they evaluate the correctness of data structures and their access/mutation as they are manifested in the language. OO languages consider data correctness as access patterns of encapsulated primitives (or other data structures) through defined behaviors on a "class". Functional lang…

> In OO languages (Java, C#, C++, etc...), and functional ones (F#, Haskell, OCaml, etc...) types do not validate the correctness of logic, they evaluate the correctness of data structures and their access/mutation as they are manifested in the language. Nonsense. Types validate whatever you use them to validate, which can certainly include what we usually call "logic". > Types have little (or nothing) to do with pro…

> Types validate whatever you use them to validate, which can certainly include what we usually call "logic".

I'd love an example of this! I concede that I could be wrong on the point's of ML/Haskell families, however, it relies on the practitioner correctly using the type system to the extreme (at least, that is my impression). C++ and other similar OO's, the type system isn't as compelling as a correctness measure.

> On the contrary, they're still the most effective technique we've found for improving program correctness

In which domain are you working in where this has been the case? It may be my experience, but types as I have seen them used in industry have been more as "data containers with some behaviors".

I'd appreciate some examples of where you think I may be getting types wrong or missing the point.

Re: Griffin – A fully-regulated, API-driven bank, with Clojure

#80

It's sort of difficult for me to envision what possibilities would be available to me with this tool. What user benefits are unlocked with seamless API access to a bank? Is it "just" something like Mint, but implemented in a more technically legit way?

Our customers are other Fintech companies rather than normal humans :)
Post reply on HN