Better HN
topnewbestaskshowjobs
Log inSign up

mpd

334 karma · joined Mar 3, 2011 (15y ago) · 185 submissions

Submissions

comment 1d ago · link · parent

A lot of testing has shown me that agents fumble often, use a lot of unnecessary tokens, and may or may not be able to do all of it headlessly. I agree with you that harnesses in general can do this at some baseline level.

comment 1d ago · link · parent

They may be doing this under the hood with an a11y overlay.

comment 1d ago · link · parent

The takeaway (exposing the a11y tree and allowing clicks by ID improves consistency) is the same path I went through while ideating and iterating on https://github.com/fixed-width/glass

comment 2w ago · link · parent

One of my mantras is 'fast is the best UX'. Users will put up with minor annoyances as long as they're over with quickly. Once you fix the annoyances, you're still fast, which leads to User Delight.

> I get that we need to clean this up, but it's crazy trying to figure out where to start and what to tackle

Enumerate, then fix-or-nix all known examples of bad code first. If you clear the path first, you will advance more quickly. It can feel frustrating having to do that, but my experience is that paying off tech debt earlier will prevent hitting the wall at an inopportune time.

comment 2w ago · link · parent

I've always been a bottom-up programmer, so I tend to think more about discrete operations of software rather than the user-facing features (which IME will fall out naturally).

1. Experiment and solidify architecture before adding features. I think this is the hardest step for top-down thinkers.

2. Heavy testing and benchmarking. Prefer to TDD as much as possible. The actual lines for my agent-written codebases are generally ~70+% tests, benchmarks, and experiments.

3. Full mutation test coverage after the code is written. Doing this as a human is miserable IMO, but robots make it reasonable. This step resolves SO MANY subtle bugs.

At that point my main role is ensuring alignment with the actual specs.

comment 3w ago · link · parent

> ai use is completely and thoroughly normalized

I think this is a certainty. Future generations will be born into a world where education, technology, and jobs have corrected for AI's existence. They will never know a world without it or have the experience of the current growing pains.

We've seen this plenty of times with new tech in the past, and as disruptive as AI is, I can't imagine the cat going back in the bag.

comment 1mo ago · link · parent

You can run tests and sign on different instances. I'm currently doing this with https://github.com/fixed-width/glass (see ci & release workflows)

comment 4mo ago · link · parent

Heya - I'm the author. Glass is a cross-platform MCP server that gives an agent a way to see and interact with GUI apps. I don't like building UI. Agents can code it, but can't verify or debug it. Glass exists to close that loop.

Glass is purpose-built for software development, and aims to enable headless, parallelized agent work while the user continues to use the machine unhindered[0]. It minimizes token usage, increases consistency, and just goes faster by preferring to interact with an app's accessibility tree, before taking the screenshot route (which glass also fully supports).

Glass is cross-platform and the code is Apache-2.0 licensed. We release builds for Linux, Windows, and macOS hosts. Glass supports development targeting the three above host platforms, Android (all hosts) and iOS[1] (macOS hosts). The internal API is backend-agnostic, and new platforms can be added in the future pretty easily.

Feedback is very welcome, either here or at github. If it breaks on your app, I am especially interested in knowing about that. I hope you build great things.

[0] Due to the license enforcement on Windows and macOS, isolated headless development targeting those platforms requires a VM. It will otherwise interact directly with the desktop. Android and iOS development on those platforms can still be done headlessly via the emulators.

[1] The iOS backend does not currently support multi-touch gestures.

9.

Show HN: Glass – a see/act/debug loop over any GUI app for agents (MCP)(github.com ↗)

2 points · by mpd · 4mo ago · 1 comment

comment 3y ago · link · parent

When something can be treated as a score to compare with others, it will be. Everything else just follows.

comment 3y ago · link · parent

I really enjoyed the recent Hackerbox[0] featuring an FPGA. I'd never worked with one prior to that.

https://hackerboxes.com/collections/past-hackerboxes/product...

comment 3y ago · link · parent

collect $1,329,063

comment 3y ago · link · parent

Having good error messages is one of the important priorities for me in my compiler, so I made the commitment early and am using codespan_reporting[0] to report the errors, which is going well so far.

0: https://github.com/brendanzab/codespan

comment 3y ago · link · parent

Did that include bugs due to encountering unexpected nulls?

comment 3y ago · link · parent

https://www.reddit.com/report to skip the subreddit mods and send it right to the admins.

comment 4y ago · link · parent

I have an old phone set up here, running Octo4a. It's working great.

https://github.com/feelfreelinux/octo4a

comment 4y ago · link · parent

Oh, it looks like the release command would fit the `build` step I mention.

As far as the after-deployment tasks go, we automate those just like migrations - they're (occasionally very slow) one-offs that we don't want to hold up a restart for. Really, an analogue to the release command that can run after restart is all that I'm talking about here.

comment 4y ago · link · parent

My big want here is containerized deployments with build + release steps to allow me to e.g. run migrations and after-deploy tasks (we use both). This prevented a move to Render for us previously.

comment 4y ago · link · parent

That explains the JVM, but why Java, specifically? JRuby offers everything you mention.

comment 4y ago · link · parent

My question is whether or not rubocop can autocorrect it to whatever. If so, I really dgaf about this.

comment 4y ago · link · parent

If your only special move is "You're wrong!", it's going to be hard to talk to you. What do you think is debatable?

comment 4y ago · link · parent

Only if said "reasonable person" were around in the 90's, and knew the shit that MS was trying to pull. I happen to be one of those people, but that's not the catch of the day here.

comment 4y ago · link · parent

> No reasonable person could understand the phrase, "Don't Be Evil," to mean, "Don't do things that I personally consider evil."

TBH, I think almost everyone treats the former statement, as meaning the latter. Did you mistype here?

Maybe there's even something different about using "evil" here, specifically. Would another word have a different outcome?

comment 5y ago · link · parent

Yeah, tbh I think this project is trying to polish a turd.

comment 5y ago · link · parent

> MongoDB is a life-changing technology for many Developers

Are there any legitimate citations for this claim? "Life-changing"? Please.

comment 5y ago · link · parent

oh man, it looks like this could level up by using the indeterminate state of a checkbox
1234567