Programming: Qt, PHP, C++, Python and Java
-
Jetpack 5.0.2 with Jetson Linux 35.1 is now live!
We are very pleased to announce that JetPack 5.0.2 is now released!
JetPack 5.0.2 production release replaces JetPack 5.0/5.0.1 Developer preview release which were for development purposes only. JetPack 5.0.2 is the first production release for Jetson AGX Orin. JetPack 5.0.2 includes Jetson Linux 35.1 BSP with Linux Kernel 5.10, an Ubuntu 20.04 based root file system, a UEFI based bootloader, and OP-TEE as Trusted Execution Environment. JetPack 5.0.2 includes the latest compute stack on Jetson with CUDA 11.4, TensorRT 8.4.1, cuDNN 8.4.1
This release supports Jetson AGX Orin 32 GB production module and Jetson AGX Orin Developer Kit. It also supports Jetson AGX Xavier series and Jetson Xavier NX series modules, as well as Jetson AGX Xavier Developer Kit and Jetson Xavier NX Developer Kit.
-
Qt for MCUs 2.2.1 Released
Qt for MCUs 2.2.1 has been released and is available for download. As a patch release, Qt for MCUs 2.2.1 provides bug fixes and other improvements, and maintains source compatibility with Qt for MCUs 2.2.0. It does not add any new functionality.
-
TinyMaix is a lightweight machine learning library for microcontrollers - CNX Software
Sipeed TinyMaix open-source machine learning library is designed for microcontrollers, and lightweight enough to run on a Microchip ATmega328 MCU found in the Arduino UNO board and its many clones.
Developed during a weekend hackathon, the core code of TinyMax is about 400 lines long, with a binary size of about 3KB, and low RAM usage, enabling it to run the MNIST handwritten digit classification on an ATmega320 MCU with just 2KB SRAM and 32KB flash.
-
4 common issues with implementing Agile and how to address them
While working on the open source ZenTao project, I get constant feedback that getting Agile up and running is a big task in many organizations. As with any new process, you will run into issues, and many of them will feel unique to your organization. While context is important, there's a certain amount of abstraction possible after you've coached enough teams. This article covers the four most common issues I've encountered. While your Agile coach should analyze any actual problems in the context of your organization, knowing these general issues can help better prepare you and your teams for the transitional process.
Note that I only discuss issues that have been found and not how to find issues, which is another topic entirely!
-
Using the crypt() Function in PHP - Pi My Life Up
The crypt() function in PHP allows you to generate a hash of the specified string using a variety of hashing algorithms.
Some of this function’s supported hashes include blowfish, SHA-256, and MD5.
If you are planning on using this to encrypt passwords, we recommend that you use the password_hash() function instead. This function is a wrapper for PHP’s crypt() function but uses strong encryption and a strong salt by default.
-
Plotly.Graph_objects.scattermapbox
“In this article, we will explore how we can create scatter plots on Maps using the Mapbox API.
Keep in mind that you will require a Mapbox account and access token to access the Mapbox API and create various types of plots.
To learn more about that, check our tutorial on the plotly set_mapbox_access_token function.”
That being said, let’s dive in.
-
Where Are Python Packages Installed in Linux
This article focuses on Python packages location in different Linux distributions.
By reading this tutorial, you will learn where the Python packages and modules are installed in your system and other Linux distributions. But the most important teaching in this tutorial is in the last section, where you will learn how to find the Python packages without memorizing the directories independently of the Linux distribution or installation method.
All examples shown in this article include screenshots, making it easy for every Linux user to understand them independently of their knowledge level.
-
NumPy.Square
The square function in NumPy allows you to perform an element-wise square of an input array. Once you provide an array, the function will return an array of similar shape with each element in the source array squared.
This function does not perform the operation in-place. Hence, the input array remains unchanged.
-
Decorators in Python
Python’s decorators are an extremely helpful feature as they let the programmers customize how a method or class behaves. Decorators enable us to encapsulate another function to modify its functionality temporarily while extending the functionality of the wrapped method. Let’s first comprehend a few concepts that would be helpful while learning about decorators before we get too deeply into them.
-
Null in C++
A null pointer points to nothing. The default constant null has a value of 0. Similar to how C++ end strings, the character 0 is used to end strings. Null is another possible value for a pointer, and unless the CPU supports a particular bit pattern for null pointers, it has the same meaning as zero. Something has no value when marked with the SQL special marker null or referred to as NULL. Frequently used as a separator, terminator, or filler is the zero-valued ASCII character known as “null” or “NUL”. This symbol has no visible representation. An object pointer (or reference) not currently set to point to an object is known as a null pointer or reference. It may also be written as None, NULL, or nil.
-
Default Constructor in C++
“When an object is created in C++, a special technique named the function Constructor is immediately called. In general, it is utilized to configure member functions of new classes. In C++, the class name serves as the title of the Constructor. Whenever we create an object, we have to invoke the Constructor. It creates the values, i.e., supplies the element with data; this is why it is referred to as a Constructor.
The default constructor is utilized to generate the objects without a predefined initial value. A constructor can have default parameters as well as default values. If the user does not specify a default constructor, the compiler may automatically construct one and define it as required. Some configurations of the class intervals must be performed by the default constructor specified by the compiler. But depending on the situation, the compiler creates instructions for the default constructor.
We’ll go over the default constructor’s functionality in this article.”
-
C++ Comments
“The purpose of comments is to serve as a reminder to you and to let others know how your program works. Large text code explanations and code snippets that need to be commented out while debugging applications are both examples of multiline comments. The compiler doesn’t take comments into account. The comments in C++ can be one or more lines long. Any character that is present inside a comment is disregarded by the C++ compiler. Your comments should make it possible for outside users to understand your code.
If comments regarding program details are not supplied, someone reading a huge amount of code will be perplexed. Making a code more comprehensible by adding extra descriptions is possible with comments. To make the code understandable, comments may contain an algorithm description. If code needs to be reused after a significant break, comments can be useful for the individual as well. Comments shouldn’t be used as a stand-in for an English language explanation of badly written code. Writing clean, self-explanatory code should always be a priority. Next, use the comments section.”
-
C++ Map Functions
“Maps are associative containers that are used to store objects in a mapped manner. Every key in a key-value pair containing all the components of a map is distinct. Keys are used for ordering, but every key has a set of related values. Data could be added and removed when needed. In the C++ programming language, maps hold items created by combining a key value and a defined value.
For two primary purposes, C++ programmers may find the map structure useful. First, by use of the key, a map enables quick and easy accessibility to the value. Creating any type of index or pointer can benefit from this attribute. A key must be unique throughout the integrated data framework, which the map provides to do. This prevents data duplication; therefore, it is another benefit of using the map.
For example, if you’re creating a trading app and have to keep asset values by ticker sign, a map is a useful approach due to these two benefits. A map would be an efficient method to provide and check the existing weather in many cities all over the world if we had been developing a weather app. We will probably use a map at an online marketplace to locate products by brands or categories.”
-
Abstract Classes C++
“A class in C++ Programming language is considered abstract if it contains at least a single virtual method. The virtual method can be defined by the classes that inherit the abstract class; otherwise, the subclass would have become an abstract class. Abstract classes have been used to construct the C++ APIs; however, data abstraction, which will be the idea of maintaining configuration settings apart from associated data, may not be mixed up with abstract methods. An abstract class operates as a base class from which certain classes may derive. Let’s see the different examples of an abstract class.”
-
What Is Spring Framework?
Spring is a Java-based application framework that can be used to create any type of application, such as stand-alone, web, or enterprise application. It was designed and created by Rod Johnson to deliver a refine and improved version of the JEE development architecture. The Rod was first released in June 2003 with the Apache 2.0 license.