Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sixfiveotwo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
sixfiveotwo
2y ago
Why program in C++ if you don't use any of its features? You're just writing C in disguise.
32.
▲
by
sixfiveotwo
2y ago
Okay, vtables in 2kb code space?
33.
▲
by
sixfiveotwo
2y ago
> I can assure you that when writing code for microcontrollers with 2 kilobytes of code space, we don't include a 14 kilobyte string formatting library... I'm pretty sure you wouldn't use C++ in that situation anyway, so I
34.
▲
by
sixfiveotwo
2y ago
Hmmm, no. https://stackoverflow.com/questions/31912781/why-doesnt-the-...
35.
▲
by
sixfiveotwo
2y ago
> And for public channels, E2E is pointless - everyone can see it anyway. Shouldn't it at least provide some guarantee that what you receive is what was sent?
36.
▲
by
sixfiveotwo
2y ago
What you guys probably want to do instead is get to a common definition of what a typo is. Personally, I understand it as a typographic error, which is a fancy way of saying a spelling mistake (a mistake on a letter), not a mistake where on
37.
▲
by
sixfiveotwo
2y ago
Of course, the illness cannot get worse without the virus first infecting a cell, and then replicating in that cell to infect other cells in the body, and then potentially infecting other hosts; that is how a virus works, right? Now, if rep
38.
▲
by
sixfiveotwo
2y ago
You should read the company blog post linked in the article.
39.
▲
by
sixfiveotwo
2y ago
I didn't mean that it should be made into a bottom type, even though it sort of looks like it on the surface. I think the original idea was that void meant "unknown", not "empty" or "non-existent": It was
40.
▲
by
sixfiveotwo
2y ago
Sorry, I wasn't clear enough: I meant that void is not just a mix of the unit and bottom types, it is also in used for unspecified (unknown actually) types.
41.
▲
by
sixfiveotwo
2y ago
> void is the unit type. The fact that it is not constructible is a wart of the language, inherited from C. > A function returning bottom cannot return, yet void foo() {} can. Or you could say it the other way, that it is the bottom t
42.
▲
by
sixfiveotwo
2y ago
In this encoding of the problem, the graph is fully connected, the edges indicate the state of a connection (ie. friendship) between 2 users, and the goal is to check that there is either a chain of 2 "connected" edges (A to B a
43.
▲
by
sixfiveotwo
2y ago
Thank you for the article, very interesting! How is the copilot key recognized on OpenBSD? Does it appear like an extra Function key?
44.
▲
by
sixfiveotwo
2y ago
Thank you for your input, I stand corrected. So as I understand it, it works somewhat like the result type of rust (or ocaml), or the haskell either type, but instead of being parameterized, it is extensible, isn't it?
45.
▲
by
sixfiveotwo
2y ago
Well, perhaps a subset of it, since it also introduces concepts that do not exist in C (eg. exceptions).