Hi there 👋

Engineering topics from Kubernetes, Databases to AI to virals to solving problems. Welcome!

Harnessing Rituals for Uniterrupted Uptime

Introduction In the ever-evolving landscape of site reliability engineering (SRE), ensuring the highest levels of uptime is the ultimate goal. Behind the scenes, a symphony of processes and practices come together to achieve this, and at the heart of it all are the rituals that we, as a large SRE team, follow with unwavering dedication. In this blog post, we’ll dive deep into the rituals that shape our approach to maintaining uptime, shedding light on how these practices contribute to a resilient system and empowered team....

August 8, 2023 · 3 min · 559 words · Me

Focus by Answering What Problem Are We Solving

Problem One of the most effective ways that has helped me focus is answering the question, “What problem are we solving?”. For this post, the problem that I am solving is how to communicate this idea to readers so they too can focus on what to solve. When there are 100 things to fix, what do you fix? One of the better articles that I read about focusing on a problem https://jasonfeifer....

July 12, 2023 · 5 min · 922 words · Me

Engineering Methods Based on Fictional Characters

Problem What are effective strategies for an engineer to communicate with their peers and answer their inquiries efficiently? Solution Appeal to your fellow engineers through shared cultural touchstones, like the well-known characters from science fiction that most engineers are familiar with. Case: Time Estimation in Software Engineering Every software engineer inevitably has to provide an estimate for when a code block, task, or project will be completed. Defining what “done” means can be complex....

May 30, 2023 · 3 min · 529 words · Me

Postmortem of a 2005 Flickr Outage Modernized for Today

Review of Flickr Architecture Before we delve into the Postmortem let’s review the details of the database architecture and Flickr’s overall Architecture at that time. Flickr at that time was a PHP shop, running PHP 4, using Smarty as its template Engine in Apache running MODPHP. PHP was everyplace because it’s a great engine. I am sure that many hate this statement, that PHP is X or PHP is Y but in reality, it enabled Flickr to jump from a top 100 destination in the USA to a top 5 destination in less than 2 years....

April 26, 2023 · 12 min · 2535 words · Me

Using Playwright With Golang and Python to Grab Js Generated Csv

Problem I am helping out a friend, to process reports which are behind a paywall and store them in a database to create a churn detector, which will enable his crew to address the churn at hand. Details What is churn? Churn is a term used by companies to denote that a customer no longer wants to use the services they previously paid for. Each company has different metrics to give an indication that a customer is CHURING....

April 25, 2023 · 4 min · 669 words · Me

Vector Embeddings

What are Vector Embeddings Let’s go back to the number line. The distance between two points; This is a good example of what Vector Embeddings are, fingerprinting a document into a number in multi-dimensional space. Since a document can be represented as a number (series of numbers), now a relation can be made between two documents. The relation in terms of distance between two vectors (which could be a markdown document for instance), small distances have a high relatedness and large distances suggest a low relatedness....

April 4, 2023 · 2 min · 241 words · Me

Chat with GPT-4 & Save Prompts/Responses to Git

Saw an ask on Twitter A person I follow on Twitter tweeted: Is there a git/version control for prompts? I hate losing great prompts and I’d love to be able to iterate on them. So I created a quick command line chat to GPT-4 https://github.com/dathan/go-openai-prompt-git-save It is a go program, and you need an OPENAI Token and a GitHub User Token in your environment. The program is very simple. From the terminal, have a chat interface to OpenAi, and save the prompts asked, to GitHub, with the content from GPT-4’s response....

March 29, 2023 · 2 min · 223 words · Me

Maximizing the Power of Language Models: Prompt Engineering

What is Prompt Engineering Let’s ask chat gpt: Response in text Prompt engineering is the practice of crafting effective prompts to generate specific outputs from language models like LLMs (Large Language Models). It involves selecting the appropriate vocabulary, formatting, and instructions to help the model understand the desired task and generate the desired output. Effective prompts can improve the performance of LLMs in various natural language processing tasks, such as language translation, sentiment analysis, text summarization, and language generation....

March 22, 2023 · 5 min · 954 words · Me

Journal Tasks Log 6

What problem am I trying to solve Extract content from a dailyco + deepgram session realtime What am I trying to do to solve the probkem Display the transcription realtime display the user and what they said display the avatar The avatar has a tooltip of the username make the body transparent and lighten up the boxes Summarize the transcription like a CNN key takeway of a speech. buffer the messages, once the messages hit a threshold empty the buffer AI Summarize fill the display buffer What is the priority Display –> 1d and will require big changes Summarize –> 1d an minor changes What am I going to do scope this to development ✅ display the avatar ✅ on meeting join and isOwner start transcribing ✅ show the transcription button for clients ✅ Just finished the design buildingof a real-time transcription summary service for meetings....

March 8, 2023 · 1 min · 180 words · Me

Mastering High-Performance Inital Loads: A Guide to Using Typescript, Next.js, Chakra UI, and Static Props for Seamless Web Development

Motivation As an Engineer, I’m always on the lookout for new and exciting challenges. So when I was tasked with solving a rendering problem in a Typescript application, I jumped at the opportunity to learn and figure it out. In this blog post, I’ll be sharing my experience and insights into rendering in a Typescript application within a Vercel environment, using Node 18+, Next.js, strict Eslint guidelines, and Chakra UI for custom components....

February 15, 2023 · 5 min · 914 words · Me