trevor

joined 1 year ago
[–] trevor@lemmy.blahaj.zone 20 points 20 hours ago* (last edited 20 hours ago)

I'm well aware of the fact that Lucien Graeves is a shitbag, but TST does great work in spite of that, and they're one of the only organizations that fight theistic nationalists in ways that actually bring attention to the issue.

Until a better group with unproblematic leadership comes along (maybe Global Order of Satan if they gain the resources to do similar activism?), I'd say it makes sense to critically support their work instead of dissuading people from supporting them at all.

[–] trevor@lemmy.blahaj.zone 64 points 2 days ago* (last edited 2 days ago) (6 children)

Beto likely lost because he said the stupidest shit that a dem running in Texas could have said ("we will take your guns!") and it killed his campaign momentum. And even then, he only lost by 2-3%.

To my knowledge, Allred hasn't shot himself in the foot like that, so there is a real chance for him to win.

[–] trevor@lemmy.blahaj.zone 6 points 3 days ago

SmartTubeNext is is the good (no ads) version of YouTube for AndroidTV devices.

[–] trevor@lemmy.blahaj.zone 43 points 5 days ago (8 children)

It's a temporary ban. That is less of a consequence than what you'd face for airing a little too much copyrighted content or something, except for saying shit that could have come from Hitler's mouth.

[–] trevor@lemmy.blahaj.zone 1 points 6 days ago (1 children)

Ah. If we're talking mobile, all bets are off. FIDO prompts require Apple and Google to provide the necessary APIs for third-party devs to use, and are still somewhat new. It's likely that since iOS browsers are still just re-skinned WebKit (until the EU stuff settles and Mozilla implements Gecko on iOS), FF on iOS can leverage the OS APIs, but making it work with Gecko on Android requires more work.

I was referring to desktop, where those limitations aren't a hindrance.

[–] trevor@lemmy.blahaj.zone 6 points 6 days ago

Correct. The spec is about making it easier and more secure to export your passwords and passkeys when you move from one password manager to another. People are misunderstanding this as some sort of federated authentication system to share your credentials between multiple password managers at the same time, which it is not.

[–] trevor@lemmy.blahaj.zone 5 points 6 days ago (1 children)

It's gonna work with KeePass and Bitwarden once it's finalized.

[–] trevor@lemmy.blahaj.zone 2 points 6 days ago (1 children)

Only in certain states with shitty voting laws. It's perfectly legal to take photos if your ballot in many other states.

[–] trevor@lemmy.blahaj.zone 2 points 1 week ago* (last edited 1 week ago)

FYI: the people in here recommending the open source competitors for Yubico aren't mentioning one thing: YubiKeys, being proprietary, support a proprietary protocol called Yubico OTP in addition to the FIDO authentication protocol that the open source competitors can do.

The reason this matters is that some applications, like the Linux Bitwarden desktop app (there are others, but this is one that I've had to deal with), don't support FIDO authentication, but do support Yubico OTP. This means that, for those apps, the open source keys wouldn't be a valid authentication method.

Granted, the number of applications like this are small, and probably grows smaller by the day, but it's an important distinction to be aware of.

[–] trevor@lemmy.blahaj.zone 5 points 1 week ago (1 children)

Midnight Massterpiece is more like it. Anything from Mike Flannigan is great. Also check out Midnight Club. It's not particularly scary, but more touching and sad, in a good way.

[–] trevor@lemmy.blahaj.zone 11 points 1 week ago

Yeah. I intentionally buy my games on Steam for ethical reasons because Valve contributes to a positive gaming ecosystem by making things run seamlessly on Linux.

GOG contributes to a negative gaming ecosystem by making Windows the "easy" option and not making use of Proton (or similar tech). Hopefully they fix that one day, but they don't seem to care.

10
submitted 8 months ago* (last edited 8 months ago) by trevor@lemmy.blahaj.zone to c/docker@programming.dev
 

I am looking for something that can take a Dockerfile, like the following as an input:


FROM --platform=linux/amd64 debian:latest
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && apt install -y curl unzip libsecret-1-0 jq
COPY entrypoint.sh .
ENTRYPOINT [ "/entrypoint.sh" ]

And produce a a multi-stage Dockerfile where the last stage is built from scratch, with the dependencies for the script in the ENTRYPOINT (or CMD) copied over, like this:


FROM --platform=linux/amd64 debian:latest as builder
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && apt install -y curl unzip libsecret-1-0 jq

FROM --platform=linux/amd64 scratch as app
SHELL ["/bin/bash"]

# the binaries executed in entrypoint.sh
COPY --from=builder /bin/bash /bin/bash
COPY --from=builder /usr/bin/curl /usr/bin/curl
COPY --from=builder /usr/bin/jq /usr/bin/jq
COPY --from=builder /usr/bin/sleep /usr/bin/sleep

# shared libraries of the binaries
COPY --from=builder /lib/x86_64-linux-gnu/libjq.so.1 /lib/x86_64-linux-gnu/libjq.so.1
COPY --from=builder /lib/x86_64-linux-gnu/libcurl.so.4 /lib/x86_64-linux-gnu/libcurl.so.4
COPY --from=builder /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so.1
# ...a bunch of other shared libs...

# entrypoint
COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]

I've had pretty decent success creating images like this manually (using ldd to find the dependencies) based on this blog. To my knowledge, there's nothing out there that automates producing an image built from scratch, specifically. If something like this doesn't exist, I'm willing to build it myself.

view more: next ›