Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Mavvie
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Mavvie
6mo ago
Sounds like my coworkers.
2.
▲
by
Mavvie
7mo ago
That makes sense, but surely there's a middle ground somewhere between "AI does everything including architecture" and writing everything by hand?
3.
▲
by
Mavvie
1y ago
Indeed, the correct term here is nullipotent.
4.
▲
by
Mavvie
2y ago
I haven't tried this yet, but I wanted to say I think there's a lot of potential in this space. There's so much friction with the current popular solutions...and yet it's so hard to justify trying some of the newer and l
5.
▲
by
Mavvie
2y ago
I'd argue that Tenerife was due to taking off (in bad weather), not landing. But of course, a bunch of planes landing at the same airport without ATC sounds quite dangerous.
6.
▲
by
Mavvie
2y ago
This sounds like a very nice compromise actually. I'm surprised it helped with abuse though, since there's a lot of email providers that are easier to create an account with than gmail.
7.
▲
by
Mavvie
2y ago
Well, you have to go out of your way to prevent it. The sub-addressing complexity is on the email provider side; ticketmaster doesn't have to do anything for it to work except not reject valid email addresses. In my experience, most bu
8.
▲
by
Mavvie
2y ago
I think that's exactly correct. You either do split queries (with more latency) or you do a join (and risk Cartesian explosion). Most ORMs should do this for you.
9.
▲
by
Mavvie
2y ago
Wouldn't it cause the cost of consoles to go up and the cost of games to go down, in a way that on average has no significant effect to consumers? As long as it applies to all companies, why is it an issue?
10.
▲
by
Mavvie
2y ago
I don't think that's how it works... It's a checksum, not letting you check if each section is part of the key. At worst, the key would have some portion less entropy since there's a lot of bits used for checksums.
11.
▲
by
Mavvie
3y ago
Can you (or someone else) explain what the alternatives are? How can I write unit tests without mocks or fakes?
12.
▲
by
Mavvie
3y ago
I strongly agree with this. I would add that, at least for me, planning each day out is beneficial as well. When I don't have a plan for a day, I often will sit there, not really doing anything, and not sure what to start doing. This t
13.
▲
by
Mavvie
3y ago
Thank you, I hadn't considered that aspect.
14.
▲
by
Mavvie
3y ago
This is pretty interesting. It's not like HTTP needs an intermediate representation, but since cURL is so ubiquitous, it ends up functioning as one. cURL is popular so people write tools that can export requests as cURL, and it's
15.
▲
by
Mavvie
3y ago
I wonder if that could be because MySQL 8's replication is backwards compatible but MySQL 5.7's isn't forwards compatible. If so, it makes sense that you're only able to move forward.
16.
▲
by
Mavvie
3y ago
That's actually the formula for nullipotency, where applying it 0 times is the same as applying it any number of times. I believe idempotency is when f(f(x)) = f(x)
17.
▲
by
Mavvie
3y ago
GitHub outages have always been fairly common, I don't think that changed since being acquired.
18.
▲
by
Mavvie
3y ago
I'm not too familiar with the details here, but probably hit the brakes and stop ASAP? If there could be someone under my car I wouldn't keep driving to "pull over safely".
19.
▲
by
Mavvie
3y ago
Great, thanks for the reply!
20.
▲
by
Mavvie
3y ago
Huh, can you explain that a bit more for a rust noob like myself? 1. How does it know how to create your Error enum? I guess it's from the #[from]? 2. What happens if your method tries to return something that's not an io::Error o
21.
▲
by
Mavvie
3y ago
Thanks for your post. While it might not be the optimal approach for maximizing profit, I think your Stocketa blog post is absolutely stunning and shows an incredible commitment to quality as well as a very impressive work ethic to spend so
22.
▲
by
Mavvie
3y ago
I don't disagree, but the quote is from 10 years ago. Long before COVID.
23.
▲
by
Mavvie
3y ago
The actual quote: > There's a level of admiration I actually have for China. Their basic dictatorship is actually allowing them to turn their economy around on a dime. I don't think that's wrong? Although it is certainly i
24.
▲
by
Mavvie
3y ago
I've only ever done river sailing (including some intentional rudderless sailing), but I imagine in the open seas rudderless sailing isn't really feasible (at least in some conditions). Waves might make it impossible on their own.
25.
▲
by
Mavvie
3y ago
No, because they're setting acquired_at which marks it as "handled". You only need FOR UPDATE (SKIP LOCKED) if you want to process the event inside a transaction; but the approach in the article is to just bulk "grab the
26.
▲
by
Mavvie
3y ago
Thank you! It was a great article, and definitely pointed out a few things I'm doing wrong in my Postgres setups.
27.
▲
by
Mavvie
3y ago
> Setting acquired_at on read guarantees that each event is handled only once. After they've been handled, you can then delete the acquired events in batches too (there are better options than Postgres for permanently storing histor
28.
▲
by
Mavvie
3y ago
Does pgbouncer tend to run out of CPU? Or just at the large scale this article is about?
29.
▲
by
Mavvie
3y ago
So what do you think the disadvantage is of a pull approach? Presumably it's not just better or else tools would use it?
30.
▲
by
Mavvie
3y ago
For sure, I agree with you. I would say that queued jobs being lost is different from an in-flight transaction being auto-rolled-back, but it's not a super important distinction. Like others have said, I think Sidekiq really nailed the
More ›