Skip to content

u/master004

In this archive from Dec 2015 to May 2023

2
posts
77
comments
1
media
323
score

Whatever OS you use you should not let the OS version release schema determine which version of python/node/x/y you use. Let’s say you start a python project today and use 3.10, then you only do light maintenance, after 2 years, arch or whatever OS won’t be giving that version anymore as the latest version. You should install python 3.10 yourself and have the correct version. There are lots of tools like pyenv, asdf, nvm, etc…

1 points

I have had many people around me whose laptops died after two years of usage. Mine didn’t and we had the exact same model from the same batch. The difference: we run our laptops hot, then they have to catch the bus or whatever and wait for the last minute, then close the laptop. Then the laptop gets immediately put inside the backpack and all the heat stays inside. Remember, the cpu is still hot and the fan is now off and there is nowhere for the heat to go, so it wrecks your motherboard.

1 points

I agree with this sentiment. On my laptop, I optimize everything to get the best battery life. (tlp or powertop/ autocpufreq, disable unused devices via bios, program my panel to be efficient, undervolt, auto lower brightness when pulling out AC, etc) but on my desktop (5950x) I could care less.. I just let it run 24/7 on performance mode. for me it's now worth it to spend time on desktop power optimization. As you've said... diminishing returns...

2 points

I'm surprised too, that's why I asked the question in the first place. I'm not quite sure what mechanism exactly is supposed to suspend or hibernate my laptop when the battery is running critically low. I'm not 100% convinced that this is Upower or that this is systemd. I can't find good documentation on arch wiki. And because of this, I think it is that everybody is doing their own script. (which is not a bad thing, I see a lot of cool additions passing by)

I also think my hardware misbehaves and) that this is the reason that 2 out of 3 laptops I own (I install Arch everywhere of course.. duh) just turn off when running out of battery. On the laptop page (https://wiki.archlinux.org/title/Laptop) I don't see any thing helpful.

Can you supply a link to some documentation that explains what exactly systemd does when battery is low?

1 points

Thanks for the info. I know about systemctl suspend/hibernate, but if I install a plain arch Linux system (base install, without following general recommendations) I will have nothing that automatically suspends/hibernates on low battery. Is there any obscure wiki page that provides some suggestions? I have the upower solution on one machine, on the other I have a udev rule

4 points

When I run stress --cpu 1, I get:

$ cat /proc/cpuinfo |grep MHz | cut -d' ' -f3- | sort -r
4788.130
4774.146
3721.537
3598.607
3598.590
2785.943
2124.630
2122.273
2122.266
2122.159
2122.143
2121.697
2121.303
2120.759
2120.446
2120.003
2117.896
2113.374
2057.217
2057.209
2057.158
2056.655
2056.637
2056.618
2056.572
2056.436
2056.431
2056.054
2055.815
2054.990
2054.282
2053.642
1 points

Nice, have been refreshing package list for days now! I am a bit disappointed that only Tctl and Tdie are available (I'm coming from intel quadcore where every cpu-core had a separate temp and there was package temp as well)

5 points

As somebody that has installed arch countless of times I must still say that the wiki is getting more and more beginner-unfriendly. What are your opinions on this? I think this has something to do with supporting too many combinations of filesystems, bios/efi, encrypted vs unencrypted, 10 different bootloaders, etc,etc... so basically the wiki is now so general that it does now costs more work to understand because of al the separate choices. For me this is good, I can do most of the install without the wiki but for a beginner it now costs way more time I guess.

6 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.