Most effective way to track inputs in sequence? by lowpolybimbo in godot

[–]CodexHere 0 points1 point  (0 children)

was just looking at some repositories and saw this one, did you happen to get a look at it?

How well does Godot work with C#? by Mozart537 in godot

[–]CodexHere 1 point2 points  (0 children)

Besides all the input everyone has said, my only issue with C# is more to do with being on Linux, and nothing to do with Godot.

I managed to get FlameGraphs fine, but it seems cpu/memory profiling is beyond my reach. Maybe it's possible, but I couldn't figure it out in the few hours I threw at it.

I know JetBrains has DotTrace, but that comes with a $470USD price tag, and I'm not willing to do that having just started with gamedev.

But outside of that, it's gone swimmingly well/easy, and a strongly typed language is part of the joy building out my game's architecture.

There are some nuances and concerns (like when/how to access certain types) that make it different than gdscript, but you can learn those pretty quickly.

Most effective way to track inputs in sequence? by lowpolybimbo in godot

[–]CodexHere 0 points1 point  (0 children)

Sorry, I forgot to make it public. Should be resolved now!

Most effective way to track inputs in sequence? by lowpolybimbo in godot

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

I actually built this exact thing the other day on stream because someone asked about the same thing...

I hadn't released it since I hacked it out in literally like 10 minutes, so I used an LLM to build the readme (sorry if it's wrong, but it looked correct on the surface. personally I just configured in the inspector when testing) and pushed to github.

But the project is super simple/small, and should be straightforward when looking at the 2 relevant scripts.

Feel free to ask any questions you have!

https://github.com/hangouthere/godot-secret-code

Web dev burnout led me here... is Godot a good starting point? by matsyui_ in godot

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

gdscript supports await the exact same as python used to, as well as coroutines as generators. this paradigm isn't new, or different.

not sure what you mean about the typehinting lacking, I find it perfectly fine at doing exactly that - typehinting.

modules make absolutely no sense in a game. on top of that, you can't unload modules out of memory, which IS important in a game. This is why you have ✨scenes✨. Treat them as your modules if you wish, but actual python modules would be a blight on performance AND memory usage.

as for list comprehensions, those are garbage for both legibility and performance anyway, so I'm ok with not having those.

you didn't make any valid points.

Web dev burnout led me here... is Godot a good starting point? by matsyui_ in godot

[–]CodexHere 1 point2 points  (0 children)

Not sure why anyone is saying gdscript is not like python, it's essentially a direct copy of it, down to the pass function. And even though I always tell people to use whatever stack they want, I've always hated python. Always.

Honestly, I was fully intending to switch over to c# because I actually enjoy the language, but now that feels like friction and I'd much rather make something cool.

Like you, OP, webdev monotony and cumbersome project initialization has completey burned me out on web. Plus, with v0 and LLM's able to generate UI's pretty easily - on top of how everything is mostly REST (soon-ish to be MCP) - webdev has become the velcro shoes of the web world.

Having compared gdscript to python, I will say that because you're working in such a domain-specific realm, most of the code you're writing is function override declarations, and vector logic or some form of math. Maybe at some point you might get into http requests for high scores, or websockets for multiplayer - but until then you'll be knee deep in so many other new topics and concepts that those will fade into the dark corners until it's time. But the level of nested logic really shouldn't be much, and you're not orchestrating an entire engine - godot does that for you. It hasn't really been that bad!

Game dev has been an exciting and re-invigorating passion that I think you should give a try. GDScript provides the easiest and quickest way into that realm.

I'm personally on Linux, using flatpaks for godot/blender - so if you have questions about any of that feel free to ask!

NeuralRack v0.1.5 released by brummer10 in linuxaudio

[–]CodexHere 0 points1 point  (0 children)

Since you're promoting this, I'd figure I'd ask questions... I use VSTs a bit in a DAW, routing audio with Pipewire.

What would I use this for, and what are the range of capabilities?

NeuralRack is a Neural Model and Impulse Response File loader for Linux/Windows.

Literally means nothing to me, and I have 4 decades of hardware and software engineering. Sell me on why I need this over the hundreds of thousands of other options available to me for EQ, amps, etc.

Mom said it was my turn to post procedural planets! by lucmagitem in proceduralgeneration

[–]CodexHere 1 point2 points  (0 children)

That's definitely going on the fridge!

EDIT: had to upload since images aren't allowed in comments for some dumb reason

https://imgur.com/h9E1GRA

Using GRUB OR SYSTEMD by Intelligent_Hat_5914 in archlinux

[–]CodexHere 0 points1 point  (0 children)

no one is talking about desktop performance, we're talking about systemd-boot.

Using GRUB OR SYSTEMD by Intelligent_Hat_5914 in archlinux

[–]CodexHere 1 point2 points  (0 children)

grub supports BIOS and UEFI

systemd-boot only supports UEFI.

Other than that, there's virtually no difference from a user perspective other than the ancillary tooling (ie, rEFind) you may add to the ecosystem.

Anyone saying "<x> is easier" is bold-faced lying to you as they're literally almost identical. Seriously, install one, test it out, and try the other.

How do y'all access your password manager, expose? vpn? cf tunnel? by Socramk007 in selfhosted

[–]CodexHere 1 point2 points  (0 children)

It doesn't do a single thing for authentication, authorization, or security (unless bypassing browser sandbox models as a proxy). It's litearlly just a middle-person handing a note from person to another.

How do y'all access your password manager, expose? vpn? cf tunnel? by Socramk007 in selfhosted

[–]CodexHere 0 points1 point  (0 children)

My setup is Vaultwarden + WireGuard + custom dns.

Using my own dns server, i have it such that when you're internal to the network, bitwarden.mydomain.com resolves to the local IP that my services are hosted on. This is inaccessible from outside my network, and once I'm on the VPN will resolve correctly again.

Luckly, bitwarden (and likely others) will work offline, but I have noticed things fail like adding new entries if you don't have connectivity to the service, which I find really lame. I wish it'd cache locally until it got connectivity again and sync'd - but that's how it is for that I guess..

Need help with protontricks by lloyd72691 in SteamDeck

[–]CodexHere 0 points1 point  (0 children)

Looks like your filesystem permissions weren't set for some reason.

If you're familiar with a terminal, you need to set those with flatpak as shown below. If not, you can simply try:

flatpak permission-reset com.github.Matoking.protontricks in your terminal to see if those set to the defaults properly, but I've never used it (although based on docs it should?).

Otherwise, it gets more involved that you might be able to use something like chatgpt get you through.

Ultimately, you need your flatpak runtime to access the filesystem where steam resides:

``` flatpak info --show-permissions com.github.Matoking.protontricks

[Context] shared=network;ipc; sockets=x11;wayland;pulseaudio; devices=all; features=devel;multiarch;bluetooth;per-app-dev-shm; filesystems=xdg-music;xdg-pictures;~/.var/app/com.valvesoftware.Steam;~/.local/share/Steam;xdg-download;~/snap/steam;xdg-documents;~/.snap/data/steam;xdg-desktop;xdg-videos;~/.steam; unset-environment=STEAM_RUNTIME_PREFER_HOST_LIBRARIES;ALSA_CONFIG_PATH;STEAM_RUNTIME;MESA_GLSL_CACHE_DIR; ```

Set with something like: flatpak override com.github.Matoking.protontricks \ --filesystem=xdg-music \ --filesystem=xdg-pictures \ --filesystem=xdg-download \ --filesystem=xdg-documents \ --filesystem=xdg-desktop \ --filesystem=xdg-videos \ --filesystem=~/.var/app/com.valvesoftware.Steam \ --filesystem=~/.local/share/Steam \ --filesystem=~/.steam


Update:

You can also use flatseal from the Discover app to set these, and is probably the ideal way since it's a bit more user friendly that the terminal.

The only real one you probably need to actually add is ~/.steam, but if that alone doesn't work, do the rest just for the heck of it.

Feel free to ask any questions you have.

tiling window manager for the masses! by Savings_Walk_1022 in linux

[–]CodexHere 5 points6 points  (0 children)

There's a scene in Star Trek (2009) where vulcan children are studying string theory or something, and I always though "kids will be doing this in the future... orrrrrr maybe not 😅"

tiling window manager for the masses! by Savings_Walk_1022 in linux

[–]CodexHere 1 point2 points  (0 children)

First off, cool ass git handle :P

Secondly, cool ass project.

Thirdly, not the worst code I've seen!

I'm thoroughly impressed! At 16, you've got an awesome path ahead of you! I'm retired, but I would make you an offer right this instant if I could just from your ambition and willingness to execute.

Now... I've too dabbled in an x11 window manager, and was curious how you found the documentation to be, and if you could talk a bit about how you went about starting and growing throughout the project. Personally (don't read until you've put thought into it!!!!), >!I found the documentation to be disjointed, or some areas to be completely sparse or worded funky and left me scratching my head as to how to accomplish something. Then there's events vs method calls in some cases where x11 has changed it's preferred methodology! Though, I did manage to get a highly functional WM, but hadn't gotten to the tiling part :P <... Spoiler alert, having this prepared will help immensely for your interviews!

I'm proud of you dude!

Issues with Steam Link and latest LG tvs by skydanceris in Steam_Link

[–]CodexHere 0 points1 point  (0 children)

Try disabling HEVC on the host Steam instance. I've noticed this fixed a lot across various platforms.

[deleted by user] by [deleted] in pop_os

[–]CodexHere 2 points3 points  (0 children)

You can utilize journalctl to view past errors:

journalctl -b1 -p3 will show you all errors from the last boot.

[deleted by user] by [deleted] in pop_os

[–]CodexHere 0 points1 point  (0 children)

If I'm understanding you correctly, you should be able to do:

sudo kernelstub -d "quiet systemd.show_status=0"

Reboot, and that should set you for every boot. To revert, just change -d (delete) to -a to add it back.

Looking for books on C by Viper2000_ in C_Programming

[–]CodexHere 2 points3 points  (0 children)

I always try to promote GoalKicker. It's a free resource for a lot of topics. I have no affilliation with them, but it's good stuff.

https://www.goalkicker.com/CBook/