# clustering

Published articles for clustering.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Multi-Cluster v2 and Stateless Mode now in Preview

DevFeed: [Multi-Cluster v2 and Stateless Mode now in Preview](<https://devfeed.tech/articles/multi-cluster-v2-and-stateless-mode-now-in-preview-31786.md>)

Original publisher: [Read original article](<https://www.keycloak.org/2026/07/multi-cluster-v2-and-stateless-mode>)

Author: Alexander Schwartz

Published: 2026-07-17T00:00:00Z

Content type: release

Language: en

Sources: [Keycloak Blog](<https://devfeed.tech/sources/keycloak-blog.md>)

Topics: [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Database](<https://devfeed.tech/topics/database.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [availability](<https://devfeed.tech/tags/availability.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [failover](<https://devfeed.tech/tags/failover.md>), [idm](<https://devfeed.tech/tags/idm.md>), [kerberos](<https://devfeed.tech/tags/kerberos.md>), [ldap](<https://devfeed.tech/tags/ldap.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [openid-connect](<https://devfeed.tech/tags/openid-connect.md>), [preview](<https://devfeed.tech/tags/preview.md>), [replication](<https://devfeed.tech/tags/replication.md>), [saml](<https://devfeed.tech/tags/saml.md>), [sso](<https://devfeed.tech/tags/sso.md>)

### AI overview

Keycloak 26.7 introduces Stateless Mode as a preview. It moves volatile data, including authentication sessions, action tokens, and brute-force counters, from Infinispan caches to the database, supporting multi-cluster deployments without an external Infinispan cluster.

### Source excerpt

Starting with Keycloak 26.7, the stateless feature is available as a preview. It fundamentally simplifies how Keycloak handles volatile data -- authentication sessions, action tokens, and brute-force counters move from embedded or external Infinispan caches to the database. The result: Keycloak deployments that are easier to operate, more resilient, and ready for multi-cluster setups without an external Infinispan cluster. Read on to learn more, and ask questions in our upcoming live Q&A event on Jul 21! The problem with the current approach A multi-cluster setup becomes necessary when no transparent networking between two sites is available for Keycloak's embedded Infinispan to form a single cluster -- for example, when sites are in different availability zones or data centers without a shared network layer. Running Keycloak in such a multi-cluster setup today requires significant infrastructure beyond Keycloak itself. Without the stateless feature, the architecture depends on an external Infinispan cluster with cross-datacenter replication channels, dedicated monitoring to detect and handle Infinispan failover, and operational procedures for failback. It was tied to specific environments like Kubernetes and AWS, and using it in other environments would require significant work to adapt it. Even in single-cluster deployments, Infinispan clustering introduces operational overhead: rebalancing data in distributed caches when a node is lost or restarted, and transient failures in login flows if a node unexpectedly disappears. In large installations, the login failure cache can grow significantly, consuming substantial memory and causing long rebalancing times when nodes join or leave the cluster. While distributed caches replicate data across at least two nodes -- so individual node failures do not lose data -- a full cluster restart during minor upgrades resets volatile state such as in-progress authentication sessions and brute-force counters. What changes with stateles

## BIY: Preparing a Dataset and Benchmarking AI Models for Scatterplot-Related Tasks

DevFeed: [BIY: Preparing a Dataset and Benchmarking AI Models for Scatterplot-Related Tasks](<https://devfeed.tech/articles/biy-preparing-a-dataset-and-benchmarking-ai-models-for-scatterplot-related-tasks-26294.md>)

Original publisher: [Read original article](<https://medium.com/feedzaitech/biy-preparing-a-dataset-and-benchmarking-ai-models-for-scatterplot-related-tasks-11cbef120cd1?source=rss----e11168e7fe6b---4>)

Author: João Palmeiro

Published: 2026-01-19T14:52:55Z

Content type: article

Language: en

Sources: [Feedzai](<https://devfeed.tech/sources/feedzai.md>)

Topics: [Accessibility](<https://devfeed.tech/topics/accessibility.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [SVG](<https://devfeed.tech/topics/svg.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data-visualization](<https://devfeed.tech/tags/data-visualization.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [multimodal-ai](<https://devfeed.tech/tags/multimodal-ai.md>), [outlier-detection](<https://devfeed.tech/tags/outlier-detection.md>), [svg](<https://devfeed.tech/tags/svg.md>)

### AI overview

The article introduces Benchmark It Yourself (BIY), an effort to prepare a dataset and benchmark multimodal AI models for scatterplot-related tasks. It examines generating distribution-aware descriptions from scatterplot images to improve the accessibility of canvas charts, including direct description generation and structured-data extraction for predefined templates. Initial results were mixed.

### Source excerpt

Benchmark It Yourself (BIY): Preparing a Dataset and Benchmarking AI Models for Scatterplot-Related Tasks When we need to visualize and interact with millions, or even just thousands, of individual points while analyzing data, we typically resort to rendering them in the browser using a canvas. The other common approach for the web, SVG, doesn't scale when the number of individual elements increases to such quantities. However, while solving one problem, canvas charts introduce a new challenge: accessibility. Although SVG charts are not accessible by default, they can be by design. Each part of an SVG chart has a corresponding element on the web page, allowing for a programmable, accessible experience for screen reader users. We can simply think of SVG as HTML. On the other hand, a canvas chart is just like a PNG image. If a screen reader user tries to learn more about a canvas chart, unless the developer has prepared a detailed description of it, they will just hear the word "image". There's no way to get an idea of what one of these charts represents, let alone extract any insights. For static charts, the solution can be as simple as preparing a description and integrating it into the rendered chart. However, for platforms leveraging dynamic, large datasets, automatically generating these descriptions is not a simple task, especially for charts like scatterplots where data distributions can assume countless forms. At Feedzai, we started exploring ways to generate data distribution-aware descriptions for scatterplots from their respective images using recent multimodal AI models. When the raw data is not available, or the datasets are composed of several thousand or million instances, relying on chart images and these models becomes tempting. This combination has the potential to generate such descriptions and serve them alongside their respective charts, significantly improving the accessibility of canvas charts. That said, we focused on two main directions: using

## A differentially private framework for gaining insights into AI chatbot use

DevFeed: [A differentially private framework for gaining insights into AI chatbot use](<https://devfeed.tech/articles/a-differentially-private-framework-for-gaining-insights-into-ai-chatbot-use-6738.md>)

Original publisher: [Read original article](<https://research.google/blog/a-differentially-private-framework-for-gaining-insights-into-ai-chatbot-use/>)

Published: 2025-12-10T21:59:41Z

Content type: article

Language: en

Sources: [The latest research from Google](<https://devfeed.tech/sources/the-latest-research-from-google.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Google](<https://devfeed.tech/topics/google.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [pii](<https://devfeed.tech/topics/pii.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [chatbots](<https://devfeed.tech/tags/chatbots.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [google](<https://devfeed.tech/tags/google.md>), [insights](<https://devfeed.tech/tags/insights.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [pii](<https://devfeed.tech/tags/pii.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [research](<https://devfeed.tech/tags/research.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>), [security-privacy-and-abuse-prevention](<https://devfeed.tech/tags/security-privacy-and-abuse-prevention.md>)

### AI overview

Google Research introduces Urania, a framework for generating high-level insights into AI chatbot usage while protecting user conversation privacy. Its pipeline combines differentially private clustering, keyword extraction, and LLM summarization to provide formal, end-to-end differential privacy guarantees.

### Source excerpt

Generative AI

## Engineering a Scalable Topic Pipeline: A BERTopic and GenAI Case Study

DevFeed: [Engineering a Scalable Topic Pipeline: A BERTopic and GenAI Case Study](<https://devfeed.tech/articles/engineering-a-scalable-topic-pipeline-a-bertopic-and-genai-case-study-35066.md>)

Original publisher: [Read original article](<https://medium.com/gumgum-tech/engineering-a-scalable-topic-pipeline-a-bertopic-and-genai-case-study-2d9b1161dfc5?source=rss----d4c1dee0f87b---4>)

Author: Saniya Naphade

Published: 2025-08-28T06:25:05Z

Content type: tutorial

Language: en

Sources: [GumGum](<https://devfeed.tech/sources/gumgum.md>)

Topics: [genai](<https://devfeed.tech/topics/genai.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [data](<https://devfeed.tech/topics/data.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [datasets](<https://devfeed.tech/topics/datasets.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [genai](<https://devfeed.tech/tags/genai.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [llm-applications](<https://devfeed.tech/tags/llm-applications.md>), [topic-modeling](<https://devfeed.tech/tags/topic-modeling.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

GumGum describes a scalable hybrid topic-modeling pipeline that combines deterministic BERTopic clustering with generative AI post-processing. The workflow processes impression data weekly, uses cuML for GPU acceleration, and addresses BERTopic's high outlier rate to recover more topic-related insights.

### Source excerpt

Introduction: In a world where trends change in an instant, relying on static taxonomies to target ad campaigns is no longer effective. At GumGum, we face a constant torrent of digital content, ingesting millions of web pages every day. This massive flow of information must be turned into actionable insights, but because trends are dynamic, traditional methods like hard-coded taxonomies and slow hand-labeling are simply not viable at this scale. While large language models (LLMs) can offer some insight, using them at this volume is often cost-prohibitive and can lead to inconsistent results. To solve this, we've developed a lightweight and repeatable hybrid pipeline. This approach combines a deterministic clustering method -- specifically BERTopic¹ -- with a strategic post-processing layer using generative AI. The result is a more efficient and powerful topic modeling workflow that gives us the stability needed for large datasets and provides valuable, human-centric insights. Let's now walk through the key stages of this pipeline, beginning with data preparation. Data preparation The pipeline's first step is a critical data preparation phase built to handle immense scale. We process a comprehensive collection of impression data on a weekly basis to ensure we can capture not only major trends like the Summer Box Office but also the smaller, more nuanced shifts within that topic. For instance, in a given week, the pipeline might detect a specific surge of interest around a new movie's opening weekend, which would be lost in a less frequent processing schedule. This raw data is then thoroughly cleaned and prepared for the next stage, laying the groundwork for accurate and timely topic modeling. Dynamic Topic Modeling With this clean, prepared data, the real work of topic modeling begins. The pipeline then leverages BERTopic¹, a topic modeling algorithm, in conjunction with cuML³ for GPU acceleration, that is both powerful and efficient, and serves as our deterministic co

## Keycloak 26.3.2 released

DevFeed: [Keycloak 26.3.2 released](<https://devfeed.tech/articles/keycloak-26-3-2-released-31716.md>)

Original publisher: [Read original article](<https://www.keycloak.org/2025/07/keycloak-2632-released>)

Author: Keycloak Team

Published: 2025-07-24T00:00:00Z

Content type: release

Language: en

Sources: [Keycloak Blog](<https://devfeed.tech/sources/keycloak-blog.md>)

Topics: [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Security](<https://devfeed.tech/topics/security.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [idm](<https://devfeed.tech/tags/idm.md>), [kerberos](<https://devfeed.tech/tags/kerberos.md>), [keycloak](<https://devfeed.tech/tags/keycloak.md>), [keycloak-release](<https://devfeed.tech/tags/keycloak-release.md>), [ldap](<https://devfeed.tech/tags/ldap.md>), [logging](<https://devfeed.tech/tags/logging.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [migration](<https://devfeed.tech/tags/migration.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [openid-connect](<https://devfeed.tech/tags/openid-connect.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [release](<https://devfeed.tech/tags/release.md>), [saml](<https://devfeed.tech/tags/saml.md>), [sso](<https://devfeed.tech/tags/sso.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [version](<https://devfeed.tech/tags/version.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

Keycloak 26.3.2 was released on July 24, 2025. The release adds an OIDC identity-provider authentication option, improves clustering and client-session logging, upgrades dependencies, and lists resolved bugs and vulnerabilities.

### Source excerpt

To download the release go to Keycloak downloads. Upgrading Before upgrading refer to the migration guide for a complete list of changes. All resolved issues New features #40237 Add option "Requires short state parameter" to OIDC IDP authentication Enhancements #40970 Run clustering compatibility tests on release/x.y branches #41034 Improve logging for client sessions load #41257 Upgrade to Infinispan 15.0.18.Final infinispan Bugs #39091 Flaky test: org.keycloak.testsuite.cluster.JGroupsCertificateRotationClusterTest#testCoordinatorHasScheduleTask ci #39634 Update MariaDB connector to 3.5.3 dist/quarkus #39854 Flaky test: org.keycloak.testsuite.cluster.PermissionTicketInvalidationClusterTest#crudWithFailover ci #40553 Upgrade org.postgresql:postgresql to version 42.7.7 to address CVE-2025-49146 dependencies #40736 CVE-2025-49574 - Exposure of Resource to Wrong Sphere vulnerability in io.vertx:vertx-core dependencies #40782 Flaky test: org.keycloak.testsuite.cluster.RealmInvalidationClusterTest#crudWithFailover ci #40784 Default jdbc-ping cluster setup for distributed caches fails in Oracle infinispan #40977 Loglevel recorded from build phase dist/quarkus #40980 Can't update security-admin-console via admin UI with volatile sessions infinispan #40995 LDAP / ModelException: At least one condition should be provided to OR query core #41018 Flaky test: org.keycloak.testsuite.cluster.ClientInvalidationClusterTest#crudWithFailover ci #41038 FIPS errors in CI #41082 Multiple primary key defined when attempting to upgrade after 26.3.0 core #41103 Service Account users now showing in the User List admin/ui #41105 Unknown relation when removing realm role with --db-schema configured storage #41152 Docs use em-dashes instead of double dashes for SPI options in regular text docs #41204 UpdateTest CI failures ci #41370 [26.3] MariaDB connector dependency is not properly overriden dist/quarkus

## Tutorial: Building a Highly Available PostgreSQL Cluster with etcd, Patroni, HAProxy, and keepalived

DevFeed: [Tutorial: Building a Highly Available PostgreSQL Cluster with etcd, Patroni, HAProxy, and keepalived](<https://devfeed.tech/articles/postgressql-clustering-the-hard-way-10634.md>)

Original publisher: [Read original article](<https://technotim.com/posts/postgresql-high-availability/>)

Author: Techno Tim

Published: 2024-12-07T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [ha](<https://devfeed.tech/tags/ha.md>), [patroni](<https://devfeed.tech/tags/patroni.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [production](<https://devfeed.tech/tags/production.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial for building a highly available and fault-tolerant PostgreSQL cluster with etcd, Patroni, HAProxy, and keepalived. It covers PostgreSQL node setup, certificate-based communication, etcd configuration, and cluster verification.

### Source excerpt

Today is the day that you start running PostgresSQL in a cluster! In this tutorial we'll be setting up a production ready Postgres cluster that's highly available and fault tolerant using PostgreSQL, etcd, Patroni, HA Proxy, and keepalived. This resilient combination will ensure that you can always reach your database even when a node in the cluster goes down! 📺 Watch Video Nodes # ha pr...

## Carnival of Mathematics #233

DevFeed: [Carnival of Mathematics #233](<https://devfeed.tech/articles/carnival-of-mathematics-233-40458.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2022/11/01/carnival-of-mathematics-233/>)

Published: 2024-11-01T07:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [Nvidia](<https://devfeed.tech/topics/nvidia.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [carnival](<https://devfeed.tech/tags/carnival.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [fibonacci](<https://devfeed.tech/tags/fibonacci.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [python](<https://devfeed.tech/tags/python.md>), [regex](<https://devfeed.tech/tags/regex.md>)

### AI overview

A roundup of mathematics news and media from October 2022, including a newly reported largest known prime, mathematical research, discussions of political geography and clustering, and videos about voting paradoxes, polylinks, and prime-recognizing regular expressions.

### Source excerpt

Welcome to the 233rd Carnival of Mathematics! Who can forget 233, the 6th Fibonacci prime? Hey, not all numbers are interesting. Don't ask me about the smallest positive uninteresting number. You can't make it interesting with your feeble mind tricks! Anyway, on to the fun. Provers and Shakers The big discovery this month was a new largest known prime number, $2^{136279841} - 1$, as reported by the Great Internet Mersenne Prime Search.

## Semantically Compress Text to Save On LLM Costs

DevFeed: [Semantically Compress Text to Save On LLM Costs](<https://devfeed.tech/articles/semantically-compress-text-to-save-on-llm-costs-38726.md>)

Original publisher: [Read original article](<https://blog.developer.bazaarvoice.com/2024/10/28/semantically-compress-text-to-save-on-llm-costs/>)

Author: Lou Kratz

Published: 2024-10-28T13:34:46Z

Content type: article

Language: en

Sources: [Bazaarvoice](<https://devfeed.tech/sources/bazaarvoice.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [long-context](<https://devfeed.tech/topics/long-context.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [bazaarvoice](<https://devfeed.tech/tags/bazaarvoice.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [compression](<https://devfeed.tech/tags/compression.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [llm](<https://devfeed.tech/tags/llm.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

Bazaarvoice describes a multi-pass hierarchical clustering approach for semantically compressing large collections of user reviews so its AI Review Summaries feature can operate within LLM context-window limits and reduce token-related costs. The article says the technique allows adjustment of detail loss and helped make the feature financially feasible.

### Source excerpt

Introduction Large language models are fantastic tools for unstructured text, but what if your text doesn't fit in the context window? Bazaarvoice faced exactly this challenge when building our AI Review Summaries feature: millions of user reviews simply won't fit into the context window of even newer LLMs and, even if they did, it would [...]

## Comparison between Redis and DragonflyDB's data stores

DevFeed: [Comparison between Redis and DragonflyDB's data stores](<https://devfeed.tech/articles/comparison-between-redis-and-dragonflydb-s-data-stores-39629.md>)

Original publisher: [Read original article](<https://www.gauravsarma.com/posts/2024-08-27_Comparison-between-Redis-and-DragonflyDB-s-data-stores-e9ecba1ef84c>)

Published: 2024-08-27T00:00:00Z

Content type: article

Language: en

Sources: [Gaurav Sarma's Blog](<https://devfeed.tech/sources/gaurav-sarma-s-blog.md>)

Topics: [Redis](<https://devfeed.tech/topics/redis.md>), [data](<https://devfeed.tech/topics/data.md>), [hashing](<https://devfeed.tech/topics/hashing.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [hash](<https://devfeed.tech/tags/hash.md>), [memory](<https://devfeed.tech/tags/memory.md>), [redis](<https://devfeed.tech/tags/redis.md>), [single-threaded](<https://devfeed.tech/tags/single-threaded.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

This article compares how Redis and DragonflyDB store data in memory. It explains Redis's single-threaded architecture and DragonflyDB's multithreaded, shared-nothing design, then introduces separate chaining, open addressing, and extendible hashing.

### Source excerpt

. [Redis vs DragonflyDB Data Store Comparison](redis-vs-dragonflydbs-data-stores-cover...

## Fully Homomorphic Encryption in Production Systems

DevFeed: [Fully Homomorphic Encryption in Production Systems](<https://devfeed.tech/articles/fully-homomorphic-encryption-in-production-systems-40498.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/fhe-in-production/>)

Published: 2024-07-31T07:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [FHE](<https://devfeed.tech/topics/fhe.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Edge](<https://devfeed.tech/topics/edge.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Differential Privacy](<https://devfeed.tech/topics/differential-privacy.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [microsoft-edge](<https://devfeed.tech/tags/microsoft-edge.md>), [programming](<https://devfeed.tech/tags/programming.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

A living document catalogs production systems known to use fully or somewhat homomorphic encryption. It describes deployments and techniques involving Microsoft Edge password checking, Apple's Live Caller ID Lookup, and Apple's private image search, while distinguishing FHE from SHE.

### Source excerpt

In this living document, I will list all production systems I'm aware of that use fully homomorphic encryption (FHE). For background on FHE, see my overview of the field. If you have any information about production FHE systems not in this list, or corrections to information in this list, please send me an email with sufficient detail allow the claim to be publicly verified. For all production deployments, I will distinguish between cases where the deployed system does "fully" homomorphic encryption (with bootstrapping), aka FHE, and "somewhat" homomorphic encryption, aka SHE (avoiding bootstrapping).

## A Better Mastodon Client

DevFeed: [A Better Mastodon Client](<https://devfeed.tech/articles/a-better-mastodon-client-33422.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2023/12/19/fossil>)

Published: 2023-12-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [Mastodon](<https://devfeed.tech/topics/mastodon.md>), [client](<https://devfeed.tech/topics/client.md>), [Streamlit](<https://devfeed.tech/topics/streamlit.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Vibe coding](<https://devfeed.tech/topics/vibe-coding.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [tailscale](<https://devfeed.tech/topics/tailscale.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [github](<https://devfeed.tech/tags/github.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [mastodon](<https://devfeed.tech/tags/mastodon.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [streamlit](<https://devfeed.tech/tags/streamlit.md>), [tailscale](<https://devfeed.tech/tags/tailscale.md>)

### AI overview

A developer describes building a Mastodon timeline dashboard that caches posts in SQLite, creates embeddings, clusters posts by topic, summarizes the clusters with an LLM, and makes the dashboard accessible on a phone through Tailscale.

### Source excerpt

Last night I had an idea and went ahead and built it. I'd like to tell you about it. Find the source code here.

## A clustering-based approach to create deep learning datasets in a day

DevFeed: [A clustering-based approach to create deep learning datasets in a day](<https://devfeed.tech/articles/dataset-in-a-day-22600.md>)

Original publisher: [Read original article](<https://medium.com/bumble-tech/dataset-in-a-day-7f369de3b178?source=rss----6353b5325b1a---4>)

Author: Roland Meertens

Published: 2023-11-28T17:33:30Z

Content type: article

Language: en

Sources: [Bumble Tech](<https://devfeed.tech/sources/bumble-tech.md>)

Topics: [dataset](<https://devfeed.tech/topics/dataset.md>), [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [foundation-models](<https://devfeed.tech/topics/foundation-models.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Inference](<https://devfeed.tech/topics/inference.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [inference](<https://devfeed.tech/tags/inference.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [models](<https://devfeed.tech/tags/models.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [zero-shot](<https://devfeed.tech/tags/zero-shot.md>)

### AI overview

The article discusses the cost and time involved in creating labeled computer vision datasets. It considers zero-shot learning and foundational models such as GPT-3 and CLIP for data retrieval, while noting that some use cases still require fine-tuning on task-specific data.

### Source excerpt

A clustering-based approach to create deep learning datasets in a day Introduction Understanding what's happening in an image is both an important task, as well as a costly one. In the last few years, the field of computer vision has greatly accelerated due to the advances in neural networks. At Bumble Inc., we see potential value in computer vision for a variety of use cases, such as improving the safety of our platform and providing our members with a better user experience. The most common way to train these neural networks is by showing it many images with the corresponding label. Unfortunately, this can be a costly task. Not only does one need to build and train the model, one also wants to do hyperparameter search over multiple configurations of possible networks, and -- of course -- one needs to find or build a dataset suitable for the task at hand. Building the dataset is both the most important task, as well as a very time consuming one. Gathering data, setting up labelling requirements, and of course the labelling itself all take a lot of time and money. This normally leads to trade-offs, by choosing either to build only a small dataset, or by trying to fit existing datasets into your specific use-case. One alternative is of course to not build a dataset at all, to instead use zero-shot learning for your use case. I argued in the past that this is unreasonably effective, and allows you to test your use-case before even training a model. When using zero-shot learning one predicts labels without explicitly training on the classes you are trying to learn. One example of this can be achieved by using the CLIP model, which is trained to have a strong association between text and images. By looking at the distance between the description of your class and the image you can run inference without training anything. However, there are some use cases where we need the strongest possible model by fine-tuning it to our specific data. Using foundational models for data s

## Advent of Kotlin Solutions

DevFeed: [Advent of Kotlin Solutions](<https://devfeed.tech/articles/advent-of-kotlin-solutions-39189.md>)

Original publisher: [Read original article](<https://kt.academy/article/advent-2021-solutions>)

Published: 2022-01-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [json](<https://devfeed.tech/tags/json.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [pattern-matching](<https://devfeed.tech/tags/pattern-matching.md>), [recursion](<https://devfeed.tech/tags/recursion.md>), [sealed-class](<https://devfeed.tech/tags/sealed-class.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This article presents Kotlin solutions for Advent of Kotlin 2021 exercises, including JSON stringification, generating well-formed parentheses, tree algorithms, and k-means clustering. It discusses recursion, sealed classes, smart casting, and Kotlin functions used in the solutions.

### Source excerpt

Solutions to the Advent of Kotlin!

## Advent of Kotlin: Week 3

DevFeed: [Advent of Kotlin: Week 3](<https://devfeed.tech/articles/advent-of-kotlin-week-3-39192.md>)

Original publisher: [Read original article](<https://kt.academy/article/advent-2021-week3>)

Published: 2021-12-14T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [clustering](<https://devfeed.tech/topics/clustering.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This article covers k-means clustering as Week 3 of the Advent of Kotlin series.

### Source excerpt

Week 3 of the Advent of Kotlin: k-means clustering

## An overview of end-to-end entity resolution for big data

DevFeed: [An overview of end-to-end entity resolution for big data](<https://devfeed.tech/articles/an-overview-of-end-to-end-entity-resolution-for-big-data-28595.md>)

Original publisher: [Read original article](<https://blog.acolyer.org/2020/12/14/entity-resolution/>)

Author: adriancolyer

Published: 2020-12-14T14:37:00Z

Content type: article

Language: en

Sources: [Adrian Colyer](<https://devfeed.tech/sources/adrian-colyer.md>)

Topics: [Entity resolution](<https://devfeed.tech/topics/entity-resolution.md>), [big-data](<https://devfeed.tech/topics/big-data.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [algorithms-and-data-structures](<https://devfeed.tech/tags/algorithms-and-data-structures.md>), [article](<https://devfeed.tech/tags/article.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [overview](<https://devfeed.tech/tags/overview.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

This article summarizes an ACM Computing Surveys survey on end-to-end entity resolution for big data. It explains the main pipeline stages: blocking to reduce comparisons, block processing to remove redundant and superfluous comparisons, matching entity-description pairs, and clustering matches into resolved entities. It also outlines classification dimensions including schema awareness, matching process, and batch or incremental processing.

### Source excerpt

An overview of end-to-end entity resolution for big data, Christophides et al., ACM Computing Surveys, Dec. 2020, Article No. 127 The ACM Computing Surveys are always a great way to get a quick orientation in a new subject area, and hot off the press is this survey on the entity resolution (aka record linking) problem. It's an ... Continue reading An overview of end-to-end entity resolution for big data

## Preparing a Proxmox Server for Production Use

DevFeed: [Preparing a Proxmox Server for Production Use](<https://devfeed.tech/articles/before-i-do-anything-on-proxmox-i-do-this-first-10534.md>)

Original publisher: [Read original article](<https://technotim.com/posts/first-11-things-proxmox/>)

Author: Techno Tim

Published: 2020-11-28T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Proxmox](<https://devfeed.tech/topics/proxmox.md>), [networking](<https://devfeed.tech/topics/networking.md>), [ceph](<https://devfeed.tech/topics/ceph.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [ceph](<https://devfeed.tech/tags/ceph.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [iommu](<https://devfeed.tech/tags/iommu.md>), [linux](<https://devfeed.tech/tags/linux.md>), [networking](<https://devfeed.tech/tags/networking.md>), [proxmox](<https://devfeed.tech/tags/proxmox.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [storage](<https://devfeed.tech/tags/storage.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

A tutorial covering the author's preparation steps for newly installed Proxmox servers, including updates, storage, networking and VLANs, ISO uploads, clustering, PCI passthrough, cloned Linux machine cleanup, and alerts.

### Source excerpt

After setting up my Proxmox servers, there are a few things I do before I use them for their intended purpose.This ranges from updates, to storage, to networking and VLANS, to uploading ISOs, to clustering, and more.Join me as we pick up where the rest of the proxmox tutorials stop, and that's everything you need to do to make these production ready (and maybe a bonus item too). 📺 Watch Vide...

## High availability with nats-streaming-server (clustering)

DevFeed: [High availability with nats-streaming-server (clustering)](<https://devfeed.tech/articles/high-availability-with-nats-streaming-server-clustering-37814.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/nats-streaming-server-cluster/>)

Author: Carlos Alexandro Becker

Published: 2019-05-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Streaming](<https://devfeed.tech/topics/streaming.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Raft](<https://devfeed.tech/topics/raft.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [raft](<https://devfeed.tech/tags/raft.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

### AI overview

A practical guide to configuring a high-availability nats-streaming-server cluster. It compares fault-tolerance and clustering approaches, then demonstrates clustering NATS and nats-streaming-server with three nodes, RAFT leader election, replicated writes, and peer configuration.

### Source excerpt

I wanted to set up a high available nats-streaming-server cluster, but couldn't find a "quick" guide on how to do it.

## Topic Modeling: Optimizing for Human Interpretability

DevFeed: [Topic Modeling: Optimizing for Human Interpretability](<https://devfeed.tech/articles/topic-modeling-15928.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/topic-modeling-optimizing-for-human-interpretability>)

Author: Alyssa Wisdom

Published: 2017-12-20T22:38:24Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog](<https://devfeed.tech/sources/square-corner-blog-medium.md>), [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [data](<https://devfeed.tech/topics/data.md>), [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data](<https://devfeed.tech/tags/data.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>)

### AI overview

This article explains topic modeling as an unsupervised machine-learning method for identifying latent topics in large text collections. It discusses evaluating topic models, improving interpretability, preprocessing text, choosing the number of topics, and using document-term matrices.

### Source excerpt

Optimizing for Human Interpretability

## So You Have Some Clusters, Now What?

DevFeed: [So You Have Some Clusters, Now What?](<https://devfeed.tech/articles/so-you-have-some-clusters-now-what-15859.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/so-you-have-some-clusters-now-what>)

Author: Inna Kaler

Published: 2017-11-09T00:11:19Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog](<https://devfeed.tech/sources/square-corner-blog-medium.md>), [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [datasets](<https://devfeed.tech/topics/datasets.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [features](<https://devfeed.tech/tags/features.md>), [insights](<https://devfeed.tech/tags/insights.md>)

### AI overview

This article explains how Square used unsupervised clustering to analyze seller behavior. It describes how manually selecting familiar signals embedded existing assumptions into the data, limiting new insights, and then outlines rebuilding clusters with thousands of behavioral signals generated by Square's risk systems to reduce that bias.

### Source excerpt

How to Add Value to Your Clusters

## Faster Snowflake Queries through Clustering

DevFeed: [Faster Snowflake Queries through Clustering](<https://devfeed.tech/articles/faster-snowflake-queries-through-clustering-28626.md>)

Original publisher: [Read original article](<https://eng.localytics.com/faster-snowflake-queries-through-clustering/>)

Author: Michal Klos

Published: 2017-03-13T14:17:01Z

Content type: article

Language: en

Sources: [Localytics](<https://devfeed.tech/sources/localytics.md>)

Topics: [data-processing](<https://devfeed.tech/topics/data-processing.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [Amazon Redshift](<https://devfeed.tech/topics/amazon-redshift.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [join](<https://devfeed.tech/tags/join.md>), [mpp](<https://devfeed.tech/tags/mpp.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [partitioning](<https://devfeed.tech/tags/partitioning.md>), [performance](<https://devfeed.tech/tags/performance.md>), [redshift](<https://devfeed.tech/tags/redshift.md>), [s3](<https://devfeed.tech/tags/s3.md>), [scale](<https://devfeed.tech/tags/scale.md>), [snowflake](<https://devfeed.tech/tags/snowflake.md>), [time-series](<https://devfeed.tech/tags/time-series.md>)

### AI overview

This article explains how Snowflake clustering and re-clustering can improve query performance by helping the query engine prune unneeded data. It discusses choosing cluster keys, comparisons with MPP database techniques, and the caveat that naturally ordered time-series data may not need clustering.

### Source excerpt

At Localytics we have petabytes of data that needs to be served at low latencies and we use Snowflake in our mix of data processing technologies. Snowflake, like many other MPP databases, has a way of partitioning data to optimize read-time performance by allowing the query engine to prune

## Cluster Analysis Using K-means Explained

DevFeed: [Cluster Analysis Using K-means Explained](<https://devfeed.tech/articles/cluster-analysis-using-k-means-explained-24974.md>)

Original publisher: [Read original article](<https://codeahoy.com/2017/02/19/cluster-analysis-using-k-means-explained/>)

Author: umer

Published: 2017-02-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Code Ahoy - Articles](<https://devfeed.tech/sources/code-ahoy-articles.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [datasets](<https://devfeed.tech/topics/datasets.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>)

### AI overview

This tutorial explains clustering and k-means, including how k-means assigns data points to clusters, updates cluster centroids, and repeats the process to minimize the total distance within clusters. It also discusses applications and the importance of choosing a clustering method based on requirements and the dataset.

### Source excerpt

Clustering or cluster analysis is the process of dividing data into groups (clusters) in such a way that objects in the same cluster are more similar to each other than those in other clusters. It is used in data mining, machine learning, pattern recognition, data compression and in many other fields. In machine learning, it is often a starting point. In a machine learning application I built couple of years ago, we used clustering to divide six million prepaid subscribers into five clusters and then built a model for each cluster using linear regression. The goal of the application was to predict future recharges by subscribers so operators can make intelligent decisions like whether to grant or deny emergency credit. Another (trivial) application of clustering is for dividing customers into groups based on spending habits or brand loyalty for further analysis or to determine the best promotional strategy. There are various models and techniques for cluster analysis. When I first started, I was mistakenly searching for 'the best clustering model or technique.' I wasn't aware that there is no universal best algorithm and the choice depends on your requirements and the dataset. There are density-based, graph based or centroid based clustering models. We finally settled on a clustering technique called k-means. This blog post is a brain-dump of everything I've learned about clustering and k-means so far. K-means K-means is a very simple and widely used clustering technique. It divides a dataset into 'k' clusters. The 'k' must be supplied by the users, hence the name k-means. It is general purpose and the algorithm is straight-forward: We call the process k-means clustering because we assume that there are k clusters, and each cluster is defined by its center point -- its mean. To find these clusters, we use Lloyd's Algorithm: we start out with k random centroids. A centroid is simply a datapoint around which we form a cluster. For each centroid, we find the datapoints

## Clustering Similar Stories Using LDA

DevFeed: [Clustering Similar Stories Using LDA](<https://devfeed.tech/articles/clustering-similar-stories-using-lda-31894.md>)

Original publisher: [Read original article](<http://engineering.flipboard.com//2017/02/storyclustering>)

Author: https://www.linkedin.com/in/arnab-bhadury-a6304768 (Arnab Bhadury)

Published: 2017-02-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Flipboard](<https://devfeed.tech/sources/flipboard.md>)

Topics: [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [trimming](<https://devfeed.tech/tags/trimming.md>)

### AI overview

This article explains how Flipboard uses a clustering algorithm and Latent Dirichlet Allocation (LDA) to group related stories into multi-source story roundups. It discusses challenges including high-dimensional text representations, differing word usage, unknown cluster counts, and the need for fast updates.

### Source excerpt

There is more to a story than meets the eye, and some stories deserve to be presented from more than just one perspective. With Flipboard 4.0, we have released story roundups, a new feature that adds coverage from multiple sources to a story and provides you with a fuller picture of an event. Here's how it looks: With our scale of millions of articles and constant stream of documents, it's impossible to generate these roundups manually. So, we have developed a clustering algorithm that's both fast and scalable, and in this blog post, I will explain how we create these roundups on Flipboard. Why is this difficult? Although there are many sophisticated automatic clustering algorithms, such as K-means or Agglomerative clustering, story clustering is a non-trivial problem. Because each text document can contain any word from our vocabulary, most text document representations are extremely high-dimensional. In high-dimensional spaces, even basic clustering or similarity measures fail or are very slow. Additionally, two very similar documents often have very different word usages. For example, one article may use the term kitten and another may use feline, but both articles could be referring to the same cat. Furthermore, we don't know the number of roundups that we expect to see beforehand. This makes it difficult for us to directly use parameteric algorithms such as K-means. Our clustering algorithm also needs to be fast and easy to update, because there is a constant stream of documents coming into our system. Overview Since even the most basic distance measures fail in high dimensions, the first thing we do is lower the problem's dimensionality. We represent each of our text documents as a bag-of-words, and remove stop-words and rare words from our vocabulary. Even after an aggressive trimming, the documents are still very high-dimensional. We then we use Latent Dirichlet Allocation (LDA) to further lower the documents' dimensionality. We use LDA because this algorith

## Big Dimensions, and What You Can Do About It

DevFeed: [Big Dimensions, and What You Can Do About It](<https://devfeed.tech/articles/big-dimensions-and-what-you-can-do-about-it-40396.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2016/02/08/big-dimensions-and-what-you-can-do-about-it/>)

Published: 2016-02-08T10:00:14Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [math](<https://devfeed.tech/topics/math.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [datasets](<https://devfeed.tech/topics/datasets.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [math](<https://devfeed.tech/tags/math.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

### AI overview

The article uses movie-title data to illustrate the curse of dimensionality: as vector dimensions grow, geometric intuition and clustering algorithms can perform poorly. It introduces dimension reduction as a way to condense high-dimensional data while retaining important geometric properties, and discusses embeddings and their mathematical guarantees.

### Source excerpt

Data is abundant, data is big, and big is a problem. Let me start with an example. Let's say you have a list of movie titles and you want to learn their genre: romance, action, drama, etc. And maybe in this scenario IMDB doesn't exist so you can't scrape the answer. Well, the title alone is almost never enough information. One nice way to get more data is to do the following:

## CHAR(14): Conference on Clustering, High Availability, Replication, and Distributed Architectures

DevFeed: [CHAR(14): Conference on Clustering, High Availability, Replication, and Distributed Architectures](<https://devfeed.tech/articles/char-14-34628.md>)

Original publisher: [Read original article](<https://tapoueh.org/conf/char14/>)

Published: 2014-07-07T22:00:00Z

Content type: article

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [migration](<https://devfeed.tech/topics/migration.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [parallel](<https://devfeed.tech/topics/parallel.md>), [CSV](<https://devfeed.tech/topics/csv.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [csv](<https://devfeed.tech/tags/csv.md>), [database-migration](<https://devfeed.tech/tags/database-migration.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [replication](<https://devfeed.tech/tags/replication.md>)

### AI overview

CHAR(14) is an international conference focused on clustering, high availability, replication, and parallel, distributed, and grid architectures. The page also describes a lightning talk about pgLoader and its support for input formats and database migration to PostgreSQL.

### Source excerpt

A lightning talk about pgLoader and the wide range of input formats it accepts, from CSV to advanced database migration from MS SQL or MySQL to PostgreSQL.

[Next page](<https://devfeed.tech/tags/clustering.md?cursor=WyIyMDE0LTA3LTA3VDIyOjAwOjAwKzAwOjAwIiwgImQyNzQxMGNkLTJkMzEtNGNmMy04ZGEyLWNlM2UzY2FhMmY2NSJd>)