HN user

mci

1,300 karma
Posts53
Comments103
View on HN
www.dogeystamp.com 5d ago

Chess engine, pt. 0: Index

mci
1pts0
guichaoua.gitlab.io 11d ago

The Tonnetz

mci
3pts1
news.ycombinator.com 1mo ago

Ask HN: What features do you miss in Google Docs for desktop?

mci
4pts1
www.smithsonianmag.com 4mo ago

Ancient Roman Game Board Was a Mystery. AI Was Used to Figure Out How to Play

mci
3pts0
mathwithbaddrawings.com 4mo ago

Puzzle Planet

mci
2pts0
turso.tech 4mo ago

Building a code search engine with Turso

mci
2pts0
marcinciura.wordpress.com 5mo ago

How to squeeze a lexicon (2001) [pdf]

mci
9pts0
pikchr.org 5mo ago

Pikchr: A markup language for diagrams in technical documentation

mci
7pts1
iczelia.net 5mo ago

A no-bullshit introduction to groups: Part 1

mci
2pts0
iczelia.net 5mo ago

A no-bullshit introduction to groups: Part 1

mci
1pts0
www.joedb.org 5mo ago

Joedb, the Journal-Only Embedded Database

mci
99pts13
ipsj.ixsq.nii.ac.jp 5mo ago

Playing Board Games with Deep Convolutional Neural Network on 8bit Motorola 6809

mci
43pts11
thetonnetz.com 9mo ago

The Tonnetz

mci
73pts12
thetonnetz.com 9mo ago

The Tonnetz

mci
8pts1
vadimtropashko.wordpress.com 10mo ago

SQL Design Patterns (2010)

mci
151pts32
marcinciura.wordpress.com 1y ago

Cracovians: The Twisted Twins of Matrices

mci
81pts30
learn.stanford.edu 1y ago

Donald Knuth's Annual Christmas Lecture 2024

mci
5pts0
learn.stanford.edu 1y ago

Donald Knuth's Annual Christmas Lecture 2024

mci
4pts1
learn.stanford.edu 2y ago

Donald Knuth's Annual Christmas Lecture 2023

mci
97pts5
www.byzantium1200.com 3y ago

Byzantium 1200

mci
1pts0
github.com 4y ago

SymSpell: 1M times faster spelling correction

mci
203pts32
www.sciencedirect.com 6y ago

Infected ticks are attracted by electromagnetic radiation of 900 MHz

mci
3pts0
josecamachocollados.com 6y ago

Embeddings in Natural Language Processing [pdf]

mci
2pts0
www.ioccc.org 6y ago

Who Won the 26th International Obfuscated C Code Contest

mci
2pts0
www.ioccc.org 6y ago

Who Won the 26th International Obfuscated C Code Contest

mci
1pts0
www.ioccc.org 6y ago

Who Won the 26th International Obfuscated C Code Contest

mci
2pts0
www.ioccc.org 6y ago

Who Won the 26th International Obfuscated C Code Contest

mci
4pts0
www.ioccc.org 6y ago

Winning Entries of the 26th International Obfuscated C Code Contest

mci
1pts0
habr.com 7y ago

Various Things in MetaPost

mci
80pts11
www.ramanujanmachine.com 7y ago

The Ramanujan Machine: Using algorithms to discover new mathematics

mci
158pts28

The first and second principal components (joy-sadness and anger) explain only 41% of the variance. I wish the authors showed further principal components. Even principal components 1-4 would explain no more than 70% of the variance, which seems to contradict the popular theory that all human emotions are composed of 5 basic emotions: joy, sadness, anger, fear, and disgust, i.e. 4 dimensions.

Interesting. Apion's description of the pessoi game mentioned in the Odyssey: flicking pebbles toward the Penelope-pebble convinces me more than translating pessoi as draughts. The problem with Apion's description is:

- There were 108 suitors (we know this from the Odyssey 16.245-254 [1]).

- All that Homer told us is: They were gladdening their hearts at pessoi in front of the doors, sitting on the hides of oxen which they themselves had slain (the Odyssey 1.106-108 [2]).

- You can't have 108 sitting men play the same game of marbles.

IMHO, pessoi was a 1:1 game and it was not a board game.

[1] https://www.perseus.tufts.edu/hopper/text?doc=Hom.+Od.+16.24...

[2] https://www.perseus.tufts.edu/hopper/text?doc=Hom.+Od.+1.106...

The Tonnetz 9 months ago

A recent blog post on thatsmaths.com was about Tonenetz, a diagram of harmonic relationships of notes. Tonenetz means 'tone network' in German :-)

I took the liberty to replace my awkward wording with your "the result in column i and row j is the sum of product of elements in column i of the left cracovian and column j of the right cracovian". Hope you don't mind. Thanks!

My map of the most frequent occupational surnames in Europe [1] also went viral in 2015. When I posted it on Reddit, newspapers from Ireland (they asked me for permission to reprint it) to Greece (nobody else asked) and countless people on Facebook republished it. Well, everybody has a surname, an occupation, and a country.

Late advice: when making a viral image, put your URL on it :-)

[1] https://marcinciura.wordpress.com/2015/09/17/smiths-millers-...

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 "a plane angle is the difference between the directions of two straight lines that have a common end in one point".

What are Playfair's and Hilbert's definitions?

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 the speed of communication over a data channel. It is the unit for symbol rate or modulation rate in symbols per second or pulses per second.

[1] https://en.wikipedia.org/wiki/Baud

Wanderwort 4 years 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 dictionary from 1644.

3. Find Latin words corresponding to the Polish words in the Polish-Latin volume of the dictionary.

4. If new words found, GOTO 2

The main answer was "fawn", the color of deer. Besides "yellow-red" and "red-yellow", other words were based on red pine mushroom [1], fox, honey, fire, saffron, and gold.

[0] https://oslowach.wordpress.com/2018/11/17/jak-sie-przedtem-n...

[1] https://en.wikipedia.org/wiki/Lactarius_deliciosus

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.

First, in a printed book, it is easier to find a previous page and compare a fragment on it with the current fragment. Second, a printed book has no links tempting you with the words "CLICK ME" to disrupt the flow so you can read it from cover to cover with fewer distractions. Third, anecdotally, I can see flaws much easier on a printout than on screen, both in programs and in texts.

ContractPatch 6 years 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 better. The library caters to those who need much fewer significant digits. Such users can rely on the result undisturbed by numerical errors, as illustrated by the iterated logistic map in my slides[2].

Happy New Year! :)

[0] https://news.ycombinator.com/item?id=25266072 [1] https://news.ycombinator.com/item?id=25263435 [2] https://marcinciura.files.wordpress.com/2019/10/cf-slides.pd...

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
    # 1e+31 with probability log2(1+1e-31) =~= 1e-31/ln(2) =~=
    # 1.5e-31.

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 your room within the next five minutes (slide 60).

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
    # computations to hang rather than to yield a heuristic result,
    # can achieve this effect by setting accuracy to a negative
    # value.

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 be directed acyclic graphs of lazy generators, each generator coresponding to a mathematical operation or function.

Here is a Python library that employs continued fractions to this end: [0]. You can pull successive partial quotients of the result from the root node of the dag. Whenever any node needs more precise input to deliver more precise output, it pulls a partial quotient from its argument(s).

Full disclosure: I wrote the original version of the library 13.5 years ago. Here are the slides from my talk about it: [1].

[0] https://github.com/AdamPrzybyla/python-cf

[1] https://marcinciura.files.wordpress.com/2019/10/cf-slides.pd...

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 games lasts till the endgame, it is usually the principles not the tactics that contributes to the victory.

Modern chess engines have evolved towards simpler, faster evaluations

Alas, modern humans do not undergo Moore's law so your analogy to computer chess can as well be turned upside down: we ought to improve our evaluation function if we want to play better with the limited resources of our brain.

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 tactics:strategy dichotomy by the answers to my top-level comment. To get a better verbalisation of my ideas, replace "strategy" with "principles" in all I wrote.

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, being wary of forks ∈ tactics.

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.

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 you take a peek into either book?