Graph Depth-First Search (DFS)
A graph is a data structure that represents a network. A graph consists of nodes called vertices (an intersection of connections), and connections between no...
A graph is a data structure that represents a network. A graph consists of nodes called vertices (an intersection of connections), and connections between no...
I read a whitepaper on this Chain of Density prompting technique a while ago that fascinated me.
Over the last year, each of us in the industry has been learning how to integrate generative AI together, mostly exploring and figuring things out as we’ve g...
LeetCode - Contains Duplicate II
LLMs have been described as stochastic parrots (see the LangChain logo/mascot).
A collection of insights I wish I’d had earlier in my careeer, that might be useful to others.
An LLM is literally a text predicting machine. That’s all it does.
Here’s an example approach to creating a chatbot with LangChain which integrates:
LangChain’s MultiPromptRouter is a powerful tool you can use to dynamically route an incoming message to chains with different models depending on the messag...
Using a single prompt for a chatbot quickly runs into limitations.
This is mostly a scratch for me to refer to, but figured it might also be helpful someone else.
I thought it would be fun to review classes in Python and produce a blog post as an artifact, maybe to help others, or to serve as a brush-up for future-me.
The sliding window technique is used to eliminate travel waste (nested loop) within an array whenever you need to operate on subarrays of length K.
Six Sigma is basically the study of efficiency in manufacturing.
SOLID is an acronym representing 5 principles of object-oriented programming that inform the construction of well-designed, maintainable components. These pr...
I’ve invented a brand new sorting algorithm, called procrastisort.
If you’re sick of looking through your shell history to find a command to modify and reuse, check out Navi.
Writing software is an activity that requires uninterrupted periods of deep focus.
This is a cheat sheet for a junior dev or anyone from non-technical background joining a technical team for the first time, who wants to know how it typicall...
I’m a huge Tesla FSD nerd. The software fascinates me.
I was reviewing my external brain (a massive git repo containing 20+ years of my writing/snippets/thoughts I call “memory alpha”), and came across this quote...