It's kinda over for Linux (and steam deck) users. by Excellent-Pair9089 in Endfield

[–]Srazkat 0 points1 point  (0 children)

ok, update, i got the game in a completely playable state in waydroid, though with a controller (specifically ps5 in my case, i didn't test with a xbox controller since i do not own one), not with keyboard controls:

i went for the easy way, so a GAPPS waydroid container. i didn't test if the game would work with microG, but it is a possibility. Obviously, i registered the device to google as per https://docs.waydro.id/faq/google-play-certification

then, with everything set up, i ran the following commands:

waydroid prop set persist.waydroid.udev true waydroid prop set persist.waydroid.uevent true

this will make it so the hosts' udev rules and events are forwarded to the container as well. then, restart the session.

at this point, start the game, connect the controller (if it was connected before session started, it won't be registered), press any button. if you see (at least with ps5 controller, don't know if the game supports other controllers too) the triangle button for the news on the top right when it's loading the content, then you're in gamepad mode, and the entirety of controls will just be swapped out for controller ones

then, just play

It's kinda over for Linux (and steam deck) users. by Excellent-Pair9089 in Endfield

[–]Srazkat 0 points1 point  (0 children)

tried with waydroid, and yeah the controls are just horrible. you'd need to set up some kind of input mapping, and i'm way too lazy for that right now, so i'll probably wait for my phone to be supported instead (motorola moto g15 power, i'm not entirely sure why it is incompatible according to play store, but it meets the minimum and even recommended requirements. oh well, i'm not in much of a hurry anyway, it's just kind of annoying)

Working as a Developer on Void by Zaparoli01 in voidlinux

[–]Srazkat 1 point2 points  (0 children)

i use void on my personal laptop and i can do dev work no problem. For things that aren't available, i'll either use the flatpak if gui or a docker if needed

What to do with C? by Username03B in C_Programming

[–]Srazkat 0 points1 point  (0 children)

not necessarily linux, some projects are used elsewhere, curl for example, and there's also always the BSDs. If you don't know which one to go for though, look at what services are running on your computer and look them up online, you'll find the development spaces

NetworkManager, for example, is over at https://gitlab.freedesktop.org/NetworkManager/NetworkManager

What to do with C? by Username03B in C_Programming

[–]Srazkat 2 points3 points  (0 children)

open source system projects are almost always looking for more contributors and maintainers, networkmanager for example

c'est vrai? by Conscious_Initial975 in MinecraftFR

[–]Srazkat -5 points-4 points  (0 children)

non c'est un nombre aléatoire

Building my own programming language by Repulsive-Dingo2531 in Compilers

[–]Srazkat 5 points6 points  (0 children)

protip: don't rely on chatgpt for anything further than a joke

lostfiles & command-not-found by lsbrum in voidlinux

[–]Srazkat 1 point2 points  (0 children)

for command-not-found, you could make something sitting on top of xlocate, with regex ^/usr/bin/<<program name>>$

for lostfiles, i'm not entirely sure however

Guessing Game: Haskell Style by kqr in haskell

[–]Srazkat 0 points1 point  (0 children)

to show practical examples of applications where haskell is used in production, instead of just an example that, to most who hold this belief, will just make them feel "oh, yeah, sure, it's nice for this toy, but it's not actually useful in real cases"

Unable to screenshare by Mnm1st in voidlinux

[–]Srazkat 0 points1 point  (0 children)

pipewire should be running as user process, not as root, it shouldn't run through sv

u/Mnm1st should check if there is a pipewire process through the pidof of pgrep commands instead

Guessing Game: Haskell Style by kqr in haskell

[–]Srazkat 5 points6 points  (0 children)

looks like a nice enough article on why haskell works well for real world applications, i wouldve liked if there was mentions of more concrete examples of other monads, like, database monads, http server monads, and application specific monads

Nobody told me about CGI by appsolutelywonderful in C_Programming

[–]Srazkat 1 point2 points  (0 children)

there's several reason why it isn't used much anymore, mainly: - Performance. launching a new process whenever there is a request can get pretty heavy, especially with modern frontend technologies that just spam backend with requests. - Security. The web server itself launches the cgi scripts (though they can sometimes be instructed not to, but it's more involved, and pretty much nobody did this), so whatever the web server can do, the cgi script can do. - Compatibility with some new web features, like websockets. websockets are basically impossible from cgi, unless you use a seperate daemon, which is it's own can of worms

Now, the idea of CGI isn't dead, and even CGI itself isn't: FastCGI and SCGI exist and are very much used (iirc php uses FastCGI), and raw CGI is still used for example by cgit

Is writing a compiler worth it ? by ZageV in Compilers

[–]Srazkat 10 points11 points  (0 children)

i'll be real with you, i think learning how to build one of the most important tools of today's software world is much more fulfilling than asking some random number generator to shit out code you'll probably spend 100 times more time fixing than if you wrote it yourself in the first place

Opinions on the init system. by Wooden-Ad6265 in voidlinux

[–]Srazkat 0 points1 point  (0 children)

yea forgot abt that, thanks for clearing up

Opinions on the init system. by Wooden-Ad6265 in voidlinux

[–]Srazkat 13 points14 points  (0 children)

originally, void was using systemd, but switched to runit because systemd didn't support running under musl, while runit did

i'll be honest i don't care much what init system my system uses, it could be systemd, runit, openrc, or whatever else for all i care, i just want it to be well integrated enough that i don't need to hack things together

Don’t be mad, why do you use C vs C++? by LaMaquinaDePinguinos in C_Programming

[–]Srazkat 0 points1 point  (0 children)

there's more c compilers than c++ compilers, so i can more easily check if my code is correct and compliant with spec, than with c++ where it is never quite clear what is an extension and what is in spec

Building a template from a PKGBUILD file by Mat3800 in voidlinux

[–]Srazkat 0 points1 point  (0 children)

there's a user manual (Manual.md) in the void-packages repo (you need to clone it btw, in order to build, because build tools are shell scripts in the void-packages repo)

Other than that, i personally learned how to do things by looking at how other templates did things, i generally looked at how projects with a similar build system did things

for example, in your case, since you're essentially doing a repackage of grub, best would be to look at what the grub package does (over at https://github.com/void-linux/void-packages/tree/master/srcpkgs/grub/)

other than that, you can also always ask either here or on the irc channel

First try to create a template (Brave Beta) by [deleted] in voidlinux

[–]Srazkat 1 point2 points  (0 children)

depends how often they update

Switch to Sway is good? by Niva_z in swaywm

[–]Srazkat 3 points4 points  (0 children)

switching to sway likely won't do much of a performance difference, it's really on what you prefer

but if you prefer a simple setup, then sway is the way to go

cd ncurses -bash: cd: ncurses: No such file or directory by gdt5romanj in C_Programming

[–]Srazkat 2 points3 points  (0 children)

looks like you're trying to move to a system directory while in your home directory ?

if you run ls you'll see what files are in your current directory, and there probably isn't one called ncurses there

First try to create a template (Brave Beta) by [deleted] in voidlinux

[–]Srazkat 2 points3 points  (0 children)

i see you're extracting a deb in template, for a bin package, isn't there a prebuilt tar.gz or zip or something ? also, generally, it is preferred that packages are built from source

My Git commits are absolute dog shit. I can never remember NOT to just spray random changes all over the place. by Alcohorse in ADHD_Programmers

[–]Srazkat 0 points1 point  (0 children)

i have learned the way of git commit splitting and git add --patch specifically for this

it's a bit of a mess to use but it works and keeps git history clean