JunnerX

@JunnerX

a Student. Love math. Learning programming skills and cryptography now.

Joined on Aug 17, 2023

  • Author: Junner Date: 12/17/2024 My R version is 4.4.3. While installing tidyverse: install.packages("tidyverse") It showed this kind of warnings: removing ‘/home/hubbert/R/x86_64-pc-linux-gnu-library/4.4/tidyverse’
     Like  Bookmark
  • Author: Junner Date: 2025/5/13 I need to run LLM in Chroot container. But using CPU to process language model is not a smart idea. So here, I'm going to lead you how to access an RTX graphic Card inside the enviroment. 1. Bind Nvidia Decive Node mkdir -p /etc/systemd/nspawn/ cd /etc/systemd/nspawn/ nano agents.nspawn Add these for binding Nvidia device with the container
     Like  Bookmark
  • Author: Junner Date: 5/10/2025 There is a BUG for systemd-nspawn container, Ubuntu Focal. When entering a working machine, the caintainer terminated immediately. ┌──(junnerℵ₀pop-os)-[~] └─$ sudo systemctl start systemd-nspawn@agents ┌──(junnerℵ₀pop-os)-[~] └─$ machinectl list
     Like  Bookmark
  • Author: Junner Date: 5/10/20205 Check systemd version systemd --version My output was: ​​​​systemd 245 (245.4-4ubuntu3) ​​​​+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
     Like  Bookmark
  • Author: Junner Date: 5/8/2025 After using sudo apt upgrade, terminal showed: Waiting for cache lock: Could not get lock: /var/lib/dpkg/lock-frontend. It is held by process 3399. I checked the process name by ps -A | grep 3399
     Like  Bookmark
  • Author: Junner Date: 12/2/2024 When your using python, needs to import nltk packages, and the line nltk.download('punkt') always failed when downloading it: E LookupError:E **********************************************************************E Resource punkt not found.E Please use the NLTK Downloader to obtain the resource:EE >>> import nltkE >>> nltk.download('punkt') The way to avoid it is by running the command below directly in prompt: echo -e "import nltk\nnltk.download('punkt')" | python3
     Like  Bookmark
  • Author: Junner Date: 05/01/24 Stage 1 First, let me introduce a simple version of this kind of problem: $$\newcommand{\d}{\mathrm{d}} \newcommand{\alb}{\begin{align*}} \newcommand{\ale}{\end{align*}} \newcommand{\dis}{\displaystyle}
     Like 1 Bookmark
  • Author: Junner Date: 2/26/2025 Solution Ref: https://unix.stackexchange.com/questions/410723/how-to-install-a-specific-version-of-gcc-in-kali-linux When I'm building gf2x for NTL, it failed: C++ style comments are not allowed in ISO C90 And I found the version with gcc -v
     Like  Bookmark
  • Author: Junner Date: 2/26/2025 When try to run PS script (.ps1), terminal came out an error: .\*ps1 : File D:\Junner\setup_env.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\*ps1 + ~~~~~~
     Like  Bookmark
  • Author: Junner Date: 2/17/2025 Abelian group 又稱為交換群(commutative group),簡單來說,此群的任意元素對於二元運算 $\star$ 有交換率。 對所有 $a, b \in G$ 及二元運算 $\star$ 有 $a\star b = b\star a$,則此群記為 $(G, \star)$。
     Like  Bookmark
  • Author: Junner Date: 2/16/2025 Find the output device that you want to adjust. pactl list sinks image Assume you want to adjust the volume up to 150% for sink #64.
     Like  Bookmark
  • Author: Junner Date: 1/19/2025 I want to make three things: Let ls as ls -la with color Let cls as clear 'cause I'm a windows user Set q as exit 1. Check the Shell Type
     Like  Bookmark
  • Author: Junner Date: 11/22/24 if your running like: pip install numpy inside wsl: ​​​​error: externally-managed-environment
     Like  Bookmark
  • Author: Junner Date: 2024/09/24 Commands Open Command Prompt or PowerShell as an administrator. <small><small>[1]</small></small> Run the following commands. <small><small>[1]</small></small> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all Reboot your computer to apply the changes.
     Like  Bookmark
  • $$\newcommand{\d}{\mathrm{d}} \newcommand{\alb}{\begin{align*}} \newcommand{\ale}{\end{align*}} \newcommand{\dis}{\displaystyle} \newcommand{\red}{\color{red}} \newcommand{\brown}{\color{brown}} \newcommand{\lrr}[1]{\left( #1 \right)} \newcommand{\lrs}[1]{\left[ #1 \right]} \newcommand{\overequal}[1]{\stackrel{ #1 }{=}} \newcommand{\lx}[1]{\lim_{x\to{ #1 }}}
     Like  Bookmark