[-] AldinTheMage@ttrpg.network 8 points 2 months ago

It's harder to review code than to write code. On our team reviewing has always been the bottleneck. Faster output would actually make things harder in some cases.

32
submitted 3 months ago* (last edited 3 months ago) by AldinTheMage@ttrpg.network to c/micro_maps@ttrpg.network

I love the idea of modular micro maps that can connect together, so I've been working on a solo RPG that uses that mechanic. This is a map of floor 13 of the dungeon I'm exploring, constructed from 6 basic room shapes (with a little flexibility to make them join up in some places).

The shapes I use with 1d6 are:

  1. Straight hallway
  2. L shaped hallway
  3. T shaped intersection
  4. Four way intersection
  5. S shaped hallway
  6. Open rectangular room
[-] AldinTheMage@ttrpg.network 9 points 7 months ago

It's not about the ads to buy things. That's part of it for sure, but it's more than that.

Google, Meta, Microsoft, etc. want your data, your habits, routines, opinions, etc, so they can influence the way you think and behave and understand the world.

There's a clip I saw recently of Peter Thiel saying they could never get people to vote for the things they want to do, so instead they are using technology to change things.

Even if you block ads, if you still use platforms owned by tech mega-corps, they have your data. Sure you might not see the targeted ads, and so you think you're coming out ahead, but you don't realize that every piece of content you see between the ads you've blocked is being filtered to influence the way you think about the world.

[-] AldinTheMage@ttrpg.network 6 points 8 months ago* (last edited 8 months ago)

From what I know, headless means different things depending on context - in this instance I'm using it in the sense that my server does not require any user session, or any user input devices, it just powers on and all of the services start up at the system level. I can SSH into it to configure things, but it doesn't require any user session or input to run the services. A video output probably falls outside of this in some sense, but I would like it to be automatic without requiring an active user session.

The monitor I have is an old Panasonic tv / radio combo, so the display can be flipped on with a physical switch when I'm at my desk, so shouldn't be any wasted power usage. It won't be on all the time.

I'm using Linux Mint, which is probably not optimal, but I had a USB ready and I'm just using terminal stuff so it didn't seem like it mattered too much. It does have systemd, which made it pretty easy to set up the docker stuff

Thanks for the input!

36
submitted 8 months ago* (last edited 8 months ago) by AldinTheMage@ttrpg.network to c/linux@programming.dev

I have an old laptop set up with mint (what I had a usb laying around for) and running foundryvtt with docker. That's all set up and working great, starts services on reboot, runs headless.

What I would like to do, mainly because I think it would look cool, is have a small CRT screen that I have plugged into the laptop via HDMI to display the performance status with htop, or docker output or something. I can do this with starting a terminal session with the other display plugged in, but this requires user interaction and all of that.

This side of linux is kind of new to me, so I am not sure what direction I need to start looking in. Is it possible to set up a service to run headless and output to a display in a way that automatically comes up if the device is rebooted? Or is it possible to modify my existing docker container to output logs to display?

Appreciate any input to help get me pointed in the right direction.

EDIT: Solved!

Thanks to everyone for pointing me towards getty, grub boot settings, and bash profiles - got a setup that I'm happy with.

I was able to disable the laptop monitor and enable the CRT by adding this to /etc/default/grub

# Disable laptop monitor (LVDS-1) and only output to CRT (HDMI-A-1)
GRUB_CMDLINE_LINUX_DEFAULT="video=LVDS-1:d video=HDMI-A-1:1024x768"

(don't forget sudo update-grub to apply)

I initially set it to 640x480, but display was better with higher res and large font size, which I scales up with sudo dpkg-reconfigure console-setup

I created a service account for this, and set up a systemd service to start getty on that account based on those docs

[Service]
Type=idle
ExecStart=
ExecStart=-/sbin/agetty --skip-login --noreset --noclear --autologin axies - ${TERM}![](https://ttrpg.network/pictrs/image/cf0ab3f3-9674-4578-a230-c8f3df7a7bdc.webp)

Then I added htop to the ~/.bash_profile for that user and... done!

Only thing is there is some overscan on the display and initially about 3 rows / cols were cut off on each side. I was able to adjust the CRT display itself to mostly mitigate this, so now only a bit is cut off and it's usable, but it's not perfect. I tried setting the margin in the video options in grub with margin_top, margin_left etc., as per these docs but that didn't work, even though I verified the resolution was applying correctly. But it is functional!

[-] AldinTheMage@ttrpg.network 21 points 9 months ago

I love Debian. Been using it on my laptop for over a year. Some specific drivers are a little fiddly if you have nvidia graphics but it's not too bad, lots of good info on the debian wiki.

[-] AldinTheMage@ttrpg.network 34 points 9 months ago

That's why we use JavaScript on the front end, JavaScript on the back end, and you can streamline it even more by using JavaScript for the db layer too. After all, if you have too much data to be reasonably parsed in a single .json file, you are probably just architecting wrong.

[-] AldinTheMage@ttrpg.network 6 points 10 months ago

Only exception I have seen was when the professor was kind of a troll. He was a good teacher. This was in a pretty entry level physics class at a tech school, so we basically got a high school level physics as a pre-req for our degree in whatever 2 year program we were in.

He spent the week leading up to the first big test talking about how hard it was, how people needed to take it seriously, etc.

He handed out the grades after and everyone was visibly upset, nobody had a passing grade. Then he explained, after letting us freak out for a minute, that the score at the top was out of 50, not 100 and I think everyone passed

After that the class pretty fun.

[-] AldinTheMage@ttrpg.network 11 points 10 months ago

"Install this bloated spyware in exchange for a little bit of convenience" is like 80% of modern tech and I don't know how people are just ok with that

103

My distro of choice is Debian (I like their philosophy and it works great on my laptop) but I have an nVidia card in my desktop PC, and driver management was kind of annoying. Decided to try Kubuntu, which worked ok, but I didn't really love, and then I didn't update for a bit too long and had some repo issues trying to install updates. I didn't bother digging into what the fix would be, since I had been considering Bazzite for a while, as it has been talked about a lot for gaming.

Knowing literally nothing other than "Bazzite works out of the box with nVidia" I figured I'd give it a go. First off, I was surprised at the size of the image, and how long the install took. I did some reading about atomic distros and began to understand why things were set up that way. Seems pretty cool! I still don't love that as soon as I logged in on my fresh install, Steam opened up and asked for a log in, but that is what I signed up for with Bazzite, I guess. The nVidia drivers out of the box worked fantastic, as advertised, and I love a good KDE desktop, so it's not all bad.

Initially I was frustrated that some things weren't working in the flatpak versions of the app (couldn't get to my 3d printer using the .local address from the browser because flatpak has a bug with mDNS) and layering a package with rpm-ostree seems like overkill and not a good experience. Then I watched some videos on distrobox.

I can just distrobox create --image debian:latest debian-box and then use apt install for whatever packages I want, export them and use them as if they were natively installed on Bazzite??? And this works on any distro??? I have been using Linux exclusively for a few years (and on and off for more years), but I have been totally out of the loop with distrobox and atomic distros. This feels like the same level of magic I felt when I first dual booted Ubuntu back in the Windows Vista days. This seems like it will fix 99% of the issues I run into on Linux.

I know distrobox isn't exclusive to atomic distros, but I wouldn't have discovered it if not for Bazzite.

Anyway, none of this is really new info, but I just wanted to nerd out about it for a bit with people who will know what I'm talking about.

[-] AldinTheMage@ttrpg.network 15 points 1 year ago

Pork is red meat

[-] AldinTheMage@ttrpg.network 7 points 1 year ago

Definitely recommend playing or replaying old games. I've recently put hours into replaying Morrowind and Jedi Academy.

The main game I've been playing lately is Mount & Blade Warband from 2010. Got it for a couple $ and have been loving it. I missed it when it came out and recently a friend had been talking a lot about how much fun it used to be.

I have played a few newer AAA games that I uninstalled after a few hours. Sure there's some great new games, especially from small publishers or indie devs, but there's a lot more slop like you said.

22
submitted 1 year ago* (last edited 1 year ago) by AldinTheMage@ttrpg.network to c/micro_maps@ttrpg.network

It's meant to be played on graph paper. The general idea is a randomly generated dungeon crawl. When you get to a door, you roll 1d6 and draw the next room! Each M is a monster, and each L is loot, which also has random tables to determine what is what, or you could use random tables from any other system with the general idea.

16

I started working on a solo notebook RPG after getting sucked into GnollHack on my phone ruined my progress on reducing screen time (also RIP Grindor, level 19 elf ranger, killed by Scorpius due to me not understanding illness mechanics😭).

I wanted something on paper that has a similar vibe (though this has nowhere near the depth). Just fighting monsters, exploring infinite dungeons, collecting loot and learning spells.

I have never written an RPG system before, but it was fun! I'm still finishing up development and making tweaks as I play, but it's finished enough to play test!

[-] AldinTheMage@ttrpg.network 28 points 1 year ago

I'm the guy but instead of a pyramid scheme I'm just trying to get all of my friends to install Linux and switch to fediverse social platforms

[-] AldinTheMage@ttrpg.network 6 points 1 year ago

AI art is unethical

view more: next ›

AldinTheMage

0 post score
0 comment score
joined 2 years ago