Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munch117
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
munch117
3y ago
If anyone actually ever wrote that, pre-C23, then more likely than not they intended for i to be a double. Otherwise, why write 0.0 when 0 would suffice? It could go either way: Switching to C23 could cause a bug, or it could fix a bug.
122.
▲
by
munch117
3y ago
The term is weakly typed . Weak vs. strong and dynamic vs. static are orthogonal.
123.
▲
by
munch117
3y ago
Appealing to quantum theory to defend free will does not make sense. If the quantum randomness is fundamental, and reality is stochastic at heart, that makes it non-deterministic, but it doesn't make it any less mechanical. It's
124.
▲
by
munch117
3y ago
> How new is this insight? 1981.
125.
▲
by
munch117
3y ago
Managers won't be surprised ... if they've read the 1981 book. I think most people would be surprised to find negative correlation between individual ability and team ability, unless they've read this book or something like i
126.
▲
by
munch117
3y ago
When all you have is a web framework, everything looks like an url.
127.
▲
by
munch117
3y ago
Lawyers have a saying: "Hard cases make bad precedent." I think a version of that applies here. ("Hard cases make bad definitions"?) We have a real and observable phenomenon surrounding us, and we have a name for it, &#
128.
▲
by
munch117
3y ago
What you don't see in the logs are the experiments and branches that weren't pursued further because they didn't perform well enough. Also: If you're going to prove that changes informed by performance measurements are a
129.
▲
by
munch117
3y ago
We're not talking about random changes. We're talking about paying attention to the measured performance of changes made for other reasons. Just like in this article. The author measured, wondered, investigated, experimented, an
130.
▲
by
munch117
3y ago
All I/O delegates to the kernel, eventually. It's pure Python in that there's no cffi, no ctypes, no Cython, no C extensions of any kind.
131.
▲
by
munch117
3y ago
Of course in this case there's no FFI involved - the open function is built-in. It's as pure-Python as it can get.
132.
▲
by
munch117
3y ago
The PyObject header is a target for optimisation. Performance regressions are likely to be noticed, and if a different header layout is faster, then it's entirely possible that it will be used for purely empirical reasons. Trying dif
133.
▲
by
munch117
3y ago
How do you know that it's luck?
134.
▲
by
munch117
3y ago
The fingerprinting potential may well be limited, but it's the principle of the thing: The browser should not provide unnecessary information about its surroundings. It would be another matter if this was a very useful feature, but I d
135.
▲
by
munch117
3y ago
Am I the only one that's horrified that window.screenX and window.screenY exist? This is not information that I want to provide.
136.
▲
by
munch117
3y ago
It's me who should be sorry, I meant "let him have his day in the sun", not "have at him". Only now did I realise that it could be misunderstood.
137.
▲
by
munch117
3y ago
Great song. C'mon downvoters, yes he snuck in a plug, but so what, let him have it.
138.
▲
by
munch117
3y ago
> At that point there's no point leaving the original tests in place. They're just covering a subset of the E2E tests so provide no extra assurance. They give you feedback when something fails, by better localising where it fai
139.
▲
by
munch117
3y ago
HN has been cleverly designed to ensure that only people who know how to adjust the font size come here.
140.
▲
by
munch117
3y ago
The problem is that now you need to define what "pure logic" is. Here's my definition: Math is the study of intersubjective knowledge.
141.
▲
by
munch117
3y ago
We have different mental models. Your mental model, if you will forgive the straw man, is that SELECT over multiple tables is conceptually equivalent to nested for-loops over each table, and the WHERE condition is an if-statement. My mental
142.
▲
by
munch117
3y ago
> If distinct is used in any of above, then question “why?” naturally arises. Not if distinct is the default. > Select distinct student.student_name, parent.parent_name from student join parent on student.parent_id = parent.parent_id
143.
▲
by
munch117
3y ago
If it was that clear, then I wouldn't have asked.
144.
▲
by
munch117
3y ago
I don't. I put distinct on everything by default, because it makes SQL more like relational algebra. What's the argument for avoiding distinct? Is it performance? I've often wondered if the (sometimes redundant) distincts
145.
▲
by
munch117
3y ago
Some people refuse to pay blackmailers, not out of self interest, but because it's the right thing to do.
146.
▲
by
munch117
3y ago
> As an ex-lawyer I'd say this was 100% a good decision For him personally. He complained that the double-asterisk hole acted in self-interest. Then he did the same.
147.
▲
by
munch117
3y ago
The people who understand that it can be either, depending on a compiler switch, are exactly the people who use an explicit sign (typically via a typedef) to ensure their code always works. The people who say that char is de facto signed an
148.
▲
by
munch117
3y ago
https://en.wikipedia.org/wiki/Kelly_criterion
149.
▲
by
munch117
3y ago
What's the latin name for "argument by using fancy latin names for things that could just as easily have been said in English"?
150.
▲
by
munch117
3y ago
I stand corrected. You rarely spell out these larger numbers, so the exact spelling can be hard to remember. On similar lines, seeing "tredivte" on the list gave me a start - it somehow doesn't look right, even though it is.
More ›