fprotthetarball

Joined 13 years ago

Karma
96
Submissions
57
Member since
Jan 22
View on Hacker News

Recent submissions

Comment · 11 months ago
I'm wondering if Bun would be a good embedded runtime for Claude to think in. If it does sandboxing, or if they can add sandboxing, then they can standardize on a language and runtime for Claude Code and Claude Desktop and bake it into training like they do with other agentic things like tool calls. It'd be too risky to do unless they owned the runtime.
Comment · 1 year ago
> Git won't catch new files the agent is adding.

Another problem I inadvertently dodged by using Jujutsu with Claude Code :)

I tend to send a lone "commit" message to Claude when I think I'm in a spot I may want to return to in the future, in case the current path doesn't work out. Then Claude commits it with a decent message. It knows how to use jj well enough for most things. Then it's really easy to jj new back to a previous change and try again.

Comment · 1 year ago
Does clear air mode pick up wildfire smoke? There has been an awful lot of that lately over the US from Canada and the West Coast.
Comment · 1 year ago
There are still branches, but they aren't named by default. You give them names with "bookmarks", which you can push to remote git repositories as branches.

This lets you work on things without having to worry about giving it a name. This turns out to be pretty helpful when you're experimenting — just "jj new <revision>" and start editing. If it turns out to be something you want to share, "jj bookmark create <name>" and then you can push it. (You can also push without giving it a name, in which case you'll get a git branch with a name based off of the change id.)

Change IDs stay constant with each change, so you use those as a type of branch name when switching between the features you're working on.

Comment · 2 years ago
No, I just stop and restart when I feel like I'm in a good spot. Nothing fancy.
Comment · 2 years ago
My backend for a simple web application I'm working on is entirely in Rust. Highlights:

- axum: web application framework - https://github.com/tokio-rs/axum

- axum-htmx: axum extractors, responders, guards for htmx - https://github.com/robertwayne/axum-htmx

- rusqlite: SQLite bindings - https://github.com/rusqlite/rusqlite

- maud: HTML templating as a macro - https://maud.lambda.xyz

The way maud lets you compose markup works very nicely with htmx. The HX-Request header lets you know if the request is coming from htmx or if it is a regular request. You either call the top-level function if it's a regular request to get the entire page rendered, or call a subset of functions to get the appropriate partial rendered if it's an htmx request.

It's also nice to easily have tests for the rendered pages. My unit tests cover verification of the rendered HTML, too.

Comment · 2 years ago
I have a similar setup, using snare to handle the webhook endpoint: https://github.com/softdevteam/snare

GitHub will call the webhook after a push to main and a successful test suite run. Snare runs a shell script on my server to git pull, build, deploy, and call a cronitor.io hook for monitoring deploy success.

I've been pretty happy with how relatively simple it is and how well it works.

Comment · 2 years ago
> I have a pet theory about the "AI revolution" or AGI that keeps getting relentlessly confirmed as events unfold: Microsoft sees a massive financial upside to this technology that no one else sees and this is being kept under wraps.

If AGI is "a highly autonomous system that outperforms humans at most economically valuable work", I am Microsoft and have AGI, and other businesses do not, I am putting it charge of a Windows VM in Azure and offering it to companies to run aspects of their businesses. Why stop at "GPTs" if I can offer you specialized Clippys?

Put all your data in Microsoft 365, let Clippy do its thing, and you're saving a lot of money on not supporting people. Microsoft gets their cut, and you get to fire your employees. Win-win.

Comment · 3 years ago
Comment · 3 years ago
I bought a Flowbee in 2009 for $83 total. I cut my hair around once every 3 weeks, so I have paid 34 cents per cut so far, ignoring electricity cost of running a vacuum and the Flowbee for a few minutes.
Comment · 3 years ago
This is also my experience. I regularly fill up my 8 qt as high as I'm able to, as long as I think I can carry the pot without spilling.

It takes 30-45 minutes to cool down enough to depressurize, but the lid is always clean so the food is likely staying in the pot.

Comment · 3 years ago
Comment · 3 years ago
I have heard that shared conversations would also share the custom instructions. This is probably not ideal if people are putting personal information in them. Guessing they're plugging that hole.
Comment · 3 years ago
Joplin does, and it works rather well. I have been planning on migrating my notes since the acquisition, but wanted to see what their next move was.

Joplin seems like the best at handling my mix of text notes, PDF files, and images at the moment. If it doesn't work out, though, at least I have my data in a more open form.

Comment · 3 years ago
A minor inconvenience when GPT-4 has no problem learning how to use a code interpreter.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton