News for hackers. Stuff that matters.

2000swebgeek

Re:Ask HN: How to stop an AWS bot sending 2B requests/month on Friday October 17, 2025 @02:34AM (#45613879)
block the IPs or setup an WAF on AWS if you cannot be on Cloudflare.
Re:Gitlab names Bill Staples as new CEO on Friday December 06, 2024 @01:01AM (#42336844)
I think its right time for AWS to buy.

AWS shut down their service, if AWS can "easily" integrate with Gitlab, I see a lot of potential on the deployment side to increase AWS revenue.

pg_flo looks like a very interesting project we might end up using. I like the archival to s3 and cheap versions of tools that get done at lower scale like GBs instead of TBs worth of data (Which is what I think Debezium does and something I can easily test locally)

The work/effort I need to put in with kafka etc., w/ Debezium is a short term effort, but evaluating the hassle.

Other solutions being evaluated by my team is peerdb - https://docs.peerdb.io/why-peerdb

Re:Ask HN: Website with 6^16 subpages and 80k+ daily bots on Thursday October 24, 2024 @05:50AM (#41933909)
better yet, see if bots access /robots.txt, find them from there. no human looks at robots.txt :)

add a captcha by limiting IP requests or return 429 to rate limit by IP. Using popular solutions like cloudflare could help reduce the load. Restrict by country. Alternatively, put in a login page which only solves the captcha and issues a session.

Re:Do not use secrets in environment variables on Monday October 07, 2024 @03:21PM (#41769909)
ENV variables having the names with PASSWORD or SECRET should be ignored by logging and monitoring systems. Most of the web has been built on trust of following conventions.

common secrets used on server side - `JWT_SECRET`, `DATABASE_PASSWORD`, `PGPASSWORD`, `AWS_SECRET_TOKEN` etc.,

Being a long time developer, this breaks the standard of backend apps which mostly uses 12 Factor App[1]. This approach introduces a new dependency for fetching secrets. I see all new open-source projects using "paid" or "hosted" solutions. It is no longer easy/simple to host a full open-source app without external dependencies. (I understand -- things are getting complicated with s3 for storage etc.,).

[1] https://12factor.net/