Pages

Showing posts with label news. Show all posts
Showing posts with label news. Show all posts

Thursday, April 18, 2024

Fedora 41 : python and Federated Message Bus in Fedora Linux Distro.

Federated Message Bus is a library built on ZeroMQ using the PyZMQ Python bindings. fedmsg aims to make it easy to connect services together using ZeroMQ publishers and subscribers.
You can use this python package named fedmsg to use this functionality ...
This is the source code :
import fedmsg
from fedmsg import *

import os
# Set the routing_nitpicky flag to True
os.environ['FEDMSG_ROUTING_NITPICKY'] = 'True'


config = fedmsg.config.load_config([],None)
config['mute'] = True
config['timeout'] = 0

for name, endpoint, topic, msg in fedmsg.tail_messages(**config):
    print ("name ", name)
This is the result :
[mythcat@fedora FedoraMessaging]$ python fedmsg_001.py
No routing policy defined for "org.fedoraproject.prod.copr.build.start" but routing_nitpicky is False so the message is being treated as authorized.
name  fedora-infrastructure
No routing policy defined for "org.fedoraproject.prod.copr.chroot.start" but routing_nitpicky is False so the message is being treated as authorized.
name  fedora-infrastructure
No routing policy defined for "org.fedoraproject.prod.github.check_run" but routing_nitpicky is False so the message is being treated as authorized.
name  fedora-infrastructure
No routing policy defined for "org.fedoraproject.prod.github.pull_request_review" but routing_nitpicky is False so the message is being treated as authorized.
name  fedora-infrastructure
No routing policy defined for "org.fedoraproject.prod.github.pull_request_review_comment" but routing_nitpicky is False so the message is being treated as authorized.
name  fedora-infrastructure ... 

Saturday, March 30, 2024

Fedora 41 : Memstrack tool.

A runtime memory allocation tracer, like a hot spot analyzer for memory allocation, can help analyze overall memory usage, peak memory usage, kernel module memory usage, all combined with stacktrace. Userspace memory trace is planned and not yet implemented.
This tool works by tracing all page-level memory allocation events in kernel (currently supports using perf or ftrace), and actively integrate the events into a stack trace tree. It can also work with kernel's page owner log file and use as a memory usage viewer.
I tested this tool today and it is quite useful for development and monitoring the operating system, it seems to work very well, you can even see in the screenshot how ...
You can find this project on the GitHub repo.

Tuesday, March 26, 2024

Fedora 40 : Fix emergency run mode - part 001.

Run this commands to see errors and all failed systemd units:
[root@fedora mythcat]# dmesg | grep err
[root@fedora mythcat]# systemctl status --failed --all
If you get an error like this:
Recovery unable to mount /home
... check the /etc/fstab file to see how your home is set.

Sunday, March 24, 2024

News : Fedora 40 Beta RC 1.10 compose ...

The Fedora Linux 40 Beta RC 1.10 compose is GO and will be shipped live on Tuesday, 26th March 2024.
This announcement was made on the devel-announce list by Aoife Moloney.
Aoife Moloney, the Fedora Operations Architect, has recently joined the Fedora community.
The Beta RC compose serves as a preliminary version of the upcoming Fedora release and allows Quality Engineering (QE) to thoroughly test the system and identify any critical issues before the final release.
You can find schedule for Fedora 40 on the official website.

Friday, March 22, 2024

News : Flutter on Fedora 40 - the run debug info.

The run command comes with info about the running process, see:
[mythcat@fedora examples]$ ../flutter/bin/flutter run
Launching lib/main.dart on Linux in debug mode...
Building Linux application...                                           
Syncing files to device Linux...                                 1,488ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Linux is available at: http://127.0.0.1:38903/k8tmzU7n0NQ=/
The Flutter DevTools debugger and profiler on Linux is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:38903/k8tmzU7n0NQ=/
If you open that URL you will see this type of informations:

Fedora 40 : Spectacle tool.

Spectacle is a screenshot taking utility for the KDE desktop. Spectacle can also be used in non-KDE X11 desktop environments.
This is the GitHub project for this tool.
[root@fedora mythcat]# dnf5 install spectacle.x86_64
Updating and loading repositories:
Repositories loaded.
Package                       Arch   Version                 Repository      Size
Installing:                                                                      
 spectacle                    x86_64 24.02.0-1.fc41          updates-te   4.8 MiB
Installing dependencies:                                                         
...
This is an screenshot with this tool:

Tuesday, March 19, 2024

Fedora 40 : sngrep tool.

The sngrep is a tool for displaying SIP calls message flows from terminal and supports live capture to display realtime SIP packets and can also be used as PCAP viewer.
[mythcat@fedora ~]# dnf copr enable irontec/sngrep
[mythcat@fedora ~]# dnf install sngrep
[mythcat@fedora ~]# exit
[mythcat@fedora ~]$ sudo sngrep  -d ens1 -O save.pcap port 8080 and udp
The result is this:

Sunday, March 17, 2024

News : Flutter on Fedora 40.

Flutter transforms the development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded experiences from a single codebase.
Read more on the official webpage.
Theoretically, Flutter can be used much easier in the Fedora 40 Linux distribution than in a Windows operating system.
The Windows installation method requires more complicated steps with the use of S.D.K. and settings of Android Studio I.D.E. .
Here are the steps you need to follow for a default installation.
[mythcat@fedora ~]$ mkdir ~/FlutterProjects
[mythcat@fedora ~]$ cd FlutterProjects/
[mythcat@fedora ~]$ wget https://storage.googleapis.com/flutter_infra_release/releases
/stable/linux/flutter_linux_3.3.10-stable.tar.xz
[mythcat@fedora ~]$ tar xf flutter_linux_3.3.10-stable.tar.xz
[mythcat@fedora ~]$
...

[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter doctor

┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available!                  │
│                                                         │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
...

      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] Connected device (1 available)
[✓] HTTP Host Availability

! Doctor found issues in 3 categories.
[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter upgrade

...

    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 4 categories.

[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter config --enable-linux-desktop
Setting "enable-linux-desktop" value to "true".

You may need to restart any open editors for them to read new settings.

[mythcat@fedora FlutterProjects]$ mkdir examples
[mythcat@fedora FlutterProjects]$ cd examples/

[mythcat@fedora examples]$ ../flutter/bin/flutter create .
Creating project ....
Resolving dependencies... (5.1s)
Got dependencies.
Wrote 129 files.

All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider:
https://www.youtube.com/c/flutterdev

In order to run your application, type:

  $ cd .
  $ flutter run

Your application code is in ./lib/main.dart.

[mythcat@fedora examples]$ cd .
[mythcat@fedora examples]$ ls
analysis_options.yaml  ios    macos         README.md  windows
android                lib    pubspec.lock  test
examples.iml           linux  pubspec.yaml  web
[mythcat@fedora examples]$ ../flutter/bin/flutter run
The result is this simple default example:

Wednesday, February 21, 2024

News : SELinux wizzard tool !

I found today in Fedora linux this tool for SELinux with a GUI that allows creating linux security policies.
I will write a little about this system because it is a very good solution.
When I started studying selinux, it was not very well implemented and it seems that the interest of users to be protected is higher.
As you well know, the starting points are network security and data protection and kernel-level intrusions into software.
For those who don't know, SELinux is a system that allows limiting defined resources and allowing other actions or not.
I tested the tool and I can say that it solves only the standard file creation part without the possibility of selecting the SELinux bools variables.
If the one who created this tool will continue to be a very good tool.
It's currently a wizzard interface, I'd call it a Node Editor to allow the assembly of different processing blocks (nodes) into combinations that feed data to each other along connections you specify to produce complex effects.
After completing the steps in the wizard, you will have some default files.
I used the name firefox because the security of the browser is very low at the moment.
Here are some images of this tool:

Wednesday, February 14, 2024

News : ... about new about Google Analytics 4.

I found at Google.com analytics academy this message that urges us to go through the courses from the skillshop.exceedlms.com website.
It seems to pass this is quite important if they offered free courses:
These courses are about Universal Analytics. Starting July 1, 2023, standard UA properties will stop processing data (July 1, 2024 for UA 360 properties). Learn about Google Analytics 4, our next-generation measurement solution, with these free courses on Skillshop.

Saturday, February 3, 2024

News : VirtualBox 7.0.14 released! from Oracle.

Oracle today released a 7.0 maintenance release which improves stability and fixes regressions. See the Changelog
I also use a version of Fedora running on VirtualBox for tests and rapid development.
Most use Linux on older hardware as a backup OS...
You can use Linux with specific non-default settings for good security of the operating system, but it does not make it invincible.
I don't know if VirtualBox solved the resize of the virtual partition - this was the last issue I encountered with this tool, but it is useful if you want to test something quickly.

Thursday, December 14, 2023

News : Oracle comes with new ODP.NET Support for .NET 8.

Oracle's .NET development community numbers over 800,000 members. Join us to enhance your Oracle Database skills through .NET (Core), .NET Framework, Visual Studio Code, and Visual Studio step-by-step tutorials, technical articles, white papers, and videos.
More infos can read more on the official webpage.
You can see an old video on the official youtube OracleDOTNET.

Sunday, December 10, 2023

News : Elections for Fedora team.

The Fedora Project is a community- driven project. It has a number of steering committees whose responsibilities are to drive the project forward.
These committees are elected among volunteers of the community and by the community members. The present application is meant to hold these elections.
You can start voting from Friday, 8 December and closes promptly at 23:59:59 UTC on Thursday, 21 December.
You can vote on this webpage.

Monday, September 4, 2023

News : Fedora 39 i18n test week starting 5th September.

We will be having the Fedora 39 i18n test week starting 5th September.
Check details about this test week event at https://fedoraproject.org/wiki/Test_Day:2023-09-05_I18N_Test_Day wiki page. You can submit your results on page https://testdays.fedoraproject.org/events/161

Wednesday, August 23, 2023

News : An old change double equals is deprecated.

... although the change is old, for me it is new !
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r == $(uname -r)"
Last metadata expiration check: 1:12:11 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Using '==' operator in reldeps can result in an undefined behavior. It is deprecated and the support 
will be dropped in future versions. Use '=' operator instead.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r = $(uname -r)"
Last metadata expiration check: 1:12:50 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Wednesday, August 16, 2023

Monday, July 10, 2023

News : About my work and one of my websites.

I would like to bring to the attention of those who follow my activity on my websites and appreciate the inability to continue with one of the websites: free-tutorials.org. It is currently hosted on a free host, but I cannot import it 100%, which has led me not to complete it with new posts. The continuation of the activities there, considering the limited time, will be carried out on my blogs with the defined theme with which I started: Linux - Fedora, Graphics, Python, Pygame.
In the meantime, because the host is expensive and until now someone has helped me to host it on his server, it is possible to sell the domain: free-tutorials.org - I receive purchase offers at my personal Yahoo email address catafest@yahoo.com.
Minimum starting price 250 euros, because the domain is old from 2018.

Monday, June 26, 2023

News : The new DNF5 tool is on Fedora .

The new DNF5 will provide a significant improvement in user experiences and performance. The replacement is the second step in upgrade of Fedora Software Management stack. Without the change there will be multiple software management tool (DNF5, old Microdnf, PackageKit, and DNF) based on different libraries (libdnf, libdnf5), providing a different behavior, and not sharing a history and module state. We can also expect that DNF will have only limited support from upstream. The DNF5 development was announced on Fedora-Devel list in 2020.
You can read more on the official webpage on Fedora area.

Wednesday, May 31, 2023

Fedora 39 : GNOME new version 44.2 .

The GNOME Project proudly announced today the release and general availability of the GNOME 44 desktop environment series, a major update that brings several new features and lots of improvements.
You can read more on the official website.
You can see a first version 44 on this youtube video: