1,667 karma · joined March 30, 2019
Socials: - github.com/pzmarzly
---
I'd like to find something that:
- Can pull and serve private images
- Has UI to show a list of downloaded images, and some statistics on how much storage and bandwidth they use
- Can run periodic GC to delete unused images
- (maybe) Can be set up to pre-download new tags
IIRC Artifactory has some support for Docker images, but that seems like a big hammer for this problem. [1]
[0] https://docs.docker.com/docker-hub/image-library/mirror/
It is usually easier to install - most distros ship relatively recent version of Podman, while Docker is split between docker.io (ancient), docker-ce (free but non in repos) and docker-ee.
Not everything is rosy, some tools expect to be talking to real Docker and don't get fooled by `ln -s docker podman`. But it is almost there.
Regarding Debian, just `sudo apt install podman && podman run -it debian` - see https://wiki.debian.org/Podman
Element is the only piece of software where logging in and out (I don't want to be permanently logged in) proved to be too much of a challenge - I was regularly losing encryption keys on different devices.
Regarding your second one, I have some good news though: ASUS Zenfone 10 is smaller than iPhone 16 by 1.1mm x 3.5mm, Samsung S24 (base model) is 0.6mm x 1.0mm smaller, and Sony Xperia 5 V is only slightly bigger.
Google account: everyone knows what it is, your personal account. Unless you have GSuite, then nobody knows what it's meant to be and let you do.
YouTube account (channel): there is now a many-to-many relation between Google accounts and YouTube accounts, but they otherwise function pretty much like pre-Google+ YouTube accounts. You can even change the primary Google account of a YouTube account, that requires clicking a button and waiting for a week. Then there is this brand vs non-brand distinction, where you can convert from non-brand to brand, but not the other way around, and some stuff used to work only with one of these types. And I think nowadays there is some way to make a Google account without a (named) YouTube channel, if you're just a viewer that doesn't even comment or create playlists, but there is not much reason to do that.
AdSense account: A billing account, once again with many-to-many mapping to Google accounts, and also many-to-many [0] mapping to AdSense projects ("sites"). Requires unique billing details, and apparently unique address as well [1], but otherwise shouldn't do much.
So in the linked situation, I think editing Google account login info changed the AdSense account details, which is definitely unexpected. YouTube account was probably not the problem here, I suspect the author would have had same issue if they were selling ads on a website instead of YouTube channel, though of course you have to use different AdSense UI if you sell ads on Youtube vs on the web, which probably further complicates things.
Anyway, since it hit the frontpage of ~~Google's only working support channel~~ HackerNews, it will soon be solved (for that single creator only, probably).
The only good solutions to this mess seem to be to either make YouTube account a standalone thing (cutting AdSense from the picture, and using Google accounts only for authentication), or to decouple all the accounts and make links between them more configurable / clear. Anything in-between, and we get (waves hands) this.
But both of these solutions would also make it too clear where to cut if/when the Google antitrust process comes, which doesn't make me think it will happen anytime soon.
[0] https://support.google.com/adsense/thread/11680365/how-we-ca...
[1] https://old.reddit.com/r/PartneredYoutube/comments/17vb8w8/c...
In my experience few years ago, it was a pain to set it up on everything except macOS and iOS (which come with eduroam certificates preinstalled in their trust stores).
SaveDesktop[0] (saves flatpak apps and DE configs) and mise-en-place[1] (declarative shell environment manager) are making my installation backupable and quite reproducible (not to NixOS standards though).
For software that's not in flatpak, docker or mise, toolbox[2] and distrobox[3] are available for the rescue. Both work really well (toolbox seems better for CLIs, distrobox for GUIs), but all atomicity/declarativity is lost.
[0] https://github.com/vikdevelop/SaveDesktop
Look up Bootable Containers project by RedHat [0]. Fully featured OS built from a Containerfile, bootable on bare metal.
I agree that Nix design is much better than Docker, and has a bunch of features that OCI ecosystem doesn't (e.g. remote builds[1], partial downloading of the build tree, non-linear build process[2], nix store import/export, overlays, I/O isolation, much better composability), but "creating OS instead of VM" [did you mean container?] is not one of them.
[0] https://github.com/containers/bootc
[1] You can use DOCKER_HOST, and I'm happy that this option is there, but Nix does it better.
[2] Perhaps with BuildKit it's no longer true, I haven't checked what happens if you have multi-staged build with one stage depending on multiple previous ones (which are otherwise unconnected). I think Earthly can parallelize this scenario https://earthly.dev/
1. With zsh, I can copy-paste some bash snippet and in 99% of cases it will just work. Aside of copy-pasting from StackExchange, I also know a lot of bash syntax by heart by now, and can write some clever one-liners. With zsh, I didn't need to learn everything from scratch. (I guess this matters less now that you can ask AI to convert a bash one-liner into fish one-liner?)
2. For standalone scripts... well, I think it's best to reach for a proper programming language (e.g. Python) instead of any shell language, but if I had to use one, I would pick bash. Sure, it has many footguns, but I know them pretty well. And fish language is also not ideal - e.g. IIRC it doesn't have an equivalent of `set -e`, you have to add `; or return 1` to each line.
- Connecting from Windows/macOS host to a local VM
- Connecting to a build server over LAN (I have a beefy PC but prefer to work from my couch)
Both work offline just fine, but from tooling perspective you are connecting to remote host over the network
Given the remote-first container-based world we're heading towards, decoupling UI (terminal emulator) from its "backend" (tmux, code-server) is a great design decision, which I think will ultimately define what the "next generation" of terminal emulators is. Imagine being able to open tabs directly on remote host, reconnect without losing state, etc, all while using native UI (so Cmd+T to open new tab, Cmd+F to search, etc). Productivity game changer, which currently only the iTerm2 users can fully enjoy.
Ptyxis (putting its backend in running containers), WezTerm (native handling of ssh sessions) and VSCode's terminal (starting a proprietary code-server binary and connecting to its TCP port) have reached some of this functionality, but in their design they need some out-of-band mechanisms to handle the connections, ultimately limiting the scenarios they can handle.
Meanwhile tmux -CC [0] and ht [1] are sending both their control channel and data channel over the opened terminal itself (in-band), making them flexible enough to support any configuration. Something complex like `ssh jumpbox -- ssh prod -- podman exec -it prod /bin/bash -- tmux -CC` should just work, as if everything was running on your local machine.
For many years now, all major container runtimes support nesting. Some make it easy (podman and runc just work), some hard (systemd-nspawn requires setting many flags to work nested). This is called "Docker-in-a-Docker (DinD)".
Non-confusing design, live-reacting to user typing the date with keyboard, accessible, configurable, and offering 0-effort localisation in 60+ languages[1].
Is there anything like this in React world?
Which sounds fine? Most people don't want LPT printers support, they want AirPrint and WSD to just work.
> Element X is the mobile messaging app that almost all Element users should now be using.
But the commenters here disagree.
Also, the Element app and its App Store listing doesn't indicate there is another version I should switch to, so looks like they don't want people to switch after all?
Honestly, this is infuriating. I keep my Matrix account just for that one friend who prefers using that platform, so I grit my teeth and suffer from bugs (lost media attachments, missing notifications), and now it turns out all of that could have maybe been avoided with this new app that they aren't telling us anything about? I am not going to read developer blogs for an app that I use once a month...
They could have went the Google Hangouts route. Rename existing app to Element Classic, put up new one as Element.
https://github.com/ArmDeveloperEcosystem/systemready-guides?...
So that is a solid advantage that Google is going to have, but the maps business alone wouldn't be able to keep it in the S&P list for long.