14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions
comment 7y ago · link · parent
One of the more interesting bits for me was in the Q&A, where Prof Buzzard was asked about alternatives to Lean. Lean is the most evolved of the dependent-typed calculus of constructions provers, but two other approaches might work. One is univalence, which is sexy, but Prof Buzzard observed that they haven't actually got much done in their system.
The other is set theory, which is more familiar and approachable to working mathematicians, but the systems out there lack automation. He didn't mention Metamath by name, but that's currently the most developed such system, and they have managed to get a lot done, either in spite of or because of the lack of type theory sexiness of the foundations.
So the question I'd love to see answered is whether automation is inherently easier in type theory, or whether it might be possible to build automation for a set theoretical approach. John Harrison gave a talk last year at AITP on the topic, but I haven't heard much more of this.
comment 7y ago · link · parent
One of my favorite examples was Devanagari shaping. In the word ट्विटर (tvitar = Twitter), does the "i" matra shape before the "tv" it in the middle of it? In my sample, people accepted it either way (and you'll see both depending on font), but there are lots of examples where one is just wrong.
comment 7y ago · link · parent
Basically, my question is whether anybody is working on a solution for the hardware we have today, where there are hardware overlays, the GPU throughput is orders of magnitude higher than what's needed to composite a desktop, but we still care about memory bandwidth, largely because all of resolution, bit depth, and frame rate is still going up. And you really want to be able to schedule every pixel that gets presented with a high degree of timing accuracy.
I've become familiar with Windows, but feel like it's a bunch of hacks. They will promote a window to an overlay, but it's all a heuristic, and I'm pretty sure latency will stutter while it does the transition in and out. And the new flip-model stuff actually regresses the ability to do smooth window resizing.
I'm not even sure macOS is working on lowering latency. I haven't seen any mention from them of hardware overlays.
Most of the attention these days seems to be in the VR/AR space, where latency is obviously important, and there's more of a green field with respect to legacy compatibility, but I'd love to see this problem space actually solved on the desktop. Doing this right is not easy - it probably requires some form of soft real time discipline across the graphics stack (including GPU scheduling) so you can race the beam.
comment 7y ago · link · parent
comment 7y ago · link · parent
Personally, I'm getting more paid open source work than I have time for, all based on permissive licensing, but I might be something of an outlier.
comment 7y ago · link · parent
comment 7y ago · link · parent
If it's still dismissed in six months to a year, that would be sad.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
The actual technology was just a variant of Lempel-Ziv, and the claims about lossless compression were just hiding the entropy by not counting a huge dictionary off to the side. Even so, there were claims that this result "extended information theory" and the patterns found could be the basis of learning.
The presenter had climbed in their regional market, and gotten a puff piece in a business magazine, but obviously the grad students at UC Berkeley weren't buying it. The presenter's startup didn't go anywhere, but they have had a successful career, and are now a VP at Gartner.
I guess the lesson is that there's a network that runs on technical expertise and ability to deliver results, and a parallel network that runs on bullshit and the ability to convince people. There's a lot of money and power in the second network, and it intersects with respected, established institutions. Grant seems to be playing that game masterfully, and the publicity from being publicly attacked at a "Black Hat" conference plays into his hands beautifully. Maybe Gartner will be hiring?
comment 7y ago · link · parent
comment 7y ago · link · parent
On modern computers, you can get away with a flat buffer of text (not even a gap buffer) for documents up to a few megabytes. I don't really recommend a gap, because it adds complexity and doesn't help with the worst case, though of course it cuts your average case down.
If you're going for simpler than a rope, my recommendation is array of lines. You have to do logic to split and fuse lines (for example, when backspacing over a newline), but it's not too bad. The only thing they don't do really well is single long lines.
I don't recommend piece tables. They have superb performance on first load, but then fragment. The reason I'm such a huge fan of ropes is that they perform excellently in the worst case - long edit sessions, long lines.
Best of luck!
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
So the idea of ever having a fixed-length encoding for Unicode is basically impossible now. Best to just use UTF-8 for everything and logic to group it in to code points, grapheme clusters, or whatever other granularity is needed.
comment 7y ago · link · parent
Or, perhaps a better posed question. What research-informed model will accurately predict the results of a user study that presents various renderings of antialiased lines on a modern LCD monitor and asks subjects to choose "which line is thicker" types of queries?
comment 7y ago · link · parent
Another place to look is Kevin Larson's work on subpixel rendering, which informed Microsoft's ClearType efforts. But that was done mostly around 10 years ago, when displays also were different. A good representative is [1].
Here's another pretty good paper I found[2], but it focuses more on the display technology than the perception side.
So what I'm looking for is adjacent to general psychophysics results on visual perception, but much more specific to what real displays do. That literature is pretty thin on the ground.
[0]: Avi C. Naiman and Walter Makous. Spatial nonlinearities of gray-scale CRT pixels, 1992
[1]: https://www.researchgate.net/publication/264485766_Optimizin...
[2]: https://pdfs.semanticscholar.org/8fc4/ecc59380f24e363c6a5d6a...
comment 7y ago · link · parent