Date sequence from the command line
I was looking back at Jeroen Janssen’s book Data Science at the Command Line and his dseq utility caught my eye. This utility prints out a sequence of dates relative to the current date. I’ve needed this and didn’t know it. Suppose you have a CSV file and you need
Read moreBuilding Typescript Types for the useReducer Hook
A deep dive into using mapped types to automate creating action types for a discriminated union type for use with useReducer in React.Continue reading on Better Programming »
Read moreAn Overview of CSS Sizing Units
Explore the four broad categories of CSS sizing units, how to apply them in your layouts, and how to choose the best ones in each scenario. Continue reading An Overview of CSS Sizing Units on SitePoint.
Read moreRust and LLM AI Infrastructure: Embracing the Power of Performance
Image by authorBuilding an LLM or AI infrastructure in Rust can offer several benefits despite Python’s dominance in the AI space.Performance: Rust is known for its high performance and low-level control, which can be crucial for building large-scale AI systems. Language models, especially deep learning models, can be computationally intensive. Rust’s performance
Read moreAdvanced Async Testing: Unstructured Concurrency
Write robust and maintainable software using modern language featuresImage generated using MidjourneyIn the first two chapters, we built our testing foundation: We developed techniques to separate concerns through dependency injection and then created mock versions of our injected services.Subsequently, in Part III, we wrote our first asynchronous tests that checked whether
Read moreA Better Frontend Component Structure: Component Trees
Easily avoid frontend component directories with high cognitive loadA clear and concise way to look at your frontend components in a frontend project (source: Midjourney)Since following advice on the internet long ago, I adopted a certain component structure that “just works.”ScenarioLet’s first imagine a simplified frontend app directory structure, taking some
Read moreI Built a Trashtalk Wordle With ChatGPT Using LLM Decorator and Function Calling
Photo by Nils Huenerfuerst on UnsplashWith the new release of ChatGPT callback functions, I wanted to test it out with a new simple app.After a brainstorming session that was shorter than it should have been, I came up with the idea of the trashtalk Wordle. Just imagine how fun (and annoying) it
Read moreBloom Filters and Beyond: Probabilistic Membership in Practice
Image generated by OpenAI DALL.E 2Optimizing large systems is incredibly satisfying. Very few things are more exciting than seeing a large baseline shift in your metrics after a clever new algorithm is deployed. Optimization can save money, make systems easier to operate, improve developer productivity, or sometimes unlock scale that wouldn’t
Read moreUnderstanding iOS Memory Management With Toy Analogies
I’ve been an iOS developer for over five years now. I must confess that I’ve somewhat tiptoed around one particular topic all this time…Continue reading on Better Programming »
Read moreLow-Code and No-Code Task Automation With LlamaIndex Data Agents, Zapier NLA, Snowflake, &…
GitHub Archive data analysis and task automationContinue reading on Better Programming »
Read more