Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
g15jv2dp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
g15jv2dp
2y ago
> How does windows protect their users? Microsoft Defender, SmartScreen...
62.
▲
by
g15jv2dp
2y ago
Is your comment still about Europe...?
63.
▲
by
g15jv2dp
2y ago
There's no reason that C should be suitable for every purpose under the sun.
64.
▲
by
g15jv2dp
2y ago
> It should emit an instruction to access memory location some_array + i. That's definitely what compilers emit. The UB comes from the fact that the compiler cannot guarantee how the actual memory will respond to that. Will the OS k
65.
▲
The difference between undefined behavior and ill-formed C++ programs
(devblogs.microsoft.com)
2 points
by
g15jv2dp
2y ago
|
0 comments
66.
▲
by
g15jv2dp
2y ago
It's still going to dynamically allocate its memory in there, isn't it? This is a slow operation.
67.
▲
by
g15jv2dp
2y ago
Another thing to consider is that sqlite dynamically allocates memory. You typically want to avoid that in embedded. Everything is slow, memory is scarce. The sheer code size is also a issue.
68.
▲
by
g15jv2dp
2y ago
Instead of expressing your knowledge and superiority by metaphorically rolling your eyes without contributing anything, how about you give a better explanation? Because honestly, I find these two kind-of "okay". And because this i
69.
▲
by
g15jv2dp
2y ago
The existence of a dozen entries for that word reinforces my point...
70.
▲
by
g15jv2dp
2y ago
All of these have, at the very least, escape hatches that makes the type system unsound overall. And probably other issues https://counterexamples.org/ I can find a few in there for at least scala and haskell. Perhaps this
71.
▲
by
g15jv2dp
2y ago
It's a very common word. Why should one company be allowed to appropriate it?
72.
▲
by
g15jv2dp
2y ago
Even if we subscribe to this interpretation, the overall point stands.
73.
▲
by
g15jv2dp
2y ago
Look at the last example in there: https://counterexamples.org/polymorphic-references.html
74.
▲
by
g15jv2dp
2y ago
It depends on what you have your transistors do. You could even have one single transistor that you switch on/off very very quickly. You'd need to find a transistor with sub-ns switching time to reach >1GHz. It's not a ver
75.
▲
by
g15jv2dp
2y ago
I doubt it's been proved to be sound. It shows up a lot on https://counterexamples.org/ , although if I skim the issues seem to have been fixed since then.
76.
▲
by
g15jv2dp
2y ago
This is specifically about type systems. It's easy to have a sound type system when you have no type system. Also, I'm not too familiar with JVM bytecode, but if I load i64 in two registers and then perform floating point addition
77.
▲
by
g15jv2dp
2y ago
> I think the even bigger elephant in the room is that TypeScript's type system is unsound. Can you name a single language that is used for high-performance software and whose type system is sound? To speed up the process, note that
78.
▲
by
g15jv2dp
2y ago
...could it be that > Without knowing the type of the vector, we don’t know what constructor it’s invoking, so we can’t really say what that line is doing.
79.
▲
by
g15jv2dp
2y ago
This assumes that you can sell 100% of the resources' availability 100% of the time. Whenever you have more capacity that you can sell, there's no opportunity cost in using it yourself.
80.
▲
by
g15jv2dp
2y ago
Software devs fall to hype sometimes. It's not just management. But I guess it's easier to always look for blame elsewhere.
81.
▲
by
g15jv2dp
2y ago
> C++ fears reflection in general and hates macros in particular. Macros aren't a particular case of reflection... And at least in the way they're done in C++, they're a big source of bugs / spaghetti.
82.
▲
by
g15jv2dp
2y ago
Uh. I'll try to be more explicit. Let's say that someone in a library somewhere has made what you consider to be a mistake. Or they consider something to be a conversion but the constructor is not trivial. For the push_back constr
83.
▲
by
g15jv2dp
2y ago
English becoming the "international" language for the west has nothing to do with English as a language, and everything to do with geopolitics and economics. As for being treated as an outsider, I actually moved and lived to the U
84.
▲
by
g15jv2dp
2y ago
Are you saying that for the first line, one could say that... > Without knowing the type of the vector, we don’t know what constructor it’s invoking, so we can’t really say what that line is doing.
85.
▲
by
g15jv2dp
2y ago
Are you trying to make a joke? Or just derailing the conversation? I'm clearly talking about the people posting on this site.
86.
▲
by
g15jv2dp
2y ago
Maybe read up on recent union busting cases. Starbucks, Tesla, Walmart, Amazon... It's a lot more nuanced than that. And note I'm replying to someone claiming it's impossible to charge companies with union busting at all.
87.
▲
by
g15jv2dp
2y ago
"This site" isn't a single person and if you read the comments under this story, you will find a ton of anti-union sentiment.
88.
▲
by
g15jv2dp
2y ago
> But that's just pointless because there are a thousand other reasons they might want to close the store and there is no way to prove it That's the exact point where your argument breaks down. It is possible , sometimes, to
89.
▲
by
g15jv2dp
2y ago
Why is Apple presented as the protagonist in this headline? It's obvious that they fought this teeth and nails. No, store employees managed to make a behemoth bow and accept their demands.
90.
▲
by
g15jv2dp
2y ago
> This is not true. Mobile platforms do help with tapping on small elements. E.g. HN isn't mobile friendly "as is", but I have no issues with tapping any of the links. I've also used Exante mobile trading terminal for
More ›