Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
112233
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
271.
▲
by
112233
1y ago
(Since c++17) The technique you so well describe in your comment does not work with the original range for :( Not that it is an issue anymore, but I'd forgive anyone who tried to write code like this when range for was added from not t
272.
▲
by
112233
1y ago
Linux kernel had the same idea, and now they have "static keys". It's both impressive and terrifying.
273.
▲
by
112233
1y ago
Because the more desirable fix was requiring explicit annotation for "new" virtual functions, and make silent hiding an error. Instead, we have situation where you have to write "override" everywhere to get the desired s
274.
▲
by
112233
1y ago
Thank you for this, it illustrates an important distinction. (Your example would be clearer if you used a pointer instead of a reference) Address of variable does not depend on it's value, and can be known and used before the variable
275.
▲
by
112233
1y ago
A lot of totally deranged contortions in C++, if you are lucky to find someone sharing the "secret" committee discussions, end up being caused by interaction of ODR, ADL, decay and other equally disease-sounding features. Like, I&
276.
▲
by
112233
1y ago
how does int x = x; has ever made sense? In hostoric minimalist direction? (and if you have to ask, x is initialized — with the uninitialized value of x)
277.
▲
by
112233
1y ago
There is no hope for committee. In C++33 we will probably have variables defined as int const<const> auto(decltype(int)) x requires(static) = {{{}}}; And when asked how on earth did this happen and why, there will be the same
278.
▲
by
112233
1y ago
Open weights or open source? Because I've yet to see "this is exactly how you can regenerate weights" or at least "this is cryptographic proof of training validity"
279.
▲
by
112233
1y ago
A secure device. Pixel with graphene and this thing lets you keep all your classified eggs in one basket, but it is a really hard to pry open basket. At home you can do stuff on it with the same comfort as on PC, but you can always have it
280.
▲
by
112233
1y ago
Your comment made me want to check other FOSS messaging apps! Briar — no push notifications. IRC - could not find foss client with push notification support (maybe you know one!) Delta chat — do not seem to provide the service themselves.
281.
▲
by
112233
1y ago
Anything like xreal/rokid/viture out there that is actually usable as a work monitor, for working with a lot of text?
282.
▲
by
112233
1y ago
Why? How is changing constness of foo different from changing return type of foo, or changing set of thrown exceptions, or argument set? Especially now that it is a good practice to define c++ functions like auto f(auto &&x)
283.
▲
by
112233
1y ago
When repeatedly running "generate story about X" on different models and then simply asking for next part, one thing that stands out is many LLMs will gladly swap characters in their output. Like X asks Y to do something, Y does,
284.
▲
by
112233
1y ago
Recent C++ changes seem like polishing your firewood before burning it. Yes, they make perfect sense, but often they are a fix to a problem that committee introduced by cutting down previous proposals (e.g. forcing lambdas to be single retu
285.
▲
by
112233
1y ago
Because in many cases the CVE vulnerability report is used as a proxy for existance of a vulnerability by many: from clickbait journalism, to automated tool vendors and device procurement. It is, after all, published by a reputable source.
286.
▲
by
112233
2y ago
Wait a bit. The work for IT cleanup crews that will be needed to mop up all the vibe-damage from the locust swarm of greedy binheads that are currently puking imitation code with bugs and issues no man has seen before will eventually be ple
287.
▲
by
112233
2y ago
I wonder how many pounds of feces and gallons of urine are breathed in because of the Dyson airblade and similar dryers. (and when I thought that was a peak bottom design, they made blowers integrated in the faucet, to blow around all the y
288.
▲
by
112233
2y ago
That's why the other end has MCB/RCBO/AFDD. Harder to catch is overheating due to overload or degraded contacts or wires (soviet aluminum wires, oh yeah). In case of brittish ring circuit, there is added fun case of ring disc
289.
▲
by
112233
2y ago
This comedy is a good comedy while I am goofing around with "make a story". However, this wordpuker tech is positioned at solving strategic problems, writing software and (something equally serious). It has no mechanism to build a
290.
▲
by
112233
2y ago
And where that another LLM will get the capability to judge consistency? Had fun recently prompting different models with "a story about everyday life of <some stereotypical character>". Absolutely no awareness about anythin
291.
▲
by
112233
2y ago
That "added safety feature" is only because of ring circuits, which are a cute hack sure, but not only have real fun failure modes, they make it impossible to use correctly rated MCBs. Your breaker won't trip unless you excee
292.
▲
by
112233
2y ago
It also has a fuse in it that is completely useless in almost all world except UK. So no thanks, you can keep it. We prefer not to burn our houses down.
293.
▲
by
112233
2y ago
Why would you need a fuse in the plug? What purpose would it serve? (edit) as correctly pointed out in the reply, fuse in brittish plug is because of peculiar way brittish homes are wired. Putting fuse in type F sounds weird.
294.
▲
by
112233
2y ago
Irrelevant. If neutral gets disconnected, your hypotetical device will have hot case anyway. That is why devices without grounding have to be double insulated
295.
▲
by
112233
2y ago
Explain monthly payments for something that works completely offline.
296.
▲
by
112233
2y ago
Imagine that you are making problem solving AI. You have large budget, and access to compute and web crawling infra to run your AI "on internet". You would like to be aware of the ways people are currently evaluating AI so that yo
297.
▲
by
112233
2y ago
Thank you for these references. It is how you say, and, for c++ would involve handling 16 bit "int", char larger than 8 bits and in the case of pre-20 compilers you cannot even assume two's compliment. I am sure such correct
298.
▲
by
112233
2y ago
Agree. However, it's one thing to have bug in my code and sitting with a cold coffee staring at debug prints trying to find the incorrect operation. It is quite another thing to have a big chunk of code simply missing from the compiled
299.
▲
by
112233
2y ago
I assume from your comment that you know how to write code that does not have such bugs. Could you please share? In particular: how do you write a library that guaranteed will not have integer overflow on any existing or future architecture
300.
▲
by
112233
2y ago
It feels like it's multishot nl-means, then immedeately those pre-trained "AI upscale" things like Topaz with nothing in between. Like, if I have 500 shots from a single session and I would like to pile the data together to r
More ›