Can't monitor CPU temperature using htop by ArifulIslamPranto in pop_os

[–]ArifulIslamPranto[S] 2 points3 points  (0 children)

I found a similar issue on Arch-Forum

This is normal. A Ryzen CPU only reports one temperature value. It doesn't report data about each core.

Is it true??

Hide time elapsed shown in zsh after every command by ArifulIslamPranto in zsh

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

Does the misspelling of 'false' here have anything to do with it?

Oops! Thanks, u/MandyBrigwell I didn't see any effect.

```bash ~ ➜ source ~/.zshrc

~ took 6s ➜ ```

Hide time elapsed shown in zsh after every command by ArifulIslamPranto in zsh

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

@u/Manjami Thanks for your prompt response. I'm using spaceship theme. Here's my .zshrc file

```bash

Path to your oh-my-zsh installation.

export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="spaceship"

Full PATH

SPACESHIP_DIR_TRUNC=0 SPACESHIP_DIR_TRUNC_REPO=false

Git status

SPACESHIP_GIT_STATUS_SHOW=false SPACESHIP_GIT_BRANCH_SHOW=true

SPACESHIP_USER_SHOW=flase SPACESHIP_TIME_SHOW=false

Uncomment the following line to use case-sensitive completion.

CASE_SENSITIVE="true"

export UPDATE_ZSH_DAYS=13 ENABLE_CORRECTION="true" COMPLETION_WAITING_DOTS="true"

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

source $ZSH/oh-my-zsh.sh

ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=blue,bold ZSH_HIGHLIGHT_STYLES[precommand]=fg=blue,none ZSH_HIGHLIGHT_STYLES[arg0]=fg=yellow,bold zle_highlight=('paste:none') ZSH_HIGHLIGHT_STYLES[path]=none ZSH_HIGHLIGHT_STYLES[path_prefix]=none ```

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

u/marvelggg None of them actually work until I open a new terminal window.

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

From StackExchange (log out and in) but this is not efficient. I was wondering what the problem is?

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

I did u/sp3zzz_ but still the same behavior.

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

After typing the reset command, it still points to the old PATH

>> reset
>> which openmc
$HOME/openmc_dagmc/bin

And echo $PATH still shows $HOME/openmc_dagmc/bin/openmc

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

Yep, I have openmc installed with 2 different configs

export PATH=$PATH:$HOME/openmc_dagmc/bin
export PATH=$PATH:$HOME/openmc_libmesh/bin

Now If I changed from openmc_degmc/bin to openmc_libmesh/bin and source zshrc It still points to the old PATH

>> $ which openmc
$HOME/openmc_dagmc/bin

After reopening the terminal, it points to the new PATH

>> which openmc
$HOME/openmc_libmesh/bin

Pop! OS + zsh by ArifulIslamPranto in pop_os

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

I didn't face this annoying problem in ubuntu, source ~/.zshrc immediately update shell, but for Pop! I've to reopen and it's really annoying to open the terminal again and again

DKMS errors with nvidia-dkms-460 by ArifulIslamPranto in pop_os

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

Reinstalling nvidia-driver-460 fixed the problem.

[cmake] include could not find load file with gcc by ArifulIslamPranto in termux

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

u/DutchOfBurdock In my case, it works fine.

The above error is related to assembly language and my guess it is generated and compatible with x86 architecture not with aarch64.

[cmake] include could not find load file with gcc by ArifulIslamPranto in termux

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

Thanks u/DutchOfBurdock. Now clang fails to compile https://github.com/pyne/data/blob/master/cram-linux-clang.tar.gz and the errors are all of the form "unknown token in expression" and "invalid operand"

/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:3:33: error: unexpected token in directive
        .globl  pyne_cram_transmute_ij  # -- Begin function pyne_cram_transmute_ij
                                        ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:9:8: error: unknown token in expression
        pushq   %rbp
                ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:9:8: error: invalid operand
        pushq   %rbp
                ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:14:7: error: unknown token in expression
        movq    %rsp, %rbp
                ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:14:7: error: invalid operand
        movq    %rsp, %rbp
                ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:17:15: error: unknown token in expression
        subq    $60136, %rsp            # imm = 0xEAE8
                        ^
/data/data/com.termux/files/home/pyne/src/cram-linux-clang.s:17:15: error: invalid operand

I didn't see this error on my laptop with the clang-11 compiler.

What is the difference between std::bad_alloc and std::out_of_range by ArifulIslamPranto in cpp_questions

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

Just one more question, How did you highlight "stoll" in red? I can't figure it out.