Readit News logoReadit News
fprotthetarball commented on Claude Code Checkpoints   claude-checkpoints.com/... · Posted by u/punnerud
mhast · 14 days ago
Git won't catch new files the agent is adding. To get around that you can of course always add all new files, but then you'll potentially have your repo polluted with a bunch of temporary scratch files instead.

You can typically go back and edit git history. But it will require force push and breaking changes. And a few sacrifices to ensure that it doesn't make a mistake because then your repo is potentially broken.

Best way to do that is probably to have it work on branches and then squash merge those.

fprotthetarball · 14 days 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.

fprotthetarball commented on What is going on with US weather radar today?   atlas.niu.edu/analysis/ra... · Posted by u/Jimmc414
shade · 2 months ago
One of my weird hobbies is radar chasing storms, and all of that stuff is completely normal. NEXRAD is very sensitive, especially when it's in clear air mode (it has different modes depending on if it's raining in the area) and can pick up things like dust, birds, bats, and insects. There's also ground clutter from things like buildings, wind farms, and even cars.

The National Weather Service has a good brief explainer: https://www.weather.gov/iwx/wsr_88d

They also have an interesting PDF covering some of the more unique signatures you might see, though it's not exhaustive: https://www.weather.gov/media/btv/research/Radar%20Artifacts...

fprotthetarball · 2 months 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.
fprotthetarball commented on The Jujutsu version control system   neugierig.org/software/bl... · Posted by u/imajoredinecon
akdor1154 · 9 months ago
Great article. How do people deal with the lack of branches, esp in a full time setting where it's common to have a few independent features on the go?
fprotthetarball · 9 months 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.

fprotthetarball commented on Htmx 2.0.0 has been released   htmx.org/posts/2024-06-17... · Posted by u/lsferreira42
brunoqc · a year ago
Do you use something like cargo-watch for "hot reload"?
fprotthetarball · a year ago
No, I just stop and restart when I feel like I'm in a good spot. Nothing fancy.
fprotthetarball commented on Htmx 2.0.0 has been released   htmx.org/posts/2024-06-17... · Posted by u/lsferreira42
wruza · a year ago
Htmx users, can you please share your backend stacks and approaches? Me specifically interested in templaters for node (+ts) and your thoughts on endpoint management, but all ideas are welcome I guess.
fprotthetarball · a year 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.

fprotthetarball commented on Piku: Allows git push deployments to your own servers   github.com/piku/piku... · Posted by u/tosh
kachurovskiy · a year ago
I just added a magic URL in my app that GitHub calls whenever a commit is pushed and the server does `git pull` which in turn causes pm2 to reload the app. So committing anything shows up in production in seconds. Great for smaller projects.
fprotthetarball · a year 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.

fprotthetarball commented on OpenAI's chaos does not add up   builtnotfound.proseful.co... · Posted by u/Satam
tboyd47 · 2 years ago
Theory

Microsoft floated this offer to Altman for buku dollars before any of this takes place

Altman went to the board and requested a raise knowing he has a fantastic plan B.

Board says no because they're a non-profit.

Altman gets petulant (as people my age tend to do).

Old-school boomer "You Work for Me" elements of the board launch a bid to fire him. Their bid succeeds.

Altman goes and blabs about his new gig to his old co-workers (as people my age tend to do).

Microsoft says, "Okay, more talent for us" and extends offers for buku dollars to all OpenAI employees.

Revolution!

fprotthetarball · 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.

fprotthetarball commented on Searx is no longer maintained   github.com/searx/searx/co... · Posted by u/Jefrodey
sharts · 2 years ago
Crazy how much blank space both of these seem to waste on a wide screen.
fprotthetarball · 2 years ago
Kagi allows you to provide custom CSS if you want to tweak it to your liking. I've used it to remove some of the widgets I don't personally find useful, and to replace some icons.

https://help.kagi.com/kagi/features/custom-css.html

fprotthetarball commented on Ask HN: How often do you get a haircut and how much does it cost you?    · Posted by u/nicehairs
fprotthetarball · 2 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.
fprotthetarball commented on The Sad Bastard Cookbook   traumbooks.itch.io/the-sa... · Posted by u/throwaway154
didgeoridoo · 2 years ago
In my experience, going past the max fill line is mostly a problem when using the “rapid pressure release” on a recipe with lots of liquid. Pressing the release button can emit a a superheated geyser of soup with enough force to hit the ceiling.
fprotthetarball · 2 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.

u/fprotthetarball

KarmaCake day96January 22, 2013View Original