Better HN
topnewbestaskshowjobs
Log inSign up

nnntriplesec

16 karma · joined Mar 30, 2023 (3y ago) · 12 submissions

Submissions

comment 3y ago · link · parent

Would this make ssh more robust against intermittent connectivity? like https://mosh.org/

without needing to run mosh on the server

comment 3y ago · link · parent

Ah... the good old analog hole

https://en.wikipedia.org/wiki/Analog_hole

comment 3y ago · link · parent

see my reply above

comment 3y ago · link · parent

Yes I run an init system that starts multiple processes and services. All in a Docker container.

I would be very keen to understand why LXC is better than Docker for this. I've also read this kind of "marketing" around so called "operating system containers" but I am still clueless why they are better. Concretely, what are the benefits?

comment 3y ago · link · parent

When people talk about containers they almost always mean Linux containers, i.e. a collection of features in the Linux kernel that allow creating the illusion of containers.

Needless to say, this doesn't make any sense on macOS because there's no Linux kernel. Therefore you need a Linux VM to run Linux containers on macOS.

comment 3y ago · link · parent

Depends on the kind of container. It is not necessarily true that 1 container == 1 process. I run Docker containers with 1000s of processes.

comment 3y ago · link · parent

13000x 10MB memory, to be precise

comment 3y ago · link · parent

I would pay attention to ChatGPT et al. Maybe that's killing SEO a little bit, no? You can't quite optimize for queries to a static model that has already been trained. Perhaps long term you can influence the next model release by carefully injecting content on the internet to be crawled by GPT models, but nothing you can do short term.

comment 3y ago · link · parent

I agree with you but this is likely just the opinion of us techies. Not sure if it generalizes to most people.

comment 3y ago · link · parent

How so?

comment 3y ago · link · parent

> How would you make a distinction between my Python code making a request from your API endpoint, and a GPT-controlled Python program making the same request?

Your API endpoint would see a bimodal distribution of latencies. The higher latency group are the GPT-controlled programs.

comment 3y ago · link · parent

> [1] https://stackoverflow.com/questions/8185276/find-size-of-git...

I think what OP needs is a way to know the repository size BEFORE cloning it first. In that case I think you need to query the git server's API, hopefully some GitHub or GitLab with nice APIs to give you that information.

Otherwise I'm not sure if it's possible?