Wednesday, June 26, 2024

Odoo 17 migrations issues

Tips

wkhtmltopdf in ubuntu 18 - Qt problem

The latest package taken from the download page (0.12.6.1-2 at the moment), works on Ubuntu 22.04, it has the QT patch inside

Tools

[1] https://github.com/pierrelocus/odoo-attrs-replace

Friday, June 21, 2024

Alpaca Information

 [1] https://www.youtube.com/watch?v=l_ie4_Yyxjg

[2] Alpaca Breeding/Feeding https://www.youtube.com/watch?v=0sO9rizj7I4

     Types Suri, Tuy-Wacaya

[3] Alpaca Breeding (Chigmo, SilluSillu) https://www.youtube.com/watch?v=ksN5x9y5HNw


Thursday, June 20, 2024

Ubuntu 20 VMWare Player

 

sudo apt update
sudo apt install build-essential linux-headers-generic

Next, download and install from the following resources

VMware-Player-Full-17.5.0-22583795.x86_64.bundle

Download from drive

[1] https://drive.google.com/file/d/1X0MifVmJ_gr5UgShUKGrt8V49YA2wI6O/view?usp=drive_web

[2] Linux Lite 5.2 based on Ubuntu 20 https://osdn.net/dl/linuxlite/linux-lite-5.2-64bit.iso

References:

[1] original link https://salvatorenoschese.it/vmware-17-5-2-download-url/

[2] Linux Lite mirror https://osdn.net/projects/linuxlite/storage/

Friday, June 14, 2024

VPS 2024

 

 

References:

[1] https://github.com/cloudcommunity/Cloud-Free-Tier-Comparison

[2] Uptime Kuma https://github.com/louislam/uptime-kuma

Thursday, June 13, 2024

ERP and CRM

 

102  sudo apt install python3-setuptools
103  sudo apt-get install python3-venv
105  sudo apt-get install python3-virtualenv
106  sudo apt-get install python3.10-venv

112  python3 -m venv odoovenv

118  sudo apt update && sudo apt upgrade -y
119  sudo apt install software-properties-common -y
120  sudo add-apt-repository ppa:deadsnakes/ppa
121  sudo apt update
122  sudo apt install python3.10
123  python3
125  sudo unlink python3
126  python3
131  sudo unlink /usr/bin/python3
132  sudo ln -s /usr/bin/python3.10 /usr/bin/python3

134  cd Software/
135  ls
136  source odoovenv/
137  source odoovenv/bin/activate
138  cd odoo-17.0/
139  ls
141  pip install --upgrade pip
142  pip install -r requirements.txt

150  sudo apt install postgresql
154  sudo apt install python3-dev
155  sudo apt install python3.10-dev
156  sudo apt-get install libsasl2-dev python-dev-is-python3 libldap2-dev libssl-dev
157  sudo apt-get install libldap2-dev
158  sudo apt install python3-ldap
159  sudo apt-get install libpq-dev

Note:

Modules/LDAPObject.c:16:10: fatal error: sasl/sasl.h: No such file or directory

when python3.10 installed from source, and python3.10-dev isn't available

apt-get install python-dev libsasl2-dev
 

Resources:

[1] https://github.com/odoo/odoo

[2] fe_sendauth https://stackoverflow.com/questions/17996957/fe-sendauth-no-password-supplied

[3] https://store.webkul.com/odoo-pos-pharmacy-management.html

[4] https://apps.odoo.com/apps/modules/14.0/bi_pos_pharmacy_management

 


Tuesday, June 11, 2024

Postgres 10/12 into Linux 18

 

sudo systemctl status postgresql.service

sudo systemctl start postgresql.service

sudo systemctl restart postgresql.service


sudo -i -u postgres psql
 

SELECT version();
 
pg_config --version
psql --version
 
CREATE ROLE mysuperuser2 WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD 'mysuperpass2'  
 
$ sudo vi /etc/postgresql/12/main/pg_hba.conf
 
local   all             postgres                                trust #peer
# TYPE  DATABASE        USER            ADDRESS                 METHOD
# "local" is for Unix domain socket connections only
local   all             all                                     md5 #peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.

local   replication     all                                     peer
host    replication     all             127.0.0.1/32            md5
host    replication     all             ::1/128                 md5

  

Monday, June 10, 2024

Set default Python3

 

 

fincahuanaco@RolumaraT01:~$ sudo unlink /usr/bin/python3              
fincahuanaco@RolumaraT01:~$ sudo ln -s /usr/bin/python3.10 /usr/bin/python3


 fincahuanaco@RolumaraT01:~$ python3
Python 3.10.14 (main, Apr  6 2024, 18:45:05) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()


Python3.10 on Ubuntu18

Manual Installation

sudo apt install software-properties-common
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev

wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
tar -zxvf Python-3.10.0.tgz  
ls
cd Python-3.10.0/
ls
 
./configure --enable-optimizations
make -j $(nproc)
sudo make altinstall
python3.10

 

References:

[1] https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/

Wednesday, May 01, 2024

Running apps


Runtastic (I uninstalled because force to update your device - Internet connection problems)

Runkeeper  (Wrong GPS tracking)

Strava   (Currently testing)

Runna (Complex, force to use a plan)

Runtopia (Very simple, but works)

Google fit (No maps)

Relive Paid

RoadID Paid

Joggo Paid


Resources:


[1] Strava 2023 https://strava-running-and-cycling-gps.apk.gold/android-7.0








Tuesday, April 16, 2024

Firefox open multiple private window

 

 

/opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com
 

Thursday, April 04, 2024

AI Applications for Draw

 


[1] Swap face (Adapt face shape to target) https://www.artguru.ai #Use anonymous windows

      Same core than previous line https://www.pica-ai.com/

[2] Swap face pose https://faceswapper.ai/swapper  #Free 10 by day (Works good with 3/4 face)

[3] Swap free 8 times/day https://www.vidnoz.com/face-swap.html #Check by IP, PW

[4] Swap free 8 times/day https://www.miocreate.com/face-swap.html  #Check by IP, PW

[5] https://www.ismartta.com/ #Check by IP,  works more time in private window

[0] https://aifaceswap.io/  HD Inf

Compose

[1] Replace hair style https://picsart.com/ai-replace/


By email

 

[1] 10/day https://pixlr.com/face-swap/ HD











Tuesday, April 02, 2024

Nvidia Metrics and more

 

[1] Times by cuda https://developer.nvidia.com/blog/how-implement-performance-metrics-cuda-cc/

[2] GPU Code https://http.download.nvidia.com/developer/GPU_Gems/CD_Image/Index.html 

[3] Fluid in GPU theory https://developer.nvidia.com/gpugems/gpugems/part-vi-beyond-triangles/chapter-38-fast-fluid-dynamics-simulation-gpu


[4] GPU Computing https://researchcomputing.princeton.edu/support/knowledge-base/gpu-computing


Cards 

[1] Guide https://www.nvidia.com/content/geforce-gtx/GEFORCE_RTX_2070_SUPER_User_Guide.pdf

[2] RTX 2070 Techinal summary  https://www.techpowerup.com/gpu-specs/geforce-rtx-2070-super.c3440



Important notes

* CUDA technology is developed by NVIDIA, and it is primarily designed to work with NVIDIA GPUs. CUDA is a parallel computing platform and application programming interface model that allows developers to use NVIDIA GPUs for general-purpose processing.

AMD has its own equivalent technology called OpenCL (Open Computing Language), which is an open standard for parallel programming of heterogeneous systems. OpenCL is not specific to AMD; it is supported by various vendors, including AMD, Intel, and others.

If you have an AMD GPU and want to leverage its parallel processing capabilities, you would typically use OpenCL rather than CUDA. However, it's important to note that not all software applications support both CUDA and OpenCL. The level of support depends on how the software was developed.

 * CUDA technology is specific to NVIDIA GPUs (Graphics Processing Units), and it cannot be used with AMD GPUs. CUDA (Compute Unified Device Architecture) is a parallel computing platform and programming model developed by NVIDIA for their GPUs. It includes a programming interface and software development kit (SDK) for general-purpose computing on NVIDIA GPUs.

On the other hand, AMD uses a different technology called OpenCL (Open Computing Language) for parallel computing across CPUs, GPUs, and other processors. OpenCL is an open standard maintained by the Khronos Group, and it is designed to be vendor-neutral, allowing developers to write code that can run on different hardware platforms, including AMD GPUs. For getting information about CAD Drafting and designing visit CAD Drafter.

If you have an AMD GPU and you are looking to perform GPU-accelerated computing, you would generally use OpenCL or other AMD-specific technologies like ROCm (Radeon Open Compute). CUDA-based applications are not compatible with AMD GPUs, and vice versa.

It's worth noting that some software applications and libraries support both CUDA and OpenCL, allowing users to choose between NVIDIA and AMD GPUs. However, the underlying GPU-specific code would need to be implemented separately for CUDA and OpenCL.

* in 2024 it is possible to run CUDA code in AMD GPUs

https://github.com/vosen/ZLUDA

* Is CUDA faster than MPI?

CUDA is fast, but only if your do a lot of parallel processing on matrices. CUDA can be very fast, but for some kind of applications. Data transfer in CUDA is often the bottleneck. MPI is suitable for cluster environment and large scale network of computers.

 

 

References



[1] NVidia Pascal https://wccftech.com/nvidia-pascal-gpu-gtc-2015/

[2] https://community.amd.com/t5/ai-discussions/is-it-possible-to-use-cuda-technology-with-amd/td-p/643124







Tuesday, March 12, 2024

Animation online

Sketch to animation

[1] https://sketch.metademolab.com/

 

Animate avatar from audio recorded


 

[1] https://new.express.adobe.com/tools/animate-from-audio


Tuesday, February 27, 2024

Online Machine Learning tools

 

 Multiclass Image Classification

https://teachablemachine.withgoogle.com/train/image

Saturday, January 27, 2024

Series Online

[1] Spanish  https://elnovelerovariadito.com/el-senor-de-los-cielos-sus-comienzos-t-1/

[2]

 

Corean 

[1] https://pandrama.app

[2] https://doramashd.com 

[3] https://doramason.com/pais/corea-del-sur/

Sunday, January 14, 2024

AI Animation

Draw to 3D https://monstermash.zone/

 https://econ3d.com/en/

https://www.csm.ai/

https://dreamgaussian.github.io/

Diffusion

Text to image https://ideogram.ai

 

Filters

Image to Image https://www.seaart.ai/ai-tools/ai-filter

Leonardo https://app.leonardo.ai/ai-generations

Speech

Antoni/Adam/Thomas(soft) https://elevenlabs.io/speech-synthesis















Video edition online

 

Downloaders

[1] Skip filters https://www.highperformr.ai/tools/ai-youtube-video-downloader

Tools

[1] Loop 5x/Crop/Resolution https://online-video-cutter.com/loop-video

[2] Extract mp3/Resolution https://video-converter.com

[3] Replace audio https://www.onlineconverter.com/add-audio-to-video


Thursday, December 14, 2023

Windows Server 2019



Quitar mensaje de error al acceder al panel de idioma 

1. Ejecuta secpol.msc 

2. Habilita la siguiente directiva - Directivas locales - Opciones de seguridad - Control de cuentas de usuario: Modo de aprobaciĆ³n de administrador para la cuenta predefinida Administrador

Facturador Sunat SEE SFS (Linux)

    /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar ./facturadorApp-2.1.jar server prod.yaml References: [1] Make temp certificate for test...