Showing headlines posted by dba477

« Previous ( 1 2 3 4 5 6 7 8 9 ... 27 ) Next »

Attempt to test Web Cockpit Console on Fedora 35 Beta Server (VENV)

First - Fedora 35 Beta Server deployed as L1 KVM Guest on F34 Bare metal Server . Nested virtualization enabled via virsh console on F34 Server. Complete KVM && Cockpit install performed on L1 F35 Server Guest per https://computingforgeeks.com/how-to-install-kvm-on-fedora/

111+ Linux Statistics and Facts – Linux Rocks!

Back in the year 1993, Linus Torvalds walked into a bar. He saw a lonesome cowboy about to mercilessly dig into a bowl of kernels. The cowboy said:Mmmmm, those kernels are the best… And that’s how a new operating system was born. Not with 10,239 lines of code, but with a kernel. True story!

Set up Virtual Box on top of Server F35 (pre release) via rpmfusion (VENV)

First I've installed the most recent nightly build of Fedora 35 Server on Fedora 34 Bare metal KVM Virthost as Guest OS with "Fedora Workstation" desktop, like virtual machine seating on the Linux bridge been created via Web Cockpit Console. When done issued the following set of commands on F35 Guest

Python (numpy && matplotlib) solving one relatively difficult math problem

The problem itself is to find all solutions of the following equation on the real axis - cos (cos (cos (cos (x)))) - sin (sin (sin (sin (x)))) = 0. We intend to prove that equation above doesn't have any solution via creating a python script importing NumPy and Matplotlib.

Deployment KVM Guests via Cockpit Console on Manjaro KDE 21.1.2

I am posting this Howto due to currently available instructions on the Internet don't focus the user's attention on installation packages "ovmf" and "virt-viewer" on the most recent release Manjaro KDE. Skipping mentioned packages causes issues with Remote Viewer (Cockpit Console) and the ability to deploy KVM guests in UEFI mode

Set up KVM && Cockpit WEB Console on Debian Bullseye (11)

The presence of Web Cockpit Console is a nice way to manage KVM guest's deployment via clicking the button "Remote Virt-viewer" built into Cockpit Web Console. Bridge attached to external network interface was also created pretty smoothly utilizing network management section inside Web Console. However, it doesn't look to me as a reason to deprecate virt-manager .

Set up KVM && Cockpit WEB Console on Ubuntu DDE 21.04

First notice that we intend set up Ubuntu DDE on Ryzen 7 3700 box with board MSI X570 A-PRO in UEFI mode with "kvm" enabled. Enable SVM in the BIOS Setup due to it is disabled by default. This step might be the hardest to complete in the whole installation procedure.

Setting up KDE Plasma on Rocky Linux 8.4 KVM/VBOX-6.1.26 Guest on Server F34

Following below is a brief set of instructions setting up KDE Plasma on RockyLinux along with Gnome Desktop Manager which is actually needed to support graphical login, otherwise system might be started via text login followed by "startx". The core idea is to install and activate just GDM to make graphical login enabled on Rocky Linux 8.4

Install Sqlitebrowser on RockyLinux 8.4

Following below is a brief set of instructions to install sqlitebrowser on RockyLinux 8.4 , which installs sqlite-devel before building the most recent Python release via source tarball

Python Wrapper for C++ solving the recent YandexQ problem

In this post I follow approach suggested in How to wrap a C++ object using pure Python Extension API which differs from C++ coding technique been presented earlier. Public Class Strike containing method "filter" is supposed to be declared. Later on in PyStrike_init( ) new instance of this class is been created.

Armadillo matrices via NumPy array and Python Extension to C++

The core test is converting numpy array into matrix 5x5 in Armadillo C++ inversion matrix into matrix C and verification myMat * C = E , afterwards we can safely return matrix C to Python Runtime Module

Assembly of Python External C++ procedure returning the vector of strings objects

This post is an immediate followup for the most recent post at Lxer.com regarding return of one string. Consider the task already been treated with 2D vector and dumping the content of vector to disk file. This approach would allow us to solve the same task via to straight forward returning vector of strings from C++ procedure to Python module.

Assembly of Python External C++ procedure returning the value of string type

Writing C++ procedure below we get a final answer as C++ string , then via sequence of operations which convert string to the pointer (say c) to "const char" and finally return required value via pointer to PyObject provided by PyUnicode_FromString(c) to Python Runtime module.

C++ versus Python solving one problem from the field of number theory

The version of C++ code here differs from the first one been posted at Lxer.com . Vector "v1" been pushed back by 2D vector "vec" is supposed to be re-declared before every next push back by "vec" versus option of been cleaned up in previous version of compilation.

Assembly of Python External C++ procedure using 2D vector

I was unable to return 2D vector from C++ to Python via Python API. Thus content of 2D vector has been written to file and later on the Python Runtime Module displayed the content of file been created inside C++ procedure.

Simultaneous assembly Python External C++ procedures returning vector and integer

Simultaneous assembly of two Python External C++ procedures returning sum and sequence of factorials of the first n members of the natural series via Python API. Looks like under any circumstances building external Python procedure in C++ has a significant advantage over C. Just setup.py should be configured to run "gcc" properly against C++ code.

Create Basic Python 3.10(beta) C++ Extensions on Fedora Linux 34

Detecting all prime numbers in given range is supposed to performed by C++ code code below as a procedure invoked from Python. Tested with both Python 3.9.5 and Python 3.10 (beta) via Python API. Refactoring code proposed in python-cpp-extension@github

Exercising to Create Basic Python C Extensions on Fedora Linux 34

This post follows up "Creating Basic Python C Extensions - Tutorial" and does just one update required in static PyMethodDef myMethods still having "METH_NOARGS" instead of "METH_VARARGS", what, actually, confuses inexperienced learners.

Tuning remote connection PyQT5 to Mariadb on Debian Bullseye

Tuning remote connection of PyQT5 to Mariadb-Server as well as to MySQL seemed to me the most time consuming part of this small project. Obviously, the options for Mariadb and MySQL are mutually exclusive. Tuning network configs on bare metal described in details utilizing `netstat -ant | grep 3306` output required to get connection ready

Setting up PostgreSQL 13.2&&Python VENV verified by another PyQT5 module on Debian Bullseye

Expecting Debian Bullseye release to happen pretty shortly (by the end of September 2021) PostgreSQL 13.2 setup has been verified on Debian Bullseye/sid as Oracle's Virtual Box 6.1.22 Guest running in EFI mode along with ongoing hackery of PyQT5 code mentioned in my recent post at Lxer.com

« Previous ( 1 2 3 4 5 6 7 8 9 ... 27 ) Next »