8,664 karma · joined Nov 6, 2012 (14y ago) · 2,460 submissions
jon@blankpad.net
comment 1d ago · link · parent
Agents like Bitwarden and 1Password are more granular in their authorisation, in 1Password’s case I tap the fingerprint reader on my laptop when a process in a specific terminal first requests SSH key access to authorise that, after which it can use it as much as it likes until the session times out. Doing so however doesn’t mean that some other process spawned by some malware can also use it, that’s going to pop a prompt up again.
comment 1d ago · link · parent
SSH keys are pretty much solved, I’m using 1Password’s SSH agent similar to what OP is doing with Bitwarden. It works wonderfully.
Various API keys are a pain in the backside. 1Password has some features which kind of maybe help by allowing you to keep credentials in 1Password and then exposing them either as a named pipe that requires auth to read, or via CLI wrappers that inject the credentials at runtime. Both of those still require long lived credentials though.
At some point I’ll probably snap and build something analogous to what 1Password are doing but using OAuth or similar to request short lived, scoped, credentials as needed. I assume there’s approximately six hundred things like this which are targeted at agent use but I’d like something that doesn’t require me to run everything in a sandbox.
comment 2d ago · link · parent
You’re also going to have to get comfortable with some level of electronics, because it’s very rare someone wants embedded development done that doesn’t interact with the outside world in some way, and that’s going to require knowing how to drive some IO.
comment 4d ago · link · parent
https://www.abports.co.uk/news-and-media/latest-news/2022/sh...
comment 4d ago · link · parent
comment 4d ago · link · parent
As an example, you might end up with "Refactor to facilitate adding feature X", "Data models for X", "API endpoints for X", "UI for X". Each of those would contain all the code/tests/documentation for each of those steps.
The nice thing about jj is that it makes it really easy to have a bunch of messy commits locally as your bouncing around the place, followed by squashing/splitting things as appropriate. In practice that first refactor commit might only come into existence very late after you've built a bunch of endpoints and done some refactoring along the way.
comment 4d ago · link · parent
Basing code review on changes and changesets would mean that the evolution of each change could be seen in isolation, which would also mean that you immediately do away with awkward workarounds like PR stacks.
comment 4d ago · link · parent
Automatic bookmark naming is 100% cursed, I always name them, and also don't subscribe to this weird one commit per-bookmark/PR thing people seem to have adopted. You can use bookmarks just like git branches in practice.
Rebasing is so much nicer than doing the same thing with git because its going to do its best to finish the job, then leave you with a coherent set of conflicts you can clean up one commit at a time. Its still conflict resolution, and it still sucks, but at least you feel less like you're fighting the tooling.
Finally, workspaces exist and work reasonably well. Annoyingly Claude Code specifically has real trouble interacting with them, and last I tried in agent mode refused to accept that a jj workspace is just as valid a mechanism as a git workspace. They may have fixed that by now, its been a while since I tried.
comment 6d ago · link · parent
comment 1w ago · link · parent
What I would like to see is consumer hardware making better distinctions here, and providing more (actionable) detail on what the problem is. "Oops, there's been a problem" and messages of the like really don't help people in knowing things like running an ethernet cable upstairs would help them out.
I'd also absolutely love to see ISPs pushing a reset of the default SSID and passphrase on their all-in-one devices when people migrate from one provider to another, because its absolutely ridiculous the number of people who end up going round changing every device in their home from one impenetrable IspName-AE32C SSID to another when they could instead have changed two settings on the AP instead.
comment 1w ago · link · parent
HA is a more difficult thing to solve, I believe Cedalo sell a version with HA support which may solve all this but the open source version doesn’t really have any good answers. The usual approach seems to be setting up topic replication between all your nodes and putting a load balancer in front.
Thankfully the system I’m responsible for can tolerate outages so we just work on the basis that we have regular snapshots and can stand up a new instance if the one handling traffic fails, with the fault tolerance sitting on the client side with messages being queued for transmission when the connection comes back.
comment 1w ago · link · parent
comment 1w ago · link · parent
Host \*
controlMaster auto
controlPath ~/.ssh/master-%r@%n:%p
controlPersist 10mcomment 1w ago · link · parent
Sometimes jumping straight in and seeing what happens is the right path, other times the changes you’re making will impact a bunch of systems and teams so coming to some agreement on what’s being done is valuable.
comment 1w ago · link · parent
Self review is absolutely a thing you can get away with in the early days of a startup, and at some point will probably be necessary because you’ve only got one developer, but if you have enterprise clients just turning off review requirements is a fast track to losing those clients.
comment 1w ago · link · parent
comment 1w ago · link · parent
1. The Secure Enclave being inaccessible when you're not present is a feature, not a bug. If you need to run headless then its not the correct solution to your problem and you'll have to find another.
2. You don't need an SSH agent proxy, you can use a `match` block in your `ssh_config` with something like `host * exec "test -z $SSH_TTY` to check whether you're operating over an SSH connection and select Secretive's SSH agent if you're using the machine locally.
comment 2w ago · link · parent
comment 2w ago · link · parent
In the case of NFSU2, a game which EA refuse to make available anywhere, I’m fine with people throwing a free version on the internet but let’s not throw the baby out with the bathwater here. Copyright is a part of what allows small indie studios making fun things possible because it means it’s viable to sell those things and pay people’s salaries. Maybe if along with the machine god and death of copyright we also get some form of wealth distribution which means people don’t need to fund food and shelter via their work I’ll get on board but I’m not holding my breath here.
comment 2w ago · link · parent
comment 2w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
If we continue from your "water comes from the tap" example this situation feels like someone who has no experience of plumbing deciding they're going to replace their bathroom without bothering to find out how any of it works. They'll possibly end up with a bathroom that superficially works but they're also liable to find problems down the line with leaks, things not draining properly, or water pressure issues.
Some of the people writing software purely via LLMs are even turning this into a business, which I guess would be analogous to deciding you're going to run sewage treatment for a small city without understanding anything about how that works. It'll mainly hurt when the problems are invisible, so food poisoning, or inlets backing up and overflowing into a nearby river.
comment 3w ago · link · parent