Nikita Shpilevoy (@nickshpil) header
Nikita Shpilevoy (@nickshpil) profile picture

AI-Native Development Architect Startup creator

Joined September 2019
Hi 👋, if you are intrigued with: 🐍 Python 🤖 Golang 🖥️ Backend 🪄 Data Science 🔨 Career Advice Follow me.✔ I'm planning on using Twitter to share a lot of content, that you won't want to miss. 🎉
10
8
1
52
#MCP spec release candidate: Beta SDKs (Python, TypeScript, Go, C#) are out for the July 28. The biggest protocol revision yet. Key protocol changes: Stateless core - no more initialize handshake or protocol-level sessions; capabilities via server/discover. Any server instance handles any request, so plain round-robin load balancing works. MRTR - tools can return InputRequiredResult to ask the user something mid-call, no long-lived stream needed. Routing headers - Mcp-Method/Mcp-Name on requests so gateways can route without parsing bodies. Auth hardening - iss validation, application_type in DCR (fixes localhost redirects for desktop/CLI clients), scope accumulation, credential binding. Standard error codes - missing resource is now -32602, not custom -32002. Roots, sampling, and logging deprecated (advisory only, still work). P.S. Python v2 renames FastMCP → MCPServer (pip install "mcp[cli]==2.0.0b1"); TypeScript v2 splits into server/client packages, ESM-only, Node 20+, Standard Schema support, with a v1→v2 codemod; Go (v1.7.0-pre.1) and C# (2.0.0-preview.1) keep existing APIs. blog.modelcontextprotocol.io… #aiagents #devtools
1
2
87
When I first started building AI products, I thought the future belonged to fully autonomous agents that handle everything on their own. But after a year of developing and testing #llm-based processes, I've come to almost the opposite conclusion. The systems that work best for me are ones that: - solve a very narrow problem - have clear success criteria - use as few agent loops and interactions as possible - work with structured outputs - keep a human involved at the key decision points Meanwhile, a lot of my experiments with "fully autonomous" agents looked impressive in demos but turned out to be expensive, unpredictable, and hard to maintain in real-world use. What surprised me most was this: A simple process made up of: - finding and pulling the data you need - a single call to the LLM - a layer that checks the results - a human review (when the model's confidence is low) often performed better than far more complex agent architectures. I'm curious: has anyone else run into the same experience?
31
AI won't replace product managers, designers or developers. But it quickly shows where a team lacks trust. AI lowers the barrier to neighboring skills. The old question was who owns this work. The new one is who is best placed right now to move it forward. In strong teams this creates speed. In weak ones it creates fear, and frightened people defend their turf instead of the product. So roles stay valuable but become a base not a fence. The best teams keep deep skills plus enough trust to cross lines when it helps. What matters most is strong judgment, real craft and low ego. The goal isn't to protect your chair. It's to build something worth sitting at the table for. #llm
1
3
46
You probably shouldn’t think of LLM-as-a-judge as a unit test. Unit tests assume determinism: same input, same output, and a clean pass/fail signal. LLM systems don’t behave like that. The model you evaluate is stochastic, and the judge is stochastic too, so any single verdict is just a noisy sample. Once you treat a single judge call as a CI gate, you end up with something closer to a flaky benchmark than a test. Run it again and you may get a different answer. Swap the judge model and the ranking can shift. Even temperature 0 doesn’t fully remove variance, and judges often disagree in ways that are not negligible. There’s also a structural bias problem. Judges tend to reward surface properties like fluency, formatting, verbosity, or familiar stylistic patterns. That means you can improve scores without improving correctness, just by aligning with what the judge “likes”. This is where Goodhart’s law shows up: optimize the score and you drift away from real quality. So the right mental model is measurement, not assertion. You don’t “pass/fail” a single run. You sample, aggregate, compare distributions, and validate against humans when possible. LLM judges are useful, but only when treated as noisy evaluators inside an experiment, not as unit-test replacements. #programming #llm #llmdev #ai
2
1
66
Sum-product conjecture for real numbers is false: arxiv.org/abs/2605.28781 Given a finite set A ⊆ ℝ, the question was whether either the sumset A+A or the product set AA must be almost quadratic in size, i.e. max(|A+A|, |AA|) ≈ |A|² up to lower order terms. The conjecture said you can’t have strong additive and multiplicative structure at the same time A construction now shows arbitrarily large sets A (built from algebraic integers in number fields of degree about log|A|) where both operations stay small: max(|A+A|, |AA|) ≤ |A|^{2−c} for some absolute constant c > 0. This gives a clean counterexample and suggests other longstanding combinatorial conjectures of similar flavor may also fail. #math #combinatorics
35
It's frustrating to see individuals use the term "artificial intelligence" as if it were magic that could solve problems they don't comprehend.
1
1
70
If you're looking for a language-agnostic analog to Apache #Airflow, meaning an orchestration tool that doesn't assume Python as the primary interface or language for task execution, here are some notable options: 1. Argo Workflows 2. Prefect 3. Temporal 4. Dagster 5. Apache NiFi
1
95
1. Argo Workflows Language: YAML-based + containerized tasks (language-agnostic via Docker) Best for: Kubernetes-native environments Core Concept: Define workflows as Kubernetes CRDs; each step is a container Pros: - Truly language-agnostic (run anything that fits in a contain
38
Tools for Efficient Wrangling For large datasets, manual methods fall short. Tools like Trifacta Wrangler and OpenRefine offer no-code interfaces for data wrangling, while KNIME and Python libraries provide advanced capabilities for those comfortable with coding
51
Data Wrangling ≠ Data Cleaning Data wrangling goes beyond cleaning. It involves transforming raw data into structured formats suitable for analysis—standardizing formats, parsing, merging sources, and enriching datasets.
21
#Python hint: Be Careful with Large dicts and Memory Fragmentation dict is dynamic and may waste memory due to resizing. If you have millions of keys, consider:
39
#Python tip Using """ if key in my_dict: """ is faster than """ if key in my_dict.keys() """ because: 1. Direct Dictionary Lookup `if key in my_dict:` directly checks for key existence using a hash table lookup, which is O(1) on average. 2. Avoids Creating a dict_keys View `my_dict.keys()` creates a `dict_keys` view, which still supports fast membership testing, but it’s an unnecessary method call that adds slight overhead. Let’s test the performance using:
1
1
67
#Python Overuse of Global Interpreter Lock (GIL) in Multi-threading A lot of devs misuse threading in CPU-bound tasks, thinking it will improve performance. It won’t — because of the GIL.
47
Trick: If you can't parse JSON (e.g., it's a dict copied from logs with single quotes), try ast.literal_eval() — it safely converts it into a #Python dict:
42
#Python 3.13 Release Coming Soon: The official release of Python 3.13 is scheduled for October 7, 2024. A third release candidate was made available recently, allowing developers to get a feel for the latest features before the official rollout. Python 3.13 includes: - performance optimizations - some new syntax improvements, such as updates to the popular f-strings​ More details: nicepython.com/3.13/whats-ne…
1
4
92
Grouped exceptions (the new except* syntax) are probably going to be the hottest feature in this release Before this, when multiple exceptions were raised concurrently, you’d typically need to handle them individually, which could become cumbersome
42
Hey guys! I just posted something fresh yesterday about Big O notation (very beginner level). It's important knowledge, so don’t skip it if you're not familiar with it yet. medium.com/@nickshpilevoy/un… I’d really appreciate any feedback (here or on Medium).
30
#PostgreSQL window functions How to run a calculation across a set of rows, but without grouping them all together? Like, say you want the total for each row but still see all the rows? Instead of grouping stuff like you'd do with GROUP BY, the window function does the math (or whatever) over a "window" of rows. You still see the individual rows, but you can also see some running totals or averages or ranks or whatever. The thing is, you define this "window" with OVER(). And, this is where it gets real handy, you can control what rows are in that window using things like PARTITION BY or ORDER BY. It's flexible. Here's a quick example. Let's say you've got sales data, and you wanna know how each row's sales compare to the total sales for each region. So here, we’re getting each salesperson’s sales, and at the same time, we’re seeing the total sales for their region next to it. Without grouping the rows together, so you can still see all the individual salespeople.
52
I love Makefiles They often follow a common convention for implementing a standard set of commands to get you up and running. With them, I don’t need to know the specifics of running a project — I just type “make build” or “make run.” While it’s common practice to use Makefiles for #C++, they’re underrated for #Python, #JavaScript, and other languages. That’s a shame. If a Makefile includes all the necessary flags for npm or Python/#Django, it makes running any project as simple as typing “make run.”
32
You can test your internet speed using Python with the help of the speedtest-cli module. Follow these steps: pip install speedtest-cli After installing, you can use this Python script to test the internet speed.
57