Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
housecarpenter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
housecarpenter
3y ago
I haven't used CL myself, but it wouldn't surprise me if CL does a better job. Just pointing out that Python is significantly better in this respect than it used to be. In particular, using VS Code with Pylance, I can see type err
32.
▲
by
housecarpenter
3y ago
> (1) there is very little compile-time error analysis and type declaration There's been a lot of improvement on that front.
33.
▲
by
housecarpenter
3y ago
You might be already aware of this, but besides using the backslash, the other way you can allow an expression to span multiple lines in Python is to enclose it in brackets. I find this to be pretty unobtrusive. Often your line break will a
34.
▲
by
housecarpenter
3y ago
The "i" sound in "wit" does exist in German and is what is normally indicated by "i" on its own. The long "ee" sound is normally spelt as "ie" in German.
35.
▲
by
housecarpenter
3y ago
It's not really wrong. There are English accents (such as Received Pronunciation) where an "ee" before an "r" is normally pronounced with an [ɪ] like in "wit". In any case, even if you pronounce the "
36.
▲
by
housecarpenter
3y ago
I found it difficult to understand.
37.
▲
by
housecarpenter
3y ago
I think anybody who thinks real numbers exist will also say that imaginary numbers exist. "real" and "imaginary" in the context of numbers are just arbitrary labels assigned for historical reasons, they're not meant
38.
▲
by
housecarpenter
3y ago
Should it really though? Maybe pedagogy is just hard and we can't expect constant progress.
39.
▲
by
housecarpenter
3y ago
It's clearer because with the duplicated variable name, the syntax is just a special case of the general default argument syntax. The default value for the "visibility" parameter is the value of the "visibility" var
40.
▲
by
housecarpenter
3y ago
I believe it only worked for the first couple of problems though (which are very simple and easy).
41.
▲
by
housecarpenter
3y ago
I would interpret "accessible" here as meaning relatively accessible compared to what it could be. The underlying concept is inherently difficult, and so it will always be somewhat inaccessible, but within the space of all possi
42.
▲
by
housecarpenter
3y ago
ˈθʌrə is standard in British English. Likewise "borough" is ˈbʌrə in British English and ˈbʌrow in American English. "Edinburgh" is ˈɛdɪnbʌrə / ˈɛdɪmbrə in British English, and Wiktionary says this is the American p
43.
▲
by
housecarpenter
3y ago
What I've heard is that it was Johnson's dictionary.
44.
▲
by
housecarpenter
3y ago
That doesn't really follow. We manage to understand people speaking English in their own accents well enough, so if people were to just write a phonetic transcript of what they spoke, we should be able to understand that as well. A sta
45.
▲
by
housecarpenter
3y ago
The term I've seen most often is "diagonal argument".
46.
▲
by
housecarpenter
3y ago
How does that contradict what you quoted? The claim is that if the Japanese had been able to conditionally surrender, with the condition of retaining their emperor, then they would have done so. You respond by pointing out that when the Jap
47.
▲
by
housecarpenter
3y ago
I'm not an expert on this by any means, but from what I've read about the four-color theorem, essentially all of the insight in the proof came from human mathematicians. Mathematicians figured out an ingenious way to reduce to the
48.
▲
by
housecarpenter
3y ago
One issue with trying to stand out is that you might stand out in a bad way, rather than a good way. I have a blog, and a Github profile, but I'm not sure if I want employers looking at them, since a lot of my writing is poor, and a lo
49.
▲
by
housecarpenter
3y ago
Isn't this a fairly simple way of doing this? That said, it is a bit non-obvious if you haven't seen it before. select earliest_joiner.* from employees as earliest left join employees as earlier on earlier.role = e
50.
▲
by
housecarpenter
3y ago
https://thehousecarpenter.wordpress.com/ It doesn't have any particular theme or anything, it's just a place to put infodumps on things I've been reading about. It only gets updated very sporadically these da
51.
▲
by
housecarpenter
3y ago
> early Perl was missing little things like named function arguments It's still missing those :) (To be clear for people unfamiliar with Perl, it probably will never have them, because it doesn't need them. In Perl, all functio
52.
▲
by
housecarpenter
3y ago
Could you explain your comment further? I don't understand it. Specifically, I don't understand what "has many Ys through Xs" means. That phrase just doesn't syntactically make sense to me. And then you talk about s
53.
▲
by
housecarpenter
3y ago
I've tried changing the settings, but it's confusing. Am I trying to stop my laptop from "locking", "sleeping" or "hibernating"? It's not clear to me which thing it's doing. Maybe it's
54.
▲
by
housecarpenter
3y ago
The Haj answer is still wrong; it says it has 8 chapters, while according to Knuth it has 77 chapters.
55.
▲
by
housecarpenter
3y ago
It's entirely possible for a distinction that contrasts a large majority with a small minority, or even an actually-existing totality with a hypothetical set of counterexamples, to be meaningful.
56.
▲
by
housecarpenter
3y ago
The writing system of English is far more phonetic than logographic writing systems such as that of Chinese. That's the relevant difference here. It is true that English's writing system is one of the least phonetic alphabets , b
57.
▲
by
housecarpenter
3y ago
I expect Google is stripping the ⌊ ⌋ brackets out as punctuation in the search, so that you're effectively only searching for "x2", hence the "x squared" results.
58.
▲
by
housecarpenter
3y ago
Some accents don't distinguish those two vowels in unstressed positions.
59.
▲
by
housecarpenter
3y ago
Perhaps originally, but the reason it persists as a term even when used by people who don't think medieval people were relatively unenlightened is that it can also be construed as referring to the lack of documents. (And for those who
60.
▲
by
housecarpenter
4y ago
Writing my blog ( https://thehousecarpenter.wordpress.com/ ) has helped me learn things because it provides me with a concrete motivation: instead of having the rather vague and amorphous goal of "learn about X", I
More ›