HNHacker News
TopNewBestAskShowJobs

alexey-salmin

2,758 karma · joined February 28, 2023

submissionscomments
alexey-salmin··on Google Kills Custom Search API on Jan 1, 2027
https://developers.google.com/custom-search/v1/overview

  Note: The Custom Search JSON API is closed to new customers. Vertex AI Search is a favorable alternative for searching up to 50 domains. Alternatively, if your use case necessitates full web search, contact us to express your interest in and get more information about our full web search solution.

  Existing Custom Search JSON API customers have until January 1, 2027 to transition to an alternative solution.
alexey-salmin··on The EU is not about to censor access to the internet
Not suspicious at all
alexey-salmin··on Knoppix
100%. The detection/configuration of hardware just worked out of the box. It's a must-have for a livecd and still a reeeealy nice-to-have for your permanent install back then.
alexey-salmin··on IBM debuts sub-1 nanometer chip technology
The most surprising part for me is that IBM still somehow owns silicon labs, I was sure it's effectively a consulting company by now
alexey-salmin··on Dostoyevsky isn't difficult
A thought but maybe switch to the Idiot instead. I think of all the Dostoyevsky works the Brothers is the least enjoyable one. Keep it to the end or else it may suffocate your interest and prevent you from reading some of his greater works.
alexey-salmin··on Dostoyevsky isn't difficult
I watched it before I read the book and I wasn't aware it's an adaptation (not obvious at all). Imagine how perplexed and confused I was when I finally got around the book :D

The film is hilarious but probably hard to enjoy for someone who's not deep into the cultural context, it's not just the language.

alexey-salmin··on Ice water drowning survival of young patient (2025)
After a couple of months of coma they are pretty clear.
alexey-salmin··on French physicist and media star loses doctorate after plagiarism investigation
Bokonon tells us, incidentally, that members of a duprass always die within a week of each other.
alexey-salmin··on CRISPR tech selectively shreds cancer cells, including "undruggable" cancers
It's not very relevant here, but curiously some cancers are, in fact, contagious organisms. The most famous example is the devil facial tumour disease. Luckily cases of transmissible cancer in humans are extremely rare (if you count only transmission of cancer itself and not the cancerogenic agents).

Another curious case of "cancer being an organism" is the HeLa line derived from cervical cancer cells taken from a woman called Henrietta Lacks.

alexey-salmin··on The Unsung Hero of the Lord of the Rings (2025)
The article is the "Chad Tom Bombdadil" meme from reddit, but somehow watered down to multiple pages of text.

>Barges into the narrative.

>Sings a song about how he's older than the world.

>Puts on and takes off the Ring with no effect.

>Refuses to elaborate.

>Leaves.

alexey-salmin··on AI agent bankrupted their operator while trying to scan DN42
Yeah, the community seems great, I enjoyed reading IRC logs :)
alexey-salmin··on I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA
> Here's where I thank AIs for the small mercies of slopping on pleasantries on otherwise tone deaf emails and messages.

God I hate that, please send me more to-the-point tone deaf emails and messages.

alexey-salmin··on Solar Energy Saves Europeans $135M a Day
Well if France could build reactors in the 70s-90s, then Germany could have done it in 2000s, right? It's not an alien technology.

Instead they chose to pour money into wind and solar and ended up with:

* higher CO2 emissions

* higher consumer electricity prices

* all that for much higher implementation cost

The gap is massive. I think it's directly comparable: these are two neighboring EU countries, comparable in size, population and GDP. They made different choices which led to significantly different outcomes.

alexey-salmin··on Solar Energy Saves Europeans $135M a Day
What's the stunt? France built reactors for modest cost and phased out coal.

Germany wasted enormous amounts of money on green energy and made very little progress.

Which country is more "green"? Which technology is more "green"?

alexey-salmin··on Solar Energy Saves Europeans $135M a Day
The total cost of the French nuclear program since the beginning was estimated at 228 billion euros at 2012 prices, including both research and construction costs.

By that time Germany cumulatively poured around a trilling euros into the green energy and still had coal power plants and 2x the CO2 per capita compared to France.

As of 2026, in Germany 22.5% of electricity still comes from coal and CO2 per capita is still 1.7x of France.

The hard numbers so far are extremely favorable towards nuclear. Roughly speaking you get 1.7x better results at a 1/4 of the cost.

alexey-salmin··on Solar Energy Saves Europeans $135M a Day
The title is misleading. $135 is not "money saved", it's "money not spent on fossil fuels" (even for that I couldn't find how it was calculated by solarpowereurope, but the number seems plausible).

To the discussion of whether $50B/y is a big figure or not. EU has around 400GW of PV installed. Cost to install per 1kW ranged between $600 and up to $4000 because a big chunk of that capacity was built when prices were much higher. If we consider average price at $1000 this means $400B on capex alone + yearly operational expenses. It can still be profitable (assuming current PV prices can be sustained + installed capacity doesn't grow faster than storage) but it's going to be many years until the investment is recouped and it starts to actually "save money for Europeans".

In any case, of course it's still nice to depend less on imported oil, even if not for money savings.

alexey-salmin··on Texas grid flags risks as data centers, crypto sites fail voltage tests
> The issue with outdated grids is that it relies on technology (spinning mass) that's at this point a century old. Which makes it brittle against outages like you describe. The solution is not more spinning mass but batteries and renewables to take the place of that spinning mass. A battery can respond to oscillations in milliseconds. If you then add flexible load that can spin up/down based on the amount of available power, you gain a lot of stability.

Why the spinning mass technology being "century old" (more like "millennia old" but anyways) is a problem somehow? The Newton's First Law didn't change much in the time that has passed.

Anyone who tried to "respond to oscillations in milliseconds" knows how hard that problem is because the force you apply is integrated twice before it takes effect. Try stabilizing a swing by pushing it's forward when it's behind the equilibrium point and pushing it backward when it's ahead of it. Now imagine a grid of swings connected by rubber bands and a distributed system of independent actors responding to oscillations. There are much more ways in which this system can diverge rather then converge.

Time may prove me wrong, but the arguments like "spinning mass is old therefore should be replaced" certainly won't.

alexey-salmin··on India's surprise baby bust
> Are farmland, greenhouses, livestock, tractors, silos full of grain, and refrigerated warehouses packed with produce not "assets"?

The elderly can't eat that directly unless they're in a good health and can be put to work on a farm.

> Which are produced by...assets. Factories, labs, intellectual property.

In the end nothing is produced by "assets", things are always produced by people with various degrees of automation. This makes the balance between the number of people who are working and the number of people who aren't the key factor.

> Well not exactly "free". Retirees make contributions to the retirement system throughout their career.

Contributions to the economy of the past give them some moral grounds to claim the share of the economy today. But the reality is, an old man today is someone who consumes but doesn't produce. Society feeds them and gets nothing in return. Except for old people who meaningfully help to raise grandchildren or find other ways to be useful.

> The solution is tax the workers' output (productivity and asset growth), not their salaries. I don't know what you mean by "wealth redistribution" here.

There are many ways of how a percentage of GDP can be diverted to the elderly: all kinds of taxes including taxes on salary and assets, stocks and bonds, stashes of cash under the mattress etc.

I'm making a more high-level point: regardless of the mechanism, the more the elderly, the more GDP you need to divert to them. Which means the rest of the population gets less and also less gets invested into the future growth. It's a fundamental problem, which doesn't depend on which exact tax you plan to apply.

alexey-salmin··on India's surprise baby bust
You can't eat assets. Retirees need goods and services, these should be produced by the workers and handed over to retirees for free.

No wealth redistribution mechanism can solve the fundamental problem of less workers handing over more and more of their produce to the growing population of retirees.

alexey-salmin··on India's surprise baby bust
> A lot of things like retirement funds are built with the assumption of infinite growth

Not really, just a stable ratio of workers/retirees is enough for this system to work. But what we're seeing is a rapid shift in that ratio, with both less workers and more retirees.

alexey-salmin··on C array types are weird
> If your 2d array sits on the stack, then inferring memory layout is pretty easy. If you are dealing with pointer that was passed to a function, then you can't assume anything about data size or limits, which is why many functions that take pointers take a size parameter as well.

Right, but 2d arrays come into this picture with their own quirks again. You're not just passing the size as the parameter, you can pass it as a "special" parameter that influences how the compiler will interpret other parameters. E.g. in C99 you can do this:

    void do(size_t x, size_t y, int a[][y]);
Here "y" plays the critical role because it will be used to compute offsets in the a[i][j] expression. For 1d arrays this doesn't happen.

Of course it's still generalizable as "all but the outermost dimensions should be known" and for 1d array the outermost dimension is the only dimension. Still, this whole thing always felt a bit odd to me.

alexey-salmin··on C array types are weird
People who do HPC in C actually wish C had proper arrays like Fortran. If your function takes two pointers as inputs instead of two arrays they can alias the same memory and in fact they may alias any other pointer of the same type. Writing into one of them invalidates all the values you have in registers so you have to load them again.

The "restrict" keyword was invented to solve this but it still has weaker semantics than original Fortran arrays. It can still solve a big share of problems, but it never got proper adoption and never even made it into C++.

alexey-salmin··on C array types are weird
Interestingly the article doesn't mention two-dimensional arrays and they're curios because they bring a certain asymmetry with them. It always tripped me over the most in C because I otherwise find the language very "symmetrical". It often feels like in design of this language the beauty of expressing certain things took priority over readability or safety which I admire in a way. But somehow not in the case of the two-dimensional arrays.

If you see a[i][j] it could mean two completely different things:

1) "a" is a continuous chunk of memory of N*M bytes, so it behaves as char*; a[i][j] == *(a + i*M + j)

2) "a" is an array of char* pointers that point to N completely distinct memory chunks of size M, so it behaves as char**; a[i][j] == *(*(a + i) + j)

With flat arrays the difference between an array as a variable and a pointer to the first element is literally negligible because you won't even see the difference in the assembly. This is why the automatic decay-to-pointer makes a lot of sense.

But that breaks completely with multiple dimensions. You definitely see the difference in the assembly because the memory layout is so different.

alexey-salmin··on I returned to AWS and was reminded why I left
> According to the original license they are both entitled to do that, that's the problem.

I really don't see how Amazon is to blame for this problem, they weren't the ones who picked the license.

> Do you think it's sustainable for one company to make the software for free and another one to sell it for profit?

They both sell it for profit, let the most profitable one win.

alexey-salmin··on I returned to AWS and was reminded why I left
I can't? I mean, if Amazon does commercial version of Elastic better than Elastic themselves then so be it. I don't see how one company is entitled to turn an open source project into business and the other is not.

I do see issues with monopolies pushing inferior products onto users. But that would be a completely different issue, nothing to do with open source.

alexey-salmin··on Child marriages plunged when girls stayed in school in Nigeria
I think think fertility rates will rebound once the current culture of self-destruction gets, well, self-destructed. But incidentally this means that people who value sustainable water sources over having kids won't be there anymore.

So it's kind of pointless in my opinion, to maintain a strategy that can't achieve its stated goals because all it can do long-term is to give way to other strategies with other goals.

alexey-salmin··on Child marriages plunged when girls stayed in school in Nigeria
What's the point of sustainable resources, stable climate and affordable real estate in a society that fades away? What difference does it make whatsoever?
alexey-salmin··on Habitual coffee intake shapes the microbiome, modifies physiology and cognition
I do 6-10 espresso cups per day, so 3-5 does sound very moderate.
alexey-salmin··on Project Glasswing: Securing critical software for the AI era
In my view it would be extremely strange if it was any other way round. Anthropic is the US based company. There are no "citizens of world" at that scale, or at almost any other scale for that matter.
alexey-salmin··on Project Glasswing: Securing critical software for the AI era
I think Claude Code with Sonnet 4.6 is already at the level of paradigm shift and can change the entire tech industry.

If you're paranoid it doesn't mean you're not being followed. If something is overhyped it doesn't mean it's not game-changing.

← PreviousPage 2 of 34Next →