How to Clone Only a Specific Directory with Git

Git

A quick reference for how to clone only a specific directory from a Git repository. Introduction How to Clone Only a Specific Directory with Git Commands Example Conclusion References Introduction I needed to clone only a specific director…

How to Set Git Bash as Default Terminal in VSCode

A quick note on how to change the default terminal in VSCode to Git Bash. Introduction How to Set Git Bash as the Default Terminal in VSCode 1. Open Settings 2. Type "terminal.integrated.defaultProfile.windows" in the search bar 3. Select …

Going Back to Previous Location After F12 (Go to Definition) in VSCode

A quick note on how to return to your original cursor position after jumping to a code definition with F12 (Go to Definition) in VSCode. Introduction Shortcut to Go Back in VSCode Conclusion References Introduction F12 (Go to Definition) i…

How to Fix F12 (Go to Definition) Not Working with venv in VSCode | Python

Here's a guide on how to fix the issue where VSCode's F12 (Go to Definition) stops working when using Python's venv. Introduction How to Fix F12 (Go to Definition) Not Working with venv in VSCode Cause Solution Conclusion Introduction VSCo…

Understanding How NVIDIA Cosmos Policy Works | Paper: Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning

These are my reading notes on the NVIDIA Cosmos Policy paper, "Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning." Introduction Cosmos Policy: Fine-Tuning Video Models for Visuomotor Control and Planning Backgroun…

How to Get SQL Server 2022 Developer Installer

A quick note on how to obtain the SQL Server 2022 Developer installer. Introduction Getting SQL Server 2022 Developer Installer Download URL Is This URL Trustworthy? Conclusion References Introduction The installer for SQL Server 2022 Deve…

What is aka.ms

aka.ms is a URL shortener officially operated by Microsoft. Introduction What is aka.ms? Is aka.ms really issued by Microsoft? The domain is owned by Microsoft Only Microsoft can create shortened URLs Conclusion References Introduction If …

Running ACE-Step 1.5 Locally | Music Generation AI on M2 MacBook Air

These are my notes from trying out ACE-Step 1.5 locally. Introduction Running the Music Generation AI "ACE-Step 1.5" Locally Installing ACE-Step 1.5 Running ACE-Step 1.5 with the Gradio Web UI Troubleshoot - RuntimeError: MPS backend out o…

Deep Learning and Collective Intelligence | Paper: Collective intelligence for deep learning: A survey of recent developments

This is a summary of the paper "Collective intelligence for deep learning: A survey of recent developments," which explores the relationship between deep learning and collective intelligence. Introduction Collective intelligence for deep l…

Understanding GPT-2 | Paper Summary: Language Models are Unsupervised Multitask Learners

This is a summary of the GPT-2 paper "Language Models are Unsupervised Multitask Learners." Introduction Language Models are Unsupervised Multitask Learners Overview Method Creating the WebText Training Dataset BPE: Byte Pair Encoding Mode…

Difference Between torch.tensor() and torch.Tensor() in PyTorch

This is a quick reference note on the differences between torch.tensor() and torch.Tensor(). Introduction Differences Between torch.tensor and torch.Tensor In Short In Detail Note: Creating Empty Tensors Conclusion References Introduction …

Building a Game from Scratch with Python | From Design to Implementation

I created my own game using Python. This article documents everything from the preparation involved in game development to the implementation challenges I encountered, and the final game design. Introduction Wanting to Create Something Why…

Equality Comparison for User-Defined Class Objects in Python

This article explains how to compare user-defined class objects for equality in Python. Introduction Comparing User-Defined Class Objects for Equality in Python Comparing Instance Variables in the __eq__ Method Comparing __dict__ in the __…

Checking Memory and Disk Space with Python

This article explains how to check memory and disk space on your execution environment using Python. Introduction Getting Disk and Memory Capacity Disk Space Memory Capacity Conclusion References Introduction I recently needed to check mem…

Behavior When Combining GPT Stream and Timeout | OpenAI Python Library

I'll verify what happens when calling the OpenAI API from Python with both stream and timeout settings enabled. Introduction Behavior When Combining GPT Stream and Timeout Hypothesis Testing Method Test Results Summary Conclusion Reference…