News for hackers. Stuff that matters.

varyherb

Re:The Exponential Time Hypothesis Is False [pdf] on Monday October 26, 2026 @10:12PM (#50253918)
Right, so a refutation of ETH would also refute SETH.
It sounds like a good idea, but having used this approach in a professional codebase with dozens of contributors, I can tell you firsthand it will start to degrade the code you get from a model surprisingly quickly. The agent will start to feel confused by the various conflicting "guardrails" and "constraints" the ADR is supposedly documenting. You will ask the agent why it did a particular contrived thing and it will cite various flawed or outdated assumptions.

It's the same old problem of doc rot, but now the docs are blindly obeyed. It sounds simple to just keep the docs up-to-date, especially with AI, but that approach results in an unreadable AI slop trough.

I'm still unsure what to recommend instead, especially in a collaborative setting.

Re:Code and Let Live on Sunday January 11, 2026 @10:55AM (#46576792)
Does anyone know of similar solutions that can be self-hosted? (without a 12 service stack like Daytona [1])

[1] https://www.daytona.io/docs/en/oss-deployment/

Re:Project Euler on Wednesday November 12, 2025 @11:28PM (#45910635)
Project Euler spurred my love for math and programming when I was 15. I got through the first few with pencil and paper and then quickly realized I was going to need to learn how to program. Got started with Java (in Eclipse) and then moved on to Python. I feel like it completely changed the trajectory of my life.
Re:Claude Sonnet 4 now supports 1M tokens of context on Tuesday August 12, 2025 @09:14PM (#44883632)
Yup! Claude Code has a lot of undocumented configuration. Once I saw the beta header value in their docs [1], I tried to see in their source code if there was anyway to specify this flag via env var config. Their source code is already on your computer, just gotta dig through the minified JS :) Try:

`cat $(which claude) | grep ANTHROPIC_BETAS`

Sibling comment's approach with the other (documented) env var works too.

[1] https://docs.anthropic.com/en/docs/build-with-claude/context...

Re:Claude Sonnet 4 now supports 1M tokens of context on Tuesday August 12, 2025 @01:02PM (#44879037)
I believe this can be configured in Claude Code via the following environment variable:

ANTHROPIC_BETAS="context-1m-2025-08-07" claude

I was running into this too until I started upgrading with

llm install -U llm

instead of

uv tool upgrade llm

(the latter of which is recommended by simonw in the original post)

Re:Show HN: Lander, a lunar lander style web game on Sunday March 05, 2023 @07:16PM (#35035816)
Same

  Just shy of a good landing
  Score: 78.3 point landing
  Speed: 5.5mph
  Angle: 0.3°
  Time: 577 seconds
  Flips: 206
  Max speed: 302.4mph
  Max height: 12012ft
  Engine used: 69 times
  Boosters used: 89 times
Perhaps some internet sarcasm is going over my head, but the lyrics are by Samuel Francis Smith. Its melody is the same as that of "God Save the Queen/King."
Re:Replit.com (YC W18) raises $80M Series B on Friday December 10, 2021 @12:21AM (#29506691)
Where did you find the valuation figure? Or do you just mean the size of the new investment?
Re:The Bay Area Crime Wave on Friday December 10, 2021 @12:14AM (#29506656)
This is a gross oversimplification of the author's detailed (if a bit editorialized) analysis. The author actually acknowledges, and later expounds upon, the apparent incongruity you mentioned:

> I look at communities like Detroit and I understand why the youth there resort to crime, but what the hell is the matter with the Bay Area? Arguably the wealthiest metropolitan area in the United States. A place with too many jobs and not enough people to fill them.

Re:Lessons learned from sharding Postgres at Notion on Thursday October 07, 2021 @02:17AM (#28782815)
Not to mention 1, 2, and 6 :)

7! = 5040 shows up as well in the OEIS sequence. Buuut, 8! = 40320 does not...too many useless 2's in the prime factorization?

Re:Lessons learned from sharding Postgres at Notion on Thursday October 07, 2021 @02:09AM (#28782755)
Are you at all concerned about the selection of the workspace ID as the partition key? With every workspace on a single partition, couldn't a high-throughput workspace create a "hot" partition that will negatively impact other workspaces on that partition?

At the cost of potentially introducing more cross-partition queries, you might benefit from splitting up high-throughput workspaces. See strategy in https://d0.awsstatic.com/whitepapers/Multi_Tenant_SaaS_Stora..., pages 17-20.

Re:Can progressives be convinced that genetics matters? on Tuesday September 07, 2021 @01:36AM (#28441279)
"In the past, I have made no secret of my disdain for Chef Gusteau's famous motto: Anyone can cook. But I realize, only now do I truly understand what he meant. Not everyone can become a great artist, but a great artist can come from anywhere." [1]

[1] https://en.wikipedia.org/wiki/Ratatouille_(film)

Re:Conspiracy: In Theory and Practice on Wednesday June 30, 2021 @02:58AM (#27685729)
Ed? Do you know him?
Re:Play online chess with a real chess board on Saturday June 26, 2021 @08:20PM (#27647275)
A prime example of the confusion that arises when the Oxford comma is omitted
Re:My first Z80 assembly language program on Sunday June 13, 2021 @12:26PM (#27493894)
> I was 9 years old and I wanted to write amazing games...After four years of writing games in BASIC language, I felt like I was stopped by the slowness inherent to an interpreted language.

Wasn't sure I was reading this correctly, so I navigated to the About Me page:

> Born in 1978, I started programming at age 5 in BASIC, learnt assembly language by age 9

Re:What Is Critical Race Theory? on Friday June 11, 2021 @05:49PM (#27478913)
This was published in conjunction with an alternate take: https://www.economist.com/by-invitation/2021/05/24/john-mcwh.... Worth reading both.
Re:The anus is an evolutionary marvel on Thursday May 20, 2021 @11:54PM (#27230323)
When I think about the digestive tract, I wonder—is the human body topologically equivalent to a torus?
Re:Offline Algorithms in Low-Frequency Trading on Saturday January 30, 2021 @04:27PM (#25973175)
Genuine question, does this strike others as immensely off-topic? I'm curious if the parent commenter even opened the link. I'm sure there are applications of generalized knapsack problems (or dynamic programming generally) in options trading, but this isn't it.

Older »