13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 5y ago · link · parent
(2) this problem should be avoided in general by just having idempotent services. Just as a hard restriction, forever, build services to be idempotent. It should be the exception to have a non-idempotent service, and it should be carefully understood.
That said, if you have (1) as a consistent issue, like if every message is flaky, kafka isn't the right solution. Postgres-based queues are perfect for this because you can examine the table as a whole, making more informed decisions about what you want to process (or not process).
comment 5y ago · link · parent
Yes... I'm aware. That's why I said vegan.
> Your extremist attempt to go from presumably a meat-centered diet to absolutely no animal products at all is not really a counterpoint to anything I've said.
Your post was hardly a formal argument to be taken down through rigor. You said you don't "get this trend", saying that there are already good vegetarian meals. I explained that I would like more vegetarian meals to replace things like eggs.
If you think this wasn't a "counterpoint", examine your own post first.
comment 5y ago · link · parent
Saying "existing vegetarian food is good enough, let's not see what else we can do, everyone should just get over it" seems a bit silly to me.
comment 5y ago · link · parent
> especially in light of the downsides of them having that responsibility/power being as large as they are.
No clue what you're referring to. They almost certainly already do this, they may just be doing it badly.
comment 5y ago · link · parent
That is presumably intentional, since if you could access actor state synchronously it wouldn't really be much of an actor. This sounds a lot like a "doing it wrong" kinda problem.
> (but without compiler validation of resource sharing at this point in time)
Not sure how you'll do this without garbage collection (like reference counting, which is what Pony uses iirc).
Honestly I suspect if you continue forward you'll probably walk away with much more appreciation for Pony's design decisions.
comment 5y ago · link · parent
I think this is technically possible (some keys let you access the seed iirc, though the FIDO counter would not match) but not recommended. Instead you'd just register two keys so that if you lose one you have a backup.
comment 5y ago · link · parent
1. They get repeated.
2. They get phished.
Even just as a single factor, even without a fingerprint reader, a yubikey is far superior to a password. Adding a biometric on top of that is wayyyy better than a password.
Most of what MFA has done for us is actually just provide slightly better "A's". It's not the quantity that counts, it's the quality.
Previously to reach a good quality we'd need multiple factors. We've reached a point now where we have standards for authentication that are strong, often "strong enough", even with a single factor. A password then becomes a bit of a bonus.
comment 5y ago · link · parent
It remains to be seen if that's a meaningful difference, but it seems reasonable that in some situations it could make the attack much more costly.
I could see myself using this when traveling.
comment 5y ago · link · parent
You almost certainly also have it in memory more than twice since you're copying a buffer out to IO.
If you care about record size use protobuf, compression, backend parsers, etc.