Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexey-salmin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
alexey-salmin
17d ago
Yes. The non-capturing case is equivalent to a static function for both lambdas and GCC nested functions.
2.
▲
by
alexey-salmin
17d ago
>> After all, a debugger can track what variable goes where at every line of code, so this can be done. > Variable value tracking breaks down pretty much the moment any optimization happens. I think for nested functions it's n
3.
▲
by
alexey-salmin
18d ago
This article somehow omits the 80% of both the complexity and the benefits of the GCC nested functions which makes them pointless. Namely you can cast them to function pointers and pass them e.g. as a comparator to the sort() routine. Subst
4.
▲
by
alexey-salmin
18d ago
> quite a lot of folks are happy having a top 5% salary in their own county, without all the stresses and risks of working in the US. Yes, absolutely, the problem is these are not the people you want to hire. And the people you do want t
5.
▲
by
alexey-salmin
18d ago
I think the kernel.org post proves the parent point rather than contradicts it. > At any one time, across 5 geo-distributed nodes, there are 14 CPU cores doing nothing but rendering git commits as html. 14 CPU cores total for running a w
6.
▲
by
alexey-salmin
1mo ago
> It doesn't understand, it can't understand, and even if it could, you arguing with it isn't going to make it "learn" or act differently. I know people who are like that too. I'm not sure anthropomorphizing
7.
▲
by
alexey-salmin
2mo ago
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, i
8.
▲
Google Kills Custom Search API on Jan 1, 2027
(thenextgennexus.com)
53 points
by
alexey-salmin
2mo ago
|
29 comments
9.
▲
The EU is not about to censor access to the internet
(euronews.com)
3 points
by
alexey-salmin
2mo ago
|
4 comments
10.
▲
by
alexey-salmin
2mo ago
Not suspicious at all
11.
▲
by
alexey-salmin
3mo ago
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.
12.
▲
by
alexey-salmin
3mo ago
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
13.
▲
by
alexey-salmin
3mo ago
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.
14.
▲
by
alexey-salmin
3mo ago
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 so
15.
▲
by
alexey-salmin
3mo ago
After a couple of months of coma they are pretty clear.
16.
▲
by
alexey-salmin
3mo ago
Bokonon tells us, incidentally, that members of a duprass always die within a week of each other.
17.
▲
by
alexey-salmin
4mo ago
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 on
18.
▲
by
alexey-salmin
4mo ago
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
19.
▲
by
alexey-salmin
4mo ago
Yeah, the community seems great, I enjoyed reading IRC logs :)
20.
▲
by
alexey-salmin
4mo ago
> 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.
21.
▲
by
alexey-salmin
4mo ago
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
22.
▲
by
alexey-salmin
4mo ago
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 &quo
23.
▲
by
alexey-salmin
4mo ago
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 gr
24.
▲
by
alexey-salmin
4mo ago
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 discu
25.
▲
by
alexey-salmin
4mo ago
> 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 r
26.
▲
by
alexey-salmin
4mo ago
> 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 t
27.
▲
by
alexey-salmin
4mo ago
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 mor
28.
▲
by
alexey-salmin
4mo ago
> 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 rati
29.
▲
by
alexey-salmin
4mo ago
> 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
30.
▲
by
alexey-salmin
4mo ago
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
More ›