|yjs||Visual Studio Code|
|1 day ago||4 days ago|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
13 projects | news.ycombinator.com | 29 Dec 2021
You have to handle the merge conflicts yourself, see https://www.sqlite.org/session/sqlite3changeset_apply.html
So you need to be carful how you design your schema, but very possible.
One option is to use something like Yjs and a JSON column to get proper CRDTs for merging.
Markdown editor for freedom!
6 projects | dev.to | 21 Dec 2021
🍻 Collaborate - Shared editing support with yjs
Automerge: a new foundation for collaboration software [video]
13 projects | news.ycombinator.com | 10 Dec 2021
Show HN: SyncedStore CRDT – build multiplayer collaborative apps for React / Vue
11 projects | news.ycombinator.com | 8 Dec 2021
Hi! Great questions :)
First of all, SyncedStore does not implement any CRDT algorithms. Credits for this go to Yjs  (and its author Kevin), which it uses as underlying CRDT.
Yjs and Automerge are (afaik) the two most commonly used CRDT implementations. Both have their pros and cons, but Yjs has focused a lot on performance .
Automerge has a bit friendlier "Immer style"  API. I'm not too familiar with @localfirst/state, but it seems to add a Redux style API on top of Automerge.
Hope you're still following along :) Maybe it helps to compare the TODO-MVC applications, as both SyncedStore (https://github.com/YousefED/SyncedStore/tree/main/examples) and @localfirst/state (https://github.com/local-first-web/state/tree/main/examples/...) have implemented these as examples!11 projects | news.ycombinator.com | 8 Dec 2021
- if you modify a property "prop" and set it to "value" it will sync an update [set "prop" to "value"] along with some metadata
It will not automatically diff these with the previous value (in a distributed system it's difficult to say what the "previous value" was, but it will sync only those properties that have been changed). For text heavy operations, you can use the Text structure which will sync fine-grained operations ([delete 4 characters at position 2] or [insert "world" at position 5]). This makes it suitable for collaborating on rich text documents (similar to Google Docs), see: https://syncedstore.org/docs/advanced/richtext.
This might also be an interesting resource to learn how the Yjs internals work (SyncedStore builds on top of this): https://github.com/yjs/yjs/blob/main/INTERNALS.md
Where is the CRDT for syntax trees
5 projects | news.ycombinator.com | 3 Dec 2021
Todos: The Hard Parts
3 projects | dev.to | 15 Sep 2021
But still, frontend development is pretty damn hard! And that makes sense. Web applications can have interfaces as complex as IDEs and data exchange layers as complex as distributed databases.
A Simple Way to Build Collaborative Web Apps
I haven't yet done this but based on some research it seems to me like the core of any collaborative app today is easiest served by picking some CRDT library.
My basic assumption is that as long as you put all your relevant data into one of these data structures and have the CRDT library hook into a server for storing the data, you're basically done.
This may be a simplistic view of the problem though. For example I've heard people mention that CRDTs can be space inefficient so you may want/have to do periodic compaction.
I've used YJS and can strongly recommend. https://github.com/yjs/yjs
Built a Google Docs like rich text collaborator for a client on Express/Psql and React. Worked like a charm (the hardest part was dealing with ports on AWS tbh).
That's a really nice tutorial. However, most of collaborative apps mentioned in the beginning operate on documents where merging concurrent edits by different users is more of a problem, and there's a really nice tool for that problem: CRDT (https://en.wikipedia.org/wiki/Conflict-free_replicated_data_...) and even ready to use libraries like Yjs (https://docs.yjs.dev).
Of course, there's a lot of very senior HN users who already know about it. I only mention it because I never explored these tools before, learned about it a couple of months ago for the first time in my life and was really impressed.
Visual Studio Code
Creating PowerShell CmdLets in VSCode
2 projects | dev.to | 19 Jan 2022
First, install PowerShell and VSCode on your system. If you're really installing VSCode for the first time, then you'll probably need .NET as well. Then you'll need a project. This should be a class library. You can base it in .NET Framework or .NET Standard, but I use the latest .NET. I swore off .NET Framework some time ago, and this is a CmdLet, not a library. Okay, it's a library, but not one that lends itself well to derivation by other assemblies. Oh, and .NET (Core) runs on Linux as well as Windows and something called MacOS.
Effortless App State Sync across different JS sandboxes (Inline Frames, Web Workers, Worker Threads, or VS Code Webviews)
2 projects | dev.to | 19 Jan 2022
Visual studio code error
1 project | reddit.com/r/CodingHelp | 19 Jan 2022
An Introduction to TypeScript
4 projects | dev.to | 19 Jan 2022
4. Editor support: most of the modern IDEs and code editors like VS Code come with built-in support for TypeScript files. You get autocompletion and auto-import support in VS Code out of the box.
1 project | reddit.com/r/vscode | 18 Jan 2022
I can't explain it as well as https://github.com/Microsoft/vscode can.
Authentication using the Amazon Cognito to an Angular application
5 projects | dev.to | 18 Jan 2022
IDE (e.g. Visual Studio Code)
Can you re-create this web component?
1 project | dev.to | 18 Jan 2022
Go to this page and scroll to the very bottom for reference. Make sure you test various scenarios. Here's some:
Show me you're an accountant without telling me you're an accountant... I'll go first...
1 project | reddit.com/r/Accounting | 18 Jan 2022
As a programmer: vscode or death!
New to Programming
1 project | reddit.com/r/learnprogramming | 18 Jan 2022
VSCode is a pretty good bet for a lot of things you might want to do. But, if you wanted to start with Android or iOS development then you'd need a different set of tools.
What are some alternatives?
doom-emacs - An Emacs framework for the stubborn martian hacker
Spyder - Official repository for Spyder - The Scientific Python Development Environment
vscodium - binary releases of VS Code without MS branding/telemetry/licensing
reactide - Reactide is the first dedicated IDE for React web application development.
Atom - :atom: The hackable text editor
MonoDevelop - MonoDevelop is a cross platform .NET IDE
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
Geany - A fast and lightweight IDE
Visual Studio Community - GitHub Extension for Visual Studio