Skip to main content

Why Git Says 'No Existing Author Found' and How to Fix It

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

This error usually pops up when you're trying to use the --author flag during a commit or a rebase, and Git is failing its "detective work."

Unlike a simple text label, the --author flag triggers a search. Git tries to find a match in your existing history or your configuration. If your search string is too vague, has a typo, or doesn't match the required pattern, Git throws its hands up and says: fatal: No existing author found with 'XYZ'.

The Time Traveler’s Guide: How to Change Git Commit Authors

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Rewriting history in Git is a bit like time travel: it's powerful, but if you're not careful, you can create a messy alternate timeline. Since Git commits are cryptographically linked to their parent, changing an author changes the commit hash, which means you are technically replacing old commits with brand-new ones.

How to Find the Author of a Git Commit (with Email)

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Finding the person behind a line of code is one of the most common tasks in Git—whether you're giving credit, asking for clarification, or (let’s be honest) finding out who broke the build.

In Git, every commit stores two distinct identities: the Author (who wrote the code) and the Committer (who put it into the repository). Usually, they are the same person, but they can differ during rebases or cherry-picks.

SOLVED - fatal: Not possible to fast-forward, aborting

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

This error is Git’s way of saying: "I can't just stack your new commits on top of the remote ones because the history has split."

In technical terms, your local history and the remote history have diverged. You have commits that the server doesn't, and the server has commits that you don't. Git is refusing to "Fast-Forward" (which essentially means "just move the pointer forward") because there is nowhere straightforward to move it to.

Here are 5 ways to solve this, ranked from "Standard Practice" to "Nuclear Option."

Reasons to use dataclass over pydantic basemodel

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

While Pydantic is the industry standard for external data (APIs, JSON parsing), Python's built-in dataclasses are often the better choice for internal data.

To answer your specific questions:

  1. Is it speed? YES. Dataclasses are significantly faster at creating objects (instantiation).
  2. Is it strict data type? NO. Pydantic is stricter. Dataclasses do not validate types at runtime; they blindly accept whatever you give them.

Here are the 4 most convincing reasons to use Dataclasses over Pydantic in a modern app, with examples for each.

Generating Stylized QR Art with Stable Diffusion & ControlNet

· 8 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Gone are the days of boring black-and-white squares! With the advent of advanced AI image generation models like Stable Diffusion, we can now create QR codes that are not only scannable but are also stunning works of art. This guide will walk you through the process of generating stylized QR codes that seamlessly blend into captivating images.

Building a URL Redirector in Python for Dynamic QR Codes

· 4 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

If you print 1,000 posters with a QR code and the website URL changes next week, a "Static" QR code becomes a pile of wasted paper. The solution is a Dynamic QR code.

Instead of encoding your final destination (like myshop.com/promo-january), you encode a "Short URL" that you control (like myqr.link/offer). When a user scans it, your server looks up where offer should go today and redirects them instantly.

Exporting Python Barcode Scan Data to CSV and Excel

· 4 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Exporting your scan data is the final piece of the puzzle. While a database is great for storage, most team members prefer to see results in a spreadsheet.

In Python, the pandas library is the gold standard for this. It can read directly from your SQLite database and convert that data into a professional-looking Excel or CSV file in just a few lines of code.

Integrating Python Barcode Scanners with a Database

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Connecting your scanner to a database transforms a simple visual tool into a functional Inventory Management or Attendance System. In this walkthrough, we will use SQLite because it is built into Python, requires no external server setup, and is perfect for edge devices like a Raspberry Pi or a local laptop.

How to Decode Barcodes and Industrial 2D Codes with Python

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Building a code generator is only half the battle. In this walkthrough, we will build a high-performance scanning system capable of identifying and decoding multiple barcodes and 2D codes (QR, Data Matrix, etc.) from both static images and real-time video streams.

Looking for more content?
Hrekov Blog contains 275 articles. Browse the blog archive or Explore the full timeline.