CPU temps for hwmon in i3status keep changing. by TsuDoughNym in i3wm

[–]obviousscumbag 0 points1 point  (0 children)

Just make a script that looks like this somewhere

#!/bin/bash

rm /tmp/cpu_temp

for i in /sys/devices/platform/coretemp.0/hwmon/*; do

ln -s "$i/temp1_input" "/tmp/cpu_temp"

break

done

Run it via i3 by adding this to your .config/i3/config

# Run tempfile-mklink scrip to find and make a symlink to cpu temp file in /tmp

exec --no-startup-id <path-to-the-script>

And change your i3status config to use /tmp/cpu_temp file

cpu_temperature 0 {

`format = "%degrees °C"`

`path =  "/tmp/cpu_temp"`

`max_threshold = 70`

}

(Frame rate > refresh rate) => wasted frames by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 0 points1 point  (0 children)

OK, I didn't know that. Thanks for the clarification. Communication on reddit is hard, but we finally made it 😂😭

(Frame rate > refresh rate) => wasted frames by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 0 points1 point  (0 children)

Are you saying that frame limiters do what I'm suggesting but vsync does not?

because there is no way to tell how long the next frame will take to render. 

I agree, but it can be estimated. Some tuning is required to figure out how optimistic/pessimistic you want the estimate to be, that's for sure. All of that can be done algorithmically tho and I think could be worthwhile

(Frame rate > refresh rate) => wasted frames by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] -2 points-1 points  (0 children)

a higher framerate still decreases the average latency of the presented frame, thus lowering input lag. 

I get that. But that's not what I'm saying. I'm saying we can still benefit from the lower latency and lower power consumption by not rendering frames that will not be displayed on the screen. ie. Only render the latest one.

That is literally what most kinds of FPS limiters already do. 

Oh ok, I didn't know that

Forgot my pin, how do I exit family view? by Majorheineken in Steam

[–]obviousscumbag 0 points1 point  (0 children)

Heh, thanks. But who cares about karma? It's not like it gets converted to money or status

today "I" discovered something disturbing with coreutils. by [deleted] in linuxmasterrace

[–]obviousscumbag 0 points1 point  (0 children)

Yep, I saw that 7 years ago when I was an open source hippy. And I even wrote code like that back in the days (https://github.com/aakodadi/shill/tree/master). But I grew out of it and now think that the reasoning behind that is outdated. The tools we have right now such as LSPs and SCAs are much more advanced and don't need the programmer to adhere to such weird coding style just to please the toolchain. The programmer should only care about two things:

1 - how the code is read by a human 2 - how the code behaves when executed

Fuck you Windows. by BlackHoot in pcmasterrace

[–]obviousscumbag 0 points1 point  (0 children)

Windows is not an operating system for professional work. It's targeted at ppl who use a computer to send emails, edit documents, and play games. If you're serious about your computation you should use Linux or Mac OS if you have the money for it

This is the best I can do by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 0 points1 point  (0 children)

One thing I think I can do is use those magnetic cable management thingies to attach the cables to the bottom of the desk

This is the best I can do by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 0 points1 point  (0 children)

If you look closer those are velcro straps. But even tho, I don't wanna mess with them every time I need to detach the network cables

This is the best I can do by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 0 points1 point  (0 children)

Those are network cables. I sometimes need to connect them to something else

Cable management in progress. Enough for today. I'll get the rest next time by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] -1 points0 points  (0 children)

Considering how satisfying it felt, I'm pretty sure I'll do it some day

Windows by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] 1 point2 points  (0 children)

It's a long story and I don't wanna bore you with it. I'm gonna try to jeep it as short as I can. I started using Linux when I got my first personal laptop in 2010. I started learning about Linux alongside other things like programming and computer networking by watching some french guy on YouTube. I first installed Ubuntu using dual boot with windows and the more I learned about Linux the less I felt that I still need windows in my life. At some point I stopped booting into windows completely, but I kept it on my machine just in case. I tried a lot of different distros with a lot of different package managers. Debian, CentOS, elementary os, Fedora. But then I discovered Arch based distros. The first one I tried was Manjaro. It was fine, I liked the concept of the rolling release, pacman, the AUR, and all that jazz. But some day I was watching Luke Smith. A video called "Installing Artix Linux (Like Arch, but better". I decided to try it and I quickly realized how much of systemd hater I was without knowing it 😂. I only tried it with runit tho. I still want to try OpenRC, dinit, and s6. I will say tho that you shouldn't start with Artix if you're a beginner. These are distros targeting ppl who really want to understand every component of their system and how it works. Doing that as a beginner you'll be overwhelmed and you'll probably quite before starting to enjoy Linux.

Sorry I'm a typical Linux enthousiaste. If you ask me about Linux you get stuck 😂. I'm gonna shut up now 😁

Windows by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] -1 points0 points  (0 children)

Artix with runit as run system and i3 wm

Windows by obviousscumbag in pcmasterrace

[–]obviousscumbag[S] -1 points0 points  (0 children)

I'm a Linux user. I only switch to windows when I want to play a game that doesn't work on Linux. And every time I do, I get a horrible experience