CategoryProgramming

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...

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:...

Problem: Make them Anagrams

Given two strings, a and b , that may or may not be of the same length, determine the minimum number of character deletions required to make a and b anagrams. Any characters can be deleted from either of the strings. Input : test cases,ttwo strings a and b, for each test case Output: Desired O/p Constraints : string lengths<=10000 Note : Anagram of a...

Problem: Seating Arrangement

Two friends are quite fond of travelling. They mostly travel by railways. They were travelling in a train one day and they got interested in the seating arrangement of their compartment. The compartment looked something like So they got interested to know the seat number facing them and the seat type facing them. The seats are denoted as follows : Window Seat : WSMiddle Seat : MSAisle...

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