Aller au contenu
onsuggest
Connexion
Article en

parse_number() as a SQLite extension: C vs Rust

Source: 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

Qu'est-ce que parse_number() as a SQLite extension: C vs Rust ?

parse_number() as a SQLite extension: C vs Rust is a article 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

Comment puis-je y accéder ou l'essayer ?

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

D'où vient ce contenu ?

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

Article · Technologie

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 Voir les détails →
Article · Technologie

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 Voir les détails →

Raccourcis clavier

Découverte précédente
←P
Découverte suivante
→N
J'aime
L
Pas pour moi
X
Enregistrer
S
Afficher cette aide
?
Fermer
Esc

Les raccourcis fonctionnent sur la page des découvertes.