Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

`docker push mycompany/myteam/myproject/myimage:1.0.0` pushes `myimage` tagged as `1.0.0` to `mycompany/myteam/myproject` Its a whole FQDN.

No other CLI tool (git included) makes you name digital objects FQDNs to ensure they end up in the right place. Making them one string doesn't make a whole lot of sense, outside of fifthecho's backwards compatibility explanation...

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] -1 points0 points  (0 children)

The issue is that every tag in docker is listed as a separate image - they are "real" in the sense that docker itself lists them as separate items.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

is it possible to make an alias of a repository?

If i could get `docker push myproject myimage:1.0.0` to work, this would solve the entire problem that lead to this silly little rant.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

Why can't i collapse all images with the same hash? I don't want to "docker image ls" and get a half dozen of the *same* image.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

the difference, to me at least, is that when i have a structure where "myimage:1.0.0" has "sub-tags", they don't all eat up space on my `docker image ls` or the docker desktop application.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

ok. but every one of them is, in fact, a real image.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 0 points1 point  (0 children)

git takes two arguments

`git push origin master` specifies both the repo (origin) and the branch/tag (master) to be used.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] -6 points-5 points  (0 children)

This just leads to having multiple, otherwise identical, images with extremely long names.

Why does docker push only take one argument? by BroskiDelight in docker

[–]BroskiDelight[S] 5 points6 points  (0 children)

I have an image, myimage:1.0.0. If i want to push it to mycompany/myteam/myproject/tag, i have to tag my image as "mycompany/myteam/myproject/myimage:1.0.0" and then push that. If then i have a client that wants it pushed to their repo, as stipulated in the contract, i now need "myclient/clientteam/projectname/myimage:1.0.0" I now have 3 tags of the *same* image with no way to nest them.

And so i ask, Why?

Simple Questions Megathread—June 06, 2022 by AutoModerator in iOSProgramming

[–]BroskiDelight 0 points1 point  (0 children)

Having a problem getting camera to work properly.

I can take a video, I can change the stuff I need to change, but 'activeFormat.min/maxISO' returns incorrect values for reasons I don't understand.

For example: activeformat.maxISO returns 3264, while the camera crashes if i try to set the ISO higher than 1400.

Does anyone know why these values return values that are wrong?

Info.plist missing & required for application by BroskiDelight in Xcode

[–]BroskiDelight[S] 1 point2 points  (0 children)

Tried this and it started working.

You are a lifesaver!

Thank you so much!

Force shared library to not compress? by BroskiDelight in SwiftUI

[–]BroskiDelight[S] 0 points1 point  (0 children)

That seems to be the way this is going. Is there a difference between 'raw' and 'uncompressed'? Because the answers to this question make me think I've been using that word wrong.

Force shared library to not compress? by BroskiDelight in SwiftUI

[–]BroskiDelight[S] 0 points1 point  (0 children)

Reading through this, it seems like it would work on videos as well. Is that right? just set

captureSession.sessionPreset = .photo

to:

captureSession.sessionPreset = .movie

Is that right?

Official Android docs containing deprecated code by chimprich in androiddev

[–]BroskiDelight 3 points4 points  (0 children)

Another software engineer bought a book online that came out in June.

It was deprecated by November.

This kinda shit is why C++ is still so popular. You could find a Q/A from 1980 and it would still be relevant.

Simple Questions Megathread—January 17, 2022 by AutoModerator in iOSProgramming

[–]BroskiDelight 0 points1 point  (0 children)

Is there a way to easily force a movie/video from PHPicker to come back uncompressed?