#sqlite
5 条发现 · 精选自开放网络的发现,按时间从新到旧。
-
parse_number() as a SQLite extension: C vs Rust
Research: parse_number() as a SQLite extension: C vs Rust I was out walking the dog when I got curious about how easy/difficult it would be to write a SQLite C extension that adds a parse_number() function for turning strings like -$1,234.56 or '12.5%' into numeric values that could be summed and sorted. I fired up regular Claude chat (Opus 5.5) and prompted : I'm thinking about a SQLite custom function 'parse_number(value)' that strips ',', '$', '£' and '%', handles a leading '-', and returns 'NULL' for anything it can’t parse Explore the difference between building this as a SQLite extension
Simon Willison · EN
-
部品の脆弱性は、どこまで広がるのか? 主要 64 製品と 8 部品の依存関係をたどったら、OpenSSL は 20、SQLite は 16、PHP は 11 だった
AI が、広く使われるソフトウェア部品(コンポーネント)の脆弱性を見つけ始めました。Google の AI のエージェント(Big Sleep) は SQLite の脆弱性を、Google の AI で作ったテスト(OSS-Fuzz) は OpenSSL の脆弱性を見つけ...
Qiita · JA
-
Cloudflare Scales D1 Control Plane to Millions of Databases
In a recent article, Cloudflare shared the redesign of the control plane of its D1 serverless SQL database to support millions of databases, avoiding centralized bottlenecks, implementing retries and idempotency, and using eventual consistency. By Renato Losio
InfoQ · EN
-
Introduction to Python SQL Libraries
Connect to SQLite, MySQL, and PostgreSQL databases with Python SQL libraries, then run common queries from a single Python application.
Real Python · EN
-
Learning a few things about running SQLite
Hello! I’ve been working on a Django site recently, and I decided to use SQLite as the database. When I was getting started with using SQLite as database for a website I read a bunch of blog posts about how it is totally fine to use SQLite in production for a small site and I think it is totally fine, but what I did not fully appreciate is that SQLite is still a database, databases are complicated, and I do not know a lot about operating databases. So here are a couple of small things I’ve been learning about running SQLite. This is the 4th website I’ve used SQLite for, and I
Julia Evans · EN