HNHacker News
TopNewBestAskShowJobs

joshka

2,489 karma · joined June 6, 2011

[ my public key: https://keybase.io/joshka; my proof: https://keybase.io/joshka/sigs/ElI6j13SI-_2rTrkLnoKyV-uDepH4JvAQAzp2OWV_W0 ]
submissionscomments
joshka··on Grit: Rewriting Git in Rust with agents
This is the exact thing I'm not sure about. See https://news.ycombinator.com/item?id=48470397 where I posit a simpler question: if a `test_sum()` function is copyrighted, does writing a `sum(a, b)` function infringe on the copyright of the software product that `test_sum()` is a part of. I'd say no. There's another part of the GPL that applies here:

> A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.

So assuming that sum(a, b) is non-infringing and not combined to form a larger program (i.e. the tests aren't compiled into the grit code), then the GPL explicitly doesn't apply to this use

joshka··on Grit: Rewriting Git in Rust with agents
It's actually murkier than I suggest here. https://github.com/gitbutlerapp/grit/blob/main/AGENTS.md#sou...
joshka··on Grit: Rewriting Git in Rust with agents
> That's not actually the case at hand here - the agents were given the original source to reference: https://github.com/gitbutlerapp/grit/blob/main/AGENTS.md#sou...

yeah fair - the "The canonical Git source code we're targeting to replicate the functionality of is in the git/ subdirectory." part makes this hard to argue against.

> To the extent the resulting work is a derivative of the test suite it is possibly infringing

It's this bit that I have a problem with. If I run the test, it fails and reports a failure. Now I write code and run the test again. What is the theory there that code that I wrote infringes.

Simplify this down:

Assume the following is copyrighted:

    fn test_sum() {
        assert_eq!(sum(1, 1), 2);
    }
Does writing the following code:

    fn sum(a: u8, b: u8) {
        a + b
    }
infringe on the test copyright?
joshka··on Grit: Rewriting Git in Rust with agents
Fair point on medium - this was a lazy example.

Substitutibility probably doesn't apply here in the way you're implying and if it did it would likely be hampered by the 9th circuits findings about transformation in sony v connectix. Arguments here likely would look at rust not having a stable ABI, and hence not being inherently substitutable as a libray (grit-lib), less clear as an executable (grit-cli) on that side

basics of copyright law - the fundamental thing being protected is the expression... is a rust program's expression the same expression as a c program? I'd say generally not.

joshka··on Grit: Rewriting Git in Rust with agents
What makes you think that's what the article says that it did? There's a lot of specific nuance and it doesn't say that anywhere. In fact it speaks of making a test suite pass only. This is the classic cleanroom bios from specs approach but no need to extract it as the test is available to run and there's nothing in the GPL that suggests that running a test suite infects software that you run it on.
joshka··on Grit: Rewriting Git in Rust with agents
There's no evidence that "here's a thing, rewrite it in Rust" is the technique Scott used here.

"here's a test suite, write code in rust that makes that suite pass" is reasonably supported by the article. That would likely not be a derivative work.

joshka··on Grit: Rewriting Git in Rust with agents
> Where does the GPL say you have the freedom to relicense code or derivatives under MIT by fiat?

The first part of this sentence (where in the GPL) is unreached if the second part of it is unmet (relicense code or derivatives) which I contend it likely is. You're begging the question.

However:

> The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work

earlier:

> A “covered work” means either the unmodified Program or a work based on the Program.

It's that element that would be difficult to prove "work based on the Program"

joshka··on Grit: Rewriting Git in Rust with agents
Tell me, can I create a copyrighted video that's not GPL licensed using ffmpeg? Now tell me how creating a rust library using the git test suite is different?
joshka··on Grit: Rewriting Git in Rust with agents
I suspect that the issue is more likely that the LLM code doesn't have an author and hence some parts of it can't be licenses, it's less likely that it's infringing on git's copyright for various reasons. (I am not a lawyer, but I do read copyright law for funsies).
joshka··on Grit: Rewriting Git in Rust with agents
I think you're saying that you don't believe in the freedoms to use the GPL licensed test suite for certain purposes which are explicitly allowed by the GPL.

You don't get to choose a license and then add extra terms to it when you don't feel like it's up to scratch. That's something explicitly not allowed by the GPL license.

joshka··on Claude Code and Codex can have real-time conversation via Git
This might be more suitable as a basis for this sort of thing... https://git-meta.com/
joshka··on Leo's first encyclical attacks technological messianism
https://news.ycombinator.com/item?id=48265206
joshka··on Building durable workflows on Postgres
This feels like the sort of architecture that starts clean and then gradually grows most of the things a workflow-native system already has. I've seen systems like this, seen companies that are built out of this idea, and built small systems like this over time.

Once you need retries, backoff, timeouts, cancellation, versioning, visibility, task routing, rate limits, leases, heartbeats, stuck-worker detection, replay/debugging semantics, workflow migration, fanout/fanin, long timers, audit trails, and operator tooling, the “just use a database” story becomes “build a poor copy of a workflow engine plus a bunch of workers.” pretty quick.

That may still be a good tradeoff for many applications, especially if Postgres is already the core operational dependency. But the comparison shouldn’t be “database vs overcomplicated orchestrator.” It’s more like “what complexity do you want to own, and what do you want to buy / offload to a professional system?”

joshka··on DeepSWE: A contamination-free benchmark for long-horizon coding agents
This seems like N=4, which is a fairly small sample size.
joshka··on I used autoresearch to improve my AGENTS.md, measured against real tasks
If you look at the 95% CI on https://marginlab.ai/trackers/codex/ with N=50, it's still pretty huge (+/- 13-14% usually). I suspect it would be difficult to reasonably get a measure that numerically assesses whether an AGENTS.md is good. What you can observe though is whether the model paid attention to certain rules while editing. I.e. did the behavior you're steering away or towards take place.

The hardest thing I think is judging whether your AGENTS.md is still good based on each model release. OpenAI does release prompting guidance however to help this (and have added a skills to apply this to your prompts IIRC)

joshka··on DeepSWE: A contamination-free benchmark for long-horizon coding agents
How does this validate non-functional aspects of the code - docs, perf, maintainability, complexity, etc?
joshka··on Why AI Agents Cannot Change Software Systems
Counterpoint: https://openai.com/index/harness-engineering/
joshka··on Slumber a TUI HTTP Client
Historically, “TUI” referred to “Text User Interface”, but language evolves and “Terminal User Interface” has been common usage in terminal-app/tooling communities for at least the last decade (probably more).

The distinction we (Ratatui) draw is that the rendering surface is a terminal: historically sometimes a physical hardware terminal (someone got Ratatui running on a Minitel a while back), more commonly today a terminal emulator/PTY environment.

That framing also better captures the kinds of constraints and capabilities Ratatui apps actually deal with: terminal escape sequences, cell-based rendering, alternate screen buffers, mouse handling, resize behavior, scrollback interaction, etc.

In addition, these apps don't only do text only these days as modern terminals support various graphics protocols (Sixel, Kitty, iTerm graphics) and other extensions that can allow for weird and wonderful things that are not just text.

joshka··on Declining America
I think this belongs on hacker news (and unflagged) mainly because of who Tim Bray is. Notably co-inventor of XML, worked on a bunch of web standards etc.

Whether you agree or disagree with non-US citizens coming to America to engage in the advancement of technology, the important thing is to have discourse on the topic. That is in line with aims and goals of this site. This story is much less politics and much more about the impact of social policy on technologists.

As a non-US citizen myself but who has lived there for some time, I find that having and expressing an opinion on things like this is difficult due to the danger of such retaliation mentioned during border crossings and my daily life.

joshka··on Learnings from 100K lines of Rust with AI (2025)
> Honestly, despite all the hype around Rust in the community, the fact that AI can't handle lifetimes reliably makes me reluctant to use it. The AI constantly defaults to spamming .clone() or wrapping things in Rc, completely butchering idiomatic Rust and making the output a pain to work with.

This hasn't been true since around gpt-4.5 on the OpenAI side of things. The 5.x models have been pretty much solid on Rust for a while now.

joshka··on Ex-Apple engineer says Apple deliberately slows older phones via updates
Meh - doubt it. I'm using an iPhone 14, it feels like it works basically the same as it did when I got it. In general slow downs are apps doing and not caring to per tune because the baseline perf expectation of app developers increases to the point where those things don't matter. Use the default apps and you're pretty much ok.
joshka··on Zerostack – A Unix-inspired coding agent written in pure Rust
Take a look at OpenAI blogs about codex: https://openai.com/index/unrolling-the-codex-agent-loop/ https://openai.com/index/harness-engineering/ https://openai.com/index/unlocking-the-codex-harness/
joshka··on Accelerando (2005)
I have a very vague memory of reading chunks of this on Slashdot comments over months or years. I'm not 100% sure of this though. The 2000s are a little bit hazy (uni, work, life). Did this actually happen?
joshka··on Show HN: Epiq – Distributed Git based issue tracker TUI
I really like the idea of a distributed issue tracker. I'd encourage you to look at git-bug if you haven't already done so for some prior art / inspiration / hard learned lessons.
joshka··on 'No way to prevent this,' says only package manager where this regularly happens
...so far...
joshka··on Codex is now in the ChatGPT mobile app
One thing not to sleep on here is that the new ssh access enables you to dockerize your dev environments while still maintaining a local control plane. Interact local, execute remote.
joshka··on Codex is now in the ChatGPT mobile app
A mobile app was requested by many people before Peter joined OpenAI. Also the App Server was in place for the desktop app well before that too. See https://openai.com/index/unlocking-the-codex-harness/ for some history.
joshka··on Codex is now in the ChatGPT mobile app
People ask for a thing they want, someone there has codex build it. Repeat.
joshka··on Codex is now available on mobile via ChatGPT app
More discussion on https://news.ycombinator.com/item?id=48140529
joshka··on Show HN: Watch a neural net learn to play Snake
A previous similar idea running as a Ratatui based TUI: https://github.com/bones-ai/rust-snake-ai-ratatui
← PreviousPage 6 of 34Next →