Zum Inhalt springen
onsuggest
Anmelden
Artikel en

parse_number() as a SQLite extension: C vs Rust

Quelle: Simon Willison ·

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

Was ist parse_number() as a SQLite extension: C vs Rust?

parse_number() as a SQLite extension: C vs Rust is a artikel discovery curated from Simon Willison. 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

Wie kann ich darauf zugreifen oder es ausprobieren?

You can experience this content directly on its original host (Simon Willison) by clicking the "Open Original" button.

Woher stammt dieser Inhalt?

Curated from Simon Willison by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Artikel · Technik

DIY Quiz Show Controller System #AdafruitLearnSystem

Build a Jeopardy-like Game Show Buzzer with a Circuit Playground Bluefruit! The first player to press their buzzer will illuminate the Host controller with the color of the buzzer handle! You can even enable Bluetooth button presses to a computer or mobile device! The code is written in CircuitPython, so it’s easy to change the […]

Adafruit Blog Details anzeigen →
Artikel · Technik

Catch the backyard raccoon in the act with $105 night vision binoculars

TL;DR: Get Double Barrel 720p Digital Night Vision Binoculars with infrared LEDs and 4x zoom for $104.97 (reg. $297.99). Regular binoculars stop being useful once the sun goes down, because they can only magnify light that's already there. If you want to see what's moving around after dark, try the Double Barrel 720p Digital Night Vision Binoculars. — Read the rest The post Catch the backyard raccoon in the act with $105 night vision binoculars appeared first on Boing Boing .

Boing Boing Details anzeigen →

Tastaturkürzel

Vorherige Entdeckung
←P
Nächste Entdeckung
→N
Mögen
L
Nicht für mich
X
Speichern
S
Diese Hilfe anzeigen
?
Schließen
Esc

Die Kürzel funktionieren auf der Entdeckungsseite.