| tags |
|
||
|---|---|---|---|
| created | 2026-09-14 |
排版错误与数值错误。有一些是翻译版引入,有一些是原书中就有的错误。
书籍为2026年3月第1版第4次印刷。ISBN 978-7-111-72784-2
| //! Use command: | |
| //! | |
| //! ```shell | |
| //! freq=88.6; airspy_rx -f $freq -a 10000000 -t 0 -h 10 -b 0 -r - \ | |
| //! | ~/code/radio-and-ham-tools/target/release/demo5 \ | |
| //! | ffmpeg -f f32le -ch_layout mono -ar 250000 -i pipe:0 \ | |
| //! -af "aemphasis=type=50fm:mode=reproduction,lowpass=f=15000:p=2,bandreject=f=19000:width_type=h:width=50" \ | |
| //! -ch_layout mono -ar 48000 -c:a pcm_f32le -f f32le - \ | |
| //! | pacat --format=float32le --channels=1 --rate=48000 | |
| //! ``` |
| tags |
|
||
|---|---|---|---|
| created | 2026-09-14 |
排版错误与数值错误。有一些是翻译版引入,有一些是原书中就有的错误。
书籍为2026年3月第1版第4次印刷。ISBN 978-7-111-72784-2
| // ==UserScript== | |
| // @name Gemini Save to TXT | |
| // @namespace https://github.com/bczhc | |
| // @version 2.0 | |
| // @description Extract current Gemini conversation and download as .txt | |
| // @author bczhc | |
| // @match https://gemini.google.com/app/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=gemini.google.com | |
| // @grant GM_registerMenuCommand | |
| // @grant GM_notification |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <sys/socket.h> | |
| #include <sys/syscall.h> | |
| #include <sys/types.h> | |
| #include <stdint.h> |
| [package] | |
| name = "wine" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "0ca8ba04acbca7caa964d64492da0e831d9da35c" } | |
| winit = "0.30" | |
| pollster = "1.0" | |
| env_logger = "0.11" |
| PID: 423290 (java) | |
| UID: 1000 (bczhc) | |
| GID: 1000 (bczhc) | |
| Signal: 11 (SEGV) | |
| Timestamp: Thu 2026-04-09 11:52:11 CST (2min 45s ago) | |
| Command Line: /usr/lib/jvm/java-26-openjdk/bin/java -Xss8m -Xmx13901m -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8 -Djava.rmi.server.useCodebaseOnly=true -Dcom.sun.jndi.rmi.object.trustURLCodebase=false -Dcom.sun.jndi.cosnaming.object.trustURLCodebase=false -Dlog4j2.formatMsgNoLookups=true -Dlog4j.configurationFile=/mnt/nvme/mc-game/mc/.minecraft/versions/26.2-snapshot-1/log4j2.xml -Dminecraft.client.jar=/mnt/nvme/mc-game/mc/.minecraft/versions/26.2-snapshot-1/26.2-snapshot-1.jar -Duser.home=/mnt/nvme/mc-game/mc -Djava.net.useSystemProxiestrue -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+UseG1GC -XX:G1MixedGCCountTarget=5 -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32m -XX:-OmitStackTraceInFastThrow -XX:-DontCompileHugeMethods -XX:MaxNodeLim |
| @ 24 java.lang.invoke.Invokers::checkCustomized (23 bytes) force inline by annotation | |
| @ 1 java.lang.invoke.MethodHandleImpl::isCompileConstant (2 bytes) inline | |
| @ 33 java.lang.invoke.LambdaForm$MH/0x0000000097d9dc00::invoke (54 bytes) force inline by annotation | |
| @ 21 java.lang.invoke.LambdaForm$MH/0x000000009717dc00::invoke (37 bytes) force inline by annotation | |
| @ 15 java.lang.invoke.LambdaForm$DMH/0x0000000097155800::invokeStatic (14 bytes) force inline by annotation | |
| @ 1 java.lang.invoke.DirectMethodHandle::internalMemberName (8 bytes) force inline by annotation | |
| @ 10 java.lang.foreign.MemorySegment::ofAddress (6 bytes) inline | |
| @ 2 jdk.internal.foreign.Segme |
| @ 24 java.lang.invoke.Invokers::checkCustomized (23 bytes) force inline by annotation | |
| @ 1 java.lang.invoke.MethodHandleImpl::isCompileConstant (2 bytes) inline | |
| @ 33 java.lang.invoke.LambdaForm$MH/0x0000000097d9dc00::invoke (54 bytes) force inline by annotation | |
| @ 21 java.lang.invoke.LambdaForm$MH/0x000000009717dc00::invoke (37 bytes) force inline by annotation | |
| @ 15 java.lang.invoke.LambdaForm$DMH/0x0000000097155800::invokeStatic (14 bytes) force inline by annotation | |
| @ 1 java.lang.invoke.DirectMethodHandle::internalMemberName (8 bytes) force inline by annotation | |
| @ 10 java.lang.foreign.MemorySegment::ofAddress (6 bytes) inline | |
| @ 2 jdk.internal.foreign.Segme |
| From 2d9d26b81bb1b3eec9c33b52bc9a2a8c7dd6fb8b Mon Sep 17 00:00:00 2001 | |
| From: Loukas Agorgianitis <loukas@agorgianitis.com> | |
| Date: Mon, 13 Jan 2025 21:43:56 +0200 | |
| Subject: [PATCH] render: make transformations in geometry space | |
| Previously, the rendering process made transformations in logical | |
| geometry space. When using fractional scaling, this process scaled | |
| the transformations to the logical geometry space and back using the | |
| fractional scale, which led to floating point rounding errors. This, | |
| produced non pixel perfect / slightly blurry images. |
| #![feature(file_buffered)] | |
| use clap::Parser; | |
| use serde::Serialize; | |
| use std::fs::File; | |
| use std::path::{Path, PathBuf}; | |
| #[derive(Parser)] | |
| struct Args { | |
| path: PathBuf, |