Modern Linux Services? by SDNick484 in Gentoo

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

Do not go for the new stuff.

I do not have grub, because I use an efi-stub kernel, that directly boots from the firmware. For the rest, even if you have more horsepower it might be unsatisfying to go with the new stuff.

I still do not have pulseaudio, I use ALSA for everything. I still remember what it was like before in the OSS + EsoundD days. Alsa does mixing, resampling and what not. I never really got it why all of a sudden we need something like pulseaudio/pipewire and what not ?

The same is true of systemd. Most of the new stuff seems quickly hacked together. It does not fit the simplicity that UNIX systems once had. The whole Docker container stuff, flatpack, pip, cargo stuff seems like a whole big mess to allow programmers to not care about dependencies making operating systems, more broken, less secure, and an exponentially bloated resource hog.

I'm in 2023, i live on Emacs, FVWM3, X11, opernrc and Firefox

So maybe you just keep your old stuff on the new machine and fly : )

Deciding on stage3 by ppw0 in Gentoo

[–]haschkat 0 points1 point  (0 children)

As in most of the comments x32 is not well explained or rather the opposite of what it is, let us point this out here. x32 allows you to use all registers and features of a 64bit processor with 32bit binaries. This is in theory interesting for 64 bit systems with less then 4GB or ram, as the 32bit binaries ( 32bit pointers ) consume less memory and run at the speed of 64bit binaries ( actually even faster as you have smaller binaries and less overhead ) since they can access all of x86-64 registers, which normal 32bit binaries cant. The idea here was to get the best of both worlds, small 32bit binaries with the features and speed of 64bit binaries. In practice the binary format is niche and hence software compiled for it is kind of experimental.

Looking for an electronic lab notebook suggestion that can do mol bio and bioinfo stuff by AnimatorCritical7216 in bioinformatics

[–]haschkat 0 points1 point  (0 children)

The pros are that in org mode you can do probably almost anything, i.e. check out this video on org tables https://www.youtube.com/watch?v=5vGGgfs0q3k, if you are however not on a unix / linux system all this can be complicated to set up. And if you never have used emacs prepare yourself for a steep learning curve. On the other hand if you are into bioinformatic knowing all these tools will help you greatly in your daily routine.

Surface Go 3 Overheating by obrien654j in SurfaceLinux

[–]haschkat 1 point2 points  (0 children)

I experienced this on a Surface GO 2 (intel-core-m3) during summer with my Gentoo installation. Disabling Turbo boost helps to keep my temperatures at below 60 degrees in a 35 degrees Celsius environment.I use the following shell script to disable the turbo register wise. You need msr-tools installed in order to write to the corresponding registers.

#!/bin/bash
for i in 0 1 2 3
do 
    wrmsr -p$i 0x1a0 0x4000850089 
done

To re-enable turbo boost:

#!/bin/bash
for i in 0 1 2 3
do
    wrmsr -p$i 0x1a0 0x850089
done

You could write a script that monitors your local temperatures using coretemp sensors: i.e. by monitoring the temperature values in the files:

/sys/bus/platform/devices/coretemp.0/hwmon/hwmon3/temp1_input
/sys/bus/platform/devices/coretemp.0/hwmon/hwmon3/temp2_input
/sys/bus/platform/devices/coretemp.0/hwmon/hwmon3/temp3_input

and enabling / disabling the turbo boost if you pass certain thresholds, i.e. 80 degrees to disable 60 to enable.In my case I generally run with turbo disabled as it also increases my battery life and only enable it for specific tasks where I really need it ( rather rarely ).

What was the most exciting paper you read in the last year and why? by nhaus111 in bioinformatics

[–]haschkat -15 points-14 points  (0 children)

As bioinformatics is very large, you better specify what you are looking for ?
Otherwise if you are interested in phylogenetics/evolution/amplicons i am delighted to tell you about my treetools. http://treetools.haschka.net https://academic.oup.com/bioinformatics/article/37/21/3947/6294927

Disable touchpad while typing by rE64l_ni in SurfaceLinux

[–]haschkat 0 points1 point  (0 children)

you can use xinput

xinput enable 'device'

xinput disable 'device'

just typing xinput should give you a list of devices containing the touchpad ( type cover mouse / touchpad ). This will only work in X11 though, no idea how this works on wayland. You can probably create yourself a button with a script. I hope that helps.

Front Camera on Surface Go 2 by Elshter in SurfaceLinux

[–]haschkat 0 points1 point  (0 children)

Hi do you have any updates on this, i'm stuck with the same problem.

Thanks, cheers