Recent submissions

Comment · 2 years ago
Comment · 2 years ago
I noticed in your demo it generated the prompt "tap on the 'Log in' button located directly below the 'Facebook Password' field".

Does your model consistently get the positions right? (above, below, etc). Every time I play with ChatGPT, even GPT-4o, it can't do basic spatial reasoning. For example, here's a typical output (emphasis mine):

> If YouTube is to the upper *left* of ESPN, press "Up" once, then *"Right"* to move the focus.

(I test TV apps where the input is a remote control, rather than tapping directly on the UI elements.)

Comment · 2 years ago
Beautiful.
Comment · 2 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
It side-steps the problem of git conflicts, I suppose. You'd have to use their tool (`touca diff`? I don't know if that exists) instead of `git diff`.
Comment · 3 years ago
Some ideas I got from Jeremias Rõßler's talk: https://t.co/xWtA58Q9q5

- Snapshot testing is like version-control but for the outputs rather than the inputs (source code).

- Asserts in traditional unit tests are like "block lists" specifying which changes aren't allowed. Instead, snapshot testing allows you to specify an "allow list" of acceptable differences (e.g. timestamps).

Comment · 3 years ago
Obviously a sensationalised title, but it's a neat illustration of how you'd apply the language models of the future to real tasks.
Comment · 3 years ago
Think systems integrators and compliance tests. I would imagine that each of the individual systems being "integrated" do have their own unit tests, upstream, in their own repos.
Comment · 3 years ago
Some good ideas here for when your tests are in a separate repo than the system under test (GPUs/drivers/compilers in the case of the author, but it's applicable to a variety of industries).
Comment · 3 years ago
Related: I think it was Kernighan & Pike's "The Practice Of Programming" where I read the idea of testing a complex implementation by comparing its output against a simpler but less performant implementation.
Comment · 3 years ago
Interesting thought, somewhat related to the articles on "snapshot testing" that have been trending on HN lately.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton