<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Grandimam</title><description>I go by grandimam online. I believe the value of software comes from what it makes possible.</description><link>https://grandimam.net/</link><language>en</language><item><title>Start with the behavior, then build what it needs</title><link>https://grandimam.net/posts/start-with-the-behavior/</link><guid isPermaLink="true">https://grandimam.net/posts/start-with-the-behavior/</guid><description>Adding None-aware attribute access to my CPython fork is one example of how I work backward from an outcome to the systems needed to make it possible.</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I believe the value of software comes from the outcomes it makes possible. That belief shapes how I want to build: start with something I want software to do, then work backward to understand what needs to exist.&lt;/p&gt;
&lt;p&gt;Sometimes the work stays inside an application. Sometimes it leads into a framework, a runtime, or the language itself.&lt;/p&gt;
&lt;p&gt;One example is my experimental CPython fork. In &lt;a href=&quot;https://github.com/grandimam/cpython/commit/65d26c4e728cf1cc97357be4ebe9ec3a163e8692&quot;&gt;this commit&lt;/a&gt;, I added &lt;code&gt;?.&lt;/code&gt;, a None-aware attribute access operator. It is an experiment in my fork, not a feature available in official Python.&lt;/p&gt;
&lt;h2&gt;The behavior I wanted&lt;/h2&gt;
&lt;p&gt;Suppose a response might be absent, and its customer might also be absent. If either is &lt;code&gt;None&lt;/code&gt;, I want the result to be &lt;code&gt;None&lt;/code&gt;. Otherwise, I want the customer&apos;s name in lowercase.&lt;/p&gt;
&lt;p&gt;In ordinary Python, one way to express that is:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;name = None
if response is not None:
    customer = response.customer
    if customer is not None:
        name = customer.name.lower()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In my fork, I can express it as:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;name = response?.customer?.name.lower()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This assumes an existing customer has a string name. If the name can also be &lt;code&gt;None&lt;/code&gt;, that boundary needs its own guard:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;name = response?.customer?.name?.lower()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Each &lt;code&gt;?.&lt;/code&gt; checks the value on its left. When that value is &lt;code&gt;None&lt;/code&gt;, the remaining attribute accesses, subscriptions, and calls in the chain are skipped, and the chain produces &lt;code&gt;None&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;That last part matters. Consider:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;result = response?.send(build_payload())
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If &lt;code&gt;response&lt;/code&gt; is &lt;code&gt;None&lt;/code&gt;, &lt;code&gt;build_payload()&lt;/code&gt; must never run. Returning &lt;code&gt;None&lt;/code&gt; after evaluating the arguments would produce a different behavior, especially if building the payload has side effects.&lt;/p&gt;
&lt;h2&gt;Working backward through CPython&lt;/h2&gt;
&lt;p&gt;The desired behavior creates requirements at several layers.&lt;/p&gt;
&lt;p&gt;The tokenizer needs to recognize &lt;code&gt;?.&lt;/code&gt; as a token. The grammar needs to accept it as attribute access. The AST needs to represent it, so the compiler can distinguish it from ordinary &lt;code&gt;.&lt;/code&gt; access.&lt;/p&gt;
&lt;p&gt;The commit adds a &lt;code&gt;QUESTIONDOT&lt;/code&gt; token and a &lt;code&gt;NoneAwareAttribute&lt;/code&gt; AST node. It also updates AST validation, scope analysis, token names, and unparsing. A language feature needs to remain understandable to the tools that inspect and reproduce Python code.&lt;/p&gt;
&lt;p&gt;The compiler is where the short-circuiting becomes concrete. It detects a chain containing None-aware access and compiles its links with a shared destination to skip to. At each &lt;code&gt;?.&lt;/code&gt;, it copies the current value and emits a &lt;code&gt;POP_JUMP_IF_NONE&lt;/code&gt;. If the check succeeds, execution jumps past the rest of the chain with &lt;code&gt;None&lt;/code&gt; still on the stack.&lt;/p&gt;
&lt;p&gt;This uses existing bytecode instructions. The new syntax requires changes to how the compiler constructs control flow, without introducing a new interpreter instruction.&lt;/p&gt;
&lt;p&gt;The result I wanted was a small expression. Making that expression meaningful required following it through the system.&lt;/p&gt;
&lt;h2&gt;Defining what counts as correct&lt;/h2&gt;
&lt;p&gt;The happy path is only part of the behavior. The boundaries need to be explicit too.&lt;/p&gt;
&lt;p&gt;Only &lt;code&gt;None&lt;/code&gt; short-circuits. Empty strings and zero still support ordinary attribute access:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;&apos;&apos;?.upper()     # &apos;&apos;
(0)?.real      # 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The operator also preserves ordinary errors when the receiver exists. It does not turn a missing attribute into &lt;code&gt;None&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Short-circuiting ends at the chain. With &lt;code&gt;x = None&lt;/code&gt;, this still attempts to add &lt;code&gt;None&lt;/code&gt; and &lt;code&gt;1&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;x?.a + 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Assignment and deletion through the operator are rejected. Reading through a possibly absent value does not, by itself, define what writing through that value should mean.&lt;/p&gt;
&lt;p&gt;The commit includes tests for chained access, skipped arguments and subscript expressions, false values other than &lt;code&gt;None&lt;/code&gt;, invalid syntax, tokenization, and AST unparsing. Those cases turn an appealing example into a more precise contract. They do not establish that the feature is ready for production or belongs in upstream Python.&lt;/p&gt;
&lt;h2&gt;Why this fits what I am exploring&lt;/h2&gt;
&lt;p&gt;This is a language experiment, and it reflects the same approach that draws me to autonomous systems.&lt;/p&gt;
&lt;p&gt;I want to start with a capability and discover its requirements. For None-aware access, that leads into grammar, representation, control flow, and tests. For a system pursuing a goal over time, it leads into state, decisions, execution, recovery, and verification.&lt;/p&gt;
&lt;p&gt;The implementation changes with the problem. The question I keep returning to is the same: what needs to exist for this outcome to become possible, and how will I know it works?&lt;/p&gt;
&lt;p&gt;That is what I want this blog to document. An idea becomes more useful to me when I can build it, examine its behavior, and discover where my understanding was incomplete.&lt;/p&gt;
</content:encoded><category>Python</category></item><item><title>Introducing Mitti</title><link>https://grandimam.net/posts/introducing-mitti/</link><guid isPermaLink="true">https://grandimam.net/posts/introducing-mitti/</guid><description>I have been experimenting with a small ASGI web server called Mitti to better understand routing, validation, and framework overhead.</description><pubDate>Mon, 07 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Project update:&lt;/strong&gt; Mitti is no longer being developed. I’m now building &lt;a href=&quot;https://github.com/grandimam/karak&quot;&gt;Karak&lt;/a&gt;, an HTTP framework for free-threaded Python. This post describes the earlier experiment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have been experimenting with building a small ASGI web server called &lt;strong&gt;Mitti&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The goal is not to replace FastAPI overnight, but to better understand how routing, validation, and framework overhead work under the hood.&lt;/p&gt;
&lt;p&gt;I just added path parameter validation.&lt;/p&gt;
&lt;p&gt;So when a request hits something like &lt;code&gt;/users/1234&lt;/code&gt;, Mitti can extract &lt;code&gt;1234&lt;/code&gt;, convert it to the expected type, validate it, and reject bad input before it reaches the handler.&lt;/p&gt;
&lt;p&gt;I ran a quick benchmark:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;hey -n 10000 -c 100 http://127.0.0.1:8001/users/1234
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Results:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mitti: ~14K requests/sec&lt;/li&gt;
&lt;li&gt;FastAPI: ~10K requests/sec&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this specific test, Mitti is about 40% faster, even with validation enabled.&lt;/p&gt;
&lt;p&gt;Still experimental. Not production ready. But a useful way to learn ASGI internals.&lt;/p&gt;
&lt;p&gt;Code: &lt;a href=&quot;https://github.com/grandimam/mitti/&quot;&gt;github.com/grandimam/mitti&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>Python</category></item><item><title>Does Python Still Need to Be Async-First?</title><link>https://grandimam.net/posts/does-python-still-need-to-be-async-first/</link><guid isPermaLink="true">https://grandimam.net/posts/does-python-still-need-to-be-async-first/</guid><description>asyncio works well for I/O-bound APIs, but it forces one programming model on the whole call stack. Free-threaded Python raises the question of whether it still has to.</description><pubDate>Sat, 22 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Project update:&lt;/strong&gt; Mitti is no longer being developed. I’m now building &lt;a href=&quot;https://github.com/grandimam/karak&quot;&gt;Karak&lt;/a&gt;, an HTTP framework for free-threaded Python. This post describes the earlier experiment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you are building APIs in Python that handle a lot of concurrent I/O, the standard answer today is often &lt;code&gt;asyncio&lt;/code&gt; or a framework built around it. As a result, application code increasingly looks like this:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;async def get_user():
    user = await repository.get_user()
    return user
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;code&gt;async&lt;/code&gt; keyword turns the function into a coroutine, allowing its execution to be cooperatively scheduled by an event loop.&lt;/p&gt;
&lt;p&gt;For I/O-bound applications, this model works well. While one coroutine is waiting for the network, database, or filesystem, another can make progress. The problem with this is that it forces one particular type of programming model, and you&apos;d need a sort of escape hatch in case you want to do CPU computation.&lt;/p&gt;
&lt;h2&gt;Async Programming Model&lt;/h2&gt;
&lt;p&gt;Once an operation becomes asynchronous it tends to propagate through the call stack.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;async def get_user():
    return await repository.get_user()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The above code is asynchronous, it forces its caller to be asynchronous as well:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;async def handle_request():
    user = await get_user()
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And the caller of that function may need to be asynchronous too. This is often called &lt;strong&gt;function coloring&lt;/strong&gt;: synchronous and asynchronous functions effectively belong to different worlds, and crossing between them requires explicit machinery.&lt;/p&gt;
&lt;p&gt;For I/O-heavy workloads, the trade-off can be acceptable. But &lt;code&gt;asyncio&lt;/code&gt; doesn&apos;t make CPU-bound Python code parallel. If a coroutine performs substantial CPU work without yielding, it blocks the event-loop thread and prevents other coroutines on that loop from making progress.&lt;/p&gt;
&lt;h2&gt;Escaping GIL&lt;/h2&gt;
&lt;p&gt;Traditional CPython has the &lt;strong&gt;Global Interpreter Lock (GIL)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The GIL means that, within a single interpreter, only one thread can execute Python bytecode at a time. So threads can provide excellent concurrency for many I/O workloads, but they traditionally haven&apos;t provided true parallel execution of Python code.&lt;/p&gt;
&lt;p&gt;For CPU-bound parallelism, Python applications have commonly turned to multiple processes, native extensions, or other mechanisms.&lt;/p&gt;
&lt;p&gt;Since Python 3.13, we now have a free-threaded build where the GIL can be disabled. This completely changes the assumption that has shaped Python architecture for a long time: &lt;strong&gt;multiple threads can execute Python code in parallel.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So, if we are moving towards this as a default architecture, shouldn&apos;t the application level also support this by default?&lt;/p&gt;
&lt;h3&gt;What If?&lt;/h3&gt;
&lt;p&gt;What if application code stayed synchronous, while the framework owned the concurrency and parallelism?&lt;/p&gt;
&lt;p&gt;Instead of writing:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;@app.get(&quot;/users/{user_id}&quot;)
async def get_user(user_id: int):
    return await users.get(user_id)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;what if we simply wrote:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;@app.get(&quot;/users/{user_id}&quot;)
def get_user(user_id: int):
    return users.get(user_id)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The developer describes &lt;strong&gt;what the application does&lt;/strong&gt;. The framework decides &lt;strong&gt;how to execute it&lt;/strong&gt;. On traditional GIL-enabled Python, that could mean executing requests concurrently using threads.&lt;/p&gt;
&lt;p&gt;On free-threaded Python, the same application model could potentially execute independent Python workloads in parallel. The application itself doesn&apos;t need to change.&lt;/p&gt;
&lt;h2&gt;An Experiment: &lt;a href=&quot;https://github.com/grandimam/mitti&quot;&gt;Mitti&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I am building a small ASGI framework called &lt;strong&gt;mitti&lt;/strong&gt; to explore this idea. The central premise is simple:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Application code should be synchronous by default. Concurrency and parallelism should be concerns of the execution layer.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is still very early. I am deliberately building the core pieces from first principles: request handling, routing, execution, dependency injection, validation, middleware, and the other machinery required by a modern Python web framework.&lt;/p&gt;
&lt;p&gt;The goal isn&apos;t simply to build another FastAPI. I am interested in a more fundamental question: &lt;strong&gt;What should a Python web framework look like in a free-threaded world?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/grandimam/mitti&quot;&gt;Mitti is my attempt to find out&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>Python</category></item><item><title>How HackerRank Scores Engineers</title><link>https://grandimam.net/posts/how-hacker-rank-scores-engineers/</link><guid isPermaLink="true">https://grandimam.net/posts/how-hacker-rank-scores-engineers/</guid><description>The hardest part of building an LLM scoring tool isn&apos;t the model. It&apos;s the rubric. HackerRank open-sourced theirs. I read it, ran it, and faked a few resumes to test it.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I have been doing my goal-setting, KPIs, and feedback assessments through LLMs. The hardest part was designing the scoring mechanism. When HackerRank open-sourced their &lt;a href=&quot;https://github.com/interviewstreet/hiring-agent&quot;&gt;Hiring Agent&lt;/a&gt;, I wanted to understand how they had solved the same problem and what biases their rubric encodes.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://github.com/interviewstreet/hiring-agent&quot;&gt;Hiring Agent&lt;/a&gt; is an LLM-based resume scoring tool that parses a PDF, enriches it with GitHub and blog data, and returns a score. To run it, clone the repo and point it at a PDF:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;$ git clone https://github.com/interviewstreet/hiring-agent
$ cd hiring-agent
$ python3 score.py /examples/java-engineer.pdf
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The tool returns a structured score:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;==========================================
📊 RESUME EVALUATION: Senior Java Engineer
==========================================

🎯 OVERALL SCORE: 71.0/100
🌐 Open Source:           12/35
🚀 Self Projects:         18/30
🏢 Production Experience: 25/25
💻 Technical Skills:       8/10

✅ KEY STRENGTHS:
------------------------------------------
  1. Microservices Architecture
  2. Event-Driven Systems
  3. Cloud Technologies
  4. Database Optimization
  5. API Design

🔧 AREAS FOR IMPROVEMENT:
------------------------------------------
  1. Lack of Open Source Contributions
  2. Limited GitHub Activity
  3. No Publicly Available Projects
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I first provided it with a Senior Java Engineer resume. Though the profile has a near-perfect score on production experience and technical skills, the tool still evaluated the candidate at 71. I wanted to get a deeper understanding of how this tool was doing the scoring:&lt;/p&gt;
&lt;h2&gt;1. Resume Parsing&lt;/h2&gt;
&lt;p&gt;It starts in &lt;code&gt;score.py&lt;/code&gt; where the PDF is handed off to a &lt;code&gt;PDFHandler&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;score.py:251-252&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;pdf_handler = PDFHandler()
resume_data = pdf_handler.extract_json_from_pdf(pdf_path)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Inside extract_json_from_pdf, the PDF is parsed using PyMuPDF and converted to Markdown:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;pdf.py:54-57&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;resume_text = to_markdown(
    doc,
    pages=pages,
)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The Markdown content is then normalised into structured JSON - an internal schema (basics, work, education, skills, projects, awards) that represents the content of the resume. The normalisation step is important as it allows the tool to take in any resume regardless of the layout and represent it into a strict internal format. Now, parsing the resume from PDF to Markdown is not a foolproof step, in case of multi-column sections direct Markdown conversion is unreliable.&lt;/p&gt;
&lt;p&gt;Let&apos;s take an example of this resume:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://grandimam.net/assets/images/multi-column-resume.png&quot; alt=&quot;Resume evaluation pipeline output&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The Markdown parser reads left-to-right, so the content is incorrectly extracted as:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Coding, Framework, Messaging, Database, Observability, Containers, Patterns, Cloud, Java, Python...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;How well the LLM recovers from this depends on the model used. A more concrete solution would be to screenshot the resume and let the model parse it directly, rather than converting to Markdown first - similar to how Claude/Codex parses websites. The sections are then extracted individually using specialized prompts, each being an LLM call to the model.&lt;/p&gt;
&lt;h2&gt;2. Scoring Criteria&lt;/h2&gt;
&lt;p&gt;Almost all the intelligence is prompts, available in &lt;code&gt;prompts/templates/&lt;/code&gt; directory. Python is merely used in orchestration and plumbing.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&quot;basics&quot;: &quot;basics.jinja&quot;,
&quot;work&quot;: &quot;work.jinja&quot;,
&quot;education&quot;: &quot;education.jinja&quot;,
&quot;skills&quot;: &quot;skills.jinja&quot;,
&quot;projects&quot;: &quot;projects.jinja&quot;,
&quot;awards&quot;: &quot;awards.jinja&quot;,
&quot;system_message&quot;: &quot;system_message.jinja&quot;,
&quot;github_project_selection&quot;: &quot;github_project_selection.jinja&quot;,
&quot;resume_evaluation_criteria&quot;: &quot;resume_evaluation_criteria.jinja&quot;,
&quot;resume_evaluation_system_message&quot;: &quot;resume_evaluation_system_message.jinja&quot;,
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;resume_evaluation_system_message.jinja&lt;/code&gt; and &lt;code&gt;resume_evaluation_criteria&lt;/code&gt; help evaluate the scoring. The other prompts are primarily for resume parsing capability. The scoring criteria in &lt;code&gt;resume_evaluation_criteria&lt;/code&gt; is heavily biased towards individuals with open-source projects and contributions:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;### Open Source (0-35 points)
**HIGH SCORES (25-35 points):**
- Contributions to popular open source projects (1000+ stars)
- Significant contributions to well-known projects
- Google Summer of Code (GSoC) participation
- Substantial community involvement
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There are explicit rules that mention what projects are considered open-source and what are not.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;**CRITICAL RULES:**
- Having personal GitHub repositories does NOT constitute open source contribution
- True open source contribution means contributing to OTHER people&apos;s projects
- When GitHub data shows all projects are &apos;self_project&apos; type, open source score MUST be 10 points or less
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And one that interested me most was the following rule:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;**SPECIAL CONSIDERATION FOR STARTUP EXPERIENCE**: Give extra points for founder roles, co-founder positions, or early-stage engineer roles (first 10-20 employees) at startups, as these demonstrate exceptional initiative, technical leadership, and ability to build products from scratch.
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Testing the Bias&lt;/h3&gt;
&lt;p&gt;The prompt says to reward founder and early-stage roles. I wanted to know: does it actually? I took the same resume and changed only the job titles. Three versions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://grandimam.net/assets/pdfs/java-engineer.pdf&quot;&gt;Senior Java Engineer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://grandimam.net/assets/pdfs/founding-engineer.pdf&quot;&gt;Founding Engineer&lt;/a&gt; - same resume, title swapped&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://grandimam.net/assets/pdfs/co-founder.pdf&quot;&gt;Co-founder / CTO&lt;/a&gt; - same resume, title swapped again&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Everything else stayed identical: same skills, same projects, same experience. The only variable was the job title.&lt;/p&gt;
&lt;p&gt;The results were underwhelming. The production score moved from 22 to 23 out of 25 in some iterations. The CTO title landed in the same range. I ran it multiple times with different titles, and the production score consistently sat between 20-23 regardless of what I put.&lt;/p&gt;
&lt;p&gt;This tells two things. First, the LLM is resistant to title changes. Second, the rubric&apos;s emphasis on startup roles is more aspiration than enforcement. The prompt says to give extra points, but the model doesn&apos;t consistently apply them. A prompt rule is a suggestion, not a guarantee.&lt;/p&gt;
&lt;p&gt;A deeper look into the criteria also rewarded the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- +3-5 points for startup founder/co-founder experience
- +2-3 points for early-stage engineer experience (first 10-20 employees at a startup)
- +2 points for portfolio website (GitHub URL in basics.url)
- +1 point for LinkedIn profile
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Being a LinkedIn user is worth 1 point. Being a GSoC participant is worth 5. Now, apart from prompts there are rules explicitly coded wherein it checks for repo popularity:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;github.py:234&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;for repo in repos_data:
    if repo.get(&quot;fork&quot;) and repo.get(&quot;forks_count&quot;, 0) &amp;lt; 5:
        continue
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Drops forks with fewer than 5 forks, filtering out drive-by forks of popular repos. These are opinions stated as rules.&lt;/p&gt;
&lt;h2&gt;What I Learned&lt;/h2&gt;
&lt;p&gt;The Hiring Agent is a decently-engineered prototype. The problem is someone decided open source is 35% of an engineer&apos;s value; four commits is the threshold for &quot;meaningful&quot; contribution. Someone decided a LinkedIn profile is worth exactly 1 point. These are judgment stated as rules.&lt;/p&gt;
&lt;p&gt;This is the same problem I was trying to solve in my own tool. The hard part of LLM-based scoring isn&apos;t the model, the parsing, or the pipeline. It&apos;s deciding what matters. Once you define it in the prompt, you have made a value judgment and the model will try to enforce it.&lt;/p&gt;
&lt;h2&gt;A Caveat&lt;/h2&gt;
&lt;p&gt;The git history is also interesting. The active development spans 77 days (July 29 to October 15, 2025) followed by a 231-day silence, then a handful of cleanup commits in June 2026 before open-sourcing. The commit patterns look like a burst of internal hackathon or intern work, not a sustained effort.&lt;/p&gt;
&lt;p&gt;This matters because the company that is open-sourcing the project is one of the players in the domain. The criteria defined: open source at 35%, technical skills at 10% feels like someone&apos;s first draft and not a thoroughly validated hiring framework. There are inconsistencies also in the project that highlight that these are the rough edges of a prototype, not a production system. This tool must be used with caution as it&apos;s a first attempt at LLM-based hiring looks like, before it&apos;s been tested against thousands of real candidates and calibrated by recruiting teams.&lt;/p&gt;
</content:encoded><category>Careers</category></item><item><title>Distorted Reality</title><link>https://grandimam.net/posts/distorted-reality/</link><guid isPermaLink="true">https://grandimam.net/posts/distorted-reality/</guid><description>When you divide performance by salary, being expensive looks like underperforming. The metric quietly shifts from impact to intelligence per dollar, and everyone reading it ends up believing something that is not true.</description><pubDate>Wed, 08 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Suppose there are two engineers. One (EA) makes $200K; the other (EB) makes $50K. EA was a strong performer and EB solidly met expectations.&lt;/p&gt;
&lt;p&gt;Now the CEO wants to update the company&apos;s performance metrics, so he adds salary as a factor in how engineers are evaluated.&lt;/p&gt;
&lt;p&gt;What do you think happens?&lt;/p&gt;
&lt;p&gt;EA, the stronger engineer, is scoring below EB. When salary becomes the denominator, being expensive looks like underperforming, even though neither engineer changed the way they work.&lt;/p&gt;
&lt;p&gt;On top of that, EB now believes he is a top performer, not realizing he is no longer being measured against the right standard. He is simply being rewarded for being cheap. EA is being told she is slipping when she is not. Both are misled, in opposite directions.&lt;/p&gt;
&lt;h2&gt;Performance is not value per dollar&lt;/h2&gt;
&lt;p&gt;There is a difference between how good an engineer is and how much value per dollar an engineer delivers. The first measures individual performance; the second measures a business call. Comp-per-dollar is a fine tool for budgeting, but an improper way to measure how good an engineer actually is.&lt;/p&gt;
&lt;h2&gt;The shift LLMs accelerated&lt;/h2&gt;
&lt;p&gt;This is the shift LLMs have accelerated. The metric quietly moved from impact to intelligence per dollar.&lt;/p&gt;
&lt;p&gt;I am starting to suspect engineers might begin pricing themselves down just to meet or exceed expectations. But a metric that rewards being underpaid is not measuring performance. It is deriving a business value that engineers have very little control over. It is also why layoffs should not be taken personally, because the metric was never measuring value or impact in the first place.&lt;/p&gt;
&lt;h2&gt;The distortion&lt;/h2&gt;
&lt;p&gt;And that is the distortion. EA thinks she is slipping. EB thinks he is excelling. The org thinks its numbers are improving. Three different people, all reading the same broken metric, all convinced of something that is not true.&lt;/p&gt;
</content:encoded><category>Careers</category></item><item><title>Repricing of Software Engineering Labor</title><link>https://grandimam.net/posts/repricing-of-software-engineering-labor/</link><guid isPermaLink="true">https://grandimam.net/posts/repricing-of-software-engineering-labor/</guid><description>As AI compresses implementation costs, the market is repricing software engineering labor, collapsing the premium for generalists while raising the value of deep expertise.</description><pubDate>Fri, 26 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I started my career in the late 2010s, and I have had a front-row seat to the growth of the industry that has given me everything: software engineering.&lt;/p&gt;
&lt;p&gt;Looking back over the last decade, I have mixed feelings about some of the calls I made. And I am seeing the same patterns play out again now. So for engineers who are confused about where this is headed and how to navigate it, here is how I think about it.&lt;/p&gt;
&lt;h2&gt;Generalist SWEs were a product of cheap money&lt;/h2&gt;
&lt;p&gt;The late 2010s, I saw an huge amount of startup funding, globally. Flipkart, Snapdeal, Jugnoo, and hundreds of others were scaling hard and one hiring pattern I saw was that: everyone wanted generalist software engineers. People who could easily get upto speed across the stack.- backend, frontend, infra, deployment and simply ship.&lt;/p&gt;
&lt;p&gt;Building software was expensive. Automation was still low. Kubernetes had just gone mainstream. Shipping still meant a surprising amount of manual work: SSH-ing into servers, copying artifacts around, running &lt;code&gt;mvn&lt;/code&gt; builds by hand, debugging deployments straight in production, duct-taping infrastructure that today you would never touch.&lt;/p&gt;
&lt;p&gt;Companies fought over engineers who maximized feature throughput. Breadth was a premium, because every extra engineer increased the rate at which software got built. It helped because the money was also free and VCs rewarded growth over efficiency, and hiring software engineers in bulk was the easiest way to spend it.&lt;/p&gt;
&lt;p&gt;Pull up a resume from an engineer who started around that time and you will usually see the same shape: a long list of technologies and frameworks, broad and adaptable, but rarely deep in any one thing. There was no incentive to go deep.&lt;/p&gt;
&lt;h2&gt;LLMs Changed The Dynamics&lt;/h2&gt;
&lt;p&gt;LLMs did not kill software engineering. It compressed the cost of implementation. The work that got hit first was the work that was already standardized: CRUD apps; API integration and glue code; Framework-heavy backend work; Frontend scaffolding; Standard architectural patterns.&lt;/p&gt;
&lt;p&gt;What used to take a team can now is being done by a 2-member team and AI. That is why implementation-heavy roles are becoming low-leverage work.&lt;/p&gt;
&lt;p&gt;If your main value is stiching systems out of known frameworks and well-understood patterns, you are now competing with AI-assisted developers, technical PMs, founders, and small teams that hit the same outcome with a fraction of the headcount. Some of what feels like an AI correction is just the cheap-money era ending. Both are happening at once, and it is easy to blame all of it on AI.&lt;/p&gt;
&lt;h2&gt;Repricing of the Middle Layer&lt;/h2&gt;
&lt;p&gt;I don&apos;t think software engineering is disappearing. I think the market is repricing it. For years it rewarded implementation throughput. Engineers that were able to move fast and build stuff are becoming obselete overnight. These are large middle implementation-heavy generalists whose value was mostly shipping software built from known patterns.&lt;/p&gt;
&lt;p&gt;The distinguished engineers sit above this collapse because their value was never implementation bandwidth in the first place; it was depth, judgment, and ownership. The middle layer never had any moat.&lt;/p&gt;
&lt;p&gt;That is where I see the real identity crisis. A lot of these engineers built genuinely successful careers in a market where implementation itself was scarce. AI took that away almost overnight.&lt;/p&gt;
&lt;h2&gt;Expertise is getting more valuable&lt;/h2&gt;
&lt;p&gt;As implementation gets cheaper, expertise gets more valuable. Not generic expertise. Deep expertise in domains where correctness, latency, safety, or operational complexity dominate.&lt;/p&gt;
&lt;p&gt;Even the senior Java engineer with fifteen or twenty years in isn&apos;t valuable because of Java. They are valuable because they have spent years debugging distributed failures, running mission-critical systems, learning failure modes the hard way, and making architectural trade-offs under real production pressure.&lt;/p&gt;
&lt;p&gt;It is not prompting but it&apos;s judgment earned through experience, not code generation.&lt;/p&gt;
&lt;h2&gt;Where I think this goes&lt;/h2&gt;
&lt;p&gt;Like a lot of people, I have spent time building AI-native tooling myself (&lt;a href=&quot;https://github.com/grandimam/barebone&quot;&gt;Barebone&lt;/a&gt;). And ironically, even this layer is crowded already.&lt;/p&gt;
&lt;p&gt;Agent frameworks, orchestration libraries, workflow engines, thin wrappers around foundation models, they are multiplying faster than they can meaningfully differentiate. Calling yourself an &quot;AI engineer&quot; is not going to be a moat.&lt;/p&gt;
&lt;p&gt;I dont think LLMs eliminate engineering. PMs and domain experts can increasingly build prototypes, validate ideas, and ship internal tools with AI-assisted workflows. They are moving into what used to be engineering territory but mostly at the prototype layer.&lt;/p&gt;
&lt;p&gt;Production is a different animal. It still needs engineers who understand reliability, scale, security, performance, observability, and operational trade-offs. The market is not killing the generalist software engineer but it is collapsing the premium for implementation-heavy work and raising the premium for deep expertise and real systems intuition.&lt;/p&gt;
&lt;p&gt;For the first time in a long time, I think the biggest returns in this field come not from knowing a little about everything, but from knowing one hard thing exceptionally well.&lt;/p&gt;
</content:encoded><category>Careers</category></item><item><title>Speed is Cheap, Capability is Expensive</title><link>https://grandimam.net/posts/speed-is-cheap-capability-is-expensive/</link><guid isPermaLink="true">https://grandimam.net/posts/speed-is-cheap-capability-is-expensive/</guid><description>After 8+ months of heavy agentic coding, here is how I think about LLM costs and capability.</description><pubDate>Fri, 19 Jun 2026 00:00:00 GMT</pubDate><content:encoded>&lt;h2&gt;The 80/20 of LLM Costs&lt;/h2&gt;
&lt;p&gt;Here is how I have come to think about LLMs after 8+ months of heavy agentic coding (200K+ lines, 30 PRs a month). If you are already strong in your tooling, a large chunk of the agentic advantage disappears. The model moves away from compensating for gaps in my knowledge, and just optimizing for speed.&lt;/p&gt;
&lt;p&gt;And low-cost models deliver that same speed at a fraction of the price. I hit my quarterly KPIs buying the frontier models for only 20-30% of the work. The remaining 70-80% that fills most of my quarter - features, code reviews, bug fixes, hot fixes, general platform maintenance - runs fine on low-cost models (Qwen, Kimi, etc.). The most capable model only earns its worth on that 20-30% tied to quarterly goals, which matches exactly what I have seen tracking my own KPIs.&lt;/p&gt;
&lt;h2&gt;The Harness Problem&lt;/h2&gt;
&lt;p&gt;So paying $200 to run mostly Haiku-tier work is over-subscribing. I am paying for capability I have already built the expertise around. The harness is limiting too. Claude Code works well when I want everything pre-baked and it is great for someone new to agentic development, but for any real customization, it falls short.&lt;/p&gt;
</content:encoded><category>Agentic Engineering</category></item><item><title>Writing Effective Skills</title><link>https://grandimam.net/posts/writing-effective-skills/</link><guid isPermaLink="true">https://grandimam.net/posts/writing-effective-skills/</guid><description>Writing code is moving to agents the way deployment moved to CI/CD. How the agentic loop works, and what makes a skill effective.</description><pubDate>Sun, 12 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This post is a work in progress and will be updated over time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Software Engineering as we see it today is slowly transforming itself towards a more Agentic workflow. This is not new; there was a time where software was packaged and manually SCP&apos;d into individual servers and executed. We have automated that process and it is now part of our SDLC phase called CI/CD.&lt;/p&gt;
&lt;p&gt;What was a manual process earlier slowly automated by writing Terraform or Helm scripts that can be configured and deployed using a single-click operation. We are seeing a similar shift happening in the process of writing code itself - what used to be a manual process involving IDEs is now being done through Agents.&lt;/p&gt;
&lt;h2&gt;Agent and Agentic Loop&lt;/h2&gt;
&lt;p&gt;At their core, an Agent is a loop that runs continuously - capturing user instructions and executing operations on an environment (local or remote) using tools. Tools are simply pre-configured operations on that environment. The so-called magic is making this loop as efficient as possible.&lt;/p&gt;
&lt;h3&gt;The LLM as Decision Engine&lt;/h3&gt;
&lt;p&gt;LLMs play an important role in the agentic loop. They serve as the core inference engine - determining what instructions to capture, which tools to call, and how to execute them.&lt;/p&gt;
&lt;p&gt;A simple example of an agentic loop:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-python&quot;&gt;while True:
    user_instruction: str = await capture_user_instruction()
    tool_calls: list[Callable] = await engine.get_required_tools()
    for tool_fn in tool_calls:
        # execute tool
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;From the above example, you can see that the instruction capture is performed outside of the engine but the tool-calling operations are controlled by the engine (LLM in our case). This process can be done without an LLM by simply having a pre-defined rules engine and pattern matching - but LLMs bring flexibility and natural language understanding that static rules cannot. The goal of agentic development is continuously making this loop work efficiently.&lt;/p&gt;
&lt;p&gt;And &lt;strong&gt;skills&lt;/strong&gt; are one of the ways of making this loop efficient - enabling specialized agent behaviors for specific tasks.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The agentic loop has two aspects: model and tools. The model uses the tools heavily to inform its reasoning. You can think of tools as something the model uses to understand and reason about the environment its in.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Skills&lt;/h2&gt;
&lt;p&gt;Skills are composable prompts that define how an agent behaves when working on specific tasks. They are invoked on-demand - loaded into the agent&apos;s context only when a matching task is detected.&lt;/p&gt;
&lt;h3&gt;Skills vs Commands&lt;/h3&gt;
&lt;p&gt;Earlier releases of Claude Code has commands which are pre-configured executable actions similar to tools. Commands are executed by the users, and are pre-loaded into the context. The recent release of the Claude Code has removed that and only skills are available.&lt;/p&gt;
</content:encoded><category>Agentic Engineering</category></item></channel></rss>