jdsleppy

Joined 6 years ago

Karma
196
Submissions
68
Member since
Oct 27
- joelsleppy.com - sleppytech.com

Interests: Entrepreneurship, Freelancing, Hiking, Investment, Music, Programming, Going new places

---

View on Hacker News

Recent submissions

Comment · 1 month ago
It took me minutes to find what it actually cost, which is $50/month for the cheapest, 256MB deployment.

Looks cool, but this info should be easier to get to. Tell us what resources we get in a "nano", "micro", etc. and how much they cost. That's the first and usually only thing I look at with these.

Comment · 7 months ago
It's a nice idea, but after I get to the graph page things just stop. Clicking on nodes doesn't do anything. Bug?
Comment · 10 months ago
Doesn't stealing the cookies/token require a non-HTTP-only session cookie or a token in localstorage? Do you know that Discord puts their secrets in one of those insecure places, or was it just a guess?

I believe if you always keep session cookies in secure, HTTP-only cookies, then you are more resilient to this attack.

I interviewed frontend devs last year and was shocked how few knew about this stuff.

Comment · 1 year ago
Multiple processes, multiple threads per process, and/or greenlets (monkey patch network calls, like async but no keywords involved). Scale out horizontally when there's a problem. It could get expensive.
Comment · 1 year ago
I can second the other commenter: you are having a different discussion than the rest of the comments and OP.
Comment · 1 year ago
Er... is it software? Hardware?
Comment · 1 year ago
If you continue to not find what you need and are willing to be a subject matter expert on what Pivotal actually is (because I never saw it), I would be interested in building this. A lot of people share your sentiment so it could be successful, but it's hard to clone something unless you know the thing.
Comment · 1 year ago
Also disadvantaged groups might consume less healthcare and might be less aware of air quality, etc. and so may be more likely to have bad health outcomes for given environmental inputs.
Comment · 1 year ago
The source code does not get to the filesystem on the prod server. It is sent to the Docker daemon when it builds the image. After the build ends, there's only the image on the prod server.

I am now convinced that this is a hidden docker feature that too many people aren't aware of and do not understand.

Comment · 1 year ago
No, in my example the docker-compose.yml would exist alongside your application's source code and you can use the `build` directive https://docs.docker.com/reference/compose-file/services/#bui... to instruct the remote host (Hetzner VPS, or whatever else) to build the image. That image does not go to an external registry, but is used internal to that remote host.

For 3rd party images like `postgres`, etc., then yes it will pull those from DockerHub or the registry you configure.

But in this method you push the source code, not a finished docker image, to the server.

Comment · 1 year ago
I've been very happy doing this:

DOCKER_HOST=“ssh://user@remotehost” docker-compose up -d

It works with plain docker, too. Another user is getting at the same idea when they mention docker contexts, which is just a different way to set the variable.

Did you know about this approach? In the snippet above, the image will be built on the remote machine and then run. The context (files) are sent over the wire as needed. Subsequent runs will use the remote machine's docker cache. It's slightly different than your approach of building locally, but much simpler.

Comment · 1 year ago
This is for running code on your own servers, he doesn't deal with running others' code.
Comment · 1 year ago
Comment · 1 year ago
I assume they are saying that in practice, if wealth gives one influence (if one lives in capitalism), one will use that influence to make one's market less free to one's benefit.
Comment · 1 year ago
You also skip the docker compose pull if you configure it to always pull in the compose file or in the up command.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton