28 Matching Annotations
  1. Last 7 days
    1. RIP, vector database
      • Architectural Transition in turbopuffer v3:
        • turbopuffer is overhauling its core storage layout by demoting Approximate Nearest Neighbor (ANN) search from the primary index to "just another" secondary index.
        • This change aims to accelerate full-text, regex, and vector search, while providing the underlying architecture to efficiently support broader SQL operations (such as GROUP BY and aggregations).
      • Evolution from v1 to v2:
        • v1 (Vector-Only): Focused strictly on low-cost, fast vector search backed by object storage with NVMe/RAM caching. It used hierarchical clustering indexes (SPANN, later SPFresh) keyed by an "ANN address" (ClusterId + LocalId) as the primary index.
        • v2 (Attribute & Full-Text Search): Introduced inverted indexes for attribute filtering and BM25 full-text search, along with regex, aggregations, and sparse vectors—all built around the legacy vector-primary layout.
      • Limitations of a Vector-Primary Architecture:
        • Storage Amplification: Because document data is stored directly under the vector's ANN address, multi-vector representations (e.g., late-interaction models, nested docs) duplicate non-vector data across each vector.
        • Write Amplification: Cluster rebalancing in SPFresh cascades heavily; moving an ANN address requires relocating all document contents, inverted indexes, and full-text metadata associated with it.
        • Limited Vectorization: Query execution engines perform best with specific block sizes (e.g., DuckDB at ~2,048 rows, ClickHouse at ~65k). A vector-primary index constrains non-vector scans and aggregations to ANN cluster sizes (100–200 documents), preventing optimal SIMD and CPU pipeline saturation.
      • The v3 Solution:
        • By dropping the ANN address as the primary key and separating document storage from vector clustering, v3 eliminates these amplification bottlenecks and allows independent optimization for vector, full-text, and relational query plans.

      Hacker News Discussion

      • Parallels with Relational Database Storage Engines (Postgres vs. MySQL):
        • Commenters highlighted that turbopuffer's shift closely resembles the architectural contrast between PostgreSQL and MySQL (InnoDB).
        • PostgreSQL ties secondary indexes directly to physical tuple addresses (ctid/row-id), leading to write amplification on updates. In contrast, MySQL points secondary indexes to a stable primary key, introducing an indirection layer during lookups but substantially lowering re-indexing costs during updates.
        • Users drew comparisons to Uber’s classic migration from Postgres to MySQL, which was motivated by similar index-write amplification issues.
      • Trade-offs of Indirection and Primary Clustered Indexes:
        • Participants debated the lookup overhead of stable-ID indirection versus direct pointers. Several noted that because primary key B-trees are typically kept in memory or cache, the extra traversal penalty is negligible compared to reading pages off disk.
        • Commenters discussed how clustered primary key indexes (like InnoDB) enable cleaner MVCC and undo logging strategies compared to heap-based storage with vacuuming.
      • Discussion on AI and Comment Quality:
        • A tangential discussion emerged regarding automated or LLM-generated commentary on tech forums, debating the effectiveness of gated registrations (like Lobste.rs) versus open registration platforms.
  2. Jun 2026
    1. As model sizes and the number of embeddings grow, vector databases become more memory-intensive and harder to scale efficiently using only DRAM or GPU memory. Keeping vectors in slower storage tiers increases retrieval latency and limits throughput.

      Vector DB memory pressure is a sleeper problem in RAG deployments: billion-scale embedding indices require terabytes of memory that neither GPU VRAM nor DRAM can economically provide. CXL memory's terabyte-scale capacity at near-DRAM latency could be the missing tier that makes in-memory vector search viable at enterprise scale.

  3. May 2026
    1. The external script identifies links to other workbooks in the stolen data, exfiltrates the discovered workbooks, and continues across all workbooks it can find

      大多数人认为数据泄露通常局限于被直接攻击的文件,但作者展示了攻击者能够通过分析泄露数据中的链接自动发现并传播到其他相关工作簿,这挑战了人们对数据泄露范围的传统认知,揭示了AI工具可能导致的级联风险。

  4. Apr 2026
    1. Unfortunately, the attacker got further access through their enumeration.

      大多数人认为环境变量即使不敏感也难以被利用,但作者指出攻击者通过枚举这些变量获得了进一步访问权限,这挑战了'非敏感数据不值得保护'的常见观念,暗示即使是看似无害的数据也可能成为攻击链的一部分。

    1. Hallucinated packages are the sleeper threat. LLMs regularly invent package names that don't exist. One study found that nearly 20% of AI-recommended packages were fabrications, and 43% of those hallucinated names appeared consistently across queries.

      大多数人认为AI推荐的包都是真实存在的,但作者揭示了AI经常推荐不存在的包,这已成为一种新的攻击向量。攻击者利用这一现象注册'幻觉包'并植入恶意代码,这种'slopsquatting'技术让AI本身成为供应链攻击的放大器。

  5. Mar 2025
  6. Sep 2023
    1. Based on an analysis of suitable habitats, the researchers estimate the ants could invade 7% of the European continent.
      • for: stats, stats - invasive species - red fire ants,
      • stats:
        • prefers farms and cities
          • could infest 50% of urban areas
        • could inhabit up to 7% of EU continent
        • infestation vectors
          • walk
          • fly
          • carried by wind
          • shipping
            • Sicily, the site of discovery, ships a variety of plants across the Mediterranean
          • Southern Spain offers ideal climate for red fire ants
          • Climate change could increase its range by 25% by 2050.
  7. Apr 2023
  8. Feb 2023
    1. | physics/mathematics | Classical Physics | Quantum Mechanics |<br /> |---|---|---|<br /> | State Space | fields satisfying equations of laws<br>- the state is given by a point in the space | vector in a complex vector space with a Hermitian inner product (wavefunctions) |<br /> | Observables | functions of fields<br>- usually differential equations with real-valued solutions | self-adjoint linear operators on the state space<br>- some confusion may result when operators don't commute; there are usually no simple (real-valued) numerical solutions |

    1. Although these vectors were safe, many gene therapy programs failed in the clinic because of poor transduction.

      i.e., these were not good expression vectors because they did not effectively transfer transgenetic material to the host.

  9. Aug 2022
  10. Feb 2022
  11. Oct 2021
    1. Barros-Martins, J., Hammerschmidt, S. I., Cossmann, A., Odak, I., Stankov, M. V., Morillas Ramos, G., Dopfer-Jablonka, A., Heidemann, A., Ritter, C., Friedrichsen, M., Schultze-Florey, C., Ravens, I., Willenzon, S., Bubke, A., Ristenpart, J., Janssen, A., Ssebyatika, G., Bernhardt, G., Münch, J., … Behrens, G. M. N. (2021). Immune responses against SARS-CoV-2 variants after heterologous and homologous ChAdOx1 nCoV-19/BNT162b2 vaccination. Nature Medicine, 1–5. https://doi.org/10.1038/s41591-021-01449-9

  12. Sep 2021
  13. Jul 2021
  14. Jan 2021
  15. Dec 2020
  16. Aug 2020
    1. Felipe, L. S., Vercruysse, T., Sharma, S., Ma, J., Lemmens, V., Looveren, D. van, Javarappa, M. P. A., Boudewijns, R., Malengier-Devlies, B., Kaptein, S. F., Liesenborghs, L., Keyzer, C. D., Bervoets, L., Rasulova, M., Seldeslachts, L., Jansen, S., Yakass, M. B., Quaye, O., Li, L.-H., … Dallmeier, K. (2020). A single-dose live-attenuated YF17D-vectored SARS-CoV2 vaccine candidate. BioRxiv, 2020.07.08.193045. https://doi.org/10.1101/2020.07.08.193045

  17. Jun 2020
  18. May 2020
  19. Mar 2020
  20. May 2019
  21. Mar 2018
  22. Mar 2015