Developer's Delight
[Hotfix] Cuda 설치 시 발생 문제 해결
nvidia-drm driver 문제 문제 nvidia-drm driver 문제는 아래와 같은 Log를 남긴다. nvidia-drm 커널 모듈이 이미 커널에 로드되어 사용중이기 때문에 설치가 어렵다는 내용이다. ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for mo..
[Ubuntu 22.04] Whale browser gpg keyring warning
Naver-whale 브라우저를 사용한다면 Ubuntu 22.04에서 update 시 아래와 같은 경고를 볼 수 있다. Ubuntu 22.04부터 apt-key를 이용하여 저장소용 gpg 키를 추가하는 것을 권장하지 않는다. 따라 저장소용 gpg 키에 대하여 Warning을 발생 시킨다. W: https://repo.whale.naver.com/stable/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. 해당 Warning은 무시해도 문제는 없다 하지만 해결하고 한다면 오류가 발생하는 ..
[Linux] Ubuntu 22.02 Setting
환경 1. zsh & oh-my-zsh 설치하기
![[Linux] Ubuntu에서 Ubuntu 22.04 설치 USB 만들기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fbzpgx2%2Fbtstx6D7TG1%2FBWJXW9YP2qzbSsbEuq0Vy0%2Fimg.png)
[Linux] Ubuntu에서 Ubuntu 22.04 설치 USB 만들기
1. Ubuntu Image 다운로드 저는 Ubuntu 22.04.3 LTS Desktop 버전을 다운로드 하였습니다. 다운로드 경로는 아래입니다. Download Ubuntu Desktop | Download | Ubuntu Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things. ubuntu.com 2. USB Creator 프로그램 설치하기 usb-creator-gtk 프로그램을 이용하여 설치 USB를 만들어 보려 합니다. 터미널에서 usb-creator-gtk를 설치해줍니다. sudo apt install usb-crea..
[Python] Sliding Window
def sliding_window(series, window_size, step = 1): """series is a column of a dataframe""" for start_row in range(0, len(series) - window_size + 1, step): yield series[start_row:start_row + window_size] tmp = np.arange(100) list(sliding_window(tmp, 10, 5)) 위의 코드를 실행하면 0부터 99까지의 데이터를 10개씩 5개씩 이동하면서 데이터를 만들어낸다. 결과는 아래와 같다. [array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]), array([ 5, 6, 7, 8, 9, 10, 11, 12, ..
[분석통계] 정규성 검정
정규성 검정 정규성 검정은 3가지 방법으로 검정을 진행한다. 검정 방법은 시각화 또는 가설 검정을 이용한 방법으로 나뉜다. 가설검정을 이용 시 귀무가설 '