14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions
comment 6y ago · link · parent
Regarding position and undo, these are problems that can also be solved just fine using OT techniques, and are (imho) simpler when there is a central authority that can order all revisions into a globally consistent sequence.
I think it's inevitable that people are going to misunderstand arguments, given the complexity of the underlying space and the paucity of good learning resources. So thanks for your writeup, it adds to the discussion.
comment 6y ago · link · parent
Lately there has been other work pursuing those compressed representations: Chronofold, I think Martin Kleppmann's automerge has some memory-efficiency work, and there are others.
But at least in the context of xi, this is not where things went wrong. As I've written about (and the author was kind enough to link), it's because CRDT merges aren't a good fit for the problems a code editor is trying to solve, particularly when the "collaborators" are automated processes such as language servers.
In human collaborative editing, it's important to preserve text that's being entered, even in the face of conflict. But when a peer is an automated service, it's much better to drop the edit on the floor and recompute. I'm simplifying here, as it depends on the service - some are history-insensitive, some are sensitive to a small window of history (in the case of automatically inserting indentation, etc), and (speculative) other services may be sensitive to more history.
In addition, the CRDT constrains the data model considerably. In other words, it's unfortunately not a clean abstraction where you can easily add higher level layers on top of the CRDT, but you always have to design those with the CRDT in mind (ie, everything still has to be a monotonic semi-lattice).
So, as with everything else, it's a tradeoff, and it's a question of weighing the pros and cons. I'm glad to see work being done to improve CRDT, but even with a very efficient representation and solid algorithms, the problems with CRDT would be enough for me not to use them in a code editor.
comment 6y ago · link · parent
comment 6y ago · link · parent
Like QAnon, the people behind c19study are very careful to hide their true identities. I find it plausible that they're marketing the same basic stuff to different audiences, c19 to people who fall for stuff that sounds like science that isn't.
Of course, there's another explanation for the overlap, that people who are susceptible to conspiracy theories promoted by anonymous instigators are likely to buy into both. This hypothesis is consistent with them being completely separate, just using similar tactics.
I have a pretty good idea who the coder is behind the c19 site. If you're a reporter who would find this useful, or somebody who is better than me at tracking this stuff down, feel free to get in touch. (Note: other people, including Brian Krebs, have had a crack at this)
comment 6y ago · link · parent
https://retrocomputing.stackexchange.com/questions/11143/in-... references "Zilog oral history" and poses the question, but there isn't a strong answer other than the link to the above.
The oral history document referenced is: http://archive.computerhistory.org/resources/access/text/201... . The discussion of traps begins on page 101.
comment 6y ago · link · parent
comment 6y ago · link · parent
https://harvardmagazine.com/2020/08/covid-19-test-for-public...
I'm also a huge fan of this work and struggling to understand why it isn't more mainstream.
comment 6y ago · link · parent
I'd like to understand more deeply why this is not happening.
comment 6y ago · link · parent
One way to get an empirical handle on this question is to write a rasterization pipeline entirely in software and run it in GPU compute. The classic Laine and Karras paper does exactly that:
https://research.nvidia.com/publication/high-performance-sof...
An intriguing thought experiment is to imagine a stripped-down, highly simplified GPU that is much more of a highly parallel CPU than a traditional graphics architecture. This is, to some extent, what Tim Sweeney was talking about (11 years ago now!) in his provocative talk "The end of the GPU roadmap". My personal sense is that such a thing would indeed be possible but would be a performance regression on the order of 2x, which would not fly in today's competitive world. But if one were trying to spin up a GPU effort from scratch (say, motivated by national independence more than cost/performance competitiveness), it would be an interesting place to start.
comment 6y ago · link · parent
Conversely, there is a lot of logic on a modern CPU to extract parallelism from a single thread, stuff like register renaming, scoreboards for out of order execution, and highly sophisticated branch prediction units. I get the feeling this is the main stuff you're talking about. But this source of complexity does not dramatically outweigh the GPU-specific complexity I cited above.
comment 6y ago · link · parent
https://01.org/sites/default/files/documentation/intel-gfx-p...
That's almost 1000 pages, and one of 16 volumes, it just happens to be the one most relevant for programmers. If this is your idea of "simple," I'd really like to see your idea of a complex chip.
comment 6y ago · link · parent
ETA, and here's the discussion thread on the original post: https://www.reddit.com/r/rust/comments/dpakxq/rust_2020_more...
comment 6y ago · link · parent
First, the Red language (a variant of Rebol) tied itself to blockchain and created a token, though looking at their homepage now this seems less of a central focus.
Second, the Urbit project (which incorporates the Nock and Hoon languages, among other things), was founded by a controversial neo-reactionary figure. The project seems to be moving forward without him, and does not seem to be promoting those ideologies, but still carries that association. In addition to that, the "business model" for Urbit also seems to be tied to cryptocurrency.
comment 6y ago · link · parent
comment 6y ago · link · parent
It's a shame the original article has such flaws in its argumentation, because at the core of it I think there are some good points. Notably, other people don't have to blindly follow Google's example and reasoning. In fact, as discussed here, there are good reasons not to. For one, because Google is so highly integrated (with Borg and its monorepo, not to mention custom approaches to security), it's harder to use AGPL software without risking linking. Most other users outside Google would just apt-get a package or the like. And of course the business risk to Google is large simply because of their scale.
You can even disagree with Google's decision not to use AGPL, but they have openly explained their reasoning, and I think that adds to the discourse.
Disclosure: I used to work at Google, and was fairly actively involved with open-source activities in different capacities while I was there. I am also on record as sharply criticizing Google when I believe that is warranted. This is just not one of those times.
comment 6y ago · link · parent
comment 6y ago · link · parent
My (incorrect) understanding of your MIT option is that it would essentially be a buyout, in other words compensating you for the lost revenue from a public release. I've seen that happen as well.
comment 6y ago · link · parent
This seems like a highly unusual structure, I can't think of a single other example where "made available under MIT license" does not also imply "code published." But I think I can see where it makes sense for you.
comment 6y ago · link · parent
comment 6y ago · link · parent
I'm hopeful for WebGPU in the future, not just for its features and expected cross-platform support, but because I expect a pretty thorough test suite to emerge, holding developers' feet to the fire to make their drivers actually work.
comment 6y ago · link · parent