HNSW as abstract data structure: video intro to Redis vector sets
Hacker News (score: 22)Description
More from Hacker
Show HN: I rewrote an outdated React Native map clustering library
Show HN: I rewrote an outdated React Native map clustering library Hey Hacker News,<p>I'm a long-time lurker and wanted to share a project I just finished building.<p>Like many React Native developers, I needed to add marker clustering to a map in my app. The most popular library for this, react-native-maps-clustering, was fantastic in its day but has become outdated and no longer works with modern versions of Expo, React Native, and their dependencies.<p>After hitting a wall of compatibility issues, I decided to take on the challenge of rewriting it from the ground up, focusing on a modern toolchain and a better developer experience.<p>The journey was a lot more challenging than I anticipated. It turned into a deep dive into solving dependency hell with different versions of @types/react, wrestling with build tool configurations for pnpm, bob, and ESLint, and ensuring everything was strictly typed with TypeScript. It felt like a classic case of yak shaving, but I was determined to create a solution that "just works" for developers today.<p>The result is RN Super Cluster, a performant, fully-typed, and easy-to-use clustering library for react-native-maps.<p>What it does: It provides a <ClusteredMapView /> component that you can use as a drop-in replacement for the standard <MapView />. Any <Marker /> components you place inside will be automatically clustered.<p>Key Features:<p><pre><code> Modern & Maintained: Built with a modern toolchain and designed to be actively maintained. Fully-Typed: Written entirely in TypeScript to prevent common errors and improve autocompletion. High-Performance: Uses supercluster under the hood for extremely fast geospatial clustering. Spiderfier: At the maximum zoom level, overlapping markers automatically "spiderfy" (spread out on a spiral) so they can be individually tapped. Customizable: You can provide your own custom components for rendering clusters, and callbacks for handling press events. </code></pre> This was a passion project born out of necessity, and I hope it can save other React Native developers the headaches I went through.<p>I would love to get your feedback, and contributions are more than welcome!<p>GitHub: <a href="https://github.com/suwi-lanji/rn-maps-clustering">https://github.com/suwi-lanji/rn-maps-clustering</a> NPM: <a href="https://www.npmjs.com/package/rn-maps-clustering" rel="nofollow">https://www.npmjs.com/package/rn-maps-clustering</a><p>Thanks for checking it out!
No other tools from this source yet.