<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Makkalot on Medium]]></title>
        <description><![CDATA[Stories by Makkalot on Medium]]></description>
        <link>https://medium.com/@makkalot?source=rss-f67fe7383c80------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YKAuMv0luZ2A6Wwr.jpg</url>
            <title>Stories by Makkalot on Medium</title>
            <link>https://medium.com/@makkalot?source=rss-f67fe7383c80------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:20:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@makkalot/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Software engineering is solved now what ?]]></title>
            <link>https://medium.com/@makkalot/software-engineering-is-solved-now-what-842f0ddd2cd4?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/842f0ddd2cd4</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 22:01:33 GMT</pubDate>
            <atom:updated>2026-03-03T22:01:33.344Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer</strong> : No AI was used for writing this post. It’s for humans by humans with all the mistakes in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IetCi1P4lPi7KVFQ" /><figcaption>Photo by <a href="https://unsplash.com/@sergioandreleal?utm_source=medium&amp;utm_medium=referral">Sérgio André</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>You’ve probably noticed the advancement in Agentic Coding since November last year. As I wrote <a href="https://medium.com/@makkalot/new-behaviour-in-coding-agents-ccb8e9e4b41a">here</a>, I use AI for most of the boring tasks during my day-to-day work. That’s good and already very useful for lots of us.</p><h3>E2E Sw Engineering</h3><p>Although in its current form, the agents are super useful, the AI companies are not going to stop there. Obviously is very appealing selling SW engineering agent who replaces 3 of your highly paid engineers just for 2k per month. We already see quotes like SWE will be done automatically by agents in the next 12–18 months. Although I’m not a big fan of automating the whole thing, there’s the possibility it might happen for a big chunk of the applications out there.</p><p>Of courese it’s super disturbing as a software engineer, but also I want to emphasise some other points which might not be what we expect.</p><h4>All your code belongs to us</h4><p>I’m gonna list some of the points that I find disturbing about delegating all of your software development process to some other company:</p><ul><li>Once you remove most of your development team, you pretty much depend on mersi of the company, which provides the models like OpenAI, Anthropic.</li><li>Since the llm machinery is not deterministic on every release, you might have a different behaviour for your agent till it’s polished (happens every time for me). Which means you get regressions and interesting problems to solve (oh no, who’s gonna solve them ?).</li><li>Big companies will give computing priority to big players. At some point, you might find your little business is waiting in a queue to get your job done due to busy neighbours.</li><li>Let&#39;s say you build a product which competes with llm companies or some other player which is close to them, what stops them to ban your account or slowing down your development? We’ve seen this play with cloud, where some small startups&#39; cloud accounts were closed for some unexplained reasons.</li><li>There are also security concerns, like someone hacking llms companies and getting access to your systems since you gave full access to your beloved Claude code.</li><li>What if llm companies altogether increase the pricing at some point, and sw developers are actually cheaper (that’d be hilarious)?</li><li>And many other points which come from computing power being collected in a couple of big players.</li></ul><h3>Final Thoughts</h3><p>I think we’ve seen the same situation with cloud providers, and now we see lots of people are moving away from it. I expect and hope the same to happen with llm as well. I know open source models are not there yet, but hopefully at some point we’ll be able to run our coding agents without paying a fortune at home. This is the future which is less depressing for me: local agents at every house and agents helping humans do the boring stuff so they can thrive and unlock their full potential.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=842f0ddd2cd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Behaviour in Coding Agents]]></title>
            <link>https://medium.com/@makkalot/new-behaviour-in-coding-agents-ccb8e9e4b41a?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccb8e9e4b41a</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Wed, 18 Feb 2026 22:15:12 GMT</pubDate>
            <atom:updated>2026-02-18T22:15:12.271Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer</strong> : No AI was used for writing this post. It’s for humans by humans with all the mistakes in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nNaOe0fky53tm-hU" /><figcaption>Photo by <a href="https://unsplash.com/@omilaev?utm_source=medium&amp;utm_medium=referral">Igor Omilaev</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It’s been a while since I started posting about my AI usage as a Software Consultant. (<a href="https://medium.com/@makkalot/using-ai-code-tools-as-contractor-293507c0406b">here</a> and <a href="https://medium.com/@makkalot/giving-a-try-to-spec-kit-dad6931ba396">here</a>) As you probably have noticed, there’s been a shift in the capabilities of coding agents since November last year. It’s when things actually started becoming useful in terms of completion of bigger tasks for me, at least. Especially with opus 4.5, I’ve been having OK success in completing some refactorings, building some internal tools, and increasing the test coverage of the project I’m working on. Basically, all the things I’d never have time for!</p><h4>How do I use AI ?</h4><p>In general, I use AI for the stuff which outside of my domain model (ref to DDD). What I mean by that is, for the core logic of my systems, I still write things myself (or review them very carefully), and for everything else, I try to speed up my development using the AI agents. The reason for that is that, as Seniour Developer, I like being in control of things, but most importantly, I like to have the mental model in my head for the important bits of the systems I work on. I know some of us will say it’s about code quality! Well, not really, I can’t say as developers that we have a very good record of keeping the code nice and tidy. For me, it’s mostly about having control over things and also when discussing things with my teammates, to be able to talk about how we implemented things without having to ask the AI …</p><h4>The Change</h4><p>Anyway, this is how I use it, then what changed? Like everyone else, I switched to Opus 4.6 in opencode and started using it. However, I noticed something which was not there in Opus 4.5 or previous models. The model was very aggressive, didn’t allow me much to intervene and kept fixing other stuff along the way whilst working on the feature. Some would argue this is a good thing, but I’m not a fan of touching multiple things whilst working on something else, since in my experience, this is how you introduce the regressions. Then I saw this post about Claude 4.6 writing a C compiler (link) on its own. They gave the prompt and left it cooking, and after some time they checked if it was stuck, changed the test cases, and let it work again. So, this is a different workflow than usual, and this direction is what bothers me. From what I read online, the inference prices are high, but big companies currently are offering those generous subscriptions which are way below the normal pricing. Therefore, this direction kind of makes sense; they don’t care about enhancing developers. They’re aggressively working towards replacing the developers. It’s all about having the SWE solved end-to-end so it can be sold as a package to companies.</p><h4>The Inevitable?</h4><p>Well, we all knew it was coming, but maybe not that soon. It might be a regression on Opus side, and they will fix it as people use it. Or if that’s the direction we’re heading, I think it’ll be a mistake. Not only because I’m I care about job market (that too!), but once you remove the human from the loop in my opinion you’ll get :</p><ul><li>Very similar apps all over the place (aka AI Slop)</li><li>Very boring workday (if there’s still work to go) like you give the prompt, go away, and 30 mins later (maybe more)you come back to look at the results of AI generation.</li><li>Unhappy and unsatisfied people. There’s something about doing stuff yourself and being involved in the process of creating something. Giving a prompt, going away, coming back and checking on things just feels very grim.</li><li>Very slow feedback loop, you wait a lot of time just to realise the thing you wanted wasn&#39;t the way you wanted it to be. Eventually, as things grow, this might slow down the development.</li><li>It’s all over again, the waterfall model. Really, is this what we want to do again? Try to create the perfect spec from the beginning with all the possible outcomes and greatest design from the beginning ? What happened to agile to tinkering, experimenting, breaking things and hacking on stuff?</li></ul><p>This is the current behaviour I notice with the big players trying to push on their products. I think it’s a mistake for the industry to go in this direction, since we already suffer from bad code quality, complexity in the field. Instead of trying to remove the human from the loop, the tools should aim to make the process easier and more fun for us. Having a human in the loop is really important and result of that would bring :</p><ul><li>Unique products which are pleasant to use and also address other humans. It’s this human touch that makes products nice to use for other humans.</li><li>Humans’ great potential is being enhanced by allowing the machine to do the boring stuff and allowing us to do the fun stuff, not taking it away!</li><li>At the end of the day, humans will feel fulfilled; it’s not a small thing. Happy people make great societies. Also, this is not particular to Software Engineering, it’s for all white collar jobs.</li><li>Faster feedback loops, which would help to experiment faster, break things earlier and gather all the great ideas along the way.</li><li>Higher quality products made with passion.</li></ul><h4>Is there hope ?</h4><p>In general, I don’t think we have to buy into this idea the big AI companies are trying to push us into. I hope we’d have the power to still choose how we develop software in the future, and it’s not this grim package you’d buy which generates those copy-pasta products. I hope that eventually things will settle and we’ll get better software development processes, or at least we’ll have the option to choose how we want to develop software in a more fun way. Today, AI companies are pushing for humanless software development; it’s for sure. However, maybe someone else will realise the potential of `human in the loop` and will develop brand new tooling which will enhance engineers and will change things in a better direction 🤞. Keep coding and have fun!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccb8e9e4b41a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Giving a try to Spec Kit]]></title>
            <link>https://medium.com/@makkalot/giving-a-try-to-spec-kit-dad6931ba396?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/dad6931ba396</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[context-engineering]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 05:21:51 GMT</pubDate>
            <atom:updated>2025-11-04T05:21:51.989Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer</strong> : No AI was used for writing this post. It’s for humans by humans with all the mistakes in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2EeEvfvP5Jvp8hlV" /><figcaption>Photo by <a href="https://unsplash.com/@vooglam_official?utm_source=medium&amp;utm_medium=referral">Vooglam Eyewear</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>One of the biggest problems with agentic ai tools is that if your context is not good enough they’ll go into directions you’re not very happy about. As developer we try to adapt to this new reality and we’re looking into optimising this new workflow.</p><h3>Context is the king</h3><p>Context is the king, therefore managing the context is what matters in this new reality. Why should you care about managing this context thingy ? The main reason is you want llm to remember what it was working on. let’s say tomorrow when you continue with same big task you don’t want to explain yourself to AI again what you were talking about. Also you might be debugging something and you had 2 paths to try. You tried path A and didn’t work, you want to have note of that so AI doesn’t go into that direction again. In simplest terms you want to have a way so that llm can keep notes of what happened.</p><h3>Spec kit what is it ?</h3><p>One of the ways that became very popular those days is Spec Kit. The idea is following: There are couple commands that you execute which produce bunch of .md files and then llm works with those to solve your problem. The workflow is like :</p><ul><li>You execute “/constitution” to setup the general rules for your project. Like the frameworks, the styling, patterns etc. It’s like the CLAUDE.md files. Then this file is loaded on other subsequent commands.</li><li>You execute “/specify” command to setup spec.md file from predefined template and amalgamation of your input. It’s basically PRD, it’s very strict about not having implementation details but mostly user stories and functional requirements.</li><li>Then you execute “/plan” command to actually create the the technical plan. What frameworks, libs will be used how the functional requirements will be implemented and etc.</li><li>Then you run “/tasks” command to generate tasks.md from the plan.md. It contains granular tasks for llms to execute. It has dependency graph which helps the tool to mark the tasks as parallel so they can be executed in paralel during execution phase.</li><li>Then there’s “/implement” to execute those tasks and actually to verify if they were implemented correctly etc.</li></ul><h3>My experience</h3><p>In theory sounds good but so far this is my experience:</p><ul><li>The process is super slow and burns lots of tokens. I use Claude pro 20$ account and never hit the 5h limit. With spec kit for first time I hit the limit by just finishing couple of tasks.</li><li>The whole process is very dependant of previous steps if you change for example something in spec doc you have to re generate plan and then tasks which is super slow.</li><li>You have to get your constitution and spec right before you continue to next steps. If you’re like me remembering things in the middle of process you won’t have a nice experience.</li><li>It’s just boring for me the whole process. You read bunch of .md formal documents and then you edit them and then you read them again.</li><li>Forces you into waterfall model where you try to get your plan right first time cause later it’s really painful to regenerate all those files.</li><li>It’s designed after you have your files ready to run pretty much autonomously without user interaction which I don’t like. I don’t like reading prs specially big ones and generated by AIs.</li></ul><h3>What I do ?</h3><p>For my daily workflow I like being hands on and just use llm for assisting me. I’m the main driver of the process and ai is just helping with boring stuff. There’s lots of experimentation going on and also the process is very interactive which makes it super fun for me. What I’m doing atm is keeping my very lean version of spec + plan + tasks but in same file. No tdd, no validating requirements ,nothing ,process is very fast. After I generate the tasks we work together with ai on implementation and I can control the process very closely, I know what code is being written. I can revert things easily and change direction faster. You might think but this slower yes it’s slower (maybe) but then I don’t have to go and review 5k of auto generated files, I’m still able to have the mental model of whats written in my head.</p><h3>Final words</h3><p>Spec Kit is interesting attempt to solve the context problem. It’s not for me though maybe it’s good for some people and they’re super productive with it. I think the future of managing the context should be implicit and done but agentic tools and not showing all those documents to end user. AI generated spec files are super useful for AI but shouldn’t be part of the daily workflow of the developer. I think software developments future should be more dynamic and interactive with human in the loop and ai assisting the process. Brainstorming,experimenting, breaking things, reverting them easily and also having lots of fun. I think maybe finally we’ll be able to become more agile with those new processes instead of going backwards into waterfalls.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dad6931ba396" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using AI Code Tools as Contractor]]></title>
            <link>https://medium.com/@makkalot/using-ai-code-tools-as-contractor-293507c0406b?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/293507c0406b</guid>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Mon, 28 Jul 2025 11:50:01 GMT</pubDate>
            <atom:updated>2025-07-28T11:50:01.058Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Disclaimer</strong> : No AI was used for writing this post (except the cover image). It’s for humans by humans with all the mistakes in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fWqFQXj8icBqX_5urDF9vA.png" /><figcaption>Generated with Gemini 2.5 Pro</figcaption></figure><p>In this article, I want to share some of my experiences as Software Contractor using AI.First and foremost you have to get the permission from your client to actually use AI, especially for the legacy projects. You don’t want to send their code to some private company out there. All of my clients have been actually encouraging me to use AI so far.</p><p>Like most of fellow software developers I’ve been watching closely the generative AI space and been experimenting with it. Here are some of the lessons I’ve gathered so far :</p><ul><li><strong>Pull vs Push method </strong>: By push method here I mean the distracting autocomplete and by the pull I mean you asking the AI for assistance. I’ve found the push method to be very distracting and also actually prone to introducing more bugs in my code. By pull method you formulate your prompt or write something partially (creating initial structure) and asking the ai for assistance. This way you have more control over the whole process and you’re not being bombarded with nonsense code suggestions. Btw, I use zed editor and it only does the autocomplete by enabling specific key combinations which works really well.</li><li><strong>Use AI to actually learn things and not just codegen</strong>: I started coding when information was not that available at least in my country. And now seeing how much you can learn with assistance of AI really amazes me. I use AI to explain things, why certain things are the way they’re etc and not just giving me the answer to paste it. This is where the real gem is imo, codegen is really the boring part for me.</li><li><strong>Don’t let AI write the most critical parts of your code : </strong>here the main argument is not that AI will do a mess (probably it’ll btw) but more about you understanding critical parts of your system very deeply. I still have idea of how things are structure for a code I’ve written a year ago. The main reason for that is I went through the struggle of plannning, debugging, writing the code, failing it etc and it’s just in my memory. If AI generates this code it’s not your code anymore, you miss part of the journey which will affect the deep understanding of your own system. There’s something about human experience and struggle and things sticking with you.</li><li><strong>Use AI for the boring stuff : </strong>I found that AI is very good at documenting my functions, writing unit tests and doing refactoring with some help. Especially as contractor I mostly never have time to do proper testing and documentation now with help of AI I can see that gap is being closed.</li><li><strong>Don’t waste your time explaining yourself to AI</strong>: Prompt Engineering the most boring profession invented! If this is the future of sw engineering I’ll probably be out. Try to create the structure of your code manually, your classes, modules, objects and then ask AI to fill in the gaps. Otherwise you’ll find yourself in weird loops when AI fixes one thing and crashes other or the architecture of your code won’t be whats in your head. Also, code review is boring too (it’s the thing everyone postpones when asked to do), why making this your profession?</li><li><strong>Vibe Coding: </strong>You thought I haven’t heard of Vibe coding did you ? 😁 I did and I actually use it myself for my toy projects and throw-away scripts, but nothing serious and nothing related to my client work. It’s a great way to explore something small, but after things become larger, you go into a loop of chatting with the machine a lot, and I’m not a big fan of.</li><li><strong>Using agentic mode for debugging and exploration: </strong>As I mentioned, I use the the code generation for the trivial stuff but more importantly, I use it to ask stuff about the code base. Stuff like how we’re doing X in the code base ? or pasting some production logs and asking how certain case might’ve happened is really a time saver.</li></ul><h3>Final Thoughts</h3><p>Generative AI is nice 👌 if used properly. As Software Contractor it’s been very useful for me. It’s still a new toy we’re trying to understand and make use of. However, too much use of it causes degradation of your skills, which took you so much time to gain. I know there are lots of doom scenarios of what&#39;s going to happen to coding but till then I don’t have any intentions to hand over my hardly earned skills that easily (not without fight 😎). Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=293507c0406b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing missing docker images in GitHub actions]]></title>
            <link>https://medium.com/@makkalot/fixing-missing-docker-images-in-github-actions-35ef78e50d53?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/35ef78e50d53</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Wed, 09 Aug 2023 15:50:43 GMT</pubDate>
            <atom:updated>2025-07-29T13:50:33.739Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-09PJH2BE3FeSDaswffl7A.png" /><figcaption>Generated with Gemini 2.5 pro</figcaption></figure><p>I just wanted to share an issue I encountered today while building one of our ci/cd pipelines which wasted a couple of hours of my day.</p><p>The problem I was facing is this error message :</p><pre>Unable to find image &#39;5bedb4:13d66324ea0a42bf9f9d6d25e116177e&#39; locally<br>docker: Error response from daemon: pull access denied for 5bedb4, repository does not exist or may require &#39;docker login&#39;: denied: requested access to the resource is denied.<br>See &#39;docker run --help&#39;.</pre><p>Looks like one of the docker images on the runner is missing. The name of the image looks really weird so, I thought maybe something messed up with the existing docker images on the box.</p><h4>The jlumbroso/free-disk-space action</h4><p>Our cicd generally builds some large docker images, probably that’s not very common for most people but ML base images are like that. Therefore we’ve been using this GitHub action called <strong><em>free-disk-space-action</em></strong> which works really nicely. One of the problems we have with the free runners that Github provides is that they come with lots of stuff in them already (which is probably a good thing for most people.) so, we’ve been running into disk issues. Once we run the GitHub action at the beginning of the workflow it’s able to release up to 40gigs which was solving our problem. Looks like recently the <a href="https://github.com/jlumbroso/free-disk-space/commit/4d9e71b726748f254fe64fa44d273194bd18ec91#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R30">maintainer made the removal of the docker images default</a> so this is why we haven’t been seeing the issue before.</p><h4>The solution</h4><p>The solution is very easy obviously disabling docker images makes the error go away :</p><pre>docker-images: false</pre><p>The whole setup that we use is like this :</p><pre>- name: Free Disk Space (Ubuntu)<br>  uses: jlumbroso/free-disk-space@main<br>  with:<br>    # this might remove tools that are actually needed,<br>    # if set to &quot;true&quot; but frees about 6 GB<br>    tool-cache: false<br><br>    android: true<br>    dotnet: true<br>    haskell: true<br>    large-packages: false<br>    swap-storage: false<br>    docker-images: false</pre><h4>The lesson</h4><p>The lesson is don’t use <strong>main</strong> in your GitHub actions and always prefer the tagged versions of the GitHub action packages that you use.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35ef78e50d53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Javascript Won: The Rise of Once-Underestimated Language]]></title>
            <link>https://medium.com/@makkalot/javascript-won-the-rise-of-once-underestimated-language-e9e4099d0ea4?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9e4099d0ea4</guid>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Sun, 06 Aug 2023 12:51:57 GMT</pubDate>
            <atom:updated>2023-08-06T13:31:56.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>Javascript Won: The Rise of a Once-Underestimated Language</h3><p>Although the title is very clickbait-like, it’s the story of my experience with Javascript during my backend development career. The main programming languages that I use for my day-to-day activities are Go and Python (for the last 15 years). Like most Backend Developers, I ignored Javascript as a serious language for a long time. I mostly used it for small tasks when Frontend people were not around. It’s not that I didn’t try to learn it properly, I tried many times. I think I’ve read JavaScript: The Good Parts once, and it really helped me know enough Javascript to use it when needed (or know enough to be dangerous). Even though I occasionally considered using Javascript, there wasn’t a situation where it offered a solution that my regular language couldn’t handle, so it just seemed unnecessary.</p><h4>So what changed?</h4><p>The Javascript ecosystem evolved a lot, I’m gonna skip the obvious stuff like the huge npm ecosystem, community support, cross-platform development and performance improvements over the years and will jump into stuff that got my attention again :</p><ul><li><strong><em>Node.js and Server-Side development:</em></strong> it’s been around for a long time but now I think there’re a couple of libraries/frameworks that are stable enough. A couple of years ago I tried to play with some of the libraries in Nodejs but things used to change a lot (between Nodejs versions especially). Now, I believe Node.js is becoming what some might call a ‘boring’ technology, and that’s precisely why it has captured my attention. My rule of thumb is when a tech is boring it means it is stable enough and it’s safe to learn it.</li><li><strong><em>ES6 and Beyond:</em></strong> The new language additions that were included in Javascript are really nice. Having proper classes, arrow functions and especially async/await syntax are the ones that make Javascript a more sane and professional language for me. I remember trying to do stuff with Javascript pre async/await and just giving up thinking it’s not worth the effort (and puking a little bit each time after the callback hell).</li><li><strong><em>Typescript:</em></strong> It probably deserves its own blog post but I think without Typescript I still wouldn’t consider Javascript as a valid language for my professional projects. It really makes a huge difference in terms of having static typing, better IDEsupport, better language structures, safer refactoring etc. Especially being able to add it gradually and being a superset of Javascript is just perfect.</li><li><strong><em>Stable Frontend Frameworks:</em></strong> Although I’m not a frontend developer myself having stable and solid frontend frameworks I can use (even for prototyping) that are written in the same language as my backend makes lots of sense. I’m not a big fan of React but I think it’s a very big player, since today you can write mobile, web and desktop apps with it.</li></ul><h4>What’s still not good?</h4><p>Although Javascript now caught my eye again there are a couple of things that are far from ideal and still bother me a lot :</p><ul><li><strong>Legacy</strong>: Although new language structures and Typescript makes the language nicer to work with, the weird behaviour of the language is still under the hood and can still bite you if you’re not careful.</li><li><strong>Dynamic Typing</strong>: While I like dynamic typing myself and use it a lot for prototyping and my personal projects I think it kills productivity with bigger projects with more team members. I find myself a lot digging into undocumented code and trying to understand what’s doing. I’m really surprised that some JavaScript developers avoid TypeScript, arguing that static typing slows them down.</li><li><strong>Package overload: </strong>I still find it super weird that there are lots of very small packages in npm where it has a couple of functions. It’s insane how many packages are pulled for very simple projects. I think Nodejs can do more in that sense and come with more batteries included like Go or Python.</li><li><strong>Build System:</strong> I think building systems in the Javascript ecosystem is the most painful thing I spend most of my time on. I still don’t get it totally and still learning there but something inside me tells me that it shouldn’t be that hard.</li></ul><h4>How do I use Javascript?</h4><p>As I mentioned, my go-to languages for daily tasks remain Python and Go. I have clients that work with AI technologies and Python is the go-to language for most of the time. Also Go is used for long-running applications due to its concurrency capabilities, low memory footprint and performance. So how do I use Javascript :</p><ul><li><strong>BFF</strong>: I think BFF(Backend for Frontend) is a very valid use case for Javascript since you can share some of the logic with your front end. Also, I had one case where we had to use GraphQL and I found that Javascript packages were very easy to work with (compared to Go).</li><li><strong>Rest APIS</strong>: In general I’d use Go or Python for REST APIs but recently had to join a team where all of their stacks were in Nodejs so, used Express + Typescript + TSOA (for swagger). I can say it was a very surprisingly nice experience especially the TSOA part where I was able to generate open API definitions from typescript types.</li></ul><p>For me, the adoption of Javascript in my professional projects is still a work in progress and I’m still a bit sceptical when someone suggests that we should write something in Javascript. However, I can see that the trends are changing and lots of the new-generation developers are very comfortable with Javascript ecosystems and prefer working with it. I strive to remain open-minded and humble, recognizing the evolving landscape of development. Because as it turns out today’s underdog can be tomorrow’s leader.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9e4099d0ea4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Potential of Go with Zig’s Error Handling Mechanisms]]></title>
            <link>https://medium.com/@makkalot/exploring-the-potential-of-go-with-zigs-error-handling-mechanisms-52ca86eb10de?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/52ca86eb10de</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[zig]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[programming-languages]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 08:18:06 GMT</pubDate>
            <atom:updated>2023-06-19T10:09:05.251Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H8YMSm1K9E4nuKAKTMR7iw.png" /><figcaption>Gopher with a great idea (downloaded from <a href="https://unsplash.com/photos/h3NnD3i5hSs">unsplash</a> edited with dall-e)</figcaption></figure><p>I’ve been doing Go programming for over 10 years and I really like it. It’s my go-to language when I need to write production code and I always encourage my coworkers to think about it when starting a new task. We know that Go is very verbose and kind of bothers some of the developers (although that has its benefits for readability) especially the error handling is something that’s a bit of a pain. Go is doing the correct thing by making the errors return values instead of trying to catch some exceptions. However, the repetition of statements like this bothers me too :</p><pre>if err := something(); err != nil {<br>  // do something with the error<br>}</pre><p>As the title suggests I want to mention a bit about Zig programming language. I’m not by any means an expert in Zig but have been playing with its tutorial recently and its error handling really makes sense. Zig like Go treats errors like values but as an addition adds some nice syntactic sugar when a function returns a value and error condition. Here is an example of Zig error handling :</p><pre>const std = @import(&quot;std&quot;);<br><br>fn maybeError(input: i32) !i32 {<br>    if (input &lt; 0) return error.NegativeInput;<br>    return input;<br>}<br><br>pub fn main() !void {<br>    const input = -10;<br>    const number = try maybeError(input);<br>    std.debug.print(&quot;Number: {}\n&quot;, .{number});<br>}</pre><p>For those who are not familiar with Zig, the code above fails when a negative number is passed to maybeError function. What’s interesting here is the return type !i32 what that means is, the function might return int 32 or an error if the condition fails. The next step is when the function is called we see this const numberr = try maybeError(input) syntax which means call this function and if it succeeds (no error returned) assign the result to number and if there’s an error just return the error back and exit so the equivalent code in Go would be :</p><pre>if number, err := maybeError(input); if err != nil {<br>  return -1, err<br>}</pre><p>Also in case you want to do something with the error zig has catch syntax like :</p><pre>const number = maybeError(input) catch |err| {<br>  std.debug.print(&quot;Caught an error: {}\n&quot;, .{err});<br>  return;<br>};</pre><p>So, I was thinking about what Go would look like if had the same syntactic sugar for error handling as Zig. In this parallel universe Go equivalent might look like this :</p><pre>func maybeError(input int) int! {<br>    if input &lt; 0 {<br>        return -1, errors.New(&quot;NegativeInput&quot;)<br>    }<br>    return input, nil<br>}<br><br>func main() {<br>    input := -10<br>    number := try maybeError(input)<br>    fmt.Println(&quot;Number:&quot;, number)<br>}</pre><p>In the example above we added new syntax to return type of the function int! which means this function returns int but also can return an error. It still returns two parameters not unlike Zig but I think this might be needed for the backwards compatibility reasons. If the function works as expected it’ll return the number otherwise it’ll exit from the main with an error. I think this will work for old way too if want to ignore the new syntax like :</p><pre>if number, err := maybeError(input); err != nil {<br>  // do something with the error<br>}</pre><p>I don’t see much benefit in adding the catch keyword like in Zig because the if pattern is well established in Go so the new syntax wouldn’t add much here.</p><p>Let’s add one more example of chained calls to see what it’d look like let’s assume we have a function parsing some rest API and returning the result of that:</p><pre>type ApiResponse struct {<br> // add your expected API response fields here<br> Field1 string `json:&quot;field1&quot;`<br> Field2 int    `json:&quot;field2&quot;`<br>}<br><br>func callAPI() (*ApiResponse, error) {<br> resp, err := http.Get(&quot;http://your-api-endpoint.com&quot;)<br><br> if err != nil {<br>  return nil, err<br> }<br> defer resp.Body.Close()<br><br> body, err := ioutil.ReadAll(resp.Body)<br><br> if err != nil {<br>  return nil, err<br> }<br><br> var apiResponse ApiResponse<br> err = json.Unmarshal(body, &amp;apiResponse)<br><br> if err != nil {<br>  return nil, err<br> }<br><br> return &amp;apiResponse, nil<br>}</pre><p>Let’s convert that function to the new syntax :</p><pre>func callAPI() *ApiResponse!{<br> resp := try http.Get(&quot;http://your-api-endpoint.com&quot;)<br> defer resp.Body.Close()<br><br> body := try ioutil.ReadAll(resp.Body)<br><br> var apiResponse ApiResponse<br> try json.Unmarshal(body, &amp;apiResponse)<br><br> return &amp;apiResponse<br>}</pre><p>That’s quite an improvement! The function that calls callAPI might look like this:</p><pre>func main() {<br> apiResponse, err := callAPI()<br><br> if err != nil {<br>  log.Fatalln(err)<br> }<br><br><br> fmt.Println(&quot;API response is :&quot;, apiResponse)<br>}</pre><p>As we can see the new syntax should be able to work with the old way as well if the code using that new syntax still wants to inspect the error and do something with it.</p><p>In conclusion, while Go’s error handling is robust and effective, the addition of some of the syntactic sugar found in languages like Zig could further enhance its usability, without compromising its principles. Of course, this is all speculative and for fun, but it’s always interesting to consider how we might take the best of other languages and incorporate them into the ones we use most often.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52ca86eb10de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working 4 days as Contractor]]></title>
            <link>https://medium.com/@makkalot/working-4-days-as-contractor-fde9b591c2af?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/fde9b591c2af</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[contracting]]></category>
            <category><![CDATA[burnout]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[work-life-balance]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Tue, 15 Feb 2022 15:27:09 GMT</pubDate>
            <atom:updated>2025-07-29T10:38:12.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZpqo44niEMl-vQOZE4SDw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@dariamamont?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Daria Mamont</a> on <a href="https://unsplash.com/photos/woman-in-white-and-black-plaid-shirt-holding-black-smartphone-qzdHPRTnawg?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>It’s been almost 15 years since I started working professionally as Software Engineer. During the years I’ve tried very different working setups :</p><ul><li>In the beginning, worked mainly 9–5 for Startups and even worked at the weekends like most of the Juniors(really?) to gather some experience. Eventually got my first burnout.</li><li>Then thought maybe I should start freelancing to have more flexibility but eventually ended up working even more. Mainly because of the lower hourly rates, being Junior and not being able to find some quality clients. Burnout visited me again after that.</li><li>Then I thought freelancing sucks I should find a normal job with normal working hours. I tried that and actually worked for some time nicely but then I got bored and depressed and burnout came again.</li><li>At that point, I knew I liked freelancing/contracting and I had some good experience at that point (5–6 years) but I needed a proper setup for that to prevent burnouts.</li></ul><h4>Experimenting with Freelancing</h4><p>After I decided I’ll be doing freelance/contracting I started experimenting with different setups. In general, contractors earn more compared to full-time developers but obviously, there’s a catch. You don’t have paid holidays, sick days and when there’s some arrangement in the company you’re the first one to go. In order to keep your sanity against all those variables, you have to have some kind of buffer (3–6 months, the more the better)in place so can keep your stability when things go wrong.</p><p>The first setup that I tried with contracting is to have 3–6 months contracts work 5 days a week and when the contract is over have a month gap so can have some rest and learn some new technologies and maybe try some personal project. Although this worked ok-ish in the beginning, for longer contracts I found that I was having burnout again and needed longer time to recover and also this was making it harder to pick up the next gig.</p><p>Then the second setup I tried was to reduce my expenses (on this topic I might write another post) and just work part-time. This again worked ok for some time but also reduced my choices of picking up some nice clients and projects because not everyone was ok to hire a part-time contractor. The clients were mainly very early stage Startups or some projects that needed maintenance. I enjoyed some of the gigs during this period but at the end of the day, the satisfaction level was not great.</p><p><strong>The Perfect Setup</strong></p><p>I think I’ve read about it somewhere that some companies switched to 4 day week and they were getting some good results(I know nowadays there are lots of places that do that). I decided to give it a try and I think it worked really nice for me. Some points about 4 day week :</p><ul><li>It’s enough to finish some beefy tasks for the Sprint.</li><li>Makes you plan the week more strictly.</li><li>The client is more careful about your timing as well which means fewer meaningless meetings.</li><li>No wasteful Fridays, I’d do something fun rather than pretending I’m doing something on Friday.</li><li>Thursday is still a good day to have deployments on production(unless you do the daily/hourly) because can have other people working on Friday which gives you 1 day for monitoring, instead of having no deployment Fridays.</li><li>Having a long weekend which is the obvious one.</li></ul><p>I think as an additional point working 4 days is causing fewer burnouts for me. This way I have smaller gaps between my clients and quicker recovery time because I’m mostly well-rested all the time.</p><p><strong>Summary</strong></p><p>I don’t think there’s a universal work setup for everyone. Whatever worked for me might not be ok for someone else and that’s totally understandable. I think the most important thing is being aware of what’s good for your body and your mind and giving proper recovery time to yourself when hit the limit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fde9b591c2af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rsync from macOS to Linux Server]]></title>
            <link>https://medium.com/@makkalot/rsync-from-macos-to-linux-server-624a17aab1e6?source=rss-f67fe7383c80------2</link>
            <guid isPermaLink="false">https://medium.com/p/624a17aab1e6</guid>
            <category><![CDATA[rsync]]></category>
            <category><![CDATA[intellij]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Makkalot]]></dc:creator>
            <pubDate>Wed, 02 Feb 2022 09:36:22 GMT</pubDate>
            <atom:updated>2022-02-02T09:36:22.820Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I switched to a setup where I do the heavy lifting on my Linux Server which is running on my local network instead of doing that on my Macbook Pro. The main reason for that is working with Kubernetes/Docker requires lots of resources. Therefore, I needed a solution to sync my working folder with my Linux Server.</p><h4>Solution: First Attempt</h4><p>I’m an IntelliJ user and just wanted this to be solved via my IDE and not to worry about it. In my first attempt, I tried using the Deployment feature of Goland IDE and it worked really nicely except it didn’t copy the .<strong>git </strong>folder as it’s. I assume it’s doing some kind of trickery where it can’t use it. After a bit of Googling saw that some other people were complaining about it as well. People were suggesting Git push and pull but, that’s too much work each time and I’ll definitely forget to run and will lose lots of hours debugging what’s going on. In general, the Deployment feature should be just fine for most people if don’t need the .<strong>git</strong> folder. In my case, I’m using that folder on my Linux box to generate some versioning.</p><h4>Current Solution</h4><p>I went back to old school and just used <em>rsync</em>. I’m not sure if this is the best solution but seems to be working so far. You’re going to be needing <strong><em>fswatch</em></strong> in order to be able to watch the local file changes. Can easily install via brew:</p><pre>brew install fswatch</pre><p>After that can easily run the <em>rsync</em> with <em>fswatch</em> in a loop like this :</p><pre>alias run_rsync=&#39;rsync --progress --partial -avz /directory/to/sync username@192.168.1.101:/home/remoteuser/workdir&#39;  </pre><pre>run_rsync; fswatch -o /directory/to/sync | while read f; do run_rsync; done</pre><p>The command above is going to create the <strong>sync</strong> directory in <strong>workdir </strong>on the remote server<strong> </strong>if it doesn’t already exist. I’m a bit suspicious when I copy one-liners from blog posts so then I go and look up each of the command-line options. The options that we use above are (to make your life easier and mine in case I forget what’s what):</p><ul><li><strong>— progress:</strong> shows the progress</li><li><strong>— partial</strong>: keeps the partially transferred files</li><li><strong>- a</strong>: archive, it’s a combination of other flags, can look it up but it’s mostly what you want most of the time</li><li><strong>- v</strong>: verbose</li><li><strong>- z</strong>: compress when transferring the data</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=624a17aab1e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>