[-] trevor@lemmy.blahaj.zone 1 points 12 hours ago

No. It's a federal district court. You just have to be a US citizen.

[-] trevor@lemmy.blahaj.zone 8 points 1 day ago

This needs to be plastered everywhere it can be on social media.

[-] trevor@lemmy.blahaj.zone 24 points 3 days ago

Mad TV was like SNL, but funny.

[-] trevor@lemmy.blahaj.zone 19 points 3 days ago

I hope if he has a red line for the SC, it's actually real and unlike the fake one that Israel totally didn't cross.

Pack that fucking court already.

[-] trevor@lemmy.blahaj.zone 13 points 3 days ago

If felons can't vote (they should be able to), they sure as shit shouldn't be able to run for office.

[-] trevor@lemmy.blahaj.zone 2 points 5 days ago

Yeah. I hope as Helix grows more popular, our problems will solve themselves in both directions: where Helix can address them directly, and people start hacking Neovim to work more like it.

Out of curiosity: what issues with the LSP are you having and what distro do you run? I've found that most of my issues could be resolved by running Helix's health checks and making sure that the binaries needed by the LSP are available in $PATH.

Unfortunately, I did start having issues with Go where it seems like the LSP might be crashing and I've yet to resolve that one for myself.

[-] trevor@lemmy.blahaj.zone 34 points 4 weeks ago

You might've gotten an automated denial due to exceeding the standard threshold for refund eligibility. Make another request until it gets human intervention.

[-] trevor@lemmy.blahaj.zone 54 points 2 months ago

Sandboxing does nothing for social-engineering attacks, which is what many of the malicious snaps were designed for.

And the thing that makes the Snap Store uniquely bad is that there's no human review. Anyone can throw up a malicious snap, and there are very good odds that it'll get served there. Even the Flathub, a community-run project, has human reviews before new apps get published. Canonical, despite having money and resources that community projects don't, can't seem to be bothered to take basic steps to protect their users.

[-] trevor@lemmy.blahaj.zone 56 points 3 months ago

They've been too busy doing god's work to get around to something like making an icon 🫡

But seriously: I think the icon looks nice 🙂

10
submitted 3 months ago* (last edited 3 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.

[-] trevor@lemmy.blahaj.zone 38 points 4 months ago

The mistake is forking and hosting it on GitHub. If Haier sends GitHub a DMCA takedown notice, they will comply, and the forks will be deleted too. Use other hosting services for redundancy and keep a local copy.

[-] trevor@lemmy.blahaj.zone 72 points 8 months ago

Still more efficient on resource utilization than animal agriculture. If you hate almond milk for that reason, you should want the dairy industry completely abolished.

[-] trevor@lemmy.blahaj.zone 40 points 8 months ago

Amazon would own slaves if they could legally do it.

Capitalists would own slaves if they could legally do it.

view more: next ›

trevor

joined 11 months ago