mikepurvis
Joined 17 years ago
Joined 17 years ago
That version of copy overlays the copied content without any knowledge of its underlay, so if the underlay changes, the hash of the layer created by COPY remains identical.
Obviously there are lots of situations this doesn't work for, but say you have a pool of Ubuntu packages (the system layer) and then you separately copy a CMake installspace or built uv project from a build stage, that project layer can be identical in hash if it's copied onto an updated system layer.
In practice, it's hard to get this to work because it's very easy in docker to accidentally trigger a rebuild for some random reason, but all the pieces are there.
This gets worse for each additional such layer, for example if you start from ubuntu:whatever and have a system deps layer, then an application deps layer, then static assets, then your app's code. Unless you think about it upfront when designing the pipeline, it can be challenging to trace all that state backwards and figure out how to safely re-build thing-from-x-weeks ago but with a single unsafe package bumped forward.
Every shop with competent devops people present should be set up for this, but it usually doesn't come for free.
https://doc.rust-lang.org/beta/core/arch/#dynamic-cpu-featur...
Like in theory your agents can build all that too, but all the ancillary bits benefit a lot from being spread across a pool of users with different time zones, release cycles, whatever.
Now that said, the economics have changed in a world where many trivial automations can be thrown together by agents themselves in a fraction of the time it would have taken a human.
Whether this is one of those "we accept some number of school shootings cause gun freedoms are just so great" issues or not is I guess its own matter for debate. But the fact that this happens, and then as dudes we get to discuss it at arms length on the internet and opine about whether "99% of trips completed without incident" is reason to dismiss it all out of hand may help explain why an individual woman getting home from the bar might choose to walk or take waymo vs getting in a cab and risk joining the unlucky 1%.
Maybe it's a bit like cops: they're not all bad, but the system is kind of set up so that bad ones thrive and good ones burn out. It's going to be a particularly kind of person who is willing to spend their late Friday night driving drunk people home from the club, and honestly if you're a vulnerable person, maybe the guy most willing to do that job is the one you least want as your particular driver.
At the end of the day, a man driving them home and knowing their home address while right there is a much more immediate and specific point of threat than "I'm being surveilled while I travel in a Google-controlled robotaxi".
Also, like it or hate it, but Google actually has a pretty decent track record with protecting their customers from their own employees. Gmail and gsuite content stays private, and there are enough protections in place to satisfy insurance companies, medical institutions, banks, and even governments. If a Waymo kidnapped or killed someone under the control of an overseas remote operator, it would be national news and congressional hearings; a person getting assaulted by a cab driver is nowhere near that level.
I just don't think "but Google/Waymo bad too" is a reason to poo poo someone feeling more comfortable sitting alone in a robotaxi than sitting alone in a cab or an uber.
All opinions expressed are entirely my own.
https://www.linkedin.com/in/mike-purvis-6166a42/
https://meet.hn/city/ca-Kitchener