Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cben
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
cben
7y ago
FWIW, the editor they use, at least on the web, seems to be https://github.com/quilljs/quill . I'm guessing Slack implemented something a-la https://github.com/patleeman/quill-markdown-shortcut
62.
▲
by
cben
7y ago
You don't really need much math for SICP. You can learn a few random pieces of math from SICP, and without background that will be harder and you might feel like you're missing out, but these are just examples; you can just tru
63.
▲
by
cben
7y ago
My recommendations are not exactly what you ask but what I suspect you'll enjoy if you're asking this. (1) "Understanding Computation" by Tom Stuart. Not "fundamental" as a deep textbook, but very approachable
64.
▲
by
cben
7y ago
Same here about volume 1 — I only have it because my father got it somewhere but neither of us read it much, it's just collecting dust. However I'm now buying & progressing through volume 4 which Knuth is gradually releasing,
65.
▲
by
cben
7y ago
That would be Rakuv רקוב, just Raku doesn't have any meaning in Hebrew. It does sound similar when pronounced though. (Hebrew word formation is from 3-consonant roots, not concatenation, so removing a letter doesn't give a relat
66.
▲
by
cben
7y ago
Similar tip: don't start a command from `rm -rf ...`, type `rm /foo/bar/` first only when finished append ` -rf` at the end. Similarly `git push ... -f` etc.
67.
▲
by
cben
7y ago
`keep-header` is a superb gem of do-one-thing composability.
68.
▲
by
cben
7y ago
Null-terminated mode: turns out tons of tools have these: https://github.com/fish-shell/fish-shell/issues/3164#issueco... But yeah, 2nd "standard" hurts compositionality. Default posix/bash spl
69.
▲
by
cben
7y ago
Comments are great for human-edited config files, but not a clear win for an stdout/in format. The trouble is, comments are normally defined as having no effect, not part of the data model. But iff the comments contain useful informati
70.
▲
by
cben
7y ago
No experience with them in python, but look also for PEG grammars. They are significantly simpler than the traditional tower of lexer + ambiguous limited lookahead grammar. Plus the memoized Packrat algorithm allows throwing in functions w
71.
▲
by
cben
7y ago
However, one side reflective/white one absorbing black is possible. I guess the weight of extra paint is not attractive, compared to attitude control which you need anyway. EDIT: this matters because full 180° reflection is like &quo
72.
▲
by
cben
7y ago
Found another similar tool, also preserves the grid & uses monospace text — aafigure: https://github.com/aafigure/aafigure/blob/master/documentati... -> https://aafigure.readthedocs.io&
73.
▲
by
cben
7y ago
Very nice! Reminds me of Markdeep diagrams [1]. The examples are almost identical, so I'm curious if one of them should give credit to the other? Or was there a shared ancestor? Either way, the core insight that it's OK to map
74.
▲
by
cben
7y ago
Exhibit A: MS Word "fast save" format: https://web.archive.org/web/20160308183811/http://1017.songt... https://www.joelonsoftware.com/2008/02/19/why-are-the-micro
75.
▲
by
cben
8y ago
I think "Name it and they will come" is now a pretty good quotable name for the Naming / storytelling Solution.
76.
▲
by
cben
8y ago
eqn (part of troff) from 1974, predating TeX, had a very decent syntax! It's not as complete as TeX, and the layout quality is worse, and I wouldn't want to touch the rest of troff syntax. So not really practical, but good inspir
77.
▲
by
cben
8y ago
Indeed. But (not sure if that's what GP meant just guessing) it's sad that tons of middleboxes that peeked too much inside packets effectively broke "end-to-end" goals, so now it's impractical to deploy any new pro
78.
▲
by
cben
8y ago
TAOUP had a chapter "a tale of 5 editors" discussing emacs, vi, and more, and does point out emacs is an outlier (and outsider) to many unix principles. It does quote Doug McIlroy speaking against it (but also against vi?). It at
79.
▲
by
cben
8y ago
I only have a sample of 1 (my wife) but I've found Ungit: https://github.com/FredrikNoren/ungit unparalleled for explaining the graph model behind git — what's a merge, what it means to fetch vs pull, what&#x
80.
▲
by
cben
8y ago
Note that Red Hat had this designed for styling large headings (similar to the font used on highway signs), not for reading code. https://github.com/RedHatBrand/Overpass https://overpassfont.org Hmm, nice s
81.
▲
by
cben
8y ago
Why did I care when I discovered Infoseek, Excite, Open Directory Project, Dogpile (I'm fuzzy on the exact order) and eventually Google? Do you remember your feeling when playing with a new search engine? Differences in access to infor
82.
▲
by
cben
8y ago
In the hashing department: - Zobrist hashing. It's completely incredible that such a trivial scheme is a near-perfect hash for sets. That's before you even consider the useful ability to compute hashes of related sets with added
83.
▲
by
cben
8y ago
rsync was indeed a dramatic "this should not be possible" feat. But the way it uses rolling hashes is not the simplest possible. One side sends hashes of fixed-size chunks, the other scans input for rolling hash matches, which on
84.
▲
by
cben
8y ago
Yep; it's one-dimentional variant of Error Diffusion (which itself is a notably beautiful dithering algorithm), where "input" = slope of line and output is quantized dy=0 or dy=1. Dithering also appears in audio. The old PC
85.
▲
by
cben
8y ago
Also the venerable https://stackedit.io/ . Also the new GitBook https://docs.gitbook.com/v2-changes/feature-highlights#unifi... I'm sure there are a few more markdown "WYSIWYM" I'm f
86.
▲
by
cben
8y ago
I had the same gut reaction when I heard the PEP even exists. But now I actually read the PEP, it's very well written and makes a reasonably good case that in specific scenarios it will be an improvement. (My second gut reaction was
87.
▲
by
cben
8y ago
Client-side is not really feasible (emscripten TeX has been done, but the packages to load are just too huge...). Server-side, https://tex.s2cms.com/ does a nice job and outputs svg; https://upmath.me/ by s
88.
▲
by
cben
8y ago
GitLab renders math (via KaTeX iirc): https://docs.gitlab.com/ee/user/markdown.html#math
89.
▲
by
cben
9y ago
Alt+. is a bash (libreadline really) key. In fish Alt+Up does something similar, but repeated presses iterates over all words of all commands rather than last words of bash commands. A big improvement is you can type some chars first and t
90.
▲
by
cben
9y ago
History file may be read & updated simultaneously my multiple processes. Is that sufficiently safe from corruption with SQLite? (honest question, no FUD implied. same risks apply to alternatives too.)
More ›