Publications

A council of AI models for the decisions that aren't no-brainers — models answer in parallel, debate to consensus, or get judged to a verdict. The article explains the ideas behind my yesbrainer.ai project.

My yesbrainer.ai project has been featured on Sidebar — the five best design and front-end links of the day.

How to run Claude Code with the --dangerously-skip-permissions flag safely inside a Docker sandbox (claude-pod), keeping your home directory, SSH keys, and other projects invisible to the container.

My GitHub project trekhleb/js-image-carver is mentioned as an implementation example in the Wikipedia article about the Seam Carving algorithm.

A tech-interview preparation book published by Hanbit Media (South Korea) that cites my GitHub project trekhleb/javascript-algorithms.

A closer look at X’s API: fetching data, linking entities, and solving under-fetching.

My article about the API design of X (Twitter) home timeline has been included to TLDR Newsletter.

A dedicated article on Juejin (掘金), a major Chinese developer platform, about my GitHub project trekhleb/javascript-algorithms.

My GitHub project trekhleb/javascript-algorithms has been included to JavaScript Weekly newsletter issue #709

A Git & GitHub handbook published by Easys Publishing (South Korea) that cites my GitHub project trekhleb/javascript-algorithms.

System design sketches for popular system design interview questions.

My GitHub project trekhleb/javascript-algorithms has been referenced in the AI Shift (CyberAgent group, Japan) corporate engineering blog on Zenn.

The research paper on automated parking (arXiv:2406.15430) that cites my GitHub project trekhleb/self-parking-car-evolution.

A peer-reviewed paper from the 21st International Conference on Mining Software Repositories (MSR 2024) that uses my GitHub project trekhleb/javascript-algorithms in its benchmark of real-world JavaScript crashes.

A peer-reviewed tool paper from the 17th ACM/IEEE International Workshop on Search-Based and Fuzz Testing (SBFT 2024), by TU Delft, that uses my GitHub project trekhleb/javascript-algorithms as one of the benchmark subject systems.

A peer-reviewed paper from the XXXVII Brazilian Symposium on Software Engineering (SBES 2023) that references my GitHub project trekhleb/javascript-algorithms.

A chapter in the Wiley book "Enabling Tools and Techniques for Organic Synthesis" (by Jason M. Stevens, Bristol Myers Squibb) that cites my GitHub project trekhleb/learn-python.

My GitHub project trekhleb/javascript-algorithms has been included to JavaScript Weekly newsletter issue #652

A TU Delft Computer Science research project thesis (E. Li, 2023) that cites my GitHub project trekhleb/javascript-algorithms.

A dedicated Medium article that profiles my GitHub project trekhleb/javascript-algorithms and walks through its algorithm collection.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

My GitHub project trekhleb/javascript-algorithms has been included to JavaScript Weekly newsletter issue #633

My okso.app drawing app is mentioned in the TechCrunch article related to TLDraw app

My GitHub project trekhleb/js-image-carver has been included to JavaScript Weekly newsletter issue #618

A peer-reviewed paper from the 14th International Symposium on Search-Based Software Engineering (SSBSE 2022), published in Springer's Lecture Notes in Computer Science, that uses my GitHub project trekhleb/javascript-algorithms for test case generation experiments.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

A peer-reviewed paper from the IEEE Working Conference on Software Visualization (VISSOFT 2022) that uses algorithms from my GitHub project trekhleb/javascript-algorithms as its analysis examples.

My okso.app has been mentioned in the Changelog podcast #6

My okso.app drawing app has been featured in the Changelog News.

The article discusses the growth and challenges of open-source development in Ukraine, highlighting notable Ukrainian contributors and projects, the community's role in fostering collaboration, and how open-source tools are being leveraged to support Ukraine

JavaScript implementation of so-called Seam Carving algorithm for content-aware image resizing

My GitHub project trekhleb/javascript-algorithms is mentioned as an implementation example in the MDN Web Docs article.

A book chapter published by the University of Brasília (in "Fundamental Concepts and Models for the Direct Problem", 2022) that cites my GitHub project trekhleb/homemade-machine-learning.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

Published on Hacker News 2nd page. The link leads to the Hacker News archive for that day where the mention can be found.

My article about the "Genetic algorithm learns how to park a car" has been mentioned in this Towards Data Science publication.

My GitHub project trekhleb/self-parking-car-evolution has been included to JavaScript Weekly newsletter issue #558

Published on Hacker News 2nd page. The link leads to the Hacker News archive for that day where the mention can be found.

Training the car to do self-parking using a genetic algorithm

Published on Hacker News 2nd page. The link leads to the Hacker News archive for that day where the mention can be found.

Interactive example of how the floating-point numbers like -27.156 are stored in binary format in a computer's memory

JavaScript implementation of so-called Seam Carving algorithm for the content-aware image resizing and object removal. A dynamic programming approach is applied to optimize the resizing time.

A dedicated review of my trekhleb/js-image-carver project by Bram Van Damme (Bramus), a Chrome Developer Relations Engineer at Google.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

My GitHub project trekhleb/js-image-carver has been included to JavaScript Weekly newsletter issue #535

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

JavaScript implementation of so-called Seam Carving algorithm for the content-aware image resizing and object removal. A dynamic programming approach is applied to optimize the resizing time.

Published on Hacker News frontpage. The link leads to the Hacker News post about the Gyro-web article.

My GitHub project trekhleb/javascript-algorithms has been featured in the SegmentFault (思否) Tech Weekly staff editorial.

My article about the trekhleb/links-detector project has been featured in PyCoder's Weekly issue #450.

In this article I'm solving the issue of making the printed links (i.e. in a book or in a magazine) clickable via your smartphone camera. We will use TensorFlow 2 Object Detection API to train a custom object detector model to find positions and bounding boxes of the sub-strings like https:// in the text image (i.e. in smartphone camera stream).

In this article I'm solving the issue of making the printed links (i.e. in a book or in a magazine) clickable via your smartphone camera. We will use TensorFlow 2 Object Detection API to train a custom object detector model to find positions and bounding boxes of the sub-strings like https:// in the text image (i.e. in smartphone camera stream).

7 simple JavaScript functions that will give you a feeling of how machines can actually “learn”.

A character-level LSTM (Long short-term memory) RNN (Recurrent Neural Network) is trained on ~100k recipes dataset using TensorFlow. The model suggested the recipes "Cream Soda with Onions", "Puff Pastry Strawberry Soup", "Zucchini flavor Tea", and "Salmon Mousse of Beef and Stilton Salad with Jalapenos". Yum!? Follow along this detailed guide with code to create your own recipe-generating chef.

Pass your algorithms interview with confidence by learning data structures and algorithms in JavaScript. The book should help engineers to better prepare for tech interviews.

A collection of interactive machine-learning experiments. Each experiment consists of Jupyter/Colab notebook (to see how a model was trained) and demo page (to see a model in action right in your browser).

My article about generating cooking recipes with TensorFlow (the machine-learning-experiments project) has been featured in PyCoder's Weekly issue #426.

Published on Hacker News 2nd page. The link leads to the Hacker News archive for that day where the mention can be found.

This article contains details of how the recipes generator LSTM model may be trained trained on Python using TensorFlow 2 with Keras API.

About my work, workspace organization, useful tools, life hacks and how I learn new technologies on my pet projects.

A TU Delft Bachelor thesis on music genre detection that cites my article on the Fourier Transform from trekhleb/javascript-algorithms.

My GitHub project trekhleb/machine-learning-experiments has been featured in PyCoder's Weekly issue #420.

A collection of interactive machine-learning experiments. Each experiment consists of Jupyter/Colab notebook (to see how a model was trained) and demo page (to see a model in action right in your browser).

My GitHub project trekhleb/javascript-algorithms has been featured in Node Weekly newsletter issue #318

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

The book by Alessandro Parisi published by Packt that cites my GitHub project trekhleb/homemade-machine-learning.

The Better Programming article walking through the most common JavaScript algorithms and data structures, based on my GitHub project trekhleb/javascript-algorithms.

In this article I'm explaining how to create React usePosition() hook to fetch and follow browser’s location.

This article is my attempt to summarize common technical interview process steps and to collect in one place some useful insights from recruiters that they normally send to applicants before the interviews.

Article about the project that contains examples of popular machine learning algorithms implemented in Python with mathematics behind them being explained.

My GitHub project trekhleb/homemade-machine-learning has been featured in PyCoder's Weekly issue #349.

My GitHub project trekhleb/javascript-algorithms has been included to JavaScript Weekly newsletter issue #417 (Top code and tools of 2018)

Article about the project that contains examples of popular machine learning algorithms implemented in Python with mathematics behind them being explained.

Article about the project that contains examples of popular machine learning algorithms implemented in Python with mathematics behind them being explained.

A dedicated iMasters article by Diego Pinho (in Portuguese) about my GitHub project trekhleb/javascript-algorithms.

MatLab/Octave examples of popular machine learning algorithms with code examples and mathematics behind them being explained.

In this article I’m trying to explain the difference/similarities between dynamic programming and divide and conquer approaches based on two examples: binary search and minimum edit distance (Levenshtein distance).

Collection of Python scripts that are split by topics and contain code examples with explanations.

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

How to stay productive and to be open to new opportunities (career developing).

This article briefly describes the difference between mathematical permutations and combinations, explains the main idea behind permutations and combinations algorithms and contains links to algorithms implementation in JavaScript.

In this article I’m trying to explain the difference/similarities between dynamic programming and divide and conquer approaches based on two examples: binary search and minimum edit distance (Levenshtein distance).

Published on Hacker News frontpage. The link leads to the Hacker News archive for that day where the mention can be found.

Algorithms and data structures implemented in JavaScript with explanations and links to further readings.