Checklist for Writing Bitmap Fonts (1970s-1980s) Document bitmap font storage formats (BDF, PCF, custom binary) Explain glyph structure data organization and positioning metrics Detail 1-bit vs 8-bit storage efficiency and memory calculations Describe boolean matrix operations (get/set bit, bitmap conversion) Create rendering pipeline from bitmap to screen Explain texture atlas creation and optimization Analyze performance benefits (CPU vs GPU, cache efficiency) Document historical context (early terminals to modern usage) Write code examples (C structures, rendering functions) Compare advantages vs disadvantages with use cases Include technical terms (glyph, baseline, advance, kerning, hinting) Add mathematical formulas for storage calculations Bitmap Bitmap was introduced in 1970s. The idea is to fill colors in a grid of pixels to show the letter. A boolean matrix can be used where the background color represents true or 1 and the text color represents false or 0. In here the letters are made on a pixel grid of 16 X 20. Where the black colored cells are 1 and the non-black colored cells are 0.
Getting started with Neovim
Installation Just follow the installation guide in here Neovim Installation. UI Terminologies Buffers: In-memory text of a file. The text of the file is loaded into memory for editing. The original file remains unchanged until you the write the buffer to the file. Windows: View of the buffer. You can use multiple windows to see a single buffer. Tabs: Collection of windows. Ruler
Efficient coding with vim motions.
When you hear vim is the best text editor, it isn’t the performance or the customizability of the editor. Most of the time it’s about the vim motions. What are vim motions ? Vim motions are the commands used to navigate your cursor from one place of the file to another. It is kind of a language in itself using which you can describe the edits you want to make inside the current opened file. It isn’t bound only to the Vim editor but can be installed as an extension on your preferred code editor. ...
Your Computer My Function
Have you ever wondered how your computer executes tasks across different devices ? Imagine a world where your computer can tap into remote servers for executing functions. Welcome to the realm of Remote Procedure Calls (RPC) - the unsung hero behind seamless interactions. From the way Git syncs your projects across devices to how cloud services talk to your favorite apps, RPC is the secret sauce that makes it all happen. ...
Language Server Protocols
Most of you are using code editors like VSCode or IDEs like PyCharm for coding. You might be aware of some of the features provided by these applications, such as: Code Completion: Smart suggestions as you type your code (IntelliSense). Syntax Highlighting: Color-coding different elements of your code. Code Formatting: Automatically formats your code based on styling standards (e.g., Prettier). Integrated Debugging: Allows you to set breakpoints and run through your code, making it easier to identify and fix issues in real time. Linting: Automatically detects errors and potential issues in your code, ensuring that you adhere to coding standards and best practices. Code Actions: Provides quick fixes and refactoring suggestions for code issues. Code Navigation: Quickly jump to function and variable definitions for exploring your code. Find references to specific symbols (identifiers) in your codebase. How do you think your code editor provides these features? Short answer: LSP (Language Server Protocol). ...
What is a terminal emulator ?
Introduction In your developing journey, you must have heard about terminals, consoles, command-line interfaces (CLI), or TTY windows. These terms describe text-based interfaces that allow users to interact with their computer systems using text commands. Terminals might seem daunting at first, but they are powerful tools that have been central to computing for decades. What is a Terminal? A terminal is a text-based interface that allows users to interact with their computer by typing commands. Unlike graphical user interfaces (GUIs), which use windows, icons, and menus, terminals rely on text to perform tasks by execute textual commands. ...
SIH 2024 Problem Statement ID-1749
Context For those who don’t know about SIH (Smart India Hackathon) is conducted by the Indian Government every year. This year i.e. 2024 , I found a problem statement to my liking which is problem statement ID: 1749. It is based on data recovery from XFS and BTRFS file systems, which I have daily drive for quite extensively. For those who don’t know about file systems (FS) in general is file systems are the type of systems that the user use to organize data inside the storage. Then the storage is divided into partitions to manage large storage space. ...
Understanding Your Options: CLI, TUI, and GUI Explained
Introduction The way we interact with our devices greatly impacts our efficiency and experience. Whether you’re a tech enthusiast, developer, or casual user, understanding different user interfaces helps you choose the right tool for your tasks. In this blog, we will break down three major types of interfaces: Command-Line Interface (CLI) Text-Based User Interface (TUI) Graphical User Interface (GUI) Each has unique features, advantages, and use cases. Let’s explore what makes each interface distinctive and how they can be leveraged effectively. ...