120 karma · joined Feb 4, 2019 (7y ago) · 49 submissions
comment 9mo ago · link · parent
When a thing seals itself against its own destruction, it merely dies a different death.
https://en.wikiquote.org/wiki/Planescape:_Torment#Coaxmetalcomment 1y ago · link · parent
comment 1y ago · link · parent
www.linkedin.com##:xpath(//span[text()="Suggested"]//ancestor::div/div[contains(@data-id, "activity")])
Combined with carefully managing who I actually follow, it made it for a much more pleasant experience.comment 2y ago · link · parent
The rest we share over a secure, company approved, channel, and save them into local KeePass-es (KeePassXC)
[1] https://docs.ansible.com/ansible/latest/vault_guide/index.ht...
comment 2y ago · link · parent
I also have a personal recommendation for when you want to better understand testing, QA, or want to/have to work with QA people. [2]
[1] https://pragprog.com/titles/tpp20/the-pragmatic-programmer-2... [2] https://www.amazon.com/Lessons-Learned-Software-Testing-Cont...
comment 2y ago · link · parent
Where would I start if I wanted to use a model programmatically ? Like let's say I am building a chat bot. I have a large data set of replies I want the model to mimic, and I'd want to do this in Python. Of course, I'd probably use a different model than Granite.
comment 2y ago · link · parent
In the LXC, I created a new non-root user and then set it's uid and git to a LOWER number than what every tutorial about rootless Podman recommends (devel being my non-root user here):
# cat /etc/subuid /etc/subgid
devel:10000:5000
devel:10000:5000
Then I also had to edit configuration for the LXC itself on the Proxmox host to allow tun and have it created on container boot: # cat /etc/pve/lxc/{lxc_vmid}.conf
...truncated...
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
Note: I have no idea why a lower number of ids works...comment 2y ago · link · parent
1) Created a new LXC.
2) As root, I created a new user "devel"
3) For the "devel" user set both subuid and subgid to devel:100000:65536
4) As root, installed podman
5) In another SSH session, logged in as "devel" and ran "podman version"
Same error as before. This is in a Debian 12 LXC running on Proxmox.
comment 2y ago · link · parent
(dev) $ podman info
ERRO[0000] running `/usr/bin/newuidmap 3427 0 1000 1 1 100000 65536`: newuidmap: open of uid_map failed: Permission denied
Error: cannot set up namespace using "/usr/bin/newuidmap": exit status 1
I tried a solution I found on Red Hat's Customer Portal: (root) # setcap cap_setuid+ep /usr/bin/newuidmap
(root) # setcap cap_setgid+ep /usr/bin/newgidmap
Also did not work. I can run (root) # podman info
just fine as root. This leads me to believe there are some other problems with my non-root user permissions.EDIT: It probably makes little sense, to run rootless on top of an already unprivileged LXC. I just wanted to give vscode server it's own non-root user in there. Oh well...
comment 2y ago · link · parent
> newuidmap: write to uid_map failed: Operation not permitted
I tried googling it, tried some of the solutions, but reached the conclusion that it's happening because the LXC is not privileged.