Recent submissions

Comment · 5 months ago
There’s no way around it? Can’t you obfuscate as generic data and use keys to map to the real data?
Comment · 5 months ago
I think you could condense this to a test plan (serious). I think if you come up with the cases in order these are solves problems and yes it’s part of your concurrency control, idempotency is part in parcel of distributed systems, otherwise you’re in your monolith with a wondrous central ACID interface.

I would argue sequencing is part of the hard part of idempotency, your business context would decide “when” to apply sequencing is good enough (recall monopoly “bank error collect $$$”).

Set and setting is also relevant, most places don’t deal with money or disastrous concurrency scenarios.

Now if you want to argue for a paradigm shift for why we shouldn’t be here to begin with and offer a way to get back to scalable centralized db system we’re all hears.

Comment · 1 year ago
Anyone have experience implementing DDD and Hex architecture with Python enterprise services?

I fell in love the abstraction patterns that Hex architecture and DDD provide, especially when upgrading a framework that only affected one layer (REST), or when any outside contract changes you only need to change the adapter or port interface layer since everything depends on Core but core depends on nothing.

I love the payoff and risk mitigation of using strong static typed languages for enterprise code and architecture but I recently took over a large Python Flask app. We need to start abstracting layers to replace a 3rd party service with a new one. For hex architecture to work I need to use dependency injection which looks like the main Flask app.py seems the place to wire those up but I don't think it can be enforced without strong PR controls and standards.

Comment · 2 years ago
Found with GIMPs
Comment · 2 years ago
Lol no one reads, just RIIR.
Comment · 2 years ago
I heard about Rust recently.
Comment · 2 years ago
Rewrite it in Rust.
Comment · 2 years ago
Lol
Comment · 2 years ago
Or utilize metric tonnes of cheap labor.
Comment · 2 years ago
A lot of this is covered and contributes by Adam Grant's "Hidden Potential"

Learned that different learning styles was bunk (visual vs auditory). Also, experts are the worst teachers, they are far removed from being in your shoes and do not provide the empathy or the correct scaffolding to start newcomers down the path of understanding a topic.

The biggest success for pedagogy impact is study groups, and tutoring while or immediately after learning something (the accountability of needing to teach someone bumps.your motivation to understand the nuances, plus the act of teaching helps you remember)

Comment · 2 years ago
I first thought this post was a slight saying the real app was "masquerading as a password manager"

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton