SouthFox's Garden

Search IconA magnifying glass icon. 搜索

种植日期:

上次照料:

2026-03-05

AI 爬虫狂潮的一个简单 运维 法子,针对 Forgejo 这个应用:

    location ~ ^/.+/.+/(archive|blame|commit|commits|raw)/ {
        set $should_challenge 1;
        set $set_cookie_flag 0;

        if ($http_cookie ~* "x-robot-challenge=passed") {
            set $should_challenge 0;
        }
        if ($arg_trans-rights = "human-rights") {
            set $should_challenge 0;
            set $set_cookie_flag 1;
        }
        if ($should_challenge = 1) {
            add_header Content-Type "text/html; charset=utf-8";
            return 200 '<html><meta content="1; url=?trans-rights=human-rights" http-equiv=refresh><title>Cookie monster!</title><body><p>This is an automated check to get rid of most bots. If you have JavaScript enabled, it should redirect to the real page soon. If you don\'t, you can <a href="?trans-rights=human-rights">click here</a>.</p><script>document.cookie="x-robot-challenge=passed;path=/";window.location.reload();</script></body></html>';
        }
        if ($set_cookie_flag = 1) {
            add_header Set-Cookie "x-robot-challenge=passed;Path=/";
        }

        proxy_pass http://127.0.0.1:18001;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        client_max_body_size 500M;
    }

The L in “LLM” Stands for Lying - Hacker News: Front Page

So allow me to drop a line that would shock a weathered San Franciscan more than open defecation on Market Street: it’s perfectly okay not to use AI.

But there’s one word that’s remarkably absent in the discourse. That word is forgery.

But it’s the ones that understand and maintain the value of foodcraft that don’t end up with 70%+ obesity rates .

Experienced veterans who turn to AI are said to supposedly fare better, producing 10x or even 100x the lines of code from before. When I hear this, I wonder what sort of senior software engineer still doesn’t understand that every line of code they run and depend on is a liability.

The salient difference here is whether an engineer has mostly spent their career solving problems created by other software, or solving problems people already had before there was any software at all. Only the latter will teach you to think about the constraints a problem actually has, and the needs of the users who solve it, which are always far messier than a novice would think.

When software is seen as an end in itself, you end up with a massively over-engineered infrastructure cloud, when it could instead be running on a $10/month VPS, with plenty of money left for both backups and beer.

Just Use Postgres - Lobsters

The core concept of “Just Use Postgres” is simple: shift complexity away from devops and into code.

Fewer moving parts means you move faster. More importantly, you can make architectural changes faster. When your infrastructure is basically “one Postgres instance,” new developers can get the full stack running on their laptop in minutes, not days.

The conventional wisdom is that you should use the best tool for each job. This sounds reasonable until you realize that “best tool for the job” has a hidden cost: every tool you add is another thing that can break, another thing to deploy, another thing new hires need to learn, and another thing keeping you up at night.

The View from RSS - Hacker News: Front Page

My favourite thing to see on the feeds, though, is the evidence that there are humans still out there generating content. Sometimes an article will have a temporary headline with “TKTKTK” in it, which was captured by the aggregator before it was updated to its final version. The multiple outcome pieces especially make me chuckle: I, too, have been a web editor under pressure to get an article out the second the polls close or a casting is announced, making multiple versions on the sly in the CMS and then only promoting the one that turned out to be correct to the homepage.

AGI之后,我们终将走进物质丰裕的奴隶制 - 煎蛋

历史反复印证着一个铁律:当个体具备生产价值时,体系会自然演化出对应的规则,给予其匹配的权利与待遇; 当个体彻底失去价值时,其生死、自由与尊严,便完全取决于统治阶层的“善意”。而善意,从来都是最不可靠的 东西。这就像经济完全依附于伴侣的家庭,能否获得体面与尊重,全凭对方的品性。没有议价权的体面,从来都 不是自己的,是别人随时可以收回的馈赠。

之后的世代,普通家庭的孩子从小生活在AI逐步替代劳动的环境里,习惯了AI提供的便利、虚拟世界的廉价满足, 会自然接受“不用工作也能靠基本收入生活”的状态,对劳动的意义、权利的边界逐渐淡化;精英家庭的孩子,从 小成长在“AGI可以解决绝大多数问题,普通人的劳动几乎没有意义”的环境中,对平等的执念会大幅淡化,对阶 层差异的接受度,会远高于我们这一代。这不是谁刻意灌输的结果,是他们每天看到的、接触到的世界。

评论