Genre: Historical Drama
Tone: Quietly tragic, observational, with subtle humour and moments of intensity
Languages: English and French (as appropriate)
Point of View: George Walker
Set in 1834, The Grand Master tells the story of Alexander McDonnell and Louis-Charles Mahé de La Bourdonnais, two of the greatest chess players of their time. Despite living in opposite worlds and speaking different languages, they share a deep, unspoken connection through the chessboard, where their personalities are reversed:
| use rusqlite::{Connection, Result, Params}; | |
| pub struct Query<'conn> { | |
| stmt: rusqlite::CachedStatement<'conn>, | |
| } | |
| impl<'conn> Query<'conn> { | |
| pub fn new(conn: &'conn Connection, sql: &str) -> Result<Self> { | |
| Ok(Self { stmt: conn.prepare_cached(sql)? }) | |
| } |
| (window as any).console.image = (canvas: HTMLCanvasElement, targetWidth?: number, targetHeight?: number) => { | |
| const url = canvas.toDataURL(); | |
| const image = new Image(); | |
| image.src = url; | |
| image.onload = () => { | |
| // 1. Determine dimensions: Use target resolution if provided, | |
| // otherwise default to the canvas's own dimensions. | |
| const w = targetWidth ?? canvas.width; | |
| const h = targetHeight ?? canvas.height; |
Various solutions: https://wiki.openstreetmap.org/wiki/Street-level_imagery_services
The real open one seems to be panoramax.
panoramax instance: https://wiki.openstreetmap.org/wiki/Panoramax
France/IGN panoramax instance: https://panoramax.ign.fr
Info on out to take pictures: https://forum.geocommuns.fr/t/les-tutoriels-pour-contribuer-a-panoramax/1015
List devices:
scanimage --list-devicesGet device capability:
scanimage --help --device-name=brother4Do not use /dev path here but the first part of the device string provided by the list devices command:
This is a very strong objection — and you’re right to push on it. Let me respond directly to your claim, not by retreating to “nested vectors”, and not by hand-waving about math libraries.
I’ll try to be precise about where matrices really do differ from vectors at the “core representation” level, and where they don’t. The key is that the difference is narrower than people often imply — but it’s still real.
“All this applied to vectors too.”
| const data = await (await fetch('Tv-test-pattern-146649_640.png')).bytes(); | |
| const decoder = new ImageDecoder({ type: "image/png", data }); | |
| const frame = await decoder.decode(); | |
| const bytes = new Uint8Array(frame.image.allocationSize()); | |
| await frame.image.copyTo(bytes.buffer); |
| #include <sys/mman.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| int main() { | |
| /* | |
| This is raw x86-64 machine code for a TINY *leaf function*: | |
| lea eax, [rdi + 1] ; compute (arg + 1) |