HNHacker News
TopNewBestAskShowJobs

BinaryIgor

526 karma · joined July 19, 2025

Curious, passionate and versatile software developer/programmer; likes going deep and broad at the same time. Writes @ binaryigor.com
submissionscomments
BinaryIgor··on We can’t circumvent the work needed to train our minds
A bit too extreme, but there definitely is something to it; trivially, you need to challenge your mind all the time and at regularly work at the edge of your current abilities to progress further. I like this part a lot:

"In knowledge work the bottleneck is not the external availability of information. It is the internal bandwidth of processing power which is determined by your innate abilities and the training status of your mind."

BinaryIgor··on We can’t circumvent the work needed to train our minds
Exactly, same for me
BinaryIgor··on Rug pulls, forks, and open-source feudalism
BTC ecosystem is growing strong :) Especially the Lightning Network
BinaryIgor··on JSON Streaming
Used it in a few projects :) It's a really interesting alternative to paging - you just stream data to the client, they decide when it's enough for them
BinaryIgor··on Rug pulls, forks, and open-source feudalism
Exactly; there are many mechanism in-place that allow us (anybody) to create alternatives if the currently dominant players start to misbehave too much; they just have not
BinaryIgor··on I've built a website just by prompting AI
Very important context:

"Let's get straight to the point: I didn't “code” a single line of the website... I only prompted Cursor.

BUT I prompted him, knowing what I wanted and, above all, what I did NOT want.

I was very methodical in the project, first asking him to create a simple front page using the colors I had explicitly provided him with.

For example, I had to specify that he should use a minimal CSS framework, not use a JavaScript framework, and use simple HTML to start with.

If you let the “AI” get excited, it will very quickly pull up “Ok, let's start a project with Vue.js” ... Hold on, buddy. I want a simple page, just with HTML and Pico CSS that’s all."

BinaryIgor··on Vibe Thinking
100% this:

"Yet I suspect that vibe writing will be no more successful than vibe coding, in large measure because reading itself is becoming a lost art. Furthermore, since writing is a form of thinking, if you haven't developed the skill of formalized thinking through writing and reflective reading then your interaction with an AI chatbot will essentially be nothing more than vibe thinking."

BinaryIgor··on Problems with "Fake It Till You Make It"
"Practice It Till You Make It"
BinaryIgor··on Protobuffers Are Wrong (2018)
Avro (and others) has its own set of problems as well.

For messaging, JSON, used in the same way and with the same versioning practices as we have established for evolving schemas in REST APIs, has never failed me.

It seems to me that all these rigid type systems for remote procedure calls introduce more problems that they really solve and bring unnecessary complexity.

Sure, there are tradeoffs with flexible JSONs - but simplicity of it beats the potential advantages we get from systems like Avro or ProtoBuf.

BinaryIgor··on Development speed is not a bottleneck
Interesting article, but a slightly misleading title.

Other than that the discovery process of what you should build is the hardest and the costliest part, the main conclusion from the article seems to be that if you outsource the first iterations to AI via vibe-coding, you will have much harder time changing and evolving it from there (iterating); to this, I agree

BinaryIgor··on I ditched Docker for Podman
I certainly like demon-less architecture; much simpler and there are less potential security issues and no single point of failure.

The one thing I don't necessarily agree:

"Privileged ports in rootless mode not working? Good! That's security working as intended. A reverse proxy setup is a better architecture anyway."

I usually use Ngix as a reverse proxy - why not have it set up in the exact same way as the rest of your apps? That's a simplicity advantage. So with Podman, I would just run this one exact container in root mode - that's still better than all of them, but quite.

I am not a fan of docker-compose - a classic example of a tool trying to do too much for me, so the lack of something similar in Podman is not a drawback for me :)

Not sure about tooling around logs and monitoring though - there is plenty for Docker.

BinaryIgor··on The Bitter Lesson of AI-Driven Drug Discovery
And this nugget:

"Unfortunately, working on hypothesis generation remains extremely attractive to AI in drug discovery researchers: (1) day-to-day generating more and more ideas subjectively feels like progress is being made - after all, you’ve created an enormous and ever-growing database of almost-medicines - and (2) science has trained researchers to value invention over doing the hard work to validate ideas, leading to a world in which everyone wants to be the idea-person and comparatively almost no-one wants to be doing the hard and unrewarding work to take these ideas all the way. And so, AI-driven drug discovery researchers still largely pursue hypothesis-generation machines and consequently, as a field, we unfortunately continue to make the same mistakes."

BinaryIgor··on Show HN: SMTP Email Testing Server
Cool; what was your motivation to create such a tool?
BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
True :) I did it on purpose to show that even with these modest resources you can achieve amazing performance - better than most systems would ever need
BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
The point of the test was to test a SYSTEM on the same machine, not just the app - db and app are on the same machine by design, not mistake.

Tests on the other hand were executed on multiple different machines - it's all described in the article. Sleep works properly, because there's an unbounded thread pool that makes http request - each request has its own virtual thread.

BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
That's not true; it's sleeping while the thread pool is busy doing requests - analyze the code again:)
BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
Regarding the machine's sizes - I did it on purpose, to showcase that even with this limited resources, you can still achieve way better performance than most systems will ever need.

I know that you can have significantly bigger machines; network-mounted DB storage on the other hand is not slow - it's designed specifically for these kind of use cases

BinaryIgor··on No clicks, no content: The unsustainable future of AI search
Interesting take on the future of web incentives; even before LLMs, I was often wondering how sustainable the ads model is - it obviously has a ton of tradeoffs.

Maybe we will just go back to pay content as it was before the Internet era? Magazines and such

BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
That's by intention, I wanted to test REQUESTS_PER_SECOND max, in every test case.

Same with db - I wanted to see, what kind of load a system (not just app) deployed to a single machine can handle.

It can be obviously optimized even further, I didn't try to do that in the article

BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
It's all described in the blog post and there is a link to the source code as well :)

Both the app and db are hosted on the same machine - they are sharing resources. This fact, type of storage and other details of the setup are contained in this section: https://binaryigor.com/how-many-http-requests-can-a-single-m...

I think you're right that I didn't mention the details of the db connection pool; they are here: https://github.com/BinaryIgor/code-examples/blob/master/sing...

Long story short, there's a Hikari Connection Pool with initial 10 connections, resizable to 20.

BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
True :) My main motivation was to at least realistically move us into a right (simpler) direction - from currently still popular microservices architectures deployed to multi-machine Kubernetes clusters to handle, on average, 5 req/s
BinaryIgor··on How many HTTP requests/second can a single machine handle? (2024)
How many queries do you usually handle? Why a few? One doesn't suffice? What resources do they have?
BinaryIgor··on Vibe coding as a coding veteran: from 8-bit assembly to English-as-code
What stands out for me, is that it was all possible thanks to the fact that the AI operator/conversationalist had enough knowledge to, more or less write, it all by hand, if he chose to.

Probably it was said many times already, but it will rather be the competition between programmers with AI and programmers without one, rather than no programmers with AI.

In particular, I love this part:

"I had serious doubts about the feasibility and efficiency of using inherently ambiguous natural languages as (indirect) programming tools, with a machine in between doing all the interpretation and translation toward artificial languages endowed with strict formal semantics. No more doubts: LLM-based AI coding assistants are extremely useful, incredibly powerful, and genuinely energising.

But they are fully useful and safe only if you know what you are doing and are able to check and (re)direct what they might be doing — or have been doing unbeknownst to you. You can trust them if you can trust yourself."

BinaryIgor··on Delete tests
Was exactly about to point that out - if you mostly have integration (aka in-between tests) tests, you rarely need to refactor your tests. It's about testing mostly at the right abstraction level: https://binaryigor.com/unit-integration-e2e-contract-x-tests...
BinaryIgor··on Unexpected productivity boost of Rust
Don't most of the benefits just come down to using a statically typed and thus compiled language? Be it Java, Go or C++; TypeScript is trickier, because it compiles to JavaScript and inherits some issues, but it's still fine.

I know that Rust provides some additional compile-time checks because of its stricter type system, but it doesn't come for free - it's harder to learn and arguably to read

BinaryIgor··on Malleable Software
100%; customization maintenance burden is underrated - it simply costs a lot of time and energy to customize things; often there are better uses of this time, especially in the business context
BinaryIgor··on Ask HN: Did modern AI's coding abilities make you lose interest in programming?
Same for me; love it for learning, researching and debating things - programming and software design included :)
BinaryIgor··on Object-oriented design patterns in C and kernel development
I always wonder, why not anything similar made it into a new (some) C version? Clearly, there is a significant demand for - lots of people reimplementing the same (similar) set of patterns.
BinaryIgor··on AI Killed My Job: Translators
Interesting; I would probably kindly disagree, but will definitely read some of his stuff to possible rectify my views :)
BinaryIgor··on AI Killed My Job: Translators
Interesting, but lots of luddite vibes. I am AI-skeptic myself, but it cannot be denied that it is a very useful tool and many tasks - probably jobs as well, it's not the same - will be replaced by it. Current uncertain climate is unpleasant, but that's the price we have to pay for the long-term progress, fortunately or not
← PreviousPage 7 of 8Next →