@KindaABigDyl@programming.dev
@KindaABigDyl@programming.dev avatar

KindaABigDyl

@KindaABigDyl@programming.dev

I make things: electronics and software and music and stories and all sorts of other things.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar
  • Wayland has several new features like, say, removing screen tearing, but it’s not necessarily “advantages” that are the reason to use Wayland. It’s sort of a redo of how graphics should work in the Linux world, and it will be the standard going forward. X11 development has more or less ceased with those developers moving to Wayland (in fact, Wayland was created by X11 developers to address issues they had with the architecture of X11). It’s not a matter of should you switch to Wayland; it’s a matter of when should you switch to Wayland. The answer is, as soon as you can.
  • Gaming varies drastically. Some games are fine. Some games make me launch Steam via Lutris to start (not sure why it works, but it does) but run fine after. Some games can’t reach higher framerates. That said, no screen tearing is a plus. When it works, Wayland is very smooth, but it doesn’t always work yet. An example off the top of my head, no matter what I do, Street Fighter 6 doesn’t get above 45 fps on Wayland. It’s a good idea to have an X11 option as a backup still imo
  • The best way to migrate is just to install a Wayland compatible DE/WM. I’ve used both GNOME Wayland and Hyprland extensively and they both work great. If you’re used to i3 (that’s what I used to use and is still my X11 backup), Hyprland is great. KDE like you have on your Desktop already works good on Wayland from what I’ve heard.
  • I have made the switch because most of my apps can run on Wayland, and it’s the future. I still have a backup in case there’s a game or something that doesn’t quite work for me. For instance, I can’t share screen on discord. It won’t even recognize the pipewire route. Thus, I’ve gotta switch to X if I want to do that.
KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Systemd is a large piece of software. There are ways to make it smaller and disable various modules for it, but usually by default it’s very heavy.

With a traditional init system, it’s just an init system, and you’ll use other other programs to do the other things. This basically means a chain of interconnected bash scripts. Perhaps you’ll run into some integration issues. Probably not though. It’ll be mostly the same.

There is no real advantage to this from a user perspective beyond a philosophical one. Systemd works quite well at doing the things it tries to do, but it’s the Unix philosophy to “do one thing and do it well,” and some people care very deeply that systemd does not follow their interpretation of that philosophy, and that’s certainly a fair reason to not use it.

However, if you’re not having problems with using systemd, I’d say don’t bother switching.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Idk if I agree with that. The one that’s in my laptop works pretty well. It’s an RTX 3080 Mobile. It’s fairly beefy, and I’m able to run AAA games at max graphics settings at 60+ fps. Sure there are crappy laptops with weak GPUs, but I mean gaming laptops exist and work great in my experience.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Any of them. I’ve gamed on Debian, Pop, Arch, Nix, Fedora, etc. Pick a DE you like, a package manager you like, a release cycle you like, an init system you like, etc and find the distro that matches. If you like Arch then use Arch. It’s perfectly suitable for gaming.

OoT-lineage-Zelda-like Camera and Movement in Godot 4 (www.reddit.com)

I’m making a game that takes heavy inspiration from Zelda games like Ocarina of Time, Wind Waker, and Twlight princess, i.e. OoT-lineage Zelda as opposed to BotW & TotK and games that stem from Link to the Past. It’s not a fan game, of course, but if you like OoT/MM/WW/TP/SS, then you’ll (hopefully) like my game....

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Yeah, I just did that bc there isn’t a way to upload videos to lemmy. I appreciate the help to at least get it to show as a video lol

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Is this what you’re doing here as well

Not at all. I don’t have wall clipping support set up yet at all! It’s a lot more simplistic. I’ve handled wall clipping in a similar camera system before using a SpringArm, but I don’t think that will work here.

What I do here is I have one object that follows just the camera’s y rotation, and I use that to get a forward vector using -object.basis.z.normalized() and I set a target position at player_pos + -forward * FOLLOW_DISTANCE + Vector3.UP * FOLLOW_HEIGHT and lerp to there. That handles moving with the player forward and backwards.

Then in the player code, I read the stick input into Vector3(x, 0, y) and then rotate it based on the camera’s y rotation to put it into screen coordinates. Then I multiply by MOVE_SPD and set velocity.x & .z to the x and z of the product. This makes the player move forward and back with relation to the camera’s forward and back.

However, you move left and right based on the tangent of a circle around the camera because back in the camera code, I have a look_at which causes the camera to turn as the player moves right/left relative to it, causing circular motion.

Beyond that, there are some simple tweaks like a timer that runs before setting a boolean to cause it to rotate back behind the player or only moving if the player is outside of the follow distance. Things like that.

It’s pretty tightly coupled, which isn’t great from a code perspective, but it’s also unlikely to fundamentally change. If that were to happen, I’d probably want to totally rewrite the system anyway.

PS: I like that the test pattern texture of your level has so much detail. Not just the same plane checker square over and over again. :)

I just found it online somewhere years ago lol. Probably opengameart? I no longer have the original source, but it’s pretty good for testing:

https://programming.dev/pictrs/image/c06e8f52-a7cb-4c06-8b29-c7f15eccce1b.jpeg

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Unwarranted fear.

There is a perception of Linux as this hacker, terminal-only OS with a million equal choices and no direction or guides. This is not a true view or at least this is hyperbolic/based on Linux from 15 years ago. It is a stigma that Linux has. Every distro these days has to market itself as “We’re the out-of-the-box distro” which is just silly. Out-of-the-box is meaningless. Even Windows users modify their OS in certain ways. However, it breaks the stigma.

Linux adoption just needs more time. Most of the big issues for adoption have been solved in the past few years, and Linux is ready and knowledge of Linux and removal of the stigma is growing.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

The problem with that is most major distros market themselves as “new user” distros to some extent though. Noob-friendly, out-of-the-box, easy, etc are all distro-marketing buzz-words that mean nothing.

You can’t expect them to only use Wayland, Pipewire, Systemd, and Flatpaks because that dream requires every distro to use Wayland, Pipewire, Systemd, and Flatpaks, which will never be reality.

Most distros will probably eventually adopt these tools, but there won’t be a sudden shift. It will be gradual.

pradeepmalarvannan, to linux_gaming

I've used Linux lite and Fedora(Gnome edition) so far, and trying to hop Distro(plus, I lost my actual boot drive. Not to worry, I know I've left it in my friend's house, so the data is safe. Plus, no important data were on it in the first place).
Considering the recent incidents with the Red Hat Enterprises, I'm not sure if I should go with any of their distributions. Which would be a great OS for me, you guys think? @thelinuxEXP @linux @Linux @linuxmagazine @linux_gaming

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Well, what do you want? You don’t look at Linux and go “out of all these 1000s of options what’s a good one?” Instead, you should say, “I want my computer to work XYZ way,” and that will decide the distro for you.

Do you want a start menu and a bar? Probably want Xfce or KDE. Do you want an app menu? Well there’s GNOME. Do you care about defaults or do you want to customize? Think about what you want from an OS and how it should work and let that guide you to your distro.

Why’d you leave Linux Lite? What made you decide on Fedora? You could always go back to Linux Lite.

There’s nothing gonna happen to Fedora because of RHEL locking down, and there’s no reason for Fedora to be leave, so staying there is a valid option.

What Are Your Favorite SBCs (Single Board Computers), Why, and How Did You Get Into Them?

Like most people, I entered COVID as a normal hobby geek with a Linux server I played around with and a healthy hardware habit with a side of home automation and DD-WRT. I emerged from COVID enrolled in college, now with two servers (one new build, one rebuilt from my first one), two Pi, multiple instances of Home Assistant (one...

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Often even cheaper

Where can I find a cheaper mini PC? They all seem to be like $250+ on Amazon, Beelink included.

Before RPis went up in cost they were $35. Isn’t there anything in that price range?

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

The HP T620 is $275???

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

The big sticking point for me is the camera. It seems like they all have bad (or even non-functioning) cameras. I don’t own a camera. My phone is my camera. I can’t switch to a phone that can’t be my camera.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

LineageOS is Android. I think it was implied the user meant GNU/Linux distros on phones like Mobian or PostmarketOS which run on things like the Pine Phone since if we were talking about using Android, we could just keep our current phones, so that’s what I was referring to when I said they had bad cameras

What was your first experience using Linux? How old were you? Stick around or did you go back to windows before eventually circling back to Linux?

I’ll go first, I took my mom’s college textbooks which came with discs for a couple distros and failed to install RHEL before managing to get Fedora Core 4 working. The first desktop environment I used was KDE and despite trying out a few others over the years I always come back to plasma. Due to being like 12, I wanted to...

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

I discovered Linux when I was learning programming in my childhood. I used it side-by-side with Windows all the way through college where I started daily driving only Linux. I hopped this order mainly: Ubuntu > Elementary > Debian > Arch > Gentoo > Arch > Fedora > Nix. Probably not right when I started programming in 2007 when I was 8, but before I was doing Arduino development at 11, so like 2009-2010ish. Started daily driving in 2018 or 2019

I never went back and forth as I wanted to get away from Windows ASAP since it’s such a terrible line of operating systems that do things the most backwards way possible. For a long time I was in the “I need to have Windows for my games” camp, which is why I maintained a dual boot or a computer with Windows installed, but then Proton happened, and there was no longer any need, and I could fully wipe my hands of that filth

Has anyone used or contributed to OpenStreetMap?

I’ve tried using it over the years but I never liked it because there was no information. So last night I looked at my local city and there is almost no information at all. I spent a few hours last night adding buildings and restaurants and removing incorrect items. It was actually kind of fun and therapeutic and I plan to do...

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

It’s a cool project, but I’ve used it, and man is it not going to be a replacement for Google Maps anytime soon, as much as I’d like to get to a FOSS alternative. I can’t use it to navigate to a building down the street lol

It’s not dumb to contribute though because it’s already okay, so it can only get better than okay, and the way that happens is contributions

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Maybe so, but that’s the only reason I and many others are interested in the project.

KindaABigDyl, (edited )
@KindaABigDyl@programming.dev avatar
  1. Package managers are a godsend and there’s nothing like them on Windows. Chocolatey is okay, but it’s got nothing on Linux pms. This discontinuity between installing and upgrading some applications, other applications, Windows apps, drivers, and system software makes me want to cry.
  2. Customization. Man is Windows lame here. Colors on Windows is about all you can do, and it’s so limited. I bought the machine I should be able to set it up how I like. There are some deeper ways to theme and adjust things more directly, but they’re hard to use and risk breaking your system. On Linux, customization is easy, even on a more pro-default-option DE like GNOME. I just want things to work, and Windows fights me to get it to a usable state.
  3. Bloat, telemetry, ads, proprietary garbage, etc, etc, etc. I like FOSS and using FOSS software, and I can use it on Windows, but I have to have so much other stuff too. Debloat scripts exist, but they can only do so much. There’s always gonna be something Microsoft owns on the system
  4. Complexity and control. Linux is simple. Binaries go in bin, and the settings for them are usually in ~/.config or somewhere in /etc. Want to adjust some obscure setting to fix some issue in a program you installed? Oh go tweak this clear config and explicit setting to fit your hardware or whatever. Easy to fix. On Windows, all the system stuff is not only hidden, it’s restricted, and also so many times on Windows when you run into issues the solution is you have to edit shudder the registry, or worse you have to do a PC reset. Overtime your system slows and blue screens become more frequent too, and there’s nothing you can do. On Linux, you can learn 7 or so folders and understand how your entire system works, keep it maintained, and run it for years. Had a prof in college who was on like a 20yo Gentoo install.
  5. Tiling. There are ways to do tiling on Windows, but they’re all bad and glitchy. Nothing on Windows comes close to i3, and I can’t go back to a non-tiling workflow. Windows wants you to do things the Windows way, and anything outside of that is always lack luster. People talk about Linux balkanization as a problem. It’s not. Those people are just ignorant and stupid. No system can ever really fit all use cases, so it’s important to support choice. Windows doesn’t just promote one way to do things a la GNOME, it actively works against doing things other ways.
  6. Programming. Compilers and dev tools on Linux are so much easier to install and set up than on Windows. If you want to program, you’ve gotta be on Unix/Unix-like
  7. Windows weirdness. There’s so many things on Windows that are just weird decisions. I’ll be using Windows and be like “why the heck did they do it this way?” I’m constantly left scratching my head. Windows has made me lose all respect for Microsoft engineers. They’re clearly stupid. On the other hand, everything on Linux makes sense and has good reasoning behind it. You need to learn very little comparatively to understand your entire system.
  8. Stability. Not talking about applications/upgrades here, but rather Linux will never crash on you, but I can’t go a week without Windows blue screening.
  9. Freedom. I like owning my computer. With Windows, Microsoft owns your PC. Does this directly effect everything constantly? Is it the end all reason for me to switch? No, but it’s icing on the cake. On Windows I feel stuck and miserable. On Linux I feel free and happy.

I wouldn’t ever go back.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Ubuntu Mono.

I think it has support for most special characters, but some of the weirder symbols aren’t there like a handful of IPA characters or emojis.

But you can always get backup fonts on your system just in case

Anyone else starting to favor Flatpak over native packages?

I am currently using Linux Mint (after a long stint of using MX Linux) after learning it handles Nvidia graphics cards flawlessly, which I am grateful for. Whatever grief I have given Ubuntu in the past, I take it back because when they make something work, it is solid....

KindaABigDyl, (edited )
@KindaABigDyl@programming.dev avatar

You have outdated information. There are no longer any tradeoffs to AppImages:

  1. Yes there is no “official” default installation path, but like how XDG_DATA_PATH isn’t technically a standard but practically it is, the de-facto standard is ~/Applications now, and most AppImage-based tools respect that.
  2. They integrate fine with the system. Better than Flatpack and Snap, actually. I’ve had lots of issues with flatpaks not respecting themes, but never AppImages. Not sure where you got that from.
  3. I solved the other problem with AppImages with a package manager I wrote. Centralized location pointing to AppImage urls, and it downloads and keeps them updated. And no, you don’t need to write your own, there are multiple AppImage package managers out there.

On the flip side, there’s no weird extra locations like how flatpak installs apps, you know exactly where the program is in case you want to launch it manually, you can mix apps available in your package manager with ones you download directly seamlessly, no dependency hell or version problems as AppImages are self contained (even multiple versions at the same time), etc, etc, etc all the benefits people spout about AppImages.

AppImages imo are the superior cross-platform package format as there are no tradeoffs and no downsides, meanwhile:

  • Snaps are slow and proprietary
  • Flatpaks suck to create and maintainers select-all on sanboxing, defeating the purpose, so it’s a complicated mess for no reason, and they also have bad theming that never works half the time.
KindaABigDyl,
@KindaABigDyl@programming.dev avatar

The way it feels is like getting the benefits of a source-based distro like Gentoo without the tradeoffs of things like compile times.

KindaABigDyl,
@KindaABigDyl@programming.dev avatar

Idk about “new Gentoo,” as they’re going for different things, for sure, but a lot of the reasons people like Gentoo seem to be true for Nix. Definitely still give Gentoo a try some day.

I used it for a few months and only moved on bc compiling was taking too long and was annoying me :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • DreamBathrooms
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • slotface
  • rosin
  • mdbf
  • kavyap
  • modclub
  • provamag3
  • InstantRegret
  • Durango
  • cubers
  • khanakhh
  • ethstaker
  • thenastyranch
  • Leos
  • normalnudes
  • tester
  • cisconetworking
  • anitta
  • megavids
  • lostlight
  • All magazines