tutorial

Build Your Own YouTube Thumbnail Downloader! RoR+SerpApi – Part 1

Build Your Own YouTube Thumbnail Downloader! RoR+SerpApi – Part 1

Part 1 - Basic Working Example (Done) Part 2 - Refactor and Deployment In this short tutorial we'll build a simple YouTube thumbnail downloader in Ruby on Rails with SerpApi for finding video thumbnails. Prerequisites:- Ruby version 3.2.2Ruby on Rails version 7.1.3.4SerpApi access. You can get the api key by singing up here. The versions don't matter. You should have both ruby and rails installed in your system. Let's begin by scaffolding our rails app.$ rails new YT-Thumbnail-Downloader Go to the project directory $ cd YT-Thumbnail-Downloader. Type $ rails s in the terminal and open localhost:3000 in the browser. You…
Read More
IMPLEMENTING AZURE KEY VAULT

IMPLEMENTING AZURE KEY VAULT

Azure Key Vault (AKV) is a cloud-based security service that provides secure storage, management, and deployment of sensitive data, such as: Encryption and Cryptographic keys Certificates (SSL/TLS, Azure, etc.) Secrets (passwords, credentials, etc.) AKV offers: Secure storage in a Hardware Security Module (HSM) Centralised management and organisation Access control and authentication Encryption and decryption services Key rotation and revocation Auditing and logging Integration with Azure services and applications In this tutorial, I will be demonstrating how to access Azure Key Vault and utilising one of its capabilities to add a secret to the vault. PREREQUISITE Working computer Internet connection Microsoft…
Read More
How to Build a MySQL Admin Panel (Fast & Easy)

How to Build a MySQL Admin Panel (Fast & Easy)

How to Build a MySQL Admin Panel (4 Easy Steps) In this guide, we will walk you through the four steps required to build a MySQL admin panel: Creating a New Application with Five: Get started by setting up a new application in the Five environment. Setting Up a MySQL Database: Design and create tables and fields for your MySQL database, defining both data and display types. Developing Forms: Build user-friendly forms to enable CRUD (Create, Read, Update, Delete) operations on your MySQL database. Deploying the Application: Easily launch your admin panel to the cloud. By following these steps, you'll…
Read More
How to Batch Notifications Across Users in a Dedicated Time Window? w/ Example Github Application

How to Batch Notifications Across Users in a Dedicated Time Window? w/ Example Github Application

Batching notifications is a feature widely adopted by major social media platforms and collaborative tools like LinkedIn, MS Teams, and Google Workspace products. This technique consolidates multiple alerts into a concise summary within a single notification, creating a clutter-free user experience and reducing interruptions. For hands-on implementation, please refer to the provided GitHub repository and deployed application links: Benefits of Batching Notifications Frequent alerts can lead to notification fatigue, causing users to disengage. By batching notifications, we can maintain user attention and promote sustained interaction with our platform. Technical Overview: How Batching Works Batching notifications requires sophisticated workflows and significant…
Read More
Building Robust Typescript APIs with the Effect Ecosystem

Building Robust Typescript APIs with the Effect Ecosystem

In this post, we will explore how to create a complete API using the Effect ecosystem. Although the Effect documentation is excellent, there are not many examples of full applications. If you have never heard of Effect, I suggest you take a look at the website: https://effect.website/ Effect is not just another framework but instead acts as the missing standard library for TypeScript. Because of this, I believe Effect is truly the future for TypeScript, especially when considering the challenges associated with writing production-ready applications in "plain" TypeScript. To understand more about these challenges and how Effect addresses them, watch…
Read More
Mengenal Asymmetric Encryption: Keamanan Data Tingkat Tinggi dengan Golang

Mengenal Asymmetric Encryption: Keamanan Data Tingkat Tinggi dengan Golang

Apa Itu Asymmetric Encryption? Asymmetric encryption adalah metode enkripsi yang menggunakan dua kunci berbeda: public key (kunci publik) dan private key (kunci privat). Kunci publik digunakan untuk mengenkripsi data, sementara kunci privat digunakan untuk mendekripsi data. Karena karakteristik ini, asymmetric encryption sangat berguna dalam berbagai situasi yang membutuhkan keamanan tinggi dan otentikasi. Berikut beberapa contoh penggunaan dan penjelasan detail kapan menggunakan asymmetric encryption: Mengamankan Transaksi OnlineDalam transaksi online, seperti pembelian di e-commerce atau perbankan online, asymmetric encryption digunakan untuk memastikan bahwa informasi sensitif, seperti nomor kartu kredit atau informasi pribadi, dikirim dengan aman dari pengguna ke server.Prosesnya yaitu pengguna mengenkripsi…
Read More
Split & Group Text and Perform Distinct on Each Group

Split & Group Text and Perform Distinct on Each Group

Problem description & analysis: Below is an irregularly categorized detail table. Column A and column B are categories and both have duplicate values. Column C contains detailed data consisting of strings separated by "comma+space", and there are duplicates among the string values. Task: Split detail data in each category, group them by category, get unique values of each group, and concatenate them using "comma+space". Solution: Use SPL XLL to enter the following formula: =spl("=E@b(?.group(~1,~2;~.conj(~3.split@ct()).id().concat("","")))",A2:C12) Enter fullscreen mode Exit fullscreen mode As shown in the picture below: Explanation: group()function groups rows and handles data in each group; ~1 represents the first…
Read More
What is Associative Arrays in Computer Science

What is Associative Arrays in Computer Science

In computer science, an associative array, map, symbol table, or dictionary is an abstract data type that stores a collection of (key, value) pairs, such that each possible key appears at most once in the collection. In mathematical terms, an associative array is a function with a finite domain. It supports 'lookup', 'remove', and 'insert' operations. The Dictionary Problem The dictionary problem is the classic problem of designing efficient data structures that implement associative arrays. The two major solutions to the dictionary problem are hash tables and search trees. It is sometimes also possible to solve the problem using directly…
Read More
Scaling databases with AWS RDS and read replicas

Scaling databases with AWS RDS and read replicas

Amazon Web Services (AWS) Relational Database Service (RDS) is a managed service that simplifies the process of configuring, operating, and scaling a relational database in the cloud. AWS RDS is a versatile choice that supports several database engines including PostgreSQL, MySQL, Oracle, MariaDB, Microsoft SQL Server, and Amazon's own Aurora. Advantages of using RDS over a self hosted database Managed Service - AWS RDS is a fully managed service, which means that AWS takes care of provisioning, patching, backup, recovery, and even scaling. This allows developers and database administrators to focus on the application development and optimization rather than managing…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.