<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2026-07-30T15:15:38+00:00</updated><id>/feed.xml</id><title type="html">Meluski.com</title><subtitle>
Hey everyone. I had an idea that I was going to write about the books that I read + whatever else was goin on in my life. Like marry them. MARRY THEM. YES.</subtitle><author><name>Gregg Meluski</name></author><entry><title type="html">In search of the perfect game</title><link href="/engineering/2026/07/29/in-search-of-the-perfect-game.html" rel="alternate" type="text/html" title="In search of the perfect game" /><published>2026-07-29T15:20:00+00:00</published><updated>2026-07-29T15:20:00+00:00</updated><id>/engineering/2026/07/29/in-search-of-the-perfect-game</id><content type="html" xml:base="/engineering/2026/07/29/in-search-of-the-perfect-game.html"><![CDATA[<p>Software engineering for web is vast, so vast that “you can’t know everything” holds as a truism. We might (might!) be living in a time of information flattening, yet having an LLM spit out something does not equate to understanding the output. It’s the difference between reading a script and a performance, if you will.</p>

<p>Attaining complete knowledge is not the point, though the idea of “having the world’s knowledge at your fingertips” has been woven into the mythos of internet software. It is the pursuit of that knowledge which creates the journey of discovery and joy we might call “learning”.</p>

<p>Job searching itself is not building intelligence around the actual practices of software engineering or product design. Job searching has its own rhythms and practices that become dormant once you get a job. There’s an irony that, while searching for a job, the skills to perform that job can gather rust if you don’t find a way to use them, either through pet projects or freelance work. I’ve been lucky to pick up some freelance work which keeps me grounded in what software development is really like. Not just the design and code, but the self-organization, prioritization and so forth. For that I am grateful.</p>

<p>What’s great about talking to different people at different companies and perusing job listings is finding out how much is OUT THERE. Things I know a little about, unknowns that spark curiosity, knowledge I forgot, and so on. One of my goals for the next few weeks is to carve out a handful of hours each week to get a little deeper into each of these discoveries. Sure, it’s for the next job, but a lot of it is for my own personal sense of self. Like Dr. Cox in pursuit of his “perfect game”, <a href="https://www.youtube.com/watch?v=2acTdYW1Xxk">attaining perfection of knowledge is not the point</a>. The point is trying, and what you pick up along the way.</p>

<p>Here’s a sample of what I’ve come up with since June:</p>

<ol>
  <li>Building an LLM from scratch</li>
  <li>Using LangChain / LangGraph</li>
  <li>Generative UI</li>
  <li>Cloudflare Workers</li>
  <li>Kafka</li>
  <li>Serverless functions</li>
  <li>Figma /UI Design</li>
  <li>SwiftUI</li>
  <li>Graph traversal</li>
  <li>Dynamic programming</li>
</ol>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[Software engineering for web is vast, so vast that “you can’t know everything” holds as a truism. We might (might!) be living in a time of information flattening, yet having an LLM spit out something does not equate to understanding the output. It’s the difference between reading a script and a performance, if you will.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="/assets/images/dr_cox_jd.jpeg" /><media:content medium="image" url="/assets/images/dr_cox_jd.jpeg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">From point A to point B (easy, right?)</title><link href="/career/2026/06/30/from-point-a-to-point-b-easy.html" rel="alternate" type="text/html" title="From point A to point B (easy, right?)" /><published>2026-06-30T14:20:00+00:00</published><updated>2026-06-30T14:20:00+00:00</updated><id>/career/2026/06/30/from-point-a-to-point-b-easy</id><content type="html" xml:base="/career/2026/06/30/from-point-a-to-point-b-easy.html"><![CDATA[<p>About half a year ago, I was talking to my manager about the project we were working on. And the headspace I was in was “Well, let’s just figure out what it takes to move this project from where we are to deployment”. Which is dead simple, almost so dumb that its relevance to me is kind of telling. Like, what was I doing before that? I guess I was just doing whatever tasks were given to me by other people in the organization. Which is, you know, a fair thing to be doing in an organization of some size.</p>

<p>I had also come to dislike how limiting that headspace was. I was envious of people who were not just waiting, people who had an idea and could then turn it into an actual thing. I had spent too much time being the one that could turn it into a thing, and I wasn’t flexing whatever muscle it is that turns an idea into a sketch, and then into a plan.</p>

<p>I think the key is just starting (also a very “yea no kidding” moment for me, I know). Grabbing the pen, or pencil and pad and throwing it down. I was caught up in the process of “I need to figure out the right place to capture this” or thinking that designing the right system was the same as doing the thing. But no, doing the thing is the thing, and if it gets messy, that’s when you have to start designing the system better. Or your experience allows you to blend system design with the execution of the idea. It’s easy to get infatuated with creating process and mistake that for working on the idea. Seventy percent of the time, it’s a form of avoidance that feels good. For me at least.</p>

<p>Taking the thirty seconds to act on an idea instead of letting the impulse pass by is a habit or a muscle or whatever you want to call it. The hesitation in the moment can cost you. It’s probably cost me - too many ideas have died because I wouldn’t do something as simple as jotting down a to-do, and the feeling of moving forward is far more gratifying.</p>]]></content><author><name>Gregg Meluski</name></author><category term="career" /><summary type="html"><![CDATA[About half a year ago, I was talking to my manager about the project we were working on. And the headspace I was in was “Well, let’s just figure out what it takes to move this project from where we are to deployment”. Which is dead simple, almost so dumb that its relevance to me is kind of telling. Like, what was I doing before that? I guess I was just doing whatever tasks were given to me by other people in the organization. Which is, you know, a fair thing to be doing in an organization of some size.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="/assets/images/easy-button.jpg" /><media:content medium="image" url="/assets/images/easy-button.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Spreadsheets are good, actually</title><link href="/career/2026/06/25/spreadsheets-are-good-actually.html" rel="alternate" type="text/html" title="Spreadsheets are good, actually" /><published>2026-06-25T14:20:00+00:00</published><updated>2026-06-25T14:20:00+00:00</updated><id>/career/2026/06/25/spreadsheets-are-good-actually</id><content type="html" xml:base="/career/2026/06/25/spreadsheets-are-good-actually.html"><![CDATA[<p>I’ve gotten really hot on organizing and cleaning my space as a way to keep order and routine in my newly unstructured life. Thanks to the different variants of job searching - interviews, job applications, coding tests, add in freelance work, and the random other things that come up along the way, I wind up populating every possible idea or lead in browser tabs. So many browser tabs.</p>

<p>You might be thinking - group those tabs! Which I did, only to realize that’s no panacea for the cognitive load that comes with cycling through tab groups to find the right group and tab for whatever task I’m doing (did I open that repository in the job listing tabs? no… in the research for that potentially life changing project I need to start? also no… and so on). And maybe I keep a memory leaking app running in a couple of those tabs, along side some other memory heavy web pages. Either way, I browser tabs became an unmanageable burden.</p>

<p>So instead I have a spreadsheet with its own tabs - tabs that contain cells and text instead of web pages with video and pop up ads. Being able to dump things into appropriate spreadsheet sections made cleaning up the browser tabs easy as long as I put a little thought into how I want to organize and track things. Less browser tabs makes managing cognitive load very easy. For example, tracking job applications and their status is definitely a spreadsheet job. Tracking the time I spent on a freelance project is also a spreadsheet job. Tracking leads from former co-workers, dumping names of potential employers for later research, and so, all of these can all be spreadsheet jobs.</p>

<p>Two months ago, I would have never told you that a spreadsheet would be the axis on which I swing a large part of my day. If you are drowning in things you need to get done and are having a hard time clearing the space to execute, try a spreadsheet.</p>]]></content><author><name>Gregg Meluski</name></author><category term="career" /><summary type="html"><![CDATA[I’ve gotten really hot on organizing and cleaning my space as a way to keep order and routine in my newly unstructured life. Thanks to the different variants of job searching - interviews, job applications, coding tests, add in freelance work, and the random other things that come up along the way, I wind up populating every possible idea or lead in browser tabs. So many browser tabs.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="/assets/images/spreadsheet-image.jpg" /><media:content medium="image" url="/assets/images/spreadsheet-image.jpg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">It’s giving leetcode</title><link href="/engineering/2026/06/18/its-giving-leetcode.html" rel="alternate" type="text/html" title="It’s giving leetcode" /><published>2026-06-18T00:00:00+00:00</published><updated>2026-06-18T00:00:00+00:00</updated><id>/engineering/2026/06/18/its-giving-leetcode</id><content type="html" xml:base="/engineering/2026/06/18/its-giving-leetcode.html"><![CDATA[<p>I have to admit I only do leetcode problems when job hunting. But I noticed when reading <a href="https://www.tag1.com/how-to/part1-tokenization-building-an-llm-from-scratch-in-rust/#introduction">Building an LLM from Scratch in Rust</a> something I wouldn’t have noticed if I wasn’t in another leetcode season of life - the “pair_counts” function in the “Training Performance” section read like a solution to a coding practice problem. I didn’t understand the code on first pass even though I could understand the concept. Rust might not be my primary language, but the pair_counts code is not THAT complex.</p>

<p>Divorced from their context (in this case, the contents of the ‘tokens’ data structure and how they relate to building a tokenizer) leetcode problems can seem like silly brain teasers, a more sophisticated crossword that we don’t have to worry about after the interview loop because they are solved problems. And the reason most of us even approach them has more to do with getting a job than doing well in the one you have. It’s performing competence. This doesn’t make competence and doing well on leetcode problems mutually exclusive, but it doesn’t make one a surefire signal for the other.</p>

<p>The irony is that understanding is the muscle leetcode problems help us build. That philosophy does nothing to increase the odds of getting me a new job in the short term, but recognizing the duality is important because I assume I will have a new job at some point, and it will be important that I understand new and different parts of the system. And even if I wind up handing the actual coding portion to an agent, it’s important that I have an idea of what a performant design looks like when making a spec and what it should look like coming out (probably not running a loop inside of a loop inside of a loop… right?).</p>

<p>What’s the input, what is the output and how we get from one to the other is just life. Especially the “how we get from one to the other”.</p>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[I have to admit I only do leetcode problems when job hunting. But I noticed when reading Building an LLM from Scratch in Rust something I wouldn’t have noticed if I wasn’t in another leetcode season of life - the “pair_counts” function in the “Training Performance” section read like a solution to a coding practice problem. I didn’t understand the code on first pass even though I could understand the concept. Rust might not be my primary language, but the pair_counts code is not THAT complex.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="/assets/images/og-code.png" /><media:content medium="image" url="/assets/images/og-code.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Turning on the stove</title><link href="/engineering/2026/06/17/turning-on-the-stove.html" rel="alternate" type="text/html" title="Turning on the stove" /><published>2026-06-17T15:20:00+00:00</published><updated>2026-06-17T15:20:00+00:00</updated><id>/engineering/2026/06/17/turning-on-the-stove</id><content type="html" xml:base="/engineering/2026/06/17/turning-on-the-stove.html"><![CDATA[<p>One thing I need to get my head around as I work on finding full-time employment is how different types of introductions to people and organizations have varying timelines. “Warm” introductions - personal contacts within the organization, an email introduction to the correct recruiter - have been primed when the person connecting you has high trust with both of the people they are connecting. They are more likely to move forward at the speed of a typical work conversation. The energy is more cordial and less sales-like.</p>

<p>Cold applying and recruiter outreach, well, there is zero priming. You’re building a relationship. The recruiter or hiring manager doesn’t know you; the person or machine sorting resumes has an internal logic you can only surmise based upon the job description. With warm introductions, there’s no sorting step at all! So assuming that you’ve tuned things with precision, that step takes even more time. Kind of exhausting, but this is the work!</p>

<p>In the parlance of the kitchen, we need to be putting those pans on the stove first thing - before we handle in-flight communications or initiate contact based on warm introductions. They’re called “cold” introductions for a reason, right? They’re going to take longer to get to the right temperature.</p>

<p>I’m sure a lot of people intuit this on their own, but I think the shift from full-time employment can be a bit jarring when it comes to communication. People dropping communication from someone who is a teammate is bad form. Dropping communication from some stranger, well that is just life.</p>

<p>Realizing that less certain projects take longer to develop is a skill; starting despite the nebulousness is a related but different skill. There are things I want to accomplish but of which I have little knowledge (e.g., who is the recruiter or hiring manager? Is this a place I would like to work at? All unknowns when you don’t have a connection). Taking time to research the unknown and formulate a next step before engaging in other well-defined tasks (though tempting to do these first!) can go a long way.</p>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[One thing I need to get my head around as I work on finding full-time employment is how different types of introductions to people and organizations have varying timelines. “Warm” introductions - personal contacts within the organization, an email introduction to the correct recruiter - have been primed when the person connecting you has high trust with both of the people they are connecting. They are more likely to move forward at the speed of a typical work conversation. The energy is more cordial and less sales-like.]]></summary></entry><entry><title type="html">Getting Salty</title><link href="/engineering/2019/11/17/getting-salty.html" rel="alternate" type="text/html" title="Getting Salty" /><published>2019-11-17T15:20:00+00:00</published><updated>2019-11-17T15:20:00+00:00</updated><id>/engineering/2019/11/17/getting-salty</id><content type="html" xml:base="/engineering/2019/11/17/getting-salty.html"><![CDATA[<p>Different versions of the same thing. Technically speaking, that sums  up my approach <a href="https://westaysalty.com">to a project I’ve been working on in my free time</a>. For me, it trades in some familiar technologies from my day job for slight variations in flavor. Specifically: React for Vue, MySQL for PostGres, and Flow for Typescript. Challenging, but not terribly difficult. I would give it a four on a scale of ten in terms of learning “new” technology (which brings to mind, in the case of Vue - if it’s still using Javascript, how new is it?). The web development ecosystem has evolved such that someone like myself can swap out working on different technologies without breaking their brain. Maybe the next project will be in Rust.</p>

<p>I’m kidding, but I keep saying that, and these things have their way of manifesting themselves.</p>

<p>One of the other things I wanted to take advantage of here is conceptualizing the project as different services or parts. Instead of jamming everything on one server, it was easiest to create a separation via three separate EC2 instances - the web client, the api, and the service that runs migrations against the production postgres instance.</p>

<p>I had been reading plenty - about <a href="https://www.goodreads.com/book/show/22512931-building-microservices">microservices</a>, <a href="https://www.goodreads.com/book/show/39076585-vue-js">Vue</a> and <a href="https://www.goodreads.com/book/show/26083308-the-devops-handbook">dev ops</a> and this was the intersection where I could put my own selfish desires and “product ideas” together with whatever I had been learning.</p>

<p>I don’t expect this project to stand still technically or as a product. I do have a high level vision for where this all goes, so it makes sense to keep moving with whatever feedback I can garner. This is where it gets deeper for me - can I fathom the product ideas, the user acquisition concepts, the sales, all of the stuff I’ve relegated to others? I’m game to find out.</p>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[Different versions of the same thing. Technically speaking, that sums up my approach to a project I’ve been working on in my free time. For me, it trades in some familiar technologies from my day job for slight variations in flavor. Specifically: React for Vue, MySQL for PostGres, and Flow for Typescript. Challenging, but not terribly difficult. I would give it a four on a scale of ten in terms of learning “new” technology (which brings to mind, in the case of Vue - if it’s still using Javascript, how new is it?). The web development ecosystem has evolved such that someone like myself can swap out working on different technologies without breaking their brain. Maybe the next project will be in Rust.]]></summary></entry><entry><title type="html">Dirty Kitchens</title><link href="/engineering/2019/10/30/dirty-kitchens.html" rel="alternate" type="text/html" title="Dirty Kitchens" /><published>2019-10-30T02:13:00+00:00</published><updated>2019-10-30T02:13:00+00:00</updated><id>/engineering/2019/10/30/dirty-kitchens</id><content type="html" xml:base="/engineering/2019/10/30/dirty-kitchens.html"><![CDATA[<p>Imagine a kitchen. The counters are cluttered. Clean dishes on drying rack, the dishwasher full, but also clean. A smattering of dirty dishes in the sink, it’s not filthy but you certainly wouldn’t eat out of it. A random pan sits on the stove top, caked with rice which was reheated a day ago in a random red sauce, so it’s a bit cakey. If you pushed aside some of the clutter, you might be able to make room for your cutting board. Some stuff you could maybe carry to en empty table, far afield of where you plan on doing your work.</p>

<p>Do you barrel through the clutter and start working? It seems like this straight path is the fastest way to getting done, but really… will that prove efficient. And If not now, when will you take the time to clean and organize? Just think about it in terms of how easy or hard it’s going to be to work. Is it going to be worth it, or are you going to get so aggravated and taken out of your flow? Does working like this increase the probability of you absolutely losing your shit at some point?</p>

<p>There’s a reason, I think, why many chefs and cooks are hyper organizational and clean. Of course there is such a thing as a health inspection. I think something gets inside of the brain, the notion that a dirty station is an inefficient station. If you can’t keep your shit clean, then you are not going to be able to move quickly, and the propensity for mistakes increases.</p>

<p>So, where am I going? Developers let their kitchens get dirty. Dysfunctional. Disorganized. We let clutter accumulate, partly because we don’t have to deal with the health issues, partially because our clutter is both less obvious and more mental. Certainly invisible to anyone who doesn’t know how to read code, which lowers our accountability. A dirty kitchen is noticeable to anyone with a working pair of eyes and olfactory senses.</p>

<p>Professional kitchens don’t wait for one big day to clean up their shit. I don’t even think the can if they want to. They clean as they go. They clean at the end of the night. They, essentially, clean incrementally. They don’t leave their dirt behind when a task is finished. They clean it up. So what makes developers so special that they can leave their dirt behind? That they can’t clean?</p>

<p>When we approach a module or a folder, we might see things we consider dirty. We should clean those things. If we walk into a dirty work room, we should clean before proceeding to work. Then we should also be conscientious about cleaning it afterwards.</p>

<p>It is useless to be working in a kitchen, cleaning, when no one else in the kitchen cleans up. Then, you’re just a sucker in a dirty ass place that’s bound for failure. When the culture is centered around making things clean, you have a source of pride and a building block for your grander ambitions.</p>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[Imagine a kitchen. The counters are cluttered. Clean dishes on drying rack, the dishwasher full, but also clean. A smattering of dirty dishes in the sink, it’s not filthy but you certainly wouldn’t eat out of it. A random pan sits on the stove top, caked with rice which was reheated a day ago in a random red sauce, so it’s a bit cakey. If you pushed aside some of the clutter, you might be able to make room for your cutting board. Some stuff you could maybe carry to en empty table, far afield of where you plan on doing your work.]]></summary></entry><entry><title type="html">Fear is the Mind Killer. Also Anger, Envy, Jealousy…</title><link href="/career/2019/08/31/fear-is-the-mind-killer-also.html" rel="alternate" type="text/html" title="Fear is the Mind Killer. Also Anger, Envy, Jealousy…" /><published>2019-08-31T16:06:00+00:00</published><updated>2019-08-31T16:06:00+00:00</updated><id>/career/2019/08/31/fear-is-the-mind-killer-also</id><content type="html" xml:base="/career/2019/08/31/fear-is-the-mind-killer-also.html"><![CDATA[<p>One of my biggest career killers has been my own reactions to events outside of my control. I have this tendency to take these things in, and harbor them like they belong to me. Sure they do, in their own way – they happened, and have had an effect on my mind state and my own self-perception. But at times I let them drag me away from my life goals, the things that give me energy without depleting me.</p>

<p>I recognize that everyone is different. I also recognize that when I am clear headed, I am thinking about things that excite me: building things, books I want to explore, places I’d like to see in my life time. Ideas get me excited, and give me an energy that transforms into the energy that helps me explore those ideas, and the energy that helps produce something as a result.</p>

<p>One of the best takeaways I had from the book <a href="https://www.goodreads.com/book/show/18114120-thanks-for-the-feedback">“Thanks For the Feedback”</a> is that when you have a problem, you are contributing in some way to that problem, and it is your responsibility to discover that contribution. When things happen that ding my career, I need to recognize how I’ve contributed to the situation and the resulting setback.</p>

<p>A more grounded nuance to this idea is that our jobs are not always specifically designed to work with the best parts of what we each have to offer. Being in the midst of work that is the right balance of reward and challenge is a function of management, timing, and product opportunity.</p>

<p>When all these things line up, you’ll be doing really rewarding work for 20% of your work week. This is more than enough to sustain you through all the other less interesting things you wind up doing in the course of your work.</p>

<p>More often things are not aligning in the way which allows us to engage in our best work, the work that plays to our strengths or ambitions. In those cases, I have a couple ideas and tools which might help keep you fresh, and sustain you through what I might call the “low” times.</p>

<ul>
  <li>Read a book about a topic something totally unrelated to your work which still excites you. Often I find ideas relevant to my current work reading about fields that are marginally related.</li>
  <li>Take some type of contributory action. I joined Code for America because its mission is related to a greater cause, and that connection has me coding when I would normally be lacking that drive</li>
  <li>Take some type of physical action. I think just about anything fits here, and that plenty of words have been written about the value of exercise. In the mornings I just run a mile. I’m not going to be doing crazy distances, but it kicks my day off.</li>
</ul>

<p>Allowing our career paths to fluctuate and be redirected by forces beyond our control is not the debilitating killer it is often made out to be. The energy required to  fight those forces is better spent elsewhere, building habits and making efforts that are more representative of our best selves.</p>]]></content><author><name>Gregg Meluski</name></author><category term="career" /><summary type="html"><![CDATA[One of my biggest career killers has been my own reactions to events outside of my control. I have this tendency to take these things in, and harbor them like they belong to me. Sure they do, in their own way – they happened, and have had an effect on my mind state and my own self-perception. But at times I let them drag me away from my life goals, the things that give me energy without depleting me.]]></summary></entry><entry><title type="html">My Introduction to Heap Analytics</title><link href="/engineering/2019/08/28/heap-analytics.html" rel="alternate" type="text/html" title="My Introduction to Heap Analytics" /><published>2019-08-28T21:32:00+00:00</published><updated>2019-08-28T21:32:00+00:00</updated><id>/engineering/2019/08/28/heap-analytics</id><content type="html" xml:base="/engineering/2019/08/28/heap-analytics.html"><![CDATA[<p>Personally, I become immune to log events in the codebase, especially when the implementation is a simple function call such as <code class="language-plaintext highlighter-rouge">log('this-event-clicked)</code>.</p>

<p>A custom or manually implemented logging solution also allows fine-grained insertion of logging events and (usually) the ability to attach useful information to these events.</p>

<p>So I think the real big selling point on a service such as Heap is saving on the labor of manual additions of libraries, function calls, imports, and so on. Supposedly you get a host of behaviors right out of the box, so to speak (so far the only ones I can really attest to at this moment are page views).</p>

<p>Being a somewhat adventurous developer I’m game to try something new, especially on a relatively small project with a low cost of implementation change. In other words a low traffic project. Or zero traffic project. Yea, right in my wheelhouse.</p>

<p>Despite the allure of being able to just add the library to the site and automatically capture all my desired events, I still had to add custom events for button clicks. This is something I would honestly expect as part of an “out of the box” implementation. Maybe it is because I am implementing Heap on a client which uses Vue, and that effects the ability to listen for clicks on the DOM. I don’t know for certain, but this seems like a reasonable guess.</p>

<p>Heap offers something called the Event Visualizer to address this issue, a pretty great tool which loads a URL, and allows the user to utilize the site as normal to identify the events worth capturing. The real trick is in finding it in the dashboard – that took me about fifteen minutes to discover through a combination of guess-clicking and document reading.</p>

<p>Side note: a list of all the known, automatic events would be really useful in determining whether a custom event had to be defined.</p>

<p>Once the events were defined I didn’t really have to spend a bunch of time waiting for them to populate. I could build funnels easily and trouble shoot by stimulating the event on the development site (yes, the event visualizer works with <code class="language-plaintext highlighter-rouge">localhost</code>). For a small project with small needs, I feel good about this solution.</p>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[Personally, I become immune to log events in the codebase, especially when the implementation is a simple function call such as log('this-event-clicked).]]></summary></entry><entry><title type="html">Git Helpers</title><link href="/engineering/2019/08/15/git-helpers.html" rel="alternate" type="text/html" title="Git Helpers" /><published>2019-08-15T00:53:00+00:00</published><updated>2019-08-15T00:53:00+00:00</updated><id>/engineering/2019/08/15/git-helpers</id><content type="html" xml:base="/engineering/2019/08/15/git-helpers.html"><![CDATA[<p>Generally speaking, I aim to keep my merges to master pretty short. As a result, I found myself repeating a lot of small commands. Attached are a couple scripts I use to push through those tedious moments and keep things moving to the master branch.</p>

<p>These can also be <a href="https://github.com/gmeluski/helper-scripts">found in this git repo</a>.</p>

<h2 id="destroy-branchsh">destroy-branch.sh</h2>

<p>I use this one after a branch I’ve been working on is merged into the master branch through the Github UI. Once I return to the command line, I’m usually still on the merged branch and want to get the latest so that I can create a new branch.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>function get_current_branch() {
  git branch | grep \* | cut -d ' ' -f2
}

BRANCH_TO_DELETE=$(get_current_branch)
git checkout master &amp;&amp; git pull origin master &amp;&amp; git branch -D "$BRANCH_TO_DELETE"
</code></pre></div></div>

<h2 id="git-reconcilesh">git-reconcile.sh</h2>

<p>This one is handy when I need to refresh my working branch to pull in changes that have already been merged. It HAS gone sideways on me – I think I had nothing to stash and I popped something old on top of my changes. Still, it’s about 88% effective.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>function get_branch() {
  git branch | grep \* | cut -d ' ' -f2
}

ORIGINAL_BRANCH=$(get_branch)

echo $ORIGINAL_BRANCH
git stash save
git checkout master
git pull origin master
git checkout ${ORIGINAL_BRANCH}
git rebase master
git stash pop
</code></pre></div></div>]]></content><author><name>Gregg Meluski</name></author><category term="engineering" /><summary type="html"><![CDATA[Generally speaking, I aim to keep my merges to master pretty short. As a result, I found myself repeating a lot of small commands. Attached are a couple scripts I use to push through those tedious moments and keep things moving to the master branch.]]></summary></entry></feed>