Readit News logoReadit News
serguzest commented on Event Sourcing, CQRS and Micro Services: Real FinTech Example   lukasniessen.medium.com/t... · Posted by u/fmfamaral
kace91 · 2 months ago
Semi related question: does anyone have experience introducing proper financial data handling (ledgers or other alternatives) in a fintech _after the fact_ ?

As in, fixing things during a scaleup phase when business has been working for a while and the original improvised systems are breaking, but you can’t stop business to repair.

Currently undergoing a similar project and would really appreciate any resource thrown my way, both purely technical and/or for interfacing with accounting people with no hybrid roles to bridge the domain gap.

serguzest · 2 months ago
We are in a similar situation, and here's what I did:

1) Learned the basic concepts of double-entry bookkeeping. 2) Told ChatGPT about my business domain and requested an example Chart of Accounts (CoA) tailored to it.

Feel free to reach out to me, I’d love to exchange ideas.

serguzest commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
seniorsassycat · 5 months ago
It's wild that that's not what the section is about. Extending error is not new at-all.
serguzest · 5 months ago
Most people (including the author apparently) don't know they can chain errors with cause option in-built way in node and in browser. It is not just arbitrary extending and it is relatively a new thing. https://nodejs.org/api/errors.html#errorcause
serguzest commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
tkzed49 · 5 months ago
assertions in node test feel very "technically correct but kind of ugly" compared to jest, but I'll use it anyway
serguzest · 5 months ago
yes but consider this Jest code, replicating such in node testing is painful. testing code should be DSL-like, should be very easy to read.

            expect(bar).toEqual(
                expect.objectContaining({
                    symbol: `BTC`,
                    interval: `hour`,
                    timestamp: expect.any(Number),
                    o: expect.any(Number),
                    h: expect.any(Number),
                    l: expect.any(Number),
                    c: expect.any(Number),
                    v: expect.any(Number)
                })
            );

serguzest commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
vinnymac · 5 months ago
Currently for very small projects I use the built in NodeJS test tooling.

But for larger and more complex projects, I tend to use Vitest these days. At 40MBs down, and most of the dependency weight falling to Vite (33MBs and something I likely already have installed directly), it's not too heavy of a dependency.

serguzest · 5 months ago
It is based on vite and a bundler has no place in my backend. Vite is based on roll-up, roll-up uses some other things such as swc. I want to use typescript projects and npm workspaces which vite doesn't seem to care about.
serguzest commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
serguzest · 5 months ago
I love Node's built-in testing and how it integrates with VSCode's test runner. But I still miss Jest matchers. The Vitest team ported Jest matchers for their own use. I wish there were a similar compatibility between Jest matchers and Node testing as well.
serguzest commented on Modern Node.js Patterns   kashw1n.com/blog/nodejs-2... · Posted by u/eustoria
serguzest · 5 months ago
One thing you should add to section 10 is encouraging people to pass `cause` option while throwing new Error instances. For example

new Error("something bad happened", {cause:innerException})

serguzest commented on Scientists identify culprit behind biggest-ever U.S. honey bee die-off   science.org/content/artic... · Posted by u/pseudolus
esafak · 6 months ago
So we're waiting for bees to evolve resistance to these mites?
serguzest · 6 months ago
bu yazdiklarimdan onu mu anladin aq otistigi. Hepimizi geberip gidecegiz doga devam edecek
serguzest commented on Scientists identify culprit behind biggest-ever U.S. honey bee die-off   science.org/content/artic... · Posted by u/pseudolus
serguzest · 6 months ago
There’s a truth we’re rarely taught in school and I find it deeply poetic: The vivid colors we see in flowers, even those beyond our vision in the ultraviolet, and the delicate fragrances that drift on the breeze they're not for us.

They are nature’s love songs, composed to seduce insects. All this beauty is a grand performance, meant to charm bugs into becoming messengers of life, carrying pollen from bloom to bloom.

Bees, though precious, are just one part of this ancient dance. Moths, beetles, butterflies, each plays a role in this quiet symphony of survival.

And yet, this balance is being disrupted. Greedy and short-sighted actions are damaging ecosystems that are far more complex than we understand.

But here’s the humbling part: Nature will endure. She always has. She’ll shake us off like dust, heal in silence, and bloom again with or without witnesses.

serguzest commented on Conformance checking at MongoDB: Testing that our code matches our TLA+ specs   mongodb.com/blog/post/eng... · Posted by u/todsacerdoti
HdS84 · 7 months ago
Did you evaluate RavenDB? Just out of interest
serguzest · 7 months ago
Ravendb is trash. It can’t handle even 1/10 of this type of a load, it was trashed in jepsen testing too. I had to work with it 4 years and i disliked it.
serguzest commented on One-Click RCE in Asus's Preinstalled Driver Software   mrbruh.com/asusdriverhub/... · Posted by u/MrBruh
serguzest · 8 months ago
It is not just a mainboard issue. I had an asus mechanical keyboard. After I started using it, Windows kept installing software and background services in system that is a listening port. I kept deleted it manually and no matter I did, windows kept installing it without my consent. It was really annoying.

u/serguzest

KarmaCake day101July 22, 2015
About
adam (at) afarmer [dot] dev
View Original