Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Filter by Categories
About Article
Analyze Data
Archive
Best Practices
Better Outputs
Blog
Code Optimization
Code Quality
Command Line
Daily tips
Dashboard
Data Analysis & Manipulation
Data Engineer
Data Visualization
DataFrame
Delta Lake
DevOps
DuckDB
Environment Management
Feature Engineer
Git
Jupyter Notebook
LLM
LLM Tools
Machine Learning
Machine Learning & AI
Machine Learning Tools
Manage Data
MLOps
Natural Language Processing
NumPy
Pandas
Polars
PySpark
Python Helpers
Python Tips
Python Utilities
Scrape Data
SQL
Testing
Time Series
Tools
Visualization
Visualization & Reporting
Workflow & Automation
Workflow Automation

Git

Enhance Git Diff with Delta: Clearer Comparisons and Improved Interface

While git diff enables comparing changes between the working directory and the staging area, it can sometimes be messy and unclear.

In contrast, Delta enhances the interface by offering a cleaner design, highlighting word-level differences, providing line numbering, and supporting a convenient side-by-side view.

Enhance Git Diff with Delta: Clearer Comparisons and Improved Interface Read More »

AI Commits: Write Your Git Commit Messages With AI

Writing descriptive Git commit messages is important to track the changes made to your codebase over time. However, summarizing the modifications made across multiple files in a single commit can be a daunting task.

aicommits streamlines this process by analyzing the code changes and generating a commit message that accurately describes the changes made.

AI Commits: Write Your Git Commit Messages With AI Read More »

Streamlining Git: Making Version Control Accessible with GitUp

Git commands can often be confusing; for instance, mixing up “git reset” and “git revert” can lead to unintended consequences. Furthermore, correcting mistakes in Git can be complex.

GitUp introduces a user-friendly Git interaction model that lets engineers of all levels work swiftly and safely.

With GitUp for Mac, you get:

🔹 A live and interactive repo graph for editing, reordering, fixing, merging commits, …

🔹 Unlimited undo / redo of almost all operations (even rebases and merges),

🔹 Time Machine like snapshots for 1-click rollbacks to previous repo states,

🔹 Instant search across the entire repo including diff contents,

🔹 An exceptionally fast UI, often faster than the command line.

Streamlining Git: Making Version Control Accessible with GitUp Read More »

Git Merge vs Git Rebase: Which One to Use?

git merge and git rebase both reconcile the difference between the two branches (“feat” and “main”).

git merge creates a new merge commit in the “feat” branch that ties together the histories of the “main” branch and the “feat” branch. Use git merge when you want to preserve individual commit histories across branches.

git rebase modifies the existing commits of the “feat” branch. Use git rebase when you want to maintain a clean commit history. However, avoid using git rebase on shared branches to avoid potential conflicts.

Git Merge vs Git Rebase: Which One to Use? Read More »

pytest-picked: Run the Tests Related to the Unstaged Files in Git

It can be time-consuming to run all tests in your project. Wouldn’t it be nice if you can run only the tests related to the unstaged files in Git? That is when pytest-picked comes in handy.

In the code above, only tests in the file test_picked.py are executed because it is an unstaged file.

Link to pytest-picked.

My previous tips on testing in Python.
Favorite

pytest-picked: Run the Tests Related to the Unstaged Files in Git Read More »

DagsHub: a GitHub Supplement for Data Scientists and ML Engineers

GitHub is a great platform for version control your code, but it is not ideal to version your data, model, and metrics.

Wouldn’t it be nice if there is a platform that is similar to GitHub, but is more optimized for data scientists and machine learning engineers? That is when DagsHub comes in handy.

In my latest article, you will learn how to use DagsHub to version their data, models, experiments, and code in one platform.

Link to my article about DagsHub.

Link to the demo repository.
Favorite

DagsHub: a GitHub Supplement for Data Scientists and ML Engineers Read More »

0
    0
    Your Cart
    Your cart is empty
    Scroll to Top

    Work with Khuyen Tran

    Work with Khuyen Tran