Monday 15 January 2024

Vehicle Surround View

Apakah kamera seperti [10], dengan konektor rca to usb [11] dapat "dibaca" langsung di android atau minimal di linux dulu ? kalau bisa, bagaimana cara membaca ke empatnya sekaligus ? jika sudah bisa, coba pelajari dokumentasi terkait surround view [4]. 

Kalau ini bisa dilakukan, maka untuk membuat surround view di kendaraan kita, kita cukup  beli 4 buah kamera, konverter dan memanfaatkan device android yg kita punya.

Referensi

  1. The 3D surround view on Jetson Tegra TX2 platform, https://github.com/SokratG/Surround-View
  2. Cogent Surround View, https://www.cogentembedded.com/surround-view/
  3. Vehicle surround view in Libxcam, https://events19.linuxfoundation.org/wp-content/uploads/2017/11/360-Degree-Vehicle-Surround-View-in-an-Open-Source-Project-Libxcam-ALS-Junkai-Wu.pdf
  4. Surround view system, https://github.com/neozhaoliang/surround-view-system-introduction
  5. Valeo releases the first multitask fisheye camera open source dataset, aiming to take automated driving to the next level, https://www.valeo.com/en/valeo-releases-the-first-multitask-fisheye-camera-open-source-dataset-aiming-to-take-automated-driving-to-the-next-level/
  6. Automatic Surround Camera Calibration Method in Road Scene for Self-driving Car, https://arxiv.org/abs/2305.16840
  7. Head Unit Android 10 inch Nakamichi NA3102i Legend Pro Hi-Res Cam 360, https://tokopedia.link/gBtu8vBFoGb
  8. Mini WiFi Taffware IP Camera CCTV 1080P - A9, https://tokopedia.link/vphT0H6MoGb
  9. Kamera Mundur Parkir Mobil Car DVR 360 Degree Waterproof SONY Sensor, https://tokopedia.link/zjCrRj2rpGb
  10. Kamera depan Mobil universal model bulat Car DVR 360 Degree Waterproof, https://tokopedia.link/Dx6BcnuupGb
  11. Video capture card - 4 input rca to USB 2.0, https://tokopedia.link/MDON09CupGb
  12. Backup camera working with android, https://www.youtube.com/watch?v=xKDPERyunJM

Friday 21 July 2023

Dragonfly : source-available, multi-threaded Redis® replacement built for modern cloud workloads

 

Migrasi Single Node Redis ke Dragonflydb

File backup redis : dump.rdb

Pastikan dragonlydb service sudah mati.

sudo systemctl stop dragonfly.service

load dump.rdb ke memory dengan dragonfly : 

sudo dragonfly --logtostderr --dbfilename dump

dengan redis-client, save ke format dfs :

redis-cli
save df

Hapus data lama, dan pindahkan data baru :

 sudo rm /var/lib/dragonfly/
 

dari path tadi menjalankan perintah  load dump.rdb :

sudo mv *.dfs /var/lib/dragonfly/

Jalankan dragonfly :

sudo systemctl start dragonfly.service


How to make dragonfly service start automatically in debian 12

To make the dragonfly.service start automatically in Debian 12, you can use the following steps:

  1. Open a terminal window.
  2. Run the following command to edit the dragonfly.service file:
sudo nano /etc/systemd/system/dragonfly.service
  1. In the dragonfly.service file, add the following lines to the [Unit] section:
Description=Dragonfly Service
After=network.target
  1. In the [Service] section, add the following lines:
ExecStart=/usr/bin/dragonfly
Restart=always
  1. Save the dragonfly.service file and exit the nano editor.
  2. Run the following command to reload the systemd daemon:
sudo systemctl daemon-reload
  1. Run the following command to enable the dragonfly.service service to start automatically at boot:
sudo systemctl enable dragonfly.service
  1. Run the following command to start the dragonfly.service service:
sudo systemctl start dragonfly.service

The dragonfly.service service should now start automatically at boot and whenever your system restarts.

Referensi

  1. Dragonfly, https://www.dragonflydb.io/

Thursday 16 February 2023

rclone

 

Untuk sync google sheet dan google docs files pastikan versi rsync yg digunakan adalah versi paling akhir. 


Untuk melakukan sync seluruh file .gsheet dan .gdoc dari remote jalankan perintah ini : 


rclone sync remote: --include "**/*.gsheet" /local/path/to/destination

rclone sync remote: --include "**/*.gdoc" /local/path/to/destination

Saturday 10 December 2022

Thursday 26 May 2022

Moodle


Tuning

Di [1] ada instruksi untuk mengubah settingan mysql menjadi : 


[mysqld]
innodb_file_per_table = 1

character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
skip-character-set-client-handshake

Konfigurasi ini, terutama : innodb_file_per_table,  jika diterapkan di TAO, apakah dapat meningkatkan performa nya ?

Single Sign On 

Matriks fitur module-modul SAML SSO yang ada

No Moodle Plugins Auto-create user  Auto-enroll Single Sign Off Limit concurrent login Dual Login
1 Authentication ::: auth_saml2sso v
v v v
2 Authentication ::: auth_saml2 v
v
v
3





Referensi

  1. MySQL full unicode support, https://docs.moodle.org/400/en/MySQL_full_unicode_support
  2. Auto account creation, auto enroll, https://g.co/gemini/share/572d848309ab