Viewing profile — dandarie
dandarie
HN member- Joined
- Fri, Mar 19, 2021, 2:28 PM UTC
- HN karma
- 32
- Public activity
- 16 items
- HN profile
- View on Hacker News ↗
About dandarie
No profile information was provided.
Recent public activity
-
comment
Comment #36014600
For what?
- story
-
comment
Comment #27491789
Is that a fact or an opinion?
-
comment
Comment #27483432
How about tags/sets?
-
comment
Comment #27483321
I can attest winters were definitely colder in the Moldavian part. I remember two meters of snow, digging tunnels through it and such. And I remember four distinct seasons. Now it'…
-
comment
Comment #27420941
> The criticism only applies to users who reused their passwords on other sites, because Edward can still attack those other sites. Of course, but that's a weakness that concerns t…
-
comment
Comment #27411558
Yes, he can steal the cookies and new passwords, but still won't have access to user accounts and/or passwords for more than an hour. So, after Edward is discovered, all sessions a…
-
comment
Comment #27411530
You still have to trust your passwords being stored elsewhere, with weak encryption, if at all.
-
comment
Comment #27352379
The solution is for docker-compose (or plain docker). I don't think the reproducibility is out. It's the same app, the same image, the same intended user, you just inject, once, th…
-
comment
Comment #27347831
From my experience, UID is not always available as to docker-compose.yml because it isn't exported (at least in bash). See more here: https://stackoverflow.com/a/50900530/15428104 …
-
comment
Comment #27346670
Of course, but really only build once on every machine. The subsequent starts use the cached build, even after reboot. In fact, docker-compose up -d takes care of the build thing b…
-
comment
Comment #27346646
You start from a base image of your choice. You only build the user replacement part. You run docker-compose build ONCE and you're set. On my machine, it takes five seconds. Heck, …
-
comment
Comment #27346594
> Do I need to set USERID for project foo, or UID? Does it default to 1000 or the author's UID? Oh, someone has a problem with our project, did they remember to set COMPANY_USERID …
-
comment
Comment #27344612
That runs the container as a given usee, but doesn't prevent the container running some processes as a different internal user.
-
comment
Comment #27344475
1. Nope, they are not pre-baked. They are built at runtime from env vars on each machine. 2. One step, setting up two vars. They can be set by a build script. Lots of things have b…
-
comment
Comment #27311784
> The problem with this approach is that is not portable. What if I am developing using more than one computers where in each computer my user has different ID? Make the build scri…