Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thechao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
751.
▲
by
thechao
4y ago
The research I've seen (slight) is that a random person is, on average, a more competent statesman than the average politician. (This is a result of the self-selection bias in people choosing a political career.) The major downside is
752.
▲
by
thechao
4y ago
Lots of large companies (I'm familiar, via friends, with Exxon) have a strong "rotation" policy in finance & related, for this exact reason. Many classes of fraudulent activity rely on networks of people who trust each
753.
▲
by
thechao
4y ago
I live in Texas, but I'm (distantly) familiar with California: when the defendant loses & is a complete turd, judges have (delightedly) "peered through the corporate veil".
754.
▲
by
thechao
4y ago
There's a core contingent of ISO members who don't like (don't understand?) `concept_map`; without late (and layered) binding of types to concepts you're really just rolling out a template prediction scheme.
755.
▲
by
thechao
4y ago
One EV? 1000 EVs? I like the PSA part: disconnect the battery. I'm not as enamored with the weasel wording on count.
756.
▲
by
thechao
4y ago
My gut feeling is that a lot of issues in this class are because the allocator for STL containers are built into the container, rather than passed-in. So, rather than: vector v; v.push_back(Bob{ }); It should be: vector v
757.
▲
by
thechao
4y ago
There is a wonderful alternate timeline where this is true!
758.
▲
by
thechao
4y ago
We had piles of their yellow books laying around the house when I was a grad student. Definitely good toilet-book material.
759.
▲
by
thechao
4y ago
I feel, in my bones, that this must have been done for C, too: could someone google it for me? Doing a search for "... C Electron" is a bit fruitless.
760.
▲
by
thechao
4y ago
I had literally never thought of this in any way. I've just finished reading two papers: one which shows that net-investment isn't really correlated to savings or interest rates which exactly supports your position (with data!); a
761.
▲
by
thechao
4y ago
┬─┬ノ( ꙮ _ ꙮノ)
762.
▲
by
thechao
4y ago
Build a simple model you can explain in a few sentences; perhaps accompanied by a simple picture. Elaborate details in each important direction, separately. Finally, describe unusual complications that arise when different elaborations are
763.
▲
by
thechao
4y ago
There are four major structural issues I can think up off the top of my head (this is unfair — we're discussing my wife's job): 1. Modern gerrymandering is probably the Achilles heel that'll bring the US to its knees. 2. Ju
764.
▲
by
thechao
4y ago
This is the "if you were occupied by a foreign aggressor, it breaks the contiguity of government"-argument. Obviously, there is some truth to this argument; but, honestly, we'd need to address each constituent state in Europe
765.
▲
by
thechao
4y ago
My exurban Texan neighbors wouldn't be able to post their dog whistles on the neighborhood FB page. Oh! Woe is me!
766.
▲
by
thechao
4y ago
I used to code for a language called "Spad" — originally shipped in 1972(?). The syntax: x : t = e Was called "headform" and was the only syntactic form for the whole language. (Expressions used a shunting yar
767.
▲
by
thechao
4y ago
https://xkcd.com/1105/
768.
▲
by
thechao
4y ago
To reiterate your statement: it's a string with constraints on the glyphs!
769.
▲
by
thechao
4y ago
It is specific to C/C++, for sure -- I started with that. ccache is going to be as fast as any checksum dependency tracker --- otherwise you're relying on a timestamp, which isn't any better than "bare" Make. We use
770.
▲
by
thechao
4y ago
C + Makefile + CCache: I just `find . -name "*.h"` and throw that as the dependency of every C file, and then let ccache/make figure out the rest. My code base runs upwards of 10+ million LOC, and incremental builds are in
771.
▲
by
thechao
4y ago
Yep. The "style" of logger is in C, and looks (roughly) like this: Logger* OpenLog(char*); Table* MakeLog(Logger*, unsigned level, unsigned N, char* colNames, ColType *colTypes); LOG(Table, Level, ...); The branch to select log-le
772.
▲
by
thechao
4y ago
All the sqlite love, here, recently... but none on logging? Using a `:memory:` SQLite DB, combined with the backup API is perfect for one-shot application (non-server processes). The formatting I do is cleverly composed SQL queries.
773.
▲
by
thechao
4y ago
I've been doing this to my lawn (central Texas): putting in a turf varietal of the native Texas Buffalo grass. This year, we had a 5ish month drought with a couple months of 105° daytime temps. My Buffalo went dormant; all of my neighb
774.
▲
by
thechao
4y ago
> you can find plenty of claimed witnesses to incidents where someone awoke and promptly made a claim about reality that proved to be correct and which they had no clear way to have observed naturally This is literally unbelievable . If
775.
▲
by
thechao
4y ago
Any time you can convert a problem from an `N x K` problem to an `N + K` problem, there's some asshole administrator trying to turn an `N + K` problem into an `N x K` problem. It wouldn't surprise me if there's huge amounts o
776.
▲
by
thechao
4y ago
Lengths aren't as important to farmers as volumes — those are base-2. Remember: 1790, not 1990.
777.
▲
by
thechao
4y ago
It's 1795, and you're a farmer asked to build a ruler based on divide-by-10, or divide-by-2. Anyone with a compass can do the latter; the former is nearly impossible.
778.
▲
by
thechao
4y ago
The US doesn't use imperial. It uses US customary. US customary uses imperial "prefixes" but is (mostly) base-2. The idea (from the 1790s) was that there'd be a "scientific" system in base-10, suitable for high
779.
▲
by
thechao
4y ago
I wish the internet was a free speech zone. In practice, legally speaking, the internet has all the downsides (legally) of written communication, and none of the upsides of physical free speech. The internet simultaneously amplifies speech
780.
▲
by
thechao
4y ago
What does the internet have to do with free speech? I understand that the internet lets you dramatically amplify speech; but, at least in the US, the "internet" is a regulated private space — not a public space. The companies th
More ›