Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
451.
▲
by
o11c
1y ago
This is like getting mad at ISO 8601 because it doesn't define the metric system. No standard stands alone in its own universe; complementary standards must necessarily always exist. Besides, even if the C++ standard suddenly did i
452.
▲
by
o11c
1y ago
> the lack of standardization for name-mangling, or even a way mangle or de-mangle names at compile-time. Like many things, this isn't a C++ problem. There is a standard and almost every target uses it ... and then there's what
453.
▲
by
o11c
1y ago
One of the most irritating bugs in client libraries is if they hard-code 1xx behavior to particular numbers, rather than treating the entire range uniformly. This makes it easy to desync, though since it's not the server end it's
454.
▲
by
o11c
1y ago
That fundamentally misunderstands the problem in multiple ways: * this is still during lexing, not yet to parsing * there are multiple valid token sequences that vary only with a single character at the start of the file. This is very com
455.
▲
by
o11c
1y ago
Unfortunately, this depends on making good decisions during language design; it's not something you can retrofit with a new lexer and parser. One very important rule is: no token can span more than one (possibly backslash-extended) l
456.
▲
by
o11c
1y ago
On the contrary, that's just FUD they spread. Section 13 of the AGPL (the part that's not in the GPL) explicitly begins with "[notwithstanding,] if you modify the program [and allow users to access it over the network]".
457.
▲
by
o11c
1y ago
As a reminder, the GPL (or any other Free Software license, by definition - it's "Freedom 0" in the list) places absolutely no restrictions on users. Its provisions only kick in for those who want to go beyond merely using
458.
▲
by
o11c
1y ago
That does not follow. You might as well make it "source available" and sell proprietary licenses.
459.
▲
by
o11c
1y ago
> we are not able to opt out of diffusion of progress. People move between companies and between countries and take their ideas and talents with them. Never forget that Industry itself came to America by way of direct theft. https:/
460.
▲
by
o11c
1y ago
> If you look at the actual profit margins it’s low single digit percentages. Didn't I see somewhere that that's an artifact of Hollywood-style accounting? If you spin up a sub-business then have that sub-business charge high f
461.
▲
by
o11c
1y ago
Ah yes, critical thinking, like taking an advertising article on the internet at face value and ignoring that there might be more to the story. Who needs Knoll's Law? Also, awards are always given to the party that deserves them and ha
462.
▲
by
o11c
1y ago
It really depends on how "library of the year" is determined. Some years back now, our local library got a new boss who was determined to do everything the new and modern way. In the process, the boss drove away half of the paid s
463.
▲
by
o11c
1y ago
Unfortunately, neither "waste time" nor "waste space" are approaches worth pursuing. We already have too many programs being written that are too simple and thus slow and/or wrong. We need to write code that is as s
464.
▲
by
o11c
1y ago
Wikipedia has some examples in [1], though it's prose, annoyingly. The earliest dates it has are 6000 BC for Mesopotamia, 4500 BC in India. But what I find more interesting is rice in China, for which irrigating is radically different
465.
▲
by
o11c
1y ago
Decent intro, though nothing new. A couple useful points it lacks: * `switch` statements can be lowered in two different ways: using a jump table (an indirect branch, only possible when values are adjacent; requires a highly-predictable bra
466.
▲
by
o11c
1y ago
I also have been playing with regexes recently. One observation that I've made: if you're willing to setting for something slightly weaker than regexes, you can make your code trivial to understand (and go straight to a DFA in
467.
▲
by
o11c
1y ago
I have seen no evidence that the second kind of people exist. Only different groups for the first kind (here, real people vs corporate people).
468.
▲
by
o11c
1y ago
JS is absolutely not as dynamic as Python. It supports `const`ness, and uses it by default for classes and functions.
469.
▲
by
o11c
1y ago
`openat` has basically solved that since 2.6.16 (which came out in 2006). There are still some uncommon APIs have been slow to gain `at` variants but there's usually a workaround (for example, `getxattrat` and family were only added
470.
▲
by
o11c
1y ago
Sorry, I was sloppy and wrote /i/ rather than trying to dig up how to enter the correct vowel when I was focused on the "ng".
471.
▲
by
o11c
1y ago
The adjective "learnèd" (meaning "well-educated") is a native English word that should take the grave accent even outside of poetry. Also "unlearnèd".
472.
▲
by
o11c
1y ago
Eh, not really. "engage", "engorge", "engrave", "engross", "engulf" are all fairly common words that are either often or exclusively pronounced that way (some dictionaries might show /i
473.
▲
by
o11c
1y ago
As a native, "toward" is pronounced exactly like "to ward", but (usually) with the highly-unstressed vowel variant of "to". Remember that "w" is a semivowel, but it's not doing anything special h
474.
▲
by
o11c
1y ago
Other ideas: * Run the whole tree of processes under `gdb` with `set detach-on-fork off`. * LD_PRELOAD a library that inserts the sleeps for you, maybe on startup or maybe on signal/exit. Ideally, we'd have some kind of infrastruc
475.
▲
by
o11c
1y ago
By "unpredictability", we mean that AIs will return completely different results if a single word is changed to a close synonym, or an adverb or prepositional phrase is moved to a semantically identical location, etc. Very often t
476.
▲
by
o11c
1y ago
Often you don't have to guess, just use how the software responds as an oracle.
477.
▲
by
o11c
1y ago
I don't see anything "another" about this; this problem is well known by $((CURRENTYEAR-10)) or so.
478.
▲
by
o11c
1y ago
> I'd argue there's more intentional lying in crypto I disagree. Crypto sounds more like intentional lying because it's primarily hyped in contexts typical for scams/gambling. Yes, there are businesses involved (any
479.
▲
by
o11c
1y ago
That `Link:` header broke my brain for a moment.
480.
▲
by
o11c
1y ago
Hmm, given the performance-vs-efficiency tradeoff, I wonder what the efficiency of the NUC is if the Intel CPU is throttled to ~equivalent performance? `cpufreq-set` has been a lifesaver for me on hardware with poor fans, but it's also
More ›