Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jedwhite
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
jedwhite
8mo ago
> I do think getting everything running on a single GPU at this resolution and speed is totally new Thanks, it seemed to be the case that this was really something new, but HN tends to be circumspect so wanted to check. It's an inte
2.
▲
by
jedwhite
8mo ago
That's an interesting insight about "stacking tricks" together. I'm curious where you found that approach hit limits. And what gives you an advantage if anything against others copying it. Getting real-time streaming wit
3.
▲
by
jedwhite
8mo ago
Thanks for posting the original ideas that led to all this. "Runtime for prose" is the new "literate programming" - early days but a pointer to some pretty cool future things, I think. It's already made a bunch of t
4.
▲
by
jedwhite
8mo ago
I shared a repo on HN last week that lets you use remote execution with these kinds of script files autonomously - if you want to. It had some interesting negative and positive discussion. The post mentioned Pete Koomen's install.md id
5.
▲
by
jedwhite
8mo ago
We made some improvements to support remote markdown script execution and piping. Run scripts from the web : ```bash curl -fsSL https://andisearch.github.io/ai-scripts/analyze.md | claude-run ech
6.
▲
by
jedwhite
8mo ago
They're quite different, I think. Some advantages with claude-run include: - You make standard Markdown files directly executable using a shebang line. - No special Markdown formatting or syntax needed. The Markdown itself is clean and
7.
▲
by
jedwhite
8mo ago
One cool thing is that the claude-run scripts make any text file executable with AI, including xml, ymal, etc. So you can do something like: #!/usr/bin/env claude-run <instructions> Analyze this code
8.
▲
by
jedwhite
8mo ago
I know there are two polarized camps on the topic of AI coding. Even for people who are concerned about it and prefer to use traditional scripting, there are some benefits worth considering in having runnable, composable prompt modules. The
9.
▲
by
jedwhite
8mo ago
At the moment, it looks like Claude Code does not support using ‘temperature’ or ‘seed’ flags. It would be awesome if they add that. Using the request to use a seed within the prompt will mean that when Claude rights the code it could use t
10.
▲
by
jedwhite
8mo ago
Also +1 to using containers and sandboxed environments! It means you can yolo it and skip permissions dangerously to experiment with vibe automation :) More seriously, I agree that setting permissions to the minimum needed for the task and
11.
▲
by
jedwhite
8mo ago
Thank you, and yes! That is what I already frequently do for quick automation tasks. As you say, Claude is actually very good at writing shell scripts and using tools on-the-fly. But I know there is an AI-confidence factor involved for deve
12.
▲
by
jedwhite
8mo ago
There are some tasks that LLMs are good at, but which can be hard to do with traditional command line tools or scripts. This is true even when you are a skilled coder and expert in Shell scripting. Examples include summarization, judgement-
13.
▲
by
jedwhite
8mo ago
Thanks, it’s great to see people trying different approaches to runnable prompts and variations on literate programming. I think it’s an area with a lot of potential, and I expect there will be a lot of interesting ideas come out of it.
14.
▲
by
jedwhite
8mo ago
The constraints work consistent with Claude’s -p mode. It is isolated from your regular Claude interactive sessions and settings on purpose. And that makes it safer by default because you have to explicitly add permissions. You can try this
15.
▲
by
jedwhite
8mo ago
I know this will not appeal to developers who don’t see a legitimate role for the use of AI coding tools with nondeterministic output. It is intended to be a useful complement to traditional Shell scripting, Python scripting etc. for people
16.
▲
by
jedwhite
8mo ago
The ability to execute code is not granted as part of the directory permissions. By default the scripts will not be able to execute code, only run analysis and text gen tasks. You need to explicitly add the flags for permissions to execute
17.
▲
by
jedwhite
8mo ago
One of the advantages of using executable Markdown files with pipe support is that it allows you to create composable building blocks that can be chained together. So you can build individual prompt-based scripts (format.md, summarize.md et
18.
▲
by
jedwhite
8mo ago
I agree that script execution safety is a real concern, as it is with AI coding tools generally. By default the runnable markdown files do not have permission to execute code, unless you specifically add those permissions. I can see there m
19.
▲
by
jedwhite
8mo ago
Yes you can use this with any text file format and file extension. Markdown just happens to work well with Claude Code and is very readable. But some other comments here mention `.ag` as a nice alternative, and plain text with C code. But y
20.
▲
by
jedwhite
8mo ago
Big fan of Simon Willison. It would be great to see support for executing markdown files directly added to other tools like `llm`. And to Claude Code, Codex themselves. claude-run is just a bunch of little convenience scripts, but for it to
21.
▲
by
jedwhite
8mo ago
The YAML-inspired format is clear, and pretty cool actually. You can use those `.ag` files directly with claude-run in the shebang or from the command line unmodified. The shebang gets stripped before the file is passed to Claude Code.
22.
▲
by
jedwhite
8mo ago
Thanks for this. I find templates helpful too, and that's a neat structure. I use templates heavily with Obsidian for non-code tasks also. If you want to try it out, you can use this with the claude-run tooling with flags etc with file
23.
▲
by
jedwhite
8mo ago
Yes, you can use this with any text file and file extension to send file content to Claude Code with unix-like pipe support. Markdown happens to be a format that models like Claude work well with. And they provide a very readable way to mix
24.
▲
by
jedwhite
8mo ago
It's adjacent conceptually so interesting to check out :)
25.
▲
by
jedwhite
8mo ago
Thanks, I hadn't seen that. This tool: - Lets you make regular Markdown files directly executable using shebang line. - It keeps the Markdown itself clean and standard rather than using variable placeholders or any kind of special synt
26.
▲
by
jedwhite
8mo ago
I'm also a fan and heavy user of Jupyter notebooks and literate programming in general. I think the use case for runnable mardown files with AI tooling for automation applies to complementary cases. Having said that, there are ad hoc a
27.
▲
by
jedwhite
8mo ago
Another format is an interesting idea. This tool will work with any text file content and file extension. So you could create another text-based format yourself and use it in theory. I think the reasons Markdown is appealing include: - It&#
28.
▲
by
jedwhite
8mo ago
Thanks, I hadn't seen either of those. It's good to see other projects leveraging runnable markdown, as it has a lot of potential. I like the literate programming tool. I've always liked experimenting with Jupyter notebooks,
29.
▲
by
jedwhite
8mo ago
Most of the cloud providers give you a choice of two ways of referring to models - either a specific dated model id (like the example above), or a shorter alias which generally points to the latest release of that model, and is more likely
30.
▲
by
jedwhite
8mo ago
API clients seem like a good use case.
More ›