Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
on_the_train
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
on_the_train
11mo ago
It is with a prior .has_value call. It's not correct without. It's simple, and covered by static analysis. This is not an issue in real code, it's a pathologic error that doesn't actually happen. Like most anti c++ examp
92.
▲
by
on_the_train
11mo ago
But that is not idiomatic at all. Idiomatic would be too use .value()
93.
▲
by
on_the_train
11mo ago
But using the deref op is deliberately unsafe, and never used without a check in practice. This would neither pass a review, nor static analysis.
94.
▲
by
on_the_train
11mo ago
std::optional is unsafe in idiomatic use cases? I'd like to challenge that. Seems like the daily anti c++ post
95.
▲
by
on_the_train
11mo ago
> If you call .error() and you're wrong you get undefined behaviour. This was added in C++23. And it was fixed in c++26
96.
▲
by
on_the_train
11mo ago
Maybe, but Microsoft tech feels icky
97.
▲
by
on_the_train
11mo ago
But sdl is super high level. If you want to do more than pong, you'll hit a wall very quickly. I just want OpenGL, it was the perfect level of abstraction. I still use it today, both at work and for personal projects.
98.
▲
by
on_the_train
11mo ago
Because I don't know js and don't want to touch it
99.
▲
by
on_the_train
1y ago
Fun fact: only five high-NA EUV Machines have ever been delivered.
100.
▲
by
on_the_train
1y ago
Unless you're on Windows, which comes with a special version of curl that misses some crucial functionality. I didn't think I've the successfully used curl in my life though. Every time there's confusion about parameters
101.
▲
by
on_the_train
1y ago
I still don't understand what Hana actually is. But I'm very concerned that my company is apparently spending an astronomical amount to transfer our entire business to use it. We do lithography optics for heavens sake, why are the
102.
▲
by
on_the_train
1y ago
C++ is a good alternative to "C/C++"
103.
▲
by
on_the_train
1y ago
That is an incredibly general statement at best. And reeks a bit of ancient c++ style. This bug would be pretty exotic and nothing I have ever seen in my life.
104.
▲
by
on_the_train
1y ago
> You can change one part of the code, and it will introduce bugs in the whole project because of how the memory is handled Why would it do that?
105.
▲
by
on_the_train
1y ago
Maybe such cases. And it couldn't be easier. No one really cares about the actual carbon. Everyone just wants a piece of paper for as cheap as possible.
106.
▲
by
on_the_train
1y ago
Yup, it's a matter of understanding your scope. Positional formatting is pretty easy to add. But plural forms is where complexity explodes
107.
▲
by
on_the_train
1y ago
I'm also trying to avoid the gettext monstrosity to be introduced into our c++ codebase after making equality great experiences with a self-build solution in previous teams. It's ok so solve easy problems by yourself. Good for the
108.
▲
by
on_the_train
1y ago
I have a confession: I don't know the difference between a console, terminal (-emulator?!?), shell, bash and all these things. It's all just a black window with text for me. I've never understood why people talk so much about
109.
▲
by
on_the_train
1y ago
Yeah when they come to power, they might even try to ban the opposition. Oh wait, that's the current guys
110.
▲
Visual Studio 2026 Insiders
(visualstudio.microsoft.com)
4 points
by
on_the_train
1y ago
|
0 comments
111.
▲
by
on_the_train
1y ago
Asml does not have a lot of cash though. Not at all.
112.
▲
by
on_the_train
1y ago
Germany isn't the boss of anything. When it comes to yielding power, France always gets the upper hand. Always
113.
▲
by
on_the_train
1y ago
That's a pretty heavy setup. Clang tidy is usually enough. And not slow when running locally on newly typed code in resharper for example.
114.
▲
by
on_the_train
1y ago
But that one is almost never enforced. While the politician one makes the police knock at your door
115.
▲
by
on_the_train
1y ago
Might actually be interaction bait. Just like those Reddit posts with false info or typos. Gets people to interact, just like us
116.
▲
by
on_the_train
1y ago
> There are plenty of linters and tools to detect issues like this (ex: clang-tidy can scan for unnecessary value params) Exactly, this is not an issue in any reasonable setup because static analysis catches (and fixes!) this reliably. &
117.
▲
by
on_the_train
1y ago
Yup, cpt Drama is of course right there. It's disingenuous at this point. He doesn't care, he's just sweeping up tech drama
118.
▲
by
on_the_train
1y ago
The topic is a bit tiring at least. You can't provide something for free and then complain. And let's not assume the world is incapable of writing an alternative. Open source authors deserve praise for their work and skill. But th
119.
▲
by
on_the_train
1y ago
I finished season two literally an hour ago. And have to say it's a pretty bad show overall. I love a few concepts like the generic dynasty. And the empire overall. But the typical sci-fi trope of people dying and then not really dying
120.
▲
by
on_the_train
1y ago
What is gmp?
More ›