light606f
light606f
Tsukineko Lab
566 posts
Name:Light606F Mail:[email protected] 人工知能とロボットとバイクとゲーム.後その他諸々.
Don't wanna be here? Send us removal request.
light606f · 5 years ago
Link
3 notes · View notes
light606f · 5 years ago
Text
ウェアラブルデバイスに最適な「Seeeduino Xiao」、1円玉サイズの超小型Arduinoモジュール
0 notes
light606f · 5 years ago
Text
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Text
Docker audio with pulseaudio
ドッカーでドッカーでPulseaudioを使って,ホストで音を出していてもコンテナで音を出せるようにする.
Create pulseaudio socket:
pacmd load-module module-native-protocol-unix socket=/tmp/pulseaudio.socket
Create /tmp/pulseaudio.client.conf for pulseaudio clients:
default-server = unix:/tmp/pulseaudio.socket # Prevent a server running in the container autospawn = no daemon-binary = /bin/true # Prevent the use of shared memory enable-shm = false
Share socket and config file with docker and set environment variables PULSE_SERVER and PULSE_COOKIE. Container user must be same as on host:
docker run --rm \ --env PULSE_SERVER=unix:/tmp/pulseaudio.socket \ --env PULSE_COOKIE=/tmp/pulseaudio.cookie \ --volume /tmp/pulseaudio.socket:/tmp/pulseaudio.socket \ --volume /tmp/pulseaudio.client.conf:/etc/pulse/client.conf \ --user $(id -u):$(id -g) \ imagename
The cookie will be created by pulseaudio itself.
https://stackoverflow.com/questions/51859636/docker-sharing-dev-snd-on-multiple-containers-leads-to-device-or-resource-bu
0 notes
light606f · 5 years ago
Text
https://travel.rakuten.co.jp/HOTEL/177489/?scid=we_twt_upc1969
0 notes
light606f · 5 years ago
Text
0 notes
light606f · 5 years ago
Quote
日日是好日
Amazon.co.jp: 日日是好日を観た | Prime Video
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Link
0 notes
light606f · 5 years ago
Link
Layer normalizationについて調べてる時に出来た.
0 notes
light606f · 5 years ago
Quote
リソースを専有しているプロセスIDの特定 ホスト側でtopコマンド → CPU, メモリ ホスト側でnvidia-smi → GPUのUsage, メモリ 対象プロセスIDのユーザがrootだったら、/proc/PID/cgroups を見てdocker コンテナで実行したものかを調べる (参考) docker ps でコンテナ一覧を表示し、2. で特定したコンテナIDのコンテナを特定 コンテナ名、イメージ名から利用者を推定
https://www.glia-computing.com/wp/blog/listing-process-ids-on-docker-containers/
0 notes
light606f · 5 years ago
Photo
Tumblr media
(dqnrainbow-24-638.jpg (638×479)から)
atari 4frame
0 notes
light606f · 5 years ago
Link
0 notes