IT이야기2019. 4. 2. 02:33

윈도우 머신이 꼭 필요한 이유중에 하나가(Mac은 비싸서 안되고) Lightroom이고 간혹 비디오 편집을 하려고 하면 Sony Vegas가 참 간단하고 좋은데, Lightroom 대체할 만한것은 아직 없다고 보여지고요. 비디오 편집은 요구사항이 많지 않아서 어디 있을것 같아서 찾아봤는데...

리눅스에서 비디오 편집하는것이 아주 나쁘지는 않네요. kdenlive라는 툴이 KDE env인데, 괜찮은것 같네요. 버전도 높고요. GNome도 곧 V1.0으로 발표하는듯. 그런데 NVidia 카드가 있어서 GPU Agpu acceleration(하드웨어 가속기)를 enable하려고 하니 역시 리눅스는 복잡해...

 

FFMpeg을 다시 컴파일하면 되는데, NVidia 얘네들은 리눅스 지원이 진짜 지랄같애서(요즘 많이 좋아졌다는데) 하다가 욕나오는데... shotcut이라는 얘가 이미 다 포함시켜 놨네요.

-----------

https://shotcut.com/

 

Shotcut - Home

Wide Format Support Supports hundreds of audio and video formats and codecs thanks to FFmpeg. No import required which means native editing, plus multi-format timelines, resolutions and frame-rates within a project. Frame accurate seeking supported for man

shotcut.com

 

https://www.youtube.com/watch?v=X14GvmBpq08

*H.264 Dominant
properties=x264-medium f=mp4 vcodec=libx264 acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'
properties=x264-medium f=mp4 vcodec=nvenc_h264 acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'

*NVENC_H264
f=mp4 vcodec=nvenc acodec=aac g=120 global_quality=21 ab=385k vq=21 r=60 preset=slow bf=2

Posted by 쁘레드
재밌는세상2019. 4. 1. 14:02

이름이 황교환인줄 알았다가 황교안인지 지난주에 알았는데, 법무부 장관까지 한 사람이 선거법을 몰랐을 수 있냐고 하는데, 나는 얘는 진짜 몰랐을 거라고 믿음. 게다가 말리는 사람을 사람으로도 안봤을거라 생각함. 내가 한다는데 감히 누가 뭐라고 해 하면서 그냥 밀고 들어갔을거라 생각함. 선거법 위반이 엄청 무서워야 하는데 솜방망이 일거라고도 생각함.

 

P.S 걔다가 얘는 총리, 대통령 권한대행까지 했지만 총리가 뭐하는 직책인지 대통령은 무슨일을 해야하는지 진짜 모를거라고 생각함.

----------

http://www.hani.co.kr/arti/politics/assembly/888098.html

 

황교안 ‘경남FC 난입사태’에 ‘불법 선거운동’ 논란

‘경기장 내 선거운동 금지’ 한국프로축구연맹 지침 어겨 경남FC 중징계 위기…승점 삭감시 2부리그 강등도 바른미래 “교활한 오버슈팅 자책골” 민주평화 “‘반칙왕’ 민낯 보여준 것” 황교안 “부족한 부분 있었다면 앞으로 없도록 하겠다”

www.hani.co.kr

http://www.shinmoongo.net/125960

 

≪신문고뉴스≫ 황교안 경남FC 축구장 유세, 불법에 대한 댓가 받아야...

 [신문고뉴스]임두만편집위원장=자유한국당의황교안대표는4.3보궐선거창원성산에출마한강기윤후보를지원하기위해현재총력을기울이고있다.이는자신

www.shinmoongo.net

 

Posted by 쁘레드
IT이야기2019. 3. 20. 15:04

ㅋㅋㅋㅋ clien.net 눈팅만하다가 새소식 좀 전할까 했더니

이건 뭥미... 오늘 열심히 댓글달았는데 30개개면 되나 했더니 5000개? 안되겠다...


Posted by 쁘레드
재밌는세상2019. 3. 19. 01:39

요즘 장자연, 김학의 사건을 다음하고 네이버에서 같은 검색어로 검색해보면. 네이버는 쓰리기인가 하는 생각이 저절로 든다.

이명박, 최순실, 박근혜로 검색해봐도 아주 웃기게 나오더니, 네이버는 욕 진짜 많이 먹어도 정신못차리네.

---------------

--------------

'김학의 성접대 의혹'을 무혐의 처리한 검사들 살펴보니

http://www.ohmynews.com/NWS_Web/View/at_pg.aspx?CNTN_CD=A0002519573&CMPT_CD=P0001&utm_campaign=daum_news&utm_source=daum&utm_medium=daumnews


[주장] '정치검찰' 일색, 국정원 대선개입 수사 외압부터 BBK 특검 다스 수사까지

황교안 최순실 김학의

허준영 경찰청장

윤중천 회장

김진태 경찰총장

조영곤 검사

박정식 검사

윤재필 검사

김수남 중앙지검장

유상범 검사

강해운 검사



Posted by 쁘레드
IT이야기2019. 3. 16. 07:25

리눅스 커널 commit을 분석해서 발표하는 report. 2018년것도 곧 나올듯. PDF로 download가능.

기계적인 분석이라 quality까지 알수는 없지만 유명한 사람들, 회사들 다 나오는 리눅스 커널 개발 리포트.

https://www.linuxfoundation.org/2017-linux-kernel-report-landing-page/



Posted by 쁘레드
IT이야기2019. 3. 7. 03:33

Debugging Linux Kernel with Visual Studio?? 예전에 이런 질문/글 올리면 동서를 막논하고 미친놈 소리를 들었지요. 참 기본이 없다, 운전으로 말하면 김여사구만 취급당했는데... 세월이 흘러 MS(마이크로소프트, Microsoft)가 미친건지 제정신으로 돌아온건지 세월이 많이 바뀌었네요.

Visual Sutio로 Linux kernel 개발을 돕는 plugin/extension도 파는 회사가 있고요

  • http://sysprogs.com/VisualKernel/
  • https://sysprogs.com/tutorials/creating-a-basic-linux-kernel-module-with-visual-studio/

Tutorials > VisualKernel > Kernel Modification Tutorials > Building and modifying Linux Kernel with Visual Studio

Visual Studio Code는 기존의 Visual Studio와 이름만 공유하고 전혀 다른 open source tool입니다. 기존 VS는 C/C++로 개발되었다고 알려져 있고 주로 C/C++개발자용이었는데, VS Code는 완전 자유도 100%인 멀티 platform 개발툴이며 에디터 editor 입니다. 오픈 소스라 코드도 공개되어 있는데 열어보면 기절. 세상이 많이 변했구나 이제 은퇴할때가 되었나 생각하게 하는...

VS Code를 이용해서 UML diagram을 Linux에서 그리고 version control하는 방법을 팀 사람들에게 보여줬더니 다들 기절.

UML diagram 공유하기 in Linux (or Windows or Mac)

  1. Visual Studio Code (open source tools for multi platforms)
    1. https://code.visualstudio.com/download
    2. https://github.com/Microsoft/vscode
  2. PlantUML plugin
    1. http://plantuml.com/
    2. http://plantuml.com/sequence-diagram
  3. GraphViz
    1. https://graphviz.gitlab.io/download/

PlantUML은 plugin 으로 설치하니 확장자을 *.plantuml로 하는거 이외에는 할게 없고, GraphViz는 Ubuntu에서 설치하면 /usr/bin/dot 으로 copy되서 할일없음. 

sudo apt install graphviz

Windows에서는 GraphViz설치하고 환경변수를 하나 만들어줘야함.

GRAPHVIZ_DOT=c:\graphviz\bin\


  1. TODO: WebSequenceDiagram문법과 같은건가?
  2. TODO: Visual Studio Code에서 리눅스 커널/모듈 개발 어떻게 하는지 다음에 정리


Posted by 쁘레드
Programming2019. 3. 7. 03:06

Short note

---------

# 1. Clone the kernel to your local machine

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

$ cd linux-stable


# 1.1 optional Github mirror link, i prefer github over kernel.org

$ git clone https://github.com/torvalds/linux.git

$ cd linux


# 2. check kernel version

$ make kernelversion

$ uname -ra


# 3. Find the tag for the version you want

$ git tag -l | grep 4.20

v4.20

v4.20.rc...


# 4. Create a new branch with that tag

$ git checkout -b my4.20 v4.20


# 5. use Ubuntu proper config

# 5.1 use default defconfig for the system

$ make defconfig


# 5.2 use current ubuntu config, /boot/config-*

$ cp /boot/config-`uname -r` .config


# if same version or very close to current version

$ make oldconfig


# otherwise, choose default one, very safe

$ yes '' | make oldconfig


# 5.2.1 optional, change kernel options

$ make menuconfig


#make debian packages, *.deb will be copied in ../ (outside of linux build root)

$ make deb-pkg -j 16


# copied *.deb to target machine. Generally 3 files

# then install debian package. No particular order is required

$ sudo dpkg -i *.deb

Posted by 쁘레드
IT이야기2018. 9. 7. 06:51

델 노트북에서 가만이 있는데도 CPU가 20-30%를 왔다갔다해서 열어보니, Waves MaxxAudio Service Application 이 뭘 계속 먹고있음. 사운드 드라이버 같은데 sound play도 안하고 MUTE시켜보고 헤드폰을 뺏다꼈다도 안되고. Zombie Process 같은 현상. 그런데 소리는 잘 남.

(무슨버그일까 생각해보니... 이것들이 비트코인 체굴중인가? @.@)

아마 restart하면 정상으로 돌아올듯. Logout은 도움이 안됨.

한가지 똘똘한 방법은, Task Manager를 Admin 권한으로 실행. 그리고 Kill. 그러면 system에서 필요한 task가 다시 자동적으로 시작하는데 정상적으로 돌아옴.

--------------

https://www.dell.com/community/Laptops-General-Read-Only/XPS-13-9360-quot-Waves-MaxxAudio-Service-Application-quot/td-p/5103190

Posted by 쁘레드
IT이야기2018. 8. 30. 01:51

된장. 외장하드는 진짜 조심해서 관리해야지 한번 맛이가면...

맛가기전에 진짜 조심해서 사용해야함. 끝낼때 항상 Safely remove.... 꼭 사용.

  1. Windows Explorer에서 드라이버로 인식하는지 확인
  2. Device Manager에서 인식하는지 확인
  3. Disk Manager에서 인식하는지 확인

이 정도 된다면 아주 나쁜 상태는 아님.

그럼,

  1. Windows Explorer에서 Disk Scan 실행할수 있는지 해봄
  2. Data가 중요한게 없으면 그냥 다시 Format하면 됨. T.T
  3. Device Driver를 uninstall후 다시 설치하고 update해보기
  4. CMD line을 admin으로 실행시켜서 chkdsk /f D: 로 실행해 보기

----------

아래와 같이 복구가됐지만 파일과 디렉토리는 안보임. 그래도 파일 리커버리 프로그램을 돌리면 됨.

T.T

File Scavenger

Recuva

등 많이 있음. 파일 많이 복구하려면 돈 내라고 하기도하고...

----------

C:\WINDOWS\system32>d:

The disk structure is corrupted and unreadable.


C:\WINDOWS\system32>chkdsk /f D:

The type of the file system is NTFS.

Volume label is Aegis DT.


Stage 1: Examining basic file system structure ...

Deleted corrupt attribute list entry

with type code 128 in file 0.

Deleted corrupt attribute list entry

with type code 128 in file 0.

Deleting corrupt attribute record (0x80, "")

from file record segment 0x0.

Deleting corrupt attribute record (0x80, "")

from file record segment 0xF.

  16 file records processed.

File verification completed.

  0 large file records processed.

  0 bad file records processed.


Stage 2: Examining file name linkage ...

Deleting index entry $RECYCLE.BIN in index $I30 of file 5.

Deleting index entry cygwin.7z in index $I30 of file 5.

Deleting index entry cygwin_bin.7z in index $I30 of file 5.

Deleting index entry Downloads in index $I30 of file 5.

Deleting index entry E360SBC in index $I30 of file 5.

Deleting index entry Fred_Backup in index $I30 of file 5.

Deleting index entry HT70_backup in index $I30 of file 5.

Deleting index entry PadlockDT_FIPS_Manual.pdf in index $I30 of file 5.

Deleting index entry pb980 in index $I30 of file 5.

Deleting index entry SCM_2008 in index $I30 of file 5.

Deleting index entry SCM_2016 in index $I30 of file 5.

Deleting index entry SCM_2016_0117 in index $I30 of file 5.

Deleting index entry System Volume Information in index $I30 of file 5.

Deleting index entry Ubuntu17.4.vdi in index $I30 of file 5.

Deleting index entry WinCE6 Images in index $I30 of file 5.

Deleting index entry WinCE7_workspace_backup in index $I30 of file 5.

Deleting index entry [USB overcurrent] in index $I30 of file 5.

Deleting index entry $Deleted in index $I30 of file 11.

Deleting index entry $ObjId in index $I30 of file 11.

  22 index entries processed.

Deleting index entry $Quota in index $I30 of file 11.

Deleting index entry $Reparse in index $I30 of file 11.

Deleting index entry $RmMetadata in index $I30 of file 11.

Index verification completed.

CHKDSK is scanning unindexed files for reconnect to their original directory.

  1 unindexed files scanned.

  0 unindexed files recovered to original directory.

CHKDSK is recovering remaining unindexed files.

  1 unindexed files recovered to lost and found.

    Lost and found is located at \found.000


Creating object id file.

Inserting an index entry into index $I30 of file 11.

Creating index $O for file 18.

Inserting an index entry into index $O of file 18.

Creating reparse point file.

Inserting an index entry into index $I30 of file 11.

Creating index $R for file 19.

Creating quota file.

Inserting an index entry into index $I30 of file 11.

Creating index $O for file 20.

Creating index $Q for file 20.

Inserting default quota record into index $Q in file 20.


Stage 3: Examining security descriptors ...

Security descriptor verification completed.

Inserting data attribute into file 0.

Inserting data attribute into file 15.

  5 data files processed.

Correcting errors in the Master File Table (MFT) mirror.

Correcting errors in the master file table's (MFT) DATA attribute.

Correcting errors in the master file table's (MFT) BITMAP attribute.

Correcting errors in the Volume Bitmap.


Windows has made corrections to the file system.

No further action is required.


   3815317 MB total disk space.

         8 KB in 9 indexes.

         0 KB in bad sectors.

    185288 KB in use by the system.

     65536 KB occupied by the log file.

   3815137 MB available on disk.


      4096 bytes in each allocation unit.

 976721407 total allocation units on disk.

 976675083 allocation units available on disk.

----------

Posted by 쁘레드

2018년 7월 거래 data를 redfin에서 찾아보니 미국에서 주택거래가 활발한 곳 10개 도시가 상당히 재미있습니다. 인구수랑 비례하는 것은 아니고 어느정도 가격이 저렴해야 사람들이 자주 사고 판다는 것을 말하는 듯.

물론 큰 도시는 주소지로는 다른 도시 이름으로 있더라도 실제로 그 도시 생활권인곳이라 정확한 통계는 큰 도시는 인근 도시까지 넣는것이 맞을수도 있을듯.

시카고와 아틀란타는 주택시장의 왕인듯~ 싸기도 하고 많이 거래도 되고.


----------------

  Redfin Metro Median Sale Price Month-Over-Month Year-Over-Year Homes Sold Month-Over-Month Year-Over-Year New Listings Month-Over-Month Year-Over-Year   All Homes for Sale Month-Over-Month Year-Over-Year
  National $307,400 -1.40% 5.30% 277,100 -8.20% 4.10% 319,000 -8.20% 2.80%   747,200 -1.10% -5.40%
1 Chicago, IL $253,600 -2.50% 1.40% 13,014 -2.90% 15.30% 13,414 -8.90% 5.50%   11,464 -0.10% -15.80%
2 Atlanta, GA $245,000 -1.20% 8.90% 11,316 -4.50% 7.80% 11,519 -11.50% 6.90%   3,487 16.50% 16.20%
3 Washington, DC $407,000 -0.70% 0.80% 9,653 -14.20% 12.70% 9,243 -13.50% -1.00%   22,020 -4.40% 9.10%
4 Phoenix, AZ $267,500 -0.90% 9.20% 8,345 -8.00% 7.10% 7,966 -14.10% -1.00%   17,305 -8.30% -13.90%
5 Houston, TX $242,500 -0.60% 5.40% 8,110 -9.50% 6.20% 10,828 -5.80% 1.30%   3,484 2.20% 8.70%
6 Minneapolis, MN $267,700 -0.80% 5.00% 6,844 1.90% 5.10% 6,680 -13.90% 2.30%   11,477 1.20% -11.40%
7 Los Angeles, CA $625,000 -0.80% 5.90% 6,401 -8.30% -0.50% 8,334 -5.20% -0.60%   17,405 -0.20% -4.40%
8 Dallas, TX $299,900 -0.90% 5.20% 5,891 -9.90% -2.00% 7,755 -12.80% 4.10%   6,969 1.80% -6.20%
9 Boston, MA $515,000 0.00% 8.40% 5,522 -11.10% 1.90% 5,114 -23.70% 1.90%   4,989 -1.10% -17.30%
10 Tampa, FL $228,000 -1.90% 6.00% 5,428 -8.40% -3.90% 5,918 -8.10% -0.40%   12,287 -5.70% -8.50%
11 Denver, CO $410,000 -1.40% 7.90% 5,088 -14.20% -4.30% 5,628 -14.20% -1.30%   17,118 -3.60% 9.70%
12 Riverside, CA $365,000 0.00% 4.90% 5,073 -5.30% 0.30% 6,084 -9.50% -3.10%   15,621 -3.20% -2.10%


Posted by 쁘레드