Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mci
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
mci
2y ago
> If you all pardon an off topic digression... IMHO, Euclid's definition of a straight line in today's terms would be "a line that has the same direction on its entire length". His definition of a plane angle would be
32.
▲
by
mci
2y ago
If your metric is the length of the land that the map boundary cuts, then the best centre lies somewhere in the Indian Ocean. Proven here: [1] [1] https://marcinciura.wordpress.com/2015/11/17/slicing-earth-c..
33.
▲
by
mci
3y ago
How about a third unit, baud [1]? It looks no worse than hertz to me: In telecommunication and electronics, baud (/bɔːd/; symbol: Bd) is a common unit of measurement of symbol rate, which is one of the components that determine th
34.
▲
Donald Knuth's Annual Christmas Lecture 2023
(learn.stanford.edu)
97 points
by
mci
3y ago
|
5 comments
35.
▲
by
mci
3y ago
I invented a game that uses tiles in the shape of a regular hexagon plus a rhombus. IMHO, you can tile the plane aperiodically with them. See the first picture in [1]. [1] https://marcinciura.wordpress.com/2023/10/
36.
▲
by
mci
3y ago
My two candidates are pepsi and amen. Coke is known as coca-cola where I live.
37.
▲
Byzantium 1200
(byzantium1200.com)
1 points
by
mci
3y ago
|
0 comments
38.
▲
by
mci
4y ago
Also overlaps with mongoose.{c,h} (GPL; not the MongoDB Mongoose) and its fork CivetWeb (MIT license). https://github.com/cesanta/mongoose https://github.com/civetweb/civetweb
39.
▲
by
mci
4y ago
> what word was used for the color orange I once answered this question for Polish [0]: 1. Find the Latin word for the color orange: "luteus". 2. Find Polish words corresponding to the Latin word in a scanned Latin-Polish dicti
40.
▲
by
mci
5y ago
See also David Hanson's book C Interfaces and Implementations [ http://drh.github.io/cii/toc.html ].
41.
▲
by
mci
5y ago
IMHO, attempts to show literate programming on screen are doomed to meet with mediocre success. DEK invented literate programming with printed books in mind. I dare say that the only successful literate programs are books printed on paper.
42.
▲
SymSpell: 1M times faster spelling correction
(github.com)
203 points
by
mci
5y ago
|
32 comments
43.
▲
by
mci
5y ago
I like it! Here is a gotcha my students stumble on. I have not noticed it while skimming your book: ^ and $ do not have special priorities. To match alternatives, write ^(abc|def)$, not ^abc|def$
44.
▲
by
mci
6y ago
Here is a belated reply to your comment about the python-cf library.[0] My top-level comment[1] does not present its use cases well. While you can compute the billionth digit of π with continued fractions, other methods suit this task bet
45.
▲
by
mci
6y ago
This discussion would really go better if you followed the links. See lines 92–96 of cf.py: By the # Gauss-Kuzmin theorem [5, 6], a partial quotient in the # continued fraction expansion of almost every number exceeds #
46.
▲
by
mci
6y ago
Thanks, "dynamic" is a good term. "Very large" would not describe it well: for non-contrived irrational numbers, the chance of an improper rounding to a rational is much smaller than the chance of a meteorite strike in y
47.
▲
by
mci
6y ago
See slides 43–60 and 72. A node emits ∞ as the partial quotient after 100 resultless iterations. The threshold is configurable. In particular, see lines 184–187 of cf.py: # Idealistically inclined folks, who would prefer their # c
48.
▲
by
mci
6y ago
If you do not care about speed, you can get not arbitrary-precision (static number of significant digits, set upfront) but exact (dynamic number of significant digits, as large as you wish) results. Under the hood, your expressions will
49.
▲
by
mci
6y ago
And here is an emoji from 1913 [0], accompanied with a footnote: "The author felt the need to enrich the Polish spelling with a new symbol, which he dares name wink . This symbol, whose absence was till now sorely felt, particularly
50.
▲
by
mci
6y ago
> After learning simple piece development and basic checkmating techniques, it's tactics, tactics, tactics. Fair enough, tactics is fun, pretty, and rewarding. I like it, too, and do not advocate avoiding it. But if any of their gam
51.
▲
by
mci
6y ago
> and if they were we would no longer be in disagreement. I tried to explain my (perhaps unorthodox) understanding of strategy and tactics in the last paragraph of my grandparent comment. EDIT: Now I can see that I was framed into the ta
52.
▲
by
mci
6y ago
> if you leave your pieces vulnerable to tactics that your opponent can find and you can't, then it's all for nought. In my book, {avoiding hanging pieces, placing your pieces so that the opponent cannot pin them} ⊂ strategy, b
53.
▲
by
mci
6y ago
Thanks for the reply. Since you are the second person who understands the opening theory as a subset of strategy (an alien notion to me), I added a clarification to my post.
54.
▲
by
mci
6y ago
Thank you for the reply. I do not advocate "remembering all the 15 length opening sequence" either. > A Primer of Chess and Nimzowitsch's My System are targeted for IM/GM. This is an interesting assertion. How about y
55.
▲
by
mci
6y ago
> This site teaches chess in words. > It assumes you know only how the pieces move and builds step-by-step from there. Do not get me wrong: TFA is a fine and useful book for an intermediate player but the above claims are overselling
56.
▲
by
mci
6y ago
> What population size and density do you need to keep a language alive? IMHO, the answer depends more on the lifestyle than on the number of speakers. As long as everyone lives in a homogenous community along with their grandparents and
57.
▲
by
mci
6y ago
Meh. Three words every pirate should know: yandex dot ru.
58.
▲
by
mci
6y ago
Oh, and another example from Ukraine, this time in 2020: threatened by the International Monetary Fund with being denied loans in the midst of the pandemic, the Ukrainian parliament allowed the sale of the largest asset they are left with,
59.
▲
by
mci
6y ago
Let me copy a previous comment of mine [0]. One quasi-actionable lesson of history the governments can try to remember is: do not sacrifice your strategic goals for a short-term gain, or "avoid hotfixes in production". Example 1:
60.
▲
by
mci
6y ago
Here is to the company Dariusz Jakubowski x'; DROP TABLE users; SELECT '1 that ran in Poland from 2014 to 2019 [0]. [0] https://prod.ceidg.gov.pl/CEIDG/ceidg.public.ui/SearchDetail... (check the r
More ›