Spyke

Posts

linux·Linuxbyspez

[SOLVED] Power Profile not working on Arch with KDE. Tried everything.

My laptop does support this feature since it was working on Fedora KDE. But jumping over to arch, it seems not to work at all.

1. power-profiles-daemon.service is enabled and running.

● power-profiles-daemon.service - Power Profiles daemon
     Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; preset: disabled)
     Active: active (running) since <time>; 12min ago
 Invocation: 4f20b3d144584a759b4a6c5ea14aa739
   Main PID: 608 (power-profiles-)
      Tasks: 4 (limit: 6850)
     Memory: 1.6M (peak: 2.8M)
        CPU: 81ms
     CGroup: /system.slice/power-profiles-daemon.service
             └─608 /usr/lib/power-profiles-daemon

Apr 18 11:14:52 berserk-arch systemd[1]: Starting Power Profiles daemon...
Apr 18 11:14:52 berserk-arch systemd[1]: Started Power Profiles daemon.

2. plasma-powerdevil.service is static and running.

● plasma-powerdevil.service - Powerdevil
     Loaded: loaded (/usr/lib/systemd/user/plasma-powerdevil.service; static)
     Active: active (running) since <time>; 12min ago
 Invocation: 7d72f24a0e5e4a74889a3895b91eb51c
   Main PID: 1074 (org_kde_powerde)
      Tasks: 9 (limit: 6850)
     Memory: 10.6M (peak: 11.4M)
        CPU: 1.391s
     CGroup: /user.slice/user-1000.slice/[email protected]/background.slice/plasma-powerdevil.service
             └─1074 /usr/lib/org_kde_powerdevil

3. upower.service is enabled and running.

● upower.service - Daemon for power management
     Loaded: loaded (/usr/lib/systemd/system/upower.service; enabled; preset: disabled)
     Active: active (running) since <time>; 12min ago
 Invocation: 7aa43a43146346e383c961ce12cc9ded
       Docs: man:upowerd(8)
   Main PID: 540 (upowerd)
      Tasks: 4 (limit: 6850)
     Memory: 5.1M (peak: 5.9M)
        CPU: 251ms
     CGroup: /system.slice/upower.service
             └─540 /usr/lib/upowerd

I've already tried to to put

GRUB_CMDLINE_LINUX_DEFAULT="amd_pstate=active"

as a kernel argument that doesn't seem to do anything as well. I can't figure it out. The power management settings work tho. Any idea what's wrong? Thanks.

View original on sh.itjust.works
52
programming·Programmingbyspez

[Solved] why local user.mail overrides global user.mail in git?

So, I have a GPG key with two noreply email addresses. One for codeberg.org and one email address for github.com. When using the [email protected] of codeberg as user.mail globally, I can make commits which show up as verified on codeberg.org. But if use the same mail as my git user.mail the commit on github will show up as unverified. Even though the particular repo's mail is set to the noreply email address of github which can be verified with git config user.mail but for some reason the global ~/.gitconfig mail is used to perform committs. Am I doing GPG management wrong or anything else wrong?

View original on sh.itjust.works
18
privacy·Privacybyspez

Mull Vs Firefox

I installed the mull browser revently. People who are familiar with this will know that it's a fork of firefox android. It's hardened but I haven't noticed much difference b/w the two. Mull has a few visible tweaks like Https mode by default, strict protection etc. but I haven't come across other backend/not so visible changes. How is it different from firefox android?

View original on sh.itjust.works
51
world·World Newsbyspez

California sues oil companies claiming they downplayed the risk of fossil fuels

Civil lawsuit filed by the state targets Exxon Mobil, Shell, Chevron, ConocoPhillips and BP

California has filed a lawsuit against some of the world’s largest oil and gas companies, claiming they deceived the public and downplayed the risks posed by fossil fuels.

The civil lawsuit filed in state Superior Court in San Francisco also seeks creation of a fund – financed by the companies – to pay for recovery efforts after devastating storms and fires. Democratic governor Gavin Newsom said in a statement the companies named in the lawsuit – Exxon Mobil, Shell, Chevron, ConocoPhillips and BP – should be held accountable.

“For more than 50 years, Big Oil has been lying to us – covering up the fact that they’ve long known how dangerous the fossil fuels they produce are for our planet,” Newsom said. “California taxpayers shouldn’t have to foot the bill for billions of dollars in damages – wildfires wiping out entire communities, toxic smoke clogging our air, deadly heatwaves, record-breaking droughts parching our wells.”

The 135-page complaint argues that the companies have known since at least the 1960s that the burning of fossil fuels would warm the planet and change the climate, but they downplayed the looming threat in public statements and marketing.

It said the companies’ scientists knew as far back as the 1950s that the climate impacts would be catastrophic, and that there was only a narrow window of time in which communities and governments could respond.

Instead, the lawsuit said, the companies mounted a disinformation campaign beginning at least as early as the 1970s to discredit a growing scientific consensus on climate change, and disputed climate change-related risks.

The American Petroleum Institute, an industry group also named in the lawsuit, said climate policy should be debated in Congress, not the courtroom.

“This ongoing, coordinated campaign to wage meritless, politicised lawsuits against a foundational American industry and its workers is nothing more than a distraction from important national conversations and an enormous waste of California taxpayer resources,” institute senior vice-president Ryan Meyers said in a statement.

That was echoed in a statement from Shell, which said the courtroom is not the proper venue to address global warming.

“Addressing climate change requires a collaborative, society-wide approach,” the energy company said. “We agree that action is needed now on climate change, and we fully support the need for society to transition to a lower-carbon future.”

California’s legal action joins similar lawsuits filed by states and municipalities in recent years.

“California’s suit adds to the growing momentum to hold Big Oil accountable for its decades of deception, and secure access to justice for people and communities suffering from fossil-fueled extreme weather and slow onset disasters such as sea level rise,” Kathy Mulvey of the Union of Concerned Scientists said.

Addressing the legal action, California state attorney general Rob Bonta said in a statement that the companies “have fed us lies and mistruths to further their record-breaking profits at the expense of our environment. Enough is enough.”

Allegations in the lawsuit include faulting the companies for creating or contributing to climate change in California, false advertising, damage to natural resources and unlawful business practices for deceiving the public about climate change.

Richard Wiles, president of the Center for Climate Integrity, said in a statement that “California’s decision to take Big Oil companies to court is a watershed moment in the rapidly expanding legal fight to hold major polluters accountable for decades of climate lies … Californians have been living in a climate emergency caused by the fossil fuel industry, and now the state is taking decisive action to make those polluters pay.”

California sues oil companies claiming they downplayed the risk of fossil fuelshttps://www.theguardian.com/us-news/2023/sep/17/california-sues-oil-companies-claiming-they-downplayed-the-risk-of-fossil-fuelsOpen linkView original on sh.itjust.works
487
askscience·Ask Sciencebyspez

What's the difference between Force, Impulse and Force of Impact?

I was dealing with a problem which stated that two objects were moving with same velocity v and one was a car with mass m and another a truck with mass M, such that M > m. They collided and came to a halt. Their collision lasted for 1 second. Which experienced a greater force of impact?

After searching a little bit everyone seems to have a different equation for force of Impact. What's really force of impact and how is it different from force and Impulse? Thanks!

View original on sh.itjust.works
14
linux·Linuxbyspez

Why do I have to re-download kernel packages everytime?

Hey, I am using Fedora Linux 38 with the 6.4.13 kernel. I have had this problem for quite a while now. Everytime I run sudo dnf upgrade and there' an update to the kernel, dnf downloads the kernel and related packages (kernel-modules, kernel-modules-extra etc.) but cites a md5 mismatch and then re-downloads it. This time it works but this whole costs me quite a bit of data. What do you think is causing this? I have cleared the dnf cache multiple times and yet this happens.

View original on sh.itjust.works
35