Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
svat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
661.
▲
by
svat
5y ago
LuaTeX is what TeX should have been from the start (and would have been, if the technology of the time had permitted it). Apart from modern font-handling and Unicode, the main thing IMO is the hooks it provides (in the form of callbacks). W
662.
▲
by
svat
5y ago
Another one is here: https://blog.cr.yp.to/20201206-msword.html
663.
▲
by
svat
5y ago
I hadn't seen Emacs's markdown-mode's markdown-hide-markup before, but trying it just now, it goes too far and has the opposite problem: it's harder to see the markup when you do want it. What Typora and MarkText (and,
664.
▲
by
svat
5y ago
To the best of my knowledge this (Marktext) is the only free/open-source Markdown editor that has WYSIWYG (like Typora: https://typora.io/ ). Not a separate preview window, but the actual editor window renders each Mark
665.
▲
by
svat
5y ago
Oh yes, definitely, I didn't mean that MathML was a nefarious corporate plot. Just that there's a tension between pragmatists and idealists: in this case those who just want to put math on the web for the common case in any way at
666.
▲
by
svat
5y ago
I briefly tried using it a couple of weeks ago, when there was a post here ( https://news.ycombinator.com/item?id=29406322 ) about it. I took a small notebook I had made in Colab: https://colab.research.google.com&
667.
▲
by
svat
5y ago
What makes you suggest Karmarkar's algorithm as relevant to Indian patent law? As the Wikipedia article you linked points out, Narendra Karmarkar left India in 1978, getting an M.S. from Caltech in 1979, PhD from Berkeley in 1983, and
668.
▲
by
svat
5y ago
If this is indeed not new, one should be able to find a published source anywhere in the world's literature from before 2019 that does it this way, correct? The author mentions in his blog post / paper that he has looked for this
669.
▲
by
svat
5y ago
Ah I see, thanks for clarifying. I had missed the subtle distinction in your comment between "interact with" and "read": I treated them as synonymous, when in fact you were referring to the interaction that is confined t
670.
▲
by
svat
5y ago
I agree with this: I found it very hard, at least until I got a good sense of the overall structure and conventions etc, to be able to understand just one part and ignore the rest. On the other hand, ironically, Knuth recommended getting fa
671.
▲
by
svat
5y ago
I actually agree with your main point — in fact I would go further and say that in an ideal LP system, the (or at least a ) source format would just simply be valid files in the target language, with any LP-related markup or whatever in th
672.
▲
by
svat
5y ago
Minor correction: C code is extracted directly from the WEB. (web2c doesn't use `tangle`, the program that converts WEB to Pascal.) (Unless there's something I've missed…)
673.
▲
by
svat
5y ago
I made some attempts a few years ago to read this program in its entirety. I managed only the faintest glimpse and had grand plans of making it easier. I wrote down some of it: https://shreevatsa.net/tex/program (Actua
674.
▲
by
svat
5y ago
Wow, thanks for sharing. Even the 320 print "(brmmmm-brmmmm-putt-putt-vraow-chatter-chatter bye mr. fibonacci!)" shows something beyond most of us. :-)
675.
▲
by
svat
5y ago
There are a few things wrong with Cringely's story: - According to this story, TAOCP Volume 1 was typeset using hot-metal printing, Volume 2 was typeset using "photo-offset printing to save money for the publisher" (which Knu
676.
▲
by
svat
5y ago
This is from the Stanford Encyclopedia of Philosophy; see also the corresponding article in the Internet Encyclopedia of Philosophy: https://iep.utm.edu/mathplat/ Also, frequently quoted (by me at least): from an inter
677.
▲
by
svat
5y ago
In fact, the syntax of LaTeX (not TeX)—the idea of environments etc—is heavily based on Scribe: Leslie Lamport, who was a Scribe user, basically reimplemented parts of Scribe in TeX macros; the result was LaTeX. You can see the resemblance
678.
▲
by
svat
5y ago
Bubble sort only swaps adjacent elements. The one I used is a lesser-known sort apparently called "exchange sort".
679.
▲
by
svat
5y ago
Wow how did you find all these? Have you been keeping track all these years, or did you somehow search for and find this just now?
680.
▲
by
svat
5y ago
See the edit: https://cs.stackexchange.com/review/suggested-edits/26152
681.
▲
by
svat
5y ago
Oh yes, good point: I got carried away; there is a difference! Simplicity is subjective (I think mine is simpler of course :P), but the algorithm in the post is indeed more surprising.
682.
▲
by
svat
5y ago
[Edit: I took a quick glance at the paper and got carried away; the rest of this comment is about a different algorithm apparently known as "exchange sort", and an interesting property of it. The algorithm in the paper is actually
683.
▲
by
svat
5y ago
The irony is that the very paragraph in which Knuth made that statement (and the paper, and Knuth's programming style in general) is very much pro-optimization. He used that statement in the sense of "Sure, I agree with those who
684.
▲
by
svat
5y ago
> Seems interesting they chose to limit it to a maximum of 6 colors. Where do you see this? The article talks about nesting levels being bounded by O(log N) levels where N is the length of the document, and from what I can tell this is
685.
▲
by
svat
5y ago
> The core idea is to use a recursive descent parser to build an abstract syntax tree (AST) that describes the structure of all bracket pairs. This is a really nice and clear blog post on an algorithmic challenge wonderfully addressed to
686.
▲
by
svat
5y ago
I guess the affordances of the device influence what notes/annotations are likely to come into existence. On the Kindle, where IIRC input is through a keyboard (apart from highlighting), textual notes would be more common. On printed b
687.
▲
by
svat
5y ago
I have a rM2 that I've never connected to their reMarkable Cloud and I'm pretty happy with it; you can get the screen-sharing via other software. (Bunch of options here: https://github.com/reHackable/awesome-r
688.
▲
by
svat
5y ago
> But I'm taking "notes" to mean commentary. In the context of the reMarkable / this conversation, “notes” means whatever the user draws on the device with the stylus: underlining or circling or crossing-out words o
689.
▲
by
svat
5y ago
Also, Columbo's Peugeot 403 Cabriolet shows up in each of the first-season episodes (according to imcdb.org the "Internet Movie Cars Database" that I just discovered the existence of): • 1. "Murder by the Book" htt
690.
▲
by
svat
5y ago
They are just different perspectives, not mutually exclusive. Maybe biology means someone has a higher need for (say) security, or makes their need less easily met (resulting in more anxiety, say, than for other people in similar situations
More ›