Doing It Wrong

learn in public

Site Navigation

  • Home
  • Books
  • Work & Play

Site Search

Elasticsearch

posted on November 27, 2023

Elasticsearch: This Could be a Career

Implementing a Custom Analyzer

An analzyser processes indexed data so that it is relevant to text searches. It is made up of three parts: zero or more character filters, one tokenizer, and zero or more token filters. The character filter preprocess the stream of characters before passing the stream to the tokenizer. The tokenized stream is passed into a tokenizer.

Filed Under: Development Tagged With: Elasticsearch, Grow Me

Chesterton’s Fence

posted on November 27, 2023

G.K. Chesterton’s Fence

There exists in such a case a certain institution or law; let us say, for the sake of simplicity, a fence or gate erected across a road. The more modern type of reformer goes gaily up to it and says, “I don’t see the use of this; let us clear it away.” To which the more intelligent type of reformer will do well to answer: “If you don’t see the use of it, I certainly won’t let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it.”

My Thoughts

For now, it’s good to “go away and think”. There’s probably a lot of wisdom in understanding how you got to a certain point, or what might cause someone to put a gate across a road—maybe then the cattle grate is the right tool.

Filed Under: Development Tagged With: Eponym, Principle

Git Submodules

posted on November 27, 2023

Oft-used, never understood.

References

  • Git SCM
  • man git-submodule

Add a Submodule

git submodule add <URL>

This creates a .gitmodules file that shows the mapping between your project and its submodules.

Clone with Submodules

  1. clone your project as normal
  2. git submodule init to initialize from .gitmodules
  3. git submodule update to fetch data from the commit referenced at the other end of the .gitmodules repo URL

Filed Under: Development Tagged With: git

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • Next Page »

Profile Links

  • GitHub
  • Buy Me a Coffee?

Recent Posts

  • Understanding `satisfies`
  • Event Listeners
  • A Philosophy of Software Design
  • The Programmer’s Brain
  • Thoughts on Microservices

Recent Comments

No comments to show.

Archives

  • August 2026
  • May 2025
  • September 2024
  • July 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • December 2022
  • December 2021

Categories

  • Development