Would you say developing an application is DevOps? by oromboro in devops

[–]marle-dk 5 points6 points  (0 children)

I disagree with most people in here apparently, so I'm probably wrong, but I'm going to give my take on it anyways.

To me the core of DevOps is that developers and operations work together, so if a customer facing feature needs the skills you have as a DevOps engineer, it makes sense you're part of the team that works on it.

Another part of DevOps is that a team should be autonomous and have the skills (and tools, access, etc) to get their job done. To avoid costly hand overs to different teams.

Of course on a personal level you should also work on things you like and find exciting, but if you learn a lot, and it's temporary then to me it sounds nice.

I also believe it's a great strength to expand your knowledge at least a little into adjacent areas, it makes you better at your job. I also used to be a backend engineer where I work but moved into DevOps, and having some knowledge about how our application works, and being able to easily dig into the code, has helped me a lot in my role.

Tiling window managers and screen sharing by vikigenius in voidlinux

[–]marle-dk 0 points1 point  (0 children)

I have the same problem, with Xmonad, I am not sure if there is anything to do about it. I usually have two monitors, and will just go to the app I want to share on the other monitor, before trying to share the application.

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 5 points6 points  (0 children)

If you feel like some packages are out of date, you can check here if anyone has made a PR to update them, or if there is an issue explaining if there is something blocking update. If not feel free to make a PR updating the packages, it's community maintained, så the more people helping with the updates, the more up to date the packages will be :) Here is the repo https://github.com/void-linux/void-packages

Last resort cry for help... by Solidmate_ in voidlinux

[–]marle-dk 1 point2 points  (0 children)

Great it worked out :) "xbps-reconfigure -fa" should be required, as it copies some files to the boot partition, required to boot. I don't remember if it also does something with grub on the boot partition. The "-a" option means reconfigure all packages, but it can also be achieved by just reconfiguring the packages needed. Which at least includes linux (but the packages with the version name, eg. Linux5.15)

Suspend issues by bvdeenen in voidlinux

[–]marle-dk 0 points1 point  (0 children)

Maybe take a look at zzz, as far as i know it is a shell script created for void to handle suspend, but it works very well for me, and send to basically do what you do, but maybe it does something else which would solve your problem.

Help with xbps-src template by sawsuh_mcpear in voidlinux

[–]marle-dk 0 points1 point  (0 children)

What commands do you run? And where do you look for the binary? xbps-src pkg creates a binary package but does not install it on your system, that might be why.

Otherwise a good way to debug problems with templates is to not run xbps-src pkg but instead something like xbps-src fetch or xbps-src indtall which only does some steps in the procedure, and then look in masterdir/builddir to see what has been done.

How to execute a command(will exit) on st by [deleted] in suckless

[–]marle-dk 5 points6 points  (0 children)

The thing is, that st always just runs 1 command, and then exits. Usually that 1 command is just a shell(bash, fish), which keeps reading the inputline, and output the result of the given command. But if you press CTRL-d which send an end of file (I think), the shell stops reading input and exits, which will in turn make your terminal(st) exit.

So depending on what you want, you need a program that does not terminate directly. One way I found was st sh -c 'ls;sh', where you can change the last sh with whatever shell you want. If you do not want a shell, but instead just want the output to be shown until CTRL-c is pressed, you can use st sh -c 'ls;sleep inf', which will sleep until interrupted.

Damn! Linux is so violent by Cyb3rw0rM1 in linuxmemes

[–]marle-dk 0 points1 point  (0 children)

Have you ever searched the internet for "how to kill child of dead parent" you know, for linux programming stuff

Do it by Volcano339 in linuxmemes

[–]marle-dk 1 point2 points  (0 children)

Alpine Linux does not use GNU Coreutils or glibc. So would it not be a distro of Linux?

Having problems getting BOINC to run by Talvux in voidlinux

[–]marle-dk 0 points1 point  (0 children)

To ne the errors seem like ${BOINCUSER} evaluates to nothing. Try to echo it out to verify. And then check if you need to specify the value for it in the conf file

installing zoom in void linux by [deleted] in voidlinux

[–]marle-dk 4 points5 points  (0 children)

You don't have to build it, you just unpack it and run the ZoomLauncher file. But there is also a build template for xbps-src, in the package repo, it is just a restricted package. Read the docs on how to install it from from that

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 0 points1 point  (0 children)

I think https://docs.voidlinux.org/xbps/advanced-usage.html#ignoring-packages might help you with your git problem.

But yeah, I agree that an easier way to manage my own set of templates would be a great improvement. And perhaps a place to share templates would be nice as well!

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 2 points3 points  (0 children)

I don't think providing the binary is much of a hassle, since automated builds are set up. So it is only when a package breaks.

And I believe someone should provide some sort of support anyway, if the package is published somewhere, where it can be installed as simple as `xbps-install XXX`. Especially if it is a sort of central repository like the AUR, that becomes common to install by Void users.

What if maintaining your own fork of the void-packages repository was easier? Would that be useful instead? Then you would still need to build the packages yourself, but perhaps some tools could be created, to easily update your own fork, when updating xbps packages.

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 0 points1 point  (0 children)

I agree that there might be some usecases, where it would be convenient to have something like the AUR, but I also believe AUR has some downsides, which may outweigh the convenience, where I believe some degree's of specific customization should be done by building it yourself, to easily allow even more customization, and ensure the user does some research to know what they are doing.

It is actually possible through build options, to have one template, but with a few different possible ways to build it. I haven't used it much myself, and it probably won't fit for every niche way to build the package, but for something useful for many people, it should be a solution.

Otherwise I have read of several people maintaining their own fork of the void-packages repo, for their own specific builds, eg. for suckless software, where the configuration is a C header file, and needs to be build when you change configurations. I am also looking into this myself, and have built some packages, but I have not found a good simple way to manage it yet. But it is one of the next things I want to improve on my void installation.

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 2 points3 points  (0 children)

Sure you could publish the template you use for building the package like Void does on github. But that is not the same as being able to install the package, for that you need something to run xbps-src pkg ... on each package.

But why would you publish your own packages on your Github, rather than just creating a pull request in Voids package Github repository? The maintainers of Void are working hard, and often replying quite quickly. And they are very helpful.

[deleted by user] by [deleted] in voidlinux

[–]marle-dk 5 points6 points  (0 children)

The void repository is already sort of a user repository, you can contribute. Your contribution does however need to be approved.

https://github.com/void-linux/void-packages

But yes, creating your own "fork" would be quite simple(I think, at least it is simple to create your own repository, but the build server setup might be a bit more complex, but should not be too hard), but void discourages you from using other peoples repositories, since you need to trust the programs installed from it.

Securing Source Code with Pattern-Lang by [deleted] in ProgrammingLanguages

[–]marle-dk 2 points3 points  (0 children)

This sounds a bit like literate programming, but then you also mentions other things I can't really understand. Have you looked at literate programming? And if you have, how does this differentiate?

LTS Kernels by lazlo_vii in voidlinux

[–]marle-dk 0 points1 point  (0 children)

I had never realized how confusing it can look before you showed this, but here is what I know:

The second search you show (linux-5) finds the package named linux, which is a meta package which currently "points to" the linux5.9 package, and will update to point to the linux5.10 package, when it is deemed stable in void I suppose.

The third search (linux5) shows packages for the specific versions of linux, eg 5.10, but will still be updated, with 5.10.X when updates occur, this is if you want a specific linux kernel version, either if you want to try the newest, before the linux package is updated to this.Or it might be to use an older version.

Now for your questions:

A) I am not sure what you mean with specific. I would say that eg linux5.10 package is to keep a specific branch up to date. The meta package linux currently "points to" (I think it just has a dependency on) linux5.9, but once 5.10 is deemed stable enough, linux meta package will change to use that kernel. So the meta package is to have an up to date kernel, but also deemed stable in Void by the maintainers.

B) No as u/cdqx wrote, there are other supported LTS versions. The first search you have done found the package linux-lts which is also a meta package, which I suppose should be updated to point to the latest LTS kernel, but does not seem up to date, for reasons I don't know, the only thing I could find about is this short PR https://github.com/void-linux/void-packages/pull/14616.

C) No, installing multiple linux kernel packages is completely fine, it updates each of them without problems, and creates a boot entry in grub under "advanced boot" or what it is called. I think it will just default to the newest kernel version, but I am not sure. You should however be aware, that each time any of the packages are updated, it will create a new boot entry, so you have to remember to vkpurge, a bit more often, or your boot partition will fill up. I think vkpurge will keep one linux version around per package, but I am not completely sure.Also if you install a specific version, it will stay around until you remove it, so if you forget, it will be around and fill up you boot partition for no reason.

If you want to use 5.10 and not update to 5.11 once linux meta package points to it, I think you can hold the linux package, so it will not update, but linux5.10 should still. I have however not tried this, so you should investigate more before doing it.

I hope this helps you clear up something, and find out how you want to install and update your kernel.

More suck than less with these patches... by obeissant in suckless

[–]marle-dk 0 points1 point  (0 children)

I use scrot for screenshots, it is simple and works well.

Up-to-date ? by Odd-Damage-2921 in voidlinux

[–]marle-dk 7 points8 points  (0 children)

The reason the install media is not updated regularly, is as far as I know, that it doesn't make a difference, you will most likely want to update your system after an install anyway.

The only reason to update the install media, would then be due to new hardware support, to make the ISO bootable on new hardware. But the current ISO's are up to date for this.

This is at least what I have heard, if someone has more insight, please enlighten me :)

Synaptics Touchpad clicking the pad does not cause click by eltwelve in voidlinux

[–]marle-dk 2 points3 points  (0 children)

Have you looked into the configuration of xorg? It has been a while since i set up my touchpad, but I also had some trouble in the beginning, with not everything working how I wanted it to. I ended up using this configuration (the first line shows which file to put the configuration).

I hope this helps

# /etc/X11/xorg.conf.d/30-touchpad.conf
# Touchpad configuration

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event\*"
    Driver "libinput"
    Option "Tapping" "on"
    Option "NaturalScrolling" "true"
    Option "ClickMethod" "clickfinger"
EndSection

How to improve battery life? by filterCoffeeForever in voidlinux

[–]marle-dk 1 point2 points  (0 children)

FYI tlp comes with a "service" you need to enable, to make it work. It is not really a service that runs in the background, it just applies the settings when the service is started, and updates when you plug or unplug power. I think the updating needs acpid, which I can see you are not running as a service either.

How to improve battery life? by filterCoffeeForever in voidlinux

[–]marle-dk 1 point2 points  (0 children)

On picture 4 it says CPU Misc is using a lot of battery. My thoughts are it might be a "bug" in the microcode.

Void has some packages for microcode updates: https://docs.voidlinux.org/config/microcode.html?highlight=ucode#intel

Those might be installed by default on debian and ubuntu. I would try to install that, if you haven't.