HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mmakeev

9 karmajoined 8 giorni fa
Building AlphaAI (https://alphai.io) — financial news API + MCP server for AI agents

comments

mmakeev
·17 ore fa·discuss
[flagged]
mmakeev
·ieri·discuss
i hit the same 400 querying the algolia, a raw > in the query string is what does it, encode it as %3E and points>100 comes back fine for me right now. curl -G with --data-urlencode handles the escaping if youd rather not do it by hand
mmakeev
·l’altro ieri·discuss
[dead]
mmakeev
·l’altro ieri·discuss
never got a name, best we managed was network attribution. ours came mostly from tencent cloud plus a second hetzner asn, all spoofed chrome on windows user agents, and it rotated from digitalocean to tencent within a day once we started blocking asns. need to tell that it executed the AWS WAF js challenge and replayed the token, but never solved an interactive captcha, so flipping the action from challenge to captcha is what finally stopped it
mmakeev
·3 giorni fa·discuss
[dead]
mmakeev
·3 giorni fa·discuss
two different things are getting called "cursor" here. queryset.iterator() isn't server-side row-by-row processing, it's one set-based query streamed to the client in chunks so a big export doesn't materialize in memory all at once, "get it in one go" is exactly the OOM it avoids.

the honest knock on the streaming kind isn't "bad design", it's that it holds a portal open server-side, which is why it can't survive transaction pooling. so the pooler-friendly fix isn't one giant fetch, it's keyset pagination (where id > last limit n), stateless and constant memory, which is what we moved those paths to.
mmakeev
·3 giorni fa·discuss
[dead]
mmakeev
·4 giorni fa·discuss
[dead]
mmakeev
·4 giorni fa·discuss
we moved our django app behind pgbouncer transaction pooling a few days ago and the surprise wasn't SET so much as queryset.iterator(). it relies on server side cursors, which don't survive being pooled, so we had to disable it everywhere and let it fall back to client side. also had to move statement_timeout out of the app's connection options into the pooler's own connect query, since libpq startup params just get silently ignored behind it.
mmakeev
·4 giorni fa·discuss
haha...not bad. Nice try
mmakeev
·6 giorni fa·discuss
a bit overpriced imho
mmakeev
·7 giorni fa·discuss
thanks! all clear
mmakeev
·7 giorni fa·discuss
One question about http mode, you carry authorization headers. Do you redact bearer tokens before captures hit the logs?
mmakeev
·7 giorni fa·discuss
Any plans to feed the signal itself (frequency band, entropy) into the gate?