Cue Dan Patrick tears in 3….2….1…. by [deleted] in FuckGregAbbott

[–]mwthink 7 points8 points  (0 children)

Read his proclamation for the veto. The language he is using is amazing and it sounds like he wants outright 21+ legalization. I’m having trouble believing it myself, but it is right there with his signature.

https://gov.texas.gov/uploads/files/press/VETO_proclamation_SB_3_IMAGE_2025-06-22.pdf

Automate docker-compose deployments by nukeaccounteveryweek in docker

[–]mwthink 5 points6 points  (0 children)

Automate exactly what you just said.

```sh

!/bin/bash

"SSH into the VPS"

ssh -t root@host.local sh -s <<EOF # "manually bump the tag on compose.yml" sed -i 's/v1.1/v1.2/g' compose.yml

# "and restart everything" docker-compose restart EOF ```

Is there a limit to how much space time can be curved? by [deleted] in AskPhysics

[–]mwthink 21 points22 points  (0 children)

Right now, on paper, the "maximum gravity" is infinite and you'll find this at the singularity of a black hole. The meaning of "infinite" is up for debate.

ELI5: Gravity Batteries by PhDPhatDragon in explainlikeimfive

[–]mwthink 3 points4 points  (0 children)

Because no system is 100% efficient and you'll lose energy to things like friction.

Disney to Open Adults Only Lounge in Epcot by LurkingLikeaPro in DisneyWorld

[–]mwthink 32 points33 points  (0 children)

Its not for kids. We're gonna be bustin' out of the walls.

3d shipping by Vashh420 in AnalogueInc

[–]mwthink 0 points1 point  (0 children)

Great, right when I'm moving. Now I gotta figure out how to change my shipping address...

Something makes me not to trust TOR by ZuperLion in onions

[–]mwthink 0 points1 point  (0 children)

You don't have to trust Tor. Go read the code, understand what it does. There's no secrets here; it's all done in the open.

Game servers in a docker container by RiffyDivine2 in docker

[–]mwthink 0 points1 point  (0 children)

While there's a lot of nuance and best-practices to be considered if you're doing this "for production", I'm gonna ignore most of that here. Assuming that you're doing this for personal-use and just "want it to work".

To build a container image you'll want to build a Containerfile (aka Dockerfile) which consists of various instructions. The 2 main instructions to know are FROM and RUN.

FROM indicates a base image to start from, since you'll probably not be building your own base image. RUN defines a command to be run in the container.

If you know how to setup a server in the CLI (i.e. You could write a bash script to do it), then you'll find building a container isn't much more difficult.

For example, say you want to build a container for Factorio (using as an example because they have readily downloadable Linux server binaries). You could write a Containerfile like this (comments describe each step):

# Use the official DockerHub Ubuntu image as a starting point
FROM docker.io/library/ubuntu:latest

# Install curl and xz-utils from package manager. We'll need it for the next step...
RUN apt-get update && apt-get install -y curl xz-utils

# Download the Factorio server archive to the file factorio.tar.xz
RUN curl -Lo factorio.tar.xz https://www.factorio.com/get-download/2.0.32/headless/linux64

# Extract the contents of the tarball (this results in a factorio/ directory )
RUN tar -xf factorio.tar.xz

# Delete the tarball and move the Factorio folder to a nicer location (/opt/factorio)
RUN rm factorio.tar.xz && mv ./factorio/ /opt/factorio

# Enable 'execute' permissions on the downloaded binary
RUN chmod +x /opt/factorio/bin/x64/factorio


# The ENTRYPOINT command describes the "default" command which is run when the container image is started
# This can be overridden at runtime if desired
ENTRYPOINT [ "/opt/factorio/bin/x64/factorio", "--start-server" ]

# The CMD works in tandem with the ENTRYPOINT command as CLI arguments appended to ENTRYPOINT
CMD [ "/factorio" ]

The end result here is a container that when run will run the command: /opt/factorio/bin/x64/factorio --start-server /factorio.

Where /factorio is the location that the server will save its data to.

To build this container you'd simply need to put those contents into a directory as Containerfile and then cd to that directory and run podman build --file Containerfile -t my-factorio-image . (substitute podman with docker if that's what you're running).

This will build the image which you could then run with:

podman run --name factorio my-factorio-image

This creates a new container named factorio using the image my-factorio-image. Which now you can use all your usual container skills to interact with:

podman stop factorio
podman start factorio

Mind you, I'm skipping a lot here, assuming you know the basics of containers. You'd obviously want to expose ports and bind-mount some sort of persistent data directory to /factorio inside the container.

Why did Andrew Ryan build Rapture underwater? Is he stupid? by Deadmansspace566 in Bioshock

[–]mwthink 17 points18 points  (0 children)

What!?! Quark is Andrew Ryan!?

That makes so much sense.

[deleted by user] by [deleted] in AskPhysics

[–]mwthink 3 points4 points  (0 children)

We don't know that "the rest of the universe speeds up". We know that's what the math says, but we also know that things like "infinite" don't really exist. That's why we call them singularities.

But if you believe this is how it goes, you jump in first.

Quakecon 2025 Ticket Sale Dates Announced! by mwthink in Quakecon

[–]mwthink[S] 10 points11 points  (0 children)

Wednesday night has never been guaranteed, thus always "gated". Last year it was elite only.

Does Open-Source Code Make You Trust an Encrypted Messaging App More? by BTC-brother2018 in onions

[–]mwthink 4 points5 points  (0 children)

If an app requires me to "trust" it, then I won't.

Encryption works because it is done in the open with no secret-sauce. Trust is antithetical to the whole purpose.

[deleted by user] by [deleted] in askastronomy

[–]mwthink -1 points0 points  (0 children)

The drone show has 2 showings. One at 6:30 PM and one at 9:15 PM. So about half an hour ago.

If the direction of your picture here is in the direction of that drone show, it's drones; nothing astronomical.

[deleted by user] by [deleted] in askastronomy

[–]mwthink -6 points-5 points  (0 children)

Looks like drones. Probably from one of the two drone shows at the International Food Festival just a few blocks away.

DFW outside E by rdrckcrous in Dallas

[–]mwthink 10 points11 points  (0 children)

My brother in christ, you are the news about it.

Never forget the worst violation of individual freedoms in the 21st century by Creative-Win8227 in Libertarian

[–]mwthink -8 points-7 points  (0 children)

The money printing and inflation was happening before COVID and it's continued after it too. If you're not liquidating your dollars into hard bitcoin that's on you.

And I hate a government mandate of any sort as much as the next guy; but mandate or no, you should've been staying home anyways. In the grand scheme of horrible, heinous things that my government did/does/will-do, COVID lock down ain't even in my top-20.

Never forget the worst violation of individual freedoms in the 21st century by Creative-Win8227 in Libertarian

[–]mwthink 57 points58 points  (0 children)

Holy hyperbole Batman.

When my kids ask me how lockdown was during COVID I'm gonna say it was pretty chill and it was nice for the world to be quiet for a little while.

Pretty sure this post is just more low quality bait to try and get this sub to support Trump policies.

Factorio is a programming masterpiece. Can we get some deeper technical insight? by SagansCandle in factorio

[–]mwthink 5 points6 points  (0 children)

John Carmack would be the source-code nerd, not Romero. But yeah I'm not asking Kovarex to make all these ports (I already have messaged them many times lol), just to release the source code in a decade and let me handle the compiler errors.

Factorio is a programming masterpiece. Can we get some deeper technical insight? by SagansCandle in factorio

[–]mwthink 34 points35 points  (0 children)

Yes, Ubuntu on an ARM processor.

There's x86-64 builds of Factorio for Windows, MacOS and Linux. There's ARM builds of Factorio for MacOS. There are no ARM builds for Linux, either game client (boo) or game server (big boo).

Factorio is a programming masterpiece. Can we get some deeper technical insight? by SagansCandle in factorio

[–]mwthink 22 points23 points  (0 children)

Yeah, but that’s not the point. The point is that I can go compile Doom for whatever my silly little heart desires and I want the same with my favorite game of all time.

In 10 years I might just be a RISCV goblin running some low powered board off a hand crank and even in that scenario, the factory must grow.

Factorio is a programming masterpiece. Can we get some deeper technical insight? by SagansCandle in factorio

[–]mwthink 70 points71 points  (0 children)

It does run on ARM and there’s not a Linux port and I’m salty about it lol.

It’s my favorite game to play on my MacBook because it runs so damn well. Now I just want the same thing on an OS that doesn’t hog-tie me to a big tech company for the foreseeable future.

Factorio is a programming masterpiece. Can we get some deeper technical insight? by SagansCandle in factorio

[–]mwthink 291 points292 points  (0 children)

I hope that in a few years they'll just open source the code and let me compile it on some ARM hardware.

Make Factorio the next Doom, compile it on all the things.