DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Using an OpenAI-compatible API with 262K context and tool calling

Using an OpenAI-compatible API with 262K context and tool calling

Comments
1 min read
Faster Decoding for Language Models: Smaller Caches, Smarter Drafts

Faster Decoding for Language Models: Smaller Caches, Smarter Drafts

Comments
5 min read
Norway's company register API in Python: new limited companies by industry code, last 7 days, in a CSV (no API key)

Norway's company register API in Python: new limited companies by industry code, last 7 days, in a CSV (no API key)

Comments
8 min read
How to Convert a URL to PDF in Code (Node.js, Python, cURL)

How to Convert a URL to PDF in Code (Node.js, Python, cURL)

Comments
5 min read
Catching Skill Drift in Your AI Agent with a Baseline and a Simple Threshold Check

Catching Skill Drift in Your AI Agent with a Baseline and a Simple Threshold Check

Comments
5 min read
How Minecraft Seeds Work: Reimplementing Java Random in Python

How Minecraft Seeds Work: Reimplementing Java Random in Python

Comments
2 min read
Separate the Job, the Run, and the Worker Claim

Separate the Job, the Run, and the Worker Claim

Comments
9 min read
How an AI Music Style Finder Works: Features, Classifiers and a Toy Python Example

How an AI Music Style Finder Works: Features, Classifiers and a Toy Python Example

Comments
7 min read
Five SQL patterns that made my audit lie: 1,613 rows a naive dedupe would have deleted

Five SQL patterns that made my audit lie: 1,613 rows a naive dedupe would have deleted

Comments
7 min read
I ran a controlled observation on a simple contradiction: the same email contains two different values for the same field (application deadline).

I ran a controlled observation on a simple contradiction: the same email contains two different values for the same field (application deadline).

Comments
2 min read
Cluster a keyword list into topic groups with Python (TF-IDF + agglomerative clustering)

Cluster a keyword list into topic groups with Python (TF-IDF + agglomerative clustering)

Comments
5 min read
Put a Streamlit app behind Okta

Put a Streamlit app behind Okta

Comments
4 min read
Put a Dash app behind Google sign-in

Put a Dash app behind Google sign-in

Comments
4 min read
Five resampling filters on one product photo: 5.4x on edge error, and sharpening makes it worse

Five resampling filters on one product photo: 5.4x on edge error, and sharpening makes it worse

Comments 1
12 min read
You can't filter out prompt injection. Put the guardrails at the tool call instead

You can't filter out prompt injection. Put the guardrails at the tool call instead

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.