Hacker News with Generative AI: API

Libvirt 11.0 Released for Open-Source Virtualization API (phoronix.com)
Libvirt 11.0 was christened today as the newest version of this open-source Virtualization API for managing VMs on Linux and other platforms while supporting KVM, QEMU, Xen, VMware ESX, LXC, Bhyve, and other hypervisors.
Scaling LLMs with Golang: How we serve millions of LLM requests (assembled.com)
While the LLM ecosystem is overwhelmingly Python-first, we've found Go to be exceptionally well-suited for production deployments. Our Go-based infrastructure handles millions of monthly LLM requests with minimal performance tuning. Beyond Go's well-documented advantages (see Rob Pike’s excellent distillation of Go's benefits), three capabilities have proven particularly valuable for LLM workloads: static type checking for handling model outputs, goroutines for managing concurrent API calls, and interfaces for building composable response pipelines.
Making Beautiful API Keys (agentstation.ai)
Since developers are our customers, we wanted them to have beautiful API keys.
Say Goodbye to Outdated Footer Years, Forever (getfullyear.com)
Service degradation: Our API is occasionally returning 2024 instead of 2025. Our intern is investigating and working on a fix. We apologize for any inconvenience.
There's no good reason for signing webhooks (speakeasy.com)
Interesting fact: 80% of API producers sign their webhook requests with HMAC-SHA256 (opens in a new tab).
Say Goodbye to Outdated Footer Years, Forever (getfullyear.com)
Service degradation: Our API is occasionally returning 2024 instead of 2025. Our intern is investigating and working on a fix. We apologize for any inconvenience.
Stripe V2 (brandur.org)
I happened to notice by way of a Slack bot today that Stripe released a V2 version of their API. I thought this must’ve been a soft launch right before the holidays, surely to be followed up by a more formal blog post, but the Way Back Machine clocked the page in early October, making it three months old. It’s been there all along, I just hadn’t seen it before.
Ask HN: Embeddable Browser Alternatives to Browserling? (ycombinator.com)
I'd love to use them, just they won't reply to any emails about their Live API. I can't seem to find any reasonable alternatives to https://www.browserling.com/api
OpenAI WebRTC Audio Demo (simonwillison.net)
OpenAI announced a bunch of API features today, including a brand new WebRTC API for setting up a two-way audio conversation with their models.
Go Protobuf: The New Opaque API (go.dev)
We created the new Opaque API to uncouple the Generated Code API from the underlying in-memory representation.
ChatGPT Down (openai.com)
We have reports of API calls returning errors, and difficulties logging in to platform.openai.com and ChatGPT. We have identified the issue and are working to roll out a fix.
Advanced OAuth2: Refresh Tokens and Token Expiration Strategies (igventurelli.io)
OAuth2 has become the backbone of secure authorization in modern applications, enabling applications to access resources on behalf of users. While the initial implementation of access tokens is relatively straightforward, managing their expiration and handling refresh tokens efficiently is critical for a seamless user experience and robust security. In this post, we’ll explore advanced concepts of OAuth2, focusing on refresh tokens and token expiration strategies, with practical examples using Java and Spring Boot.
Webhooks Are Harder Than They Seem (svix.com)
At first glance, webhooks seem simple. You take an event in your system—a user signs up, a file gets uploaded—and you send an HTTP POST request to a URL provided by your customer. Done. Easy. Or so it seems...
I was wrong about GraphQL (wundergraph.com)
I've been building GraphQL tools and writing about the technology since 2018. Over the years, I've shared my thoughts on various aspects of GraphQL. From best practices to controversial opinions—I've covered a lot of ground.
Vulkan 1.4 Streamlines Development, Deployment of GPU-Accelerated Applications (khronos.org)
SIGGRAPH Asia, Tokyo, Japan – December 3, 2024 – Today, the Khronos® Group, an open consortium of industry-leading companies dedicated to creating advanced interoperability standards, has announced the release of Vulkan® 1.4, the latest version of its cross-platform 3D graphics and compute API.
Tesla releases API pricing, dev says would cost $60M/year to run his app (electrek.co)
Tesla has released API pricing for third-party apps and this developer says that it would cost them $60 million per year to run their third-party Tesla app under these new pricing.
Spotify cuts developer access to several of its recommendation features (techcrunch.com)
Spotify will no longer allow developers building third-party apps with its Web API to access several features within the music streaming platform, such as song and artist recommendations, the company announced in a developer blog post on Wednesday.
Show HN: Neon-PostgREST – Build a Supabase-Like API/SDK DevX over Neon (github.com/zuplo-samples)
Are you using/considering Neon (or your own hosted Postgres) - but wish you had the ability to interact with your database via API/SDK like Supabase? Look no further! This project shows you exactly how to recreate the Supabase API and developer experience. Try the Demo.
Model Context Protocol (anthropic.com)
Today, we're open-sourcing the Model Context Protocol (MCP), a new standard for connecting AI assistants to the systems where data lives, including content repositories, business tools, and development environments. Its aim is to help frontier models produce better, more relevant responses.
Show HN: Autotab – Programmable AI browser for turning web tasks into APIs (ycombinator.com)
Hey HN, we're Alexi and Jonas the co-founders of Autotab (https://autotab.com). Autotab is a chrome-based browser you can teach to do complex tasks, with a simple API for running them from your app or backend.
Using gRPC for (local) inter-process communication (2021) (mpi-hd.mpg.de)
Using a full-featured RPC framework for IPC seems like overkill when the processes run on the same machine. However, if your project anyway exposes RPCs for public APIs or would benefit from a schema-based serialisation layer it makes sense to use only one tool that combines these—also for IPC.
Show HN: Vratix – Open source API Modules that simplify backend development (github.com/vratix-dev)
We created this library of reusable API modules to simplify API development because we were wasting too much time setting up basic functionality and researching the latest backend best practices.
Hyrumtoken: A Go package to encrypt pagination tokens (github.com/ssoready)
hyrumtoken is a Go package to encrypt pagination tokens, so that your API clients can't depend on their contents, ordering, or any other characteristics.
Blue Sky OAuth Client Implementation Docs (bsky.app)
This is a guide to implementing atproto OAuth clients "The Hard Way." Optimistically, most developers will have an SDK available for their programming language which supports OAuth, and they can simply refer to SDK documentation. This guide is intended for early adopters, SDK maintainers, or developers with more sophisticated OAuth needs. It is agnostic to whether developers are building clients to work the the app.bsky microblogging Lexicons, or implementing novel application Lexicons.
Discord API Errors (discordstatus.com)
We are currently investigating an issue affecting latency and errors on various API endpoints.
Show HN: Get any domain's brand data via API (brand.dev)
Get logos, primary colors, descriptions, classifications, and more from any domain with a single api call.
Requesting Spotify access_token's to use their API in seconds (spoken.host)
Show HN: Tile.run – Extract structured data from any document via API (tile.run)
tile.run is the simplest way to extract data from any document with best in class accuracy.
New OpenAI Feature: Predicted Outputs (simonwillison.net)
New OpenAI feature: Predicted Outputs (via) Interesting new ability of the OpenAI API - the first time I've seen this from any vendor.
PSA: KDecoration API break in Plasma 6.3 (zamundaaa.github.io)
Fractional scaling is hard. Anyone that had the misfortune of working on it knows that… so it won’t surprise a lot of people that it’s not all figured out yet! Today I’ll talk about the fractional scaling problems with KWin’s server side decorations, and why we need to do an API break to fix it.