Readit News logoReadit News
revicon commented on Show HN: Unregistry – “docker push” directly to servers without a registry   github.com/psviderski/unr... · Posted by u/psviderski
revicon · 2 months ago
Is this different from using a remote docker context?

My workflow in my homelab is to create a remote docker context like this...

(from my local development machine)

> docker context create mylinuxserver --docker "host=ssh://revicon@192.168.50.70"

Then I can do...

> docker context use mylinuxserver

> docker compose build

> docker compose up -d

And all the images contained in my docker-compose.yml file are built, deployed and running in my remote linux server.

No fuss, registry, no extra applications needed.

Way simpler than using docker swarm, Kubernetes or whatever. Maybe I'm missing something that @psviderski is doing that I don't get with my method.

revicon commented on Show HN: Unregistry – “docker push” directly to servers without a registry   github.com/psviderski/unr... · Posted by u/psviderski
dobremeno · 2 months ago
I assume OP meant something like this, building the image on the remote host directly using a docker context (which is different from a build context)

  docker context create my-awesome-remote-context --docker "host=ssh://user@remote-host"

  docker --context my-awesome-remote-context build . -t my-image:latest
This way you end up with `my-image:latest` on the remote host too. It has the advantage of not transferring the entire image but only transferring the build context. It builds the actual image on the remote host.

revicon · 2 months ago
This is exactly what I do, make a context pointing to the remote host, use docker compose build / up to launch it on the remote system.
revicon commented on Why Writing by Hand Is Better for Memory and Learning   scientificamerican.com/ar... · Posted by u/andsoitis
euroderf · 3 months ago
Writing it down by hand is better - that's all fine and dandy. But to sell me on it, include two more "features" (i.e. requirements):

- Give me an app to scan my (mostly neatly-written) notes into text, maybe with hooks so I can train it on my own quirks of notation. Then I can review my notes more easily - even on the go - during the semester, and rearrange & reformat & refactor them.

- As long as you have that training data, also generate for me a custom font that re-creates my handwriting style.

revicon · 3 months ago
Taking a photo of my handwritten notes and passing it to ChatGPT works 95% of the time. Once in a while it gets a character or two wrong, but for the most part its magic for me.
revicon commented on Anthropic launches a voice mode for Claude   techcrunch.com/2025/05/27... · Posted by u/kordlessagain
nprateem · 3 months ago
Meh, Anthropic are dead to me until they have structured output.
revicon · 3 months ago
revicon commented on Coinbase says hackers bribed staff to steal customer data, demanding $20M ransom   cnbc.com/2025/05/15/coinb... · Posted by u/gpi
revicon · 3 months ago
They've been constantly bugging me to upload my government ID, never did. Now I'm really glad I didn't.
revicon commented on Show HN: Min.js style compression of tech docs for LLM context   github.com/marv1nnnnn/llm... · Posted by u/marv1nnnnn
TheTaytay · 3 months ago
I’ve been creating a doc for each of my primary libs (using Claude Code of course). I like your vendor/readme idea. Do you find Claude going and reading more docs if it needs to?
revicon · 3 months ago
I usually tell it to go read the relevant doc when I do the initial prompt to it when I start working on something. And sometimes I'll remind it during a conversation if I want to make sure it isn't re-inventing the wheel instead of using a feature that is already there in the lib. I run into that with TanStack Router from time to time as an example.
revicon commented on Show HN: Min.js style compression of tech docs for LLM context   github.com/marv1nnnnn/llm... · Posted by u/marv1nnnnn
revicon · 3 months ago
We've done some experimentation when using Claude Code and taken to just creating a "vendor" folder under our "docs" section of each of our repos and just pull down the readme file for every library we use. Then when I'm prompting Claude to figure something out, I'll remind it to go check "docs/vendor/awesomelib" or whatever and it does a fine job of checking the docs out before it starts formulating an answer.

This has done wonders for improving our results when working with TanStack Start or shadcn/ui or whatever.

I guess there's pieces of this that would be helpful to us, but there's too much setup work for me to mess with it right now, I don't feel like generating a Gemini api key, installing puppeteer, etc.

I already have all the docs pulled down, but reducing the number of tokens used for my LLM to pull up the doc files I'm referencing is interesting.

Is there a command line tool anyone has had luck with that just trims down a .md file but still leaves it in a state that the LLM can understand it?

revicon commented on Gemini 2.5 Pro Preview   developers.googleblog.com... · Posted by u/meetpateltech
oellegaard · 4 months ago
I'm actually very happy with everything in Claude code, eg the CLI so im really just curious to try other models
revicon · 4 months ago
Same! I prefer the CLI, way easier when I’m connected via ssh from another network somewhere.
revicon commented on Adobe deletes Bluesky posts after backlash   petapixel.com/2025/04/10/... · Posted by u/bookofjoe
willcipriano · 5 months ago
I've never heard of someone without your social security number having the ability to do anything to your credit.
revicon · 4 months ago
A collection agency has no problem finding your SSN if they have your name.
revicon commented on Slack Is Down   slack-status.com/2025-02/... · Posted by u/polyrand
toomuchtodo · 6 months ago
Consider a Signal group or some sort of backup comms channel.

Edit: Email can have latency, which is why I did not recommend it.

revicon · 6 months ago
Email is always there as a backup, but no one in the company uses it anymore, to the point where we have to remind people to check it incase an external vendor reaches out.

Slack has provided so much additional functionality that trying to cram day to day working back into email just doesn't work anymore.

u/revicon

KarmaCake day2690April 2, 2008
About
Developer in San Francisco. https://www.mattcrampton.com

Founder - API Canary Co-Founder - Gigwalk Co-Founder - Headnote

Email: matt@mattcrampton.com

View Original