Latest stories

Navigating Image Updates in Open Data Hub Notebooks: A User-Centric Approach

In this post, we will explore the practical aspects of Open Data Hub (ODH), an open source project reshaping the landscape of AI and Machine Learning (ML) workloads on the OpenShift Container Platform. At the core of this project, lies a collection of pre-built, industry-optimized notebook images within the Open Data Hub, seamlessly integrated with the ODH Notebook Controller. These notebooks...

STM32 Devcoons Framework – Use the drv_flash module (4)

In this post we will see how the drv_flash module can be loaded and how it is working. This tutorial is a part of the STM32 Devcoons Framework, so I suggest to first check this article. As with all the modules, we have to import it using the method explained here. And afterwards use the module freely in our code. Below is a simple example of the tsk_app using the flash_erase and flash_write...

STM32 Devcoons Framework – Use the lib_crypto module (3)

In this post, we will add the lib_crypto module to our project. As all the module, it should be ‘automatically ‘ recognized by the STM32 Devcoons Framework, thus we will be able to use its functions directly. So, let’s start! Enable the library featuresUse the library devcoons/stm32-lib-crypto (github.com) Add the module by following the tutorial: Enable the library features...

STM32 Devcoons Framework – Add a module (2)

The flow to add a module in the STM32 Devcoons Framework is a straightforward and seamless process which ease up the development. In this post, we will see the basic rules we have to follow and show a quick example. Place the modules in the corresponding folderAdd a moduleInclude the path in the ‘GCC Include Paths’That’s all! Now you can freely use the module in your code! Place...

STM32 Devcoons Framework – Introduction & Project setup (1)

In this article we will explore an easy-to-use development framework for STM32 microcontrollers. The purpose of this framework is to speed up the development of STM32 projects and help the user focus mostly on their application, rather than the configuration. This framework is consisted by a series of plug-n-play modules covering a wide number of peripherals and libraries. Ex: CANBus, UART, SPI...

ISO 3166 Country Codes library for C#

The purpose of ISO 3166 is to define internationally recognized codes of letters and/or numbers that we can use when we refer to countries and their subdivisions. However, it does not define the names of countries – this information comes from United Nations sources (Terminology Bulletin Country Names and the Country and Region Codes for Statistical Use maintained by the United Nations...

How to ‘flatten’ a Git repository with multiple submodules

A common strategy during development is to use multiple git submodules. In this way you may distribute the workload to other developers but also maintain a proper structure of your project. However, when it is time to release, a good advice is to ‘flatten’ your repository and ensure that your project is self-contained in a way that there will be no (external) dependency to other...

GitHub Repositories Backup (Orgs)

It is a common need to periodically create a cold-storage backup of your online repositories. However, as long as now Github does not offer an automated way, you can use the Github Repositories Backup software to perform this operation easier.

Github Repositories Backup

Computing Pairwise Text Similarities

There are different sectors where text similarity is used, for example on Search Engines, in Customer Service, or Legal Matters (by linking related documents). Consider the following 2 sentences:Dear Ms. John Doe, can you confirm your purchase of a plane ticket to Hong Kong?Ms. A approved purchase of a plane ticket to Hong Kong. A human could easily determine that these 2 sentences convey a very...

Problem: Play with numbers

You are given an array of n numbers and q queries. For each query you have to print the floor of the expected value(mean) of the subarray from L to R. Input: First line contains two integers N and Q denoting number of array elements and number of queries. Next line contains N space seperated integers denoting array elements. Next Q lines contain two integers L and R(indices of the array). Output:...

Disclaimer: The present content may not be used for training artificial intelligence or machine learning algorithms. All other uses, including search, entertainment, and commercial use, are permitted.

Categories

Tags