Hacker GitHub

← All repos

amark/gun

View on GitHub ↗ ★ 19,160 JavaScript

An open source cybersecurity protocol for syncing decentralized graph data.

291 mentions on Hacker News by 45 people: 34 stories, 257 comments · first 2014-10-19 · latest 2024-10-08

Mentions per year 291 mentions · busiest year 2017 (67)
20082026
  1. Likely they're referring to https://github.com/amark/gun , which they refer to earlier. amark is Mark Nadal.
  2. …it to HackerNews in early 2014. It was a huge success. Since then, we've gotten 7.5K+ stars ( https://github.com/amark/gun ), raised venture capital money, and introduced decentralized cryptographically secure user blockchains, and a ton…
  3. …part of our system for free, very openly licensed as MIT/ZLIB/Apache2. Check it out, 7.5K+ stars - https://github.com/amark/gun , we view clustering/availability as a core necessary feature of any database and not some "optional" or…
  4. Or add realtime updates to IPFS, Beaker, or Blockstack using a P2P/decentralized Firebase: https://github.com/amark/gun IPFS + Firebase = Lovechild ^
  5. Try https://github.com/amark/gun , it is a popular (~7.5K stars) truly open source (MIT/ZLIB/Apache 2) database that has Firebase like features (realtime sync) plus a lot more, like graph/table/document/relational data and a…
  6. …And more! Note, this is not using Ethereum, but our decentralized tool: https://github.com/amark/gun , and here is a 4 minute and 40 LOC interactive coding tutorial that shows you how to get started: https://scrimba.com/c/c2gBgt4
  7. …think / expect. We had similar experience when we worked to get our system 25X faster than Redis: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2...
  8. …of cash to dole out? At the same time, we already have people building P2P dApps with our system ( https://github.com/amark/gun/wiki/auth ), you know, the ones that Ethereum/Dfinity/etc. can only dream of doing even after they hit their…
  9. …of all the world. We've implemented observable/FRP/chain-reaction programming as the default API in https://github.com/amark/gun , it is really quite pleasant language abstraction. However, FRP/etc. hasn't quite hit "mainstream" hype yet,…
  10. …structure and have released an alpha of it with the Radix Storage Engine (RSE) in the main repo: https://github.com/amark/gun Let me know if you need help with any/all of that, or more links/resources (docs are somewhat scarce on it…
  11. …hard and correctness is a necessary tradeoff from performance. Other systems, like Cassandra, us ( https://github.com/amark/gun ), Couch/Pouch, etc. are all in the Master-Master camp, and thus AP not CP. Our argument is that while P holds,…
  12. …into proofs that can client-side only decrypt public/private keypairs. For an example, see: https://github.com/amark/gun/wiki/auth
  13. …here https://github.com/ipfs/research-CRDT/blob/master/Readme.MD (disclaimer: I'm the author of https://github.com/amark/gun , which is one of the listed options). The StatusPage link is sparse on info, anybody know how it works…
    comment by marknadal · 2018-01-31 · in Show HN: A Decentralized StatusPage on IPFS
  14. Wow, point for point this is what we've built at gun ( https://github.com/amark/gun ). - You only store the data you are subscribed to, which if it is your data, it is automatically stored in localStorage and if you run a…
    comment by marknadal · 2018-01-31 · in Paradigm shifts for the decentralized Web
  15. As an alternative, we've worked really hard on making E2E key management super easy: https://github.com/amark/gun/wiki/auth It is P2P not federated though, and the UI might be worse or better depending on your tastes. ;)
    comment by marknadal · 2018-01-29 · in Status.im Invests $5M in Riot.im
  16. …Feross, who I know) have made comparisons of Datomic to gun, which I have made open source: https://github.com/amark/gun they're based on very similar principles and architecture of functional reactive programming (elm and eve are also in…
    comment by marknadal · 2018-01-17 · in Datomic Cloud
  17. …built on CRDT primitives for doing P2P apps that are end-to-end encrypted. ~7K stars on GitHub: https://github.com/amark/gun It can do 20M reads/sec, 20K writes/sec, and 2K sync/sec (verified table inserts across 4 network hops). It's like…
    comment by marknadal · 2017-12-31 · in Ask HN: What did you work on in 2017?
  18. …are covered pretty well in the article, but CRDTs are also a must for most projects: https://github.com/amark/gun . The article seemed to mix in some blockchain/cryptocurrency projects as well, but seemed out of place (for instance, if…
    comment by marknadal · 2017-12-26 · in Decentralization Roundup for 2017
  19. …using the Web Crypto API (it is what we switched over to, for our P2P cryptographic user accounts: https://github.com/amark/gun/wiki/auth ) to reduce dependency on the server. You can use the `integrity` attribute to help out with this,…
  20. …CRDTs be implemented on top in just a few lines of code (take this example, of a counter CRDT: https://github.com/amark/gun/wiki/snippets-(v0.3.x)#counter ).
    comment by marknadal · 2017-12-10 · in Decentralized Web Primer
  21. …CRDTs. They have a research page on this: https://github.com/ipfs/research-CRDT One of them is us ( https://github.com/amark/gun ), David reached out the other week, now we're trying to find time to discuss with Juan how to best integrate.
    comment by marknadal · 2017-12-09 · in Decentralized Web Primer
  22. …did a talk on how to port gun into a new language, so I'm hoping some contributors could help out: https://github.com/amark/gun/wiki/porting-gun Thanks for asking! Definitely a hard one, any other issues we need to address still, that I…
  23. …mesh network data transmission in P2P environments. It is MIT/ZLIB/Apache2 Open Source licensed: https://github.com/amark/gun I explain how the P2P logic works in this tech talk: https://www.youtube.com/watch?v=5fCPRY-9hkc&t=3s We also…
    comment by marknadal · 2017-11-28 · in Meshkit
  24. …Turns out the math/algorithm isn't too hard! Less than 50LOC for full implementation: https://github.com/amark/gun/blob/master/nts.js I recommend you have fun and challenge yourself to solve it first before looking at the code! It made me…
  25. …I know from stats) the most popular CRDT-based data sync (MIT/ZLIB/Apache2 licensed, 6.6K+ stars, https://github.com/amark/gun ). Usually I'm pretty skeptical of most systems, but I'm rather particularly impressed with yours. I also do not…
  26. …so naturally I found it - although I was bummed it wasn't about gun (I'm the author of the popular https://github.com/amark/gun MIT licensed graph database) just the expression. But since I now have you, you mention that "make reactive all…
    comment by marknadal · 2017-11-04 · in Ask HN: Is Meteor.js still a thing?
  27. …on? I know some people at Riak/Basho who are now at MIT, they are helping us formalize our CRDT ( https://github.com/amark/gun/wiki/Conflict-Resolution-with-G... ). We were chatting just last night and he said that Riak actually lacked…
    comment by marknadal · 2017-10-18 · in Pure Operation-Based Replicated Data Types
  28. …that fairly well, but not for highly mutable data (versus large scientific files). Meanwhile we ( https://github.com/amark/gun ) tackled that problem first, because it seems like CRDTs are the most relevant for killing traditional…
  29. We're a popular alternative, https://github.com/amark/gun Some cool differences: - MIT/ZLIB/Apache2 licensed. - Graph data structures (document, key value, tables, relations, and more!) - Decentralized like IPFS! - Alpha prototype for…
  30. …months), and Gun doesn't even handle unsubscribe-on-unmount in either its official React examples https://github.com/amark/gun/blob/master/examples/react/src/... or in graphql-gun https://github.com/brysgo/graphql-gun/blob/master/react/inde…
  31. …still no better way in 2017", RethinkDB's Horizon ( http://horizon.io/ ) and our tool, GUN ( https://github.com/amark/gun ), seriously contest that fact. For instance, - You get realtime data sync out of the box with an infrastructure you…
    comment by marknadal · 2017-09-26 · in Meteor allow/deny vulnerability disclosure
  32. Lol. I opened a random src-file and started to wonder wtf this is. Source: https://github.com/amark/gun/blob/master/src/state.js
    comment by dsun180 · 2017-08-09 · in Why I’m dumping Firebase for Web
  33. Has anyone here used gun extensively? https://github.com/amark/gun it seems to position itself as a competitor to firebase, and wouldn't have many of the issues mentioned in the OP
    comment by daurnimator · 2017-08-09 · in Why I’m dumping Firebase for Web
  34. …only syncs partial subsets of the data you request (rather than the whole thing), try checking out https://github.com/amark/gun (disclosure: I build it). However Postgres is probably the best database choice out there right now, so you…
    comment by marknadal · 2017-08-08 · in CouchDB 2.1.0
  35. …prototype demo, and watch our 1 minute animated explainers on cryptography, check out this link: https://github.com/amark/gun/wiki/auth (Note: All our code is MIT/ZLIB/Apache2 and open for auditing).
  36. …very well worded. That is exactly what I'm trying to do with my own system, for anybody curious: https://github.com/amark/gun (MIT / ZLIB / Apache 2 licensed).
    comment by marknadal · 2017-06-28 · in CAP: Don't settle for eventual consistency
  37. …If that wasn't helpful, then there is also this article on the implementation (not written by me) https://github.com/amark/gun/wiki/Conflict-Resolution-with-G... . Timestamps are bad, yes (I mention this in the talk as well), GUN uses a…
  38. …point, to prevent data from getting trashed you need to run auth on the system, more info here: https://github.com/amark/gun/wiki/auth I wasn't talking about auth. If conflict resolution is timestamp based, It feels like you could very…
  39. …and links to these resources: (let me know how they can be improved) - CAP Theorem tradeoffs: https://github.com/amark/gun/wiki/CAP-Theorem (We are AP, which is eventually consistent) - My tech talk of how the CRDT works:…
  40. …scattered throughout the comments, but here they are again: - Numbers on the performance benchmark: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... , also see https://youtu.be/BEqH-oZ4UXI , and run it yourself clone…
  41. …will not convince anybody but the most junior web developers. source (hopefully I'm wrong ;) ): https://github.com/amark/gun/blob/master/test/ptsd/perf.js#L...
  42. …that you were testing a routine that was optimized out (to a static return/noop) by the JIT? from https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2...
  43. …and such. There are much better solutions than GUN.) - http://gun.js.org/distributed/matters.html - https://github.com/amark/gun/wiki/CAP-Theorem - https://github.com/amark/gun/wiki/Conflict-Resolution-with-G...
  44. …announced our Security, Encryption, and Authorization framework to handle trusted peers, here: https://github.com/amark/gun/wiki/auth - GUN is master-master, so no, even with a sliding window of 300ms from latency shouldn't effect the…
  45. …. - - If you want to run (or write your own) please read through this well-commented 300LOC test: https://github.com/amark/gun/blob/master/test/panic/load.js . - - The test that was added in this release simulates what happens to GUN in a…
  46. …a multi-master database you can run across globally distributed clouds. - Heck, even my own system, https://github.com/amark/gun , is a multi-master database that you can (and I have) run across globally distributed clouds. - CosmosDB has…
  47. I built https://github.com/amark/gun after I was using MongoDB to event source data. The key piece for me was wanting to have Firebase-like realtime sync for my event sourcing. It is MIT/ZLIB/Apache2 licensed.
  48. …easy 1 click deploy to Heroku), hopefully this will be helpful for people maxing out connections: https://github.com/amark/gun .
  49. …https://www.youtube.com/watch?v=x_WqBuEA7s8 - You can 1 click deploy to a free Heroku server here: https://github.com/amark/gun#heroku - Watch a demo of the GPS tracking here: 1min https://youtu.be/7ALHtbC9aOM - Demo of the app here:…
  50. …And that is coming from me (I work on gun, an OSS alternative with graphs that you can self host - https://github.com/amark/gun ), so while I have an incentive to get people to use gun, I have to keep plugging Firebase because they are…