本文へスキップ
onsuggest
ログイン
記事 en

parse_number() as a SQLite extension: C vs Rust

情報源: 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

parse_number() as a SQLite extension: C vs Rustとは?

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

どのようにアクセスまたは体験できますか?

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

このコンテンツの提供元は?

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

記事 · テクノロジー

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 詳細を見る →
記事 · テクノロジー

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 詳細を見る →

キーボードショートカット

前の発見
←P
次の発見
→N
いいね
L
合わない
X
保存
S
このヘルプを表示
?
閉じる
Esc

ショートカットは発見ページで使えます。