IT이야기2023. 11. 4. 02:42

조금 서치해보면 reddit이라던거 블로그라던가 비슷한 내용의 글이 많았는데, 누가 잘 정리했네요.

https://sthbrx.github.io/blog/2019/05/07/visual-studio-code-for-linux-kernel-development/



https://github.com/amezin/vscode-linux-kernel

에서 python script로 vs project만드는게 열일해주네요. 그냥 전체 tree를 넣어도 VS Code가 잘 버텨주긴하더라고요. 제 빌드머신이 좋아서 그런지...

 

https://www.youtube.com/watch?v=tnSnVlbKtMk&ab_channel=MicrosoftDeveloper

'IT이야기' 카테고리의 다른 글

Fonts for coding 폰트  (0) 2023.11.14
작업용 mobile CPU benchmark AMD Intel  (0) 2023.11.10
Opensource game - OpenRW GTA III  (0) 2023.11.02
Linux game, openra Red Alert 레드얼럿  (0) 2023.10.31
Hackers News and 한국어번역  (0) 2023.10.17
Posted by 쁘레드
IT이야기2023. 10. 31. 02:47

Opensource Multiplatform game인데 리눅스에서도 특별한거 설치하지 않아도 잘 돌아간다. 세가지 게임이 있다

  • Red Alert 레드얼럿
  • Tiberian Dawn
  • Dune 2000

https://www.openra.net/download/

 

Download | OpenRA

Classic strategy games rebuilt for the modern era

www.openra.net

 

'IT이야기' 카테고리의 다른 글

VS Code로 리눅스 커널개발, Microsoft  (0) 2023.11.04
Opensource game - OpenRW GTA III  (0) 2023.11.02
Hackers News and 한국어번역  (0) 2023.10.17
별사진 별관측 카메라 Seestar S50  (0) 2023.10.13
Top 50 AI Image tools  (0) 2023.10.07
Posted by 쁘레드
IT이야기2023. 8. 23. 08:24

찾기 쉽지 않은 Linux Kernel maintainer group picture가 있었다. 2022년 9월 Dublin, Ireland에서 열렸다고 되있다.

2022 Linux Kernel Maintainers Summit

https://lwn.net/Articles/908320/

 

The 2022 Linux Kernel Maintainers Summit [LWN.net]

Please consider subscribing to LWNSubscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LW

lwn.net

 

친절하게 사람 이름을 알려주는 사람도 있다.

1. Damien Le Moal
2. Laurent Pinchart
3. Matthew Wilcox
4. Mark Brown
5. Paolo Bonzini
6. Kees Cook
7. Christian Brauner
8. Greg Kroah-Hartman
9. Theodore Ts'o
10. Jens Axboe
11. Thorsten Leemhuis
12. Marc Zyngier
13. Alexei Starovoitov
14. Thomas Gleixner
15. Miguel Ojeda
16. Jiri Kosina
17. Guenter Roeck
18. Borislav Petkov

Sitting (left to right):
1. David Airlie
2. Jakub Kicinski
3. Chris Mason
4. James E.J. Bottomley
5. Sasha Levin
6. Linus Torvalds
7. Steven Rostedt

2023 미팅은 2023/NOV에 열린다고 한다. The 2023 Maintainers Summit will be held on November 16 in Richmond, VA.

Posted by 쁘레드
IT이야기2023. 6. 10. 06:28

간만에 어떤분이 DVD player있냐고 하셔서 목적을 들어보니 DVD rip해서 파일로 만들면 해결된 문제라 DVD ripper를 찾아봤는데, 가진 컴퓨터가 죄다 linux라 리눅스에서는 어떻게 하더라 간만에 찾아봄

How to install libdvdcss in Ubuntu / Debian to play DVDs - nixCraft (cyberciti.biz)

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libdvd-pkg
# compile and install libdvdcss
sudo dpkg-reconfigure libdvd-pkg

# optional
sudo apt-get install regionset
sudo apt-get install libavcodec-extra

libdvd-pkg와 libdvdcss를 설치하고 Handbrake로 파일을 만들면 된다. 오, 리눅스 너무 좋은걸.

Handbrake의 default setting이 FHD로 upscaling하는것 처럼 보였는데 만들고 보니 DVD resolution인720p정도로 되어 있었음. 이것으로 충분했지만 다음에는 FHD로 upscaling해 놓는것도 좋을것 같음

Optional

# DVD와 DVD Player을 region code가 맞지않을때
sudo regionset /dev/sr0

# 아래 넘버로 세팅하줌
1 – North America (USA and Canada)
2 – Europe, Middle East, South Africa and Japan
3 – Southeast Asia, Taiwan, Korea
4 – Latin America, Australia, New Zealand
5 – Former Soviet Union (Russia, Ukraine, etc.), rest of Africa, India
6 – China
Posted by 쁘레드
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 쁘레드
Programming2016. 7. 7. 05:13

ㅋㅋㅋ, 요즘 MS의 정체성이 아주 흔들리고 있습니다. 개발자에게는 아주 좋은 현상이라고 생각되고요, 주식도 발머가 내려가고 계속 오르고 있는것 보면 실적도 계속 좋아지고 투자자들도 맘에 들어하는 것 같습니다.

Visual Studio는 제가 대학다닐때만 해도 개발자라면 누구나 시작하는 개발도구였는데, 윈도우에서만 돌아가고 윈도우용 프로그램만 만들수 있다보니 멀티 플랫폼 추세에서는 반은 버리게 되는 도구였지요. 저도 다른 개발툴로 돌아서면서 노트북에 설치는 되어있었지만 열어보지도 않았던 세월이 있었네요.

Visual Studio는 새로운 CEO아래 윈도우를 때어 버리고 '개발툴'로 컨셉을 잡았나 봅니다. 이름도 Microsoft Visual Studio에서 그냥 Visual Studio로 바꾸고 멀티 플랫폼 개발을 다 지원하고 있습니다. 아주 흐뭇합니다.

Visual Studio Code는 이미 Linux용으로도 나와있지만, Visual Studio내에 있는 엄청난 기능들을 같이 이용하면서 Linux용 app을 개발할수 있다는 것은 또 다른 재미일것 같습니다. Linux용 개발툴도 이미 어려개 있어서 Visual Studio가 최고는 아닐수 있어도 여러 가능성을 열어두는 것은 저는 환영합니다.

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

https://visualstudiogallery.msdn.microsoft.com/725025cf-7067-45c2-8d01-1e0fd359ae6e


Posted by 쁘레드
Programming2016. 2. 28. 08:26

*Check android release page

https://codeaurora.org/xwiki/bin/QAEP/release


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

git config --global user.email "<EMAIL>"
git config --global user.name "<NAME>"

repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BF64.1.2.1-06420-8x92.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

repo sync -j4 -c -q --no-tags

Testing colorized output (for 'repo diff', 'repo status'):
  black    red      green    yellow   blue     magenta   cyan     white 
  bold     dim      ul       reverse 
----------------

Using repo and git
------------
install asciidoc
------------
*build error
/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory

sudo apt-get ing++-multilibstall bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip
sudo apt-get install python-lunch

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

*build command

lunch msm8992-userdebug

make -j8

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

*kernel only in kernel directory

m -j8 ONE_SHOT_MAKEFILE=build/target/board/Android.mk bootimage

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

'Programming' 카테고리의 다른 글

Windows Mobile 7 phone 구입  (0) 2016.02.28
Cynogenmod project 받아 빌드하기  (0) 2016.02.28
월간 잡지 마소 폐간  (1) 2015.12.10
Visual Studio 2015 제품군  (0) 2015.11.19
Hard core Embedded Programming - no printf() sprintf()  (0) 2015.11.19
Posted by 쁘레드
Programming2015. 10. 1. 07:00

VM Virtualbox에 linux 설치하기는 여러 글이 많이 있지만 그 다음에...

  • Host에서 SSH로 Ubuntu에 접속하기
  • Shared folder를 mount해서 Ubuntu에서 read/write하기
  • Ubuntu screen resolution이 640x480이상으로 하기
  • LAMP을 설치후 Drupal 설치하고 web programming하기
  • Android build environment 설치하기

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

sudo apt-get install openssh-server 


#port check

netstat -ant | grep 2222

netstat -lnpt | grep 22

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

Port forwarding

포트포워딩 3개를 네트워크 세팅에다 넣어줌

SSH TCP 2222 to 22

HTTP TCP 8080 to 80

MYSQL TCP 3306 to 3306

MYSQL UDP 3306 to 3306

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

http://unix.stackexchange.com/questions/145997/trying-to-ssh-to-local-vm-ubuntu-with-putty


Two network devices

1. Bridged (as default for internet)

2. Host only


eth0      Link encap:Ethernet  HWaddr 08:00:27:16:f4:3c

          inet addr:10.42.130.246  Bcast:10.255.255.255  Mask:255.0.0.0

          inet6 addr: fe80::a00:27ff:fe16:f43c/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:157 errors:0 dropped:0 overruns:0 frame:0

          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:11529 (11.5 KB)  TX bytes:14439 (14.4 KB)


eth1      Link encap:Ethernet  HWaddr 08:00:27:be:3b:1f

          inet addr:192.168.56.102  Bcast:192.168.56.255  Mask:255.255.255.0

          inet6 addr: fe80::a00:27ff:febe:3b1f/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:138 errors:0 dropped:0 overruns:0 frame:0

          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:14585 (14.5 KB)  TX bytes:27815 (27.8 KB)



SSH to 192.168.*.*

----------

Share forlders from VM setting.

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

Guest Additions

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11

GuestAdditions is required, no need cdrom is requried.

http://askubuntu.com/questions/456400/why-cant-i-access-a-shared-folder-from-within-my-virtualbox-machine


Start VM

Devices > Insert Guest Additions CD image...

I had to manually mount the CD: sudo mount /dev/cdrom /media/cdrom

Install the necessary packages: sudo apt-get install make gcc linux-headers-$(uname -r)

Install the Guest Additions: sudo /media/cdrom/VBoxLinuxAdditions.run

Now you can mount your share using:


mkdir ~/host

sudo mount -t vboxsf La_Build ~/host

-----------

GuestAdditions이 있으면 화면 해상도도 자유로워짐

-----------

$ sudo apt-get update
$ sudo apt
-get install openjdk-7-jdk
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl zlib1g
-dev gcc-multilib g++-multilib libc6-dev-i386 \
  lib32ncurses5
-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
  libgl1
-mesa-dev libxml2-utils xsltproc unzip

https://source.android.com/source/initializing.html

$ sudo update-alternatives --config java
$ sudo update
-alternatives --config javac

*repo ?

sudo apt-get install phablet-tools


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

 sudo apt-get install lamp-server^

*config apach

https://help.ubuntu.com/community/ApacheMySQLPHP

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


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


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

'Programming' 카테고리의 다른 글

Drupal Shell - Drush  (0) 2015.10.02
Python - JSON을 이용한 지진검색  (0) 2015.10.01
Python - String, File, Regular Expression  (0) 2015.09.30
Python - Stock Price Quote  (0) 2015.09.30
VIM resource file  (0) 2015.09.30
Posted by 쁘레드
Programming2015. 6. 3. 03:03

윈도우 command line이 좀 dull하니까 이것을 리눅스의 bash 처럼하려는 시도인것 같습니다. cygwin도 좋은데 이것도 좋은 시도네요.

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


http://mridgers.github.io/clink/


Overview

Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.

Features

  • The same line editing as Bash (from GNU’s Readline library).
  • History persistence between sessions.
  • Context sensitive completion;
    • Executables (and aliases).
    • Directory commands.
    • Environment variables
    • Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
  • New keyboard shortcuts;
    • Paste from clipboard (Ctrl-V).
    • Incremental history search (Ctrl-R/Ctrl-S).
    • Powerful completion (TAB).
    • Undo (Ctrl-Z).
    • Automatic “cd ..” (Ctrl-Alt-U).
    • Environment variable expansion (Ctrl-Alt-E).
    • (press Alt-H for many more…)
  • Scriptable completion with Lua.
  • Coloured and scriptable prompt.
  • Auto-answering of the “Terminate batch job?” prompt.

Usage

There are a variety of ways to start Clink;

  1. If you installed the autorun option then simply start cmd.exe. Run clink autorun –help for more info.
  2. To manually start, run the Clink shortcut from the Start menu (or the clink.bat located in the install directory).
  3. To establish Clink to an existing cmd.exe process, use “<install_dir>\clink.exe inject”


Posted by 쁘레드
Programming2015. 6. 3. 02:57

ARM에 맞는 stable kernel을 관리해주는 사람이 있었네요. 중요한 feature는 back port도 해주고 아주 친절하네요.


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

https://wiki.linaro.org/LSK

Linaro Stable Kernel (LSK)

Overview

Linaro Stable Kernel (LSK) aims to provide a stable basis for system integration of ARM hardware, integrating Linaro developed features available in mainline with kernel.org Long Term Stable (LTS) releases to allow integration of those features in production systems.

Most LSK features can be disabled at either build or run time so are included as part of the core LSK functionality. To support those feature sets which have substantial impacts on the kernel and cannot be disabled at build or run time the LSK is provided in multiple flavours. Currently these are:

  • "Core" - features which can be runtime disabled
  • "Android" - additional changes from AOSP

  • "RT" - the RT patch set adding realtime features to the Linux kernel

The number of flavours is kept to a minimum in order to make selection simpler. As much as possible is in the core LSK in order to ensure that features are as widely available as possible.

Currently the LSK release in Feature mode is base based on kernel version v3.18. Note: details for maintenance mode LSK versions can be found below.

Support

Each Linaro Stable Kernel (LSK) is maintained for two years. During the first year [Feature-Mode], both features and bug fixes are integrated and during the second year [Maintenance-Mode] only bug fixes are integrated. Bug reports should be filed against Linaro Stable Kernel project. Any queries should be directed to the Linaro support system in the first instance.

Adding code to LSK

Any bug fixes which apply to the standard kernel and could be included in a kernel.org LTS release should be submitted there, the kernel.org LTS releases are integrated into the LSK.

New features need to be reviewed by the TSC in discussion with the LSK team. Features should be present in current versions of the upstream kernel or in the process of being integrated there.

Code specific to the LSK should be submitted to the LSK team for review by e-mail using standard kernel submission techniques such as patches in e-mail or git pull requests. The addresses to send things to are:

  • LSK Tech Lead: Kevin Hilman <khilman AT linaro DOT org>

  • LSK Engineer: Alex Shi <Alex.Shi AT linaro DOT org>

  • Linaro Kernel mailing list <linaro-kernel AT lists DOT linaro DOT org>

Please include "LSK feature request" in the Subject line.

The submission should include information to help track upstream work on the feature, in order of preference:

  1. Commit IDs from the standard kernel in the changelogs of the individual patches.
  2. A description of how the equivalent change was made upstream or why it isn't required in LSK (eg, explaining that this is taken care of by features not present in the stable kernel).
  3. References to where out of tree development is happening including contact information for followup.

This will aid ongoing maintenance of the features. Any new features should be discussed with the LSK team in advance to determine the most straightforward approach.

Features in LSK v3.18 [Feature Mode]

Feature

Upstream

ARM64 errata framework

yes, and LTS 3.18

ARM64 errata workarounds

yes, and LTS 3.18

DT files for Juno support

yes

Coresight

no

Coming soon...

KVM

yes, and LTS 3.18

IPA

yes

dm-crypt performance

yes

Getting LSK

Linaro Stable Kernel (LSK) is available in a git repository on git.linaro.org. There are branches for each flavor of the kernel:

Flavour

Kernel version

Branch

Core

v3.18

linux-linaro-lsk-v3.18 *in preview mode, targeting release 15.06*

Android

v3.18

linux-linaro-lsk-v3.18-android *in preview mode, targeting release 15.06*

RT

v3.18

linux-linaro-lsk-v3.18-rt *in preview mode, targeting release 15.06*


Posted by 쁘레드