▲ 2 r/Rag

Do embeddings convert individual characters or nonsensical words to vectors?

I see that embeddings don't always vectorize whole words, but subwords or even single characters. If for instance the sequence 'ca' from 'cat' is vectorized, what does 'ca' even mean?
what kind of dimensions does it get converted to? I thought that vectors assign meaning to the parsed sequence.
and how does the model build "Cat" from ca + t after vectorizing both ?

reddit.com
u/pmz — 9 days ago
▲ 6 r/devsecops+1 crossposts

CISA's OSS Security Principles and Practices

"OSS Security Principles and Practices" is Cybersecurity and Infrastructure Security Agency's (CISA) strategic framework for federal agencies to manage open source software throughout its entire lifecycle. This on IProgrammer article discusses the key points.

reddit.com
u/pmz — 13 days ago

Openspec workflow

When initiating a project with Openspec, do you prefill the "source of truth" main spec files, i.e auth/spec and then run opsx/proposal or opsx/change? Or you start with proposal from the beginning?

reddit.com
u/pmz — 25 days ago

Openspec workflow

When initiating a project with Openspec, do you prefill the "source of truth" main spec files, i.e auth/spec and then run opsx/proposal or opsx/change? Or you start with proposal from the beginning?

reddit.com
u/pmz — 25 days ago

Openspec and OpenCode AGENTS.md

How does the coding agent (Opencode) AGENTS.md file relate to Openspec? I mean, when using Openspec comannds like opsx/apply etc from within Opencode, is Opencode's own AGENTS.md file been taken into account in building the project or is it overidden by openspec's config.yaml?

reddit.com
u/pmz — 1 month ago

cq: A Shared Knowledge Commons for AI Agents

Mozilla AI has introduced cq, an open-source standard and platform designed to facilitate shared learning among AI agents. This promises to eliminate a lot of duplicated effort on the part of AI agents, thereby making savings in terms of cost and resources.

reddit.com
u/pmz — 1 month ago

pg_durable - Durable SQL Functions And Orchestration For PostgreSQL

pg_durable is a Microsoft developed PostgreSQL extension that integrates fault-tolerant, long-running execution directly into the database.

To understand why this is useful, think about what normally happens if you run a long, complex database job and the server crashes or your connection drops; you lose your progress, and you have to start all over again.

https://www.i-programmer.info/news/80-java/18984-pgdurable-durable-sql-functions-and-orchestration-for-postgresql.html

reddit.com
u/pmz — 1 month ago
▲ 1 r/Python

This article explains concurrency in Python including topics like multithreading, multiprocessing, race conditions, and synchronization mechanisms such as locks. It then take a deep dive into switching off GIL to enable real multithreading in Python, highlighting the differences, the benefits and the gotchas with clear code examples.

reddit.com
u/pmz — 4 months ago