Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kiitos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
541.
▲
by
kiitos
2y ago
A CRDT is a purely technical construct! Correctness (in terms of merge conflicts) is well-defined in that context and it's orthogonal to any kind of semantic/application definition! This is a bonkers conversation. It's like c
542.
▲
by
kiitos
2y ago
> By definition they don't have conflicts in the technical sense of the word... ...which is the sense that we're talking about, when we talk about CRDTs.
543.
▲
by
kiitos
2y ago
CRDTs solve merge conflicts by construction, because they necessarily don't permit merge conflicts in the first place.
544.
▲
by
kiitos
2y ago
I dunno, Go does it pretty effectively, are they cheating or something?
545.
▲
by
kiitos
2y ago
Escape analysis can easily determine if a temporary/local value that would by default be allocated on the stack outlives the function in which it was declared, and in that case can move the allocation to the heap instead.
546.
▲
by
kiitos
2y ago
Uh, most? Memory safety is about data races and concurrent access violations. De-referencing a nil pointer isn't a memory safety violation, for example. But I guess if you re-define memory safety to mean anything that can produce a seg
547.
▲
by
kiitos
2y ago
Sure, if you never use unsafe, or anything that uses unsafe, transitively.
548.
▲
by
kiitos
2y ago
Not really. Not all memory safety violations result in segfaults, and not all segfaults are the result of memory safety violations.
549.
▲
by
kiitos
2y ago
No argument there!
550.
▲
by
kiitos
2y ago
Memory safety bugs are second only to segfaults in terms of importance.
551.
▲
by
kiitos
2y ago
Yes, but that clearly indicates it's a supported syntax, which contradicts what you said up-thread. That's the only point I was making.
552.
▲
by
kiitos
2y ago
We're not talking about div, we're talking about link. Self-closing tags with the trailing slash are absolutely supported by HTML5, in some circumstances.
553.
▲
by
kiitos
2y ago
> Please note that using slash at the end of the tag is not supported in HTML: `<link rel="stylesheet" href="base.css" />` It is supported in HTML5. https://html.spec.whatwg.org/multipage&#x
554.
▲
by
kiitos
2y ago
Defining systems languages and scripting languages as mutually exclusive duals is a pretty bizarre way to look at the space. I mean, you do you, but I doubt you'll find many people who will agree with this framing.
555.
▲
by
kiitos
2y ago
The absolute values here are in terms of single-digit nanoseconds. The Venn diagrams of "situations where single-digit nanosecond performance differences are important" and "situations where one would use errors.Is" have
556.
▲
by
kiitos
2y ago
"This article" is an explanation of a property of the language, written by one of its authors. It's not a position piece, it's just an additional bit of documentation. I mean, your position is totally valid, no argument.
557.
▲
by
kiitos
2y ago
I'm not sure how useful it is to adjudicate what is ultimately just a property of the language. It's not something to celebrate, or mourn, or (importantly) try to work around, it's just the way things work. It seems like you&
558.
▲
by
kiitos
2y ago
I have seen far more problems caused by premature or over-use of DRY than the opposite. Undoing an abstraction is always far more difficult than the pains caused by not having one in the first place.
559.
▲
by
kiitos
2y ago
Sure, and every `x, err := f()` shadows any previous `err`. This kind of shadowing is totally normal and idiomatic, in no way bad.
560.
▲
by
kiitos
2y ago
Only exceptions are thrown. Errors are not necessarily exceptions.
561.
▲
by
kiitos
2y ago
Yep. It should (hopefully!) be self-evident that "hot loops" in which single-digit nanosecond performance differences are meaningful, are (a) exceptional; and, more importantly, (b) not a place where you'd make any kind of fu
562.
▲
by
kiitos
2y ago
> Treating errors as opaque and passing them up the stack in the general case... ...is directly contradictory to one of the most fundamental assertions of the language, which is that errors are values -- https://go.dev/bl
563.
▲
by
kiitos
2y ago
> Cursive ... is any style of penmanship in which characters are written joined in a flowing manner So it seems like it is cursive.
564.
▲
by
kiitos
2y ago
Are you saying that code defined in header files is "not well-formed"?
565.
▲
by
kiitos
2y ago
One ambiguity here might be that Javascript defines strings as UTF-16, but JSON defines strings as UTF-8.
566.
▲
by
kiitos
2y ago
> No KYC ... [is] also the only way to guarantee full privacy/anonymity, and to make it so the identify-provider doesn't have the power to de-platform anyone Full privacy and anonymity are not virtues. They are actively bad .
567.
▲
by
kiitos
2y ago
> If you take "identity" to mean "the same thing" I don't. > If you want "identity" to mean "official persona" Well, I want identity to mean me as a human being. > I want to be able to h
568.
▲
by
kiitos
2y ago
For this you have cash or bartering. Regulation is not synonymous with tyranny. This is a dumb position and the people who hold it are dumb.
569.
▲
by
kiitos
2y ago
What? KYC is about establishing identity, not establishing innocence or guilt or goodness or badness. You don't get to participate in society anonymously. That's a feature, not a bug.
570.
▲
by
kiitos
2y ago
(waves hands around generally) everything?
More ›