开发者
编程技术、框架工具、最佳实践
共 7304 篇 · 第 246/366 页
Google’s first smart speaker in six years arrives next week
Google's first new smart speaker in six years starts shipping on June 29th, narrowly missing its promised spring launch window. Preorders for the Google Home Speaker open today, June 17th. Nothing has changed hardware-wise in the nine months since the $99 speaker was announced. It has the same slightly squished round design, with touch-capacitive buttons […]
git diff on JSON is mostly noise. So I built a structural diff.
You change one value in a JSON config, run git diff , and get a wall of red and green — because a formatter reflowed the file, or the serializer reordered the keys, or the indentation shifted by two spaces. The one thing you actually changed is buried in there somewhere. Good luck finding it in review. The problem is that git diff and diff work on lines . JSON isn't lines — it's a tree. So I built jdelta : it compares the data , ignores key order and whitespace entirely, and tells you exactly which values changed, addressed by path. Zero dependencies, no network. What it looks like $ jdelta config.before.json config.after.json Added (1) + features.darkMode true Changed (2) ~ auth.required true → false ~ server.port 8080 → 3000 +1 -0 ~2 auth.required flipped to false and you can see it instantly — no scrolling past 200 lines of reindented braces. Why not git diff / diff ? Because they diff text. Run a formatter, sort your keys, change two spaces of indent, and a line differ lights up the whole file while reporting zero semantic change. jdelta parses both sides and walks the trees: Object keys show as user.profile.age ; array elements as items[2].price . Odd keys fall back to quoted brackets ( ["order-id"] ). A key on only one side is added / removed ; a key on both with a different value is changed . A type change ( number → string , object → array ) is one changed entry tagged with the kinds — not a confusing add + remove. Reordered keys and whitespace produce nothing , because they aren't data changes. Great for reviewing config changes, API-response snapshots, tsconfig / settings.json , lockfile-adjacent files, and test fixtures. In scripts and CI jdelta a.json b.json --json # machine-readable: {added, removed, changed, summary} jdelta a.json b.json --quiet # just the +a -r ~c line jdelta a.json b.json --exit-code # exit 1 if they differ — gate a pipeline on it Install npx jdelta a.json b.json # Node build (npm) pip install jdelta # Python build — same behavior Tw
Hinton's Forward Forward Algorithm in Python
submitted by /u/DataBaeBee [link] [留言]
Ocient Database Sandbox
Data Leak at Ozempic Manufacturer Novo Nordisk
Human Judgment as a Specification
A library for pathfinding, traversal, and transformation of graph structures
submitted by /u/High-Impact-2025 [link] [留言]
Denmark desperately needs more inequality
Cosmodial Sky Atlas
MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C
The Best Robot Lawn Mowers (2026): TerraMow, Mammotion
Smart mowers are an expensive alternative to old-fashioned yard work, but they’re finally good enough to consider if you’d rather sip an iced tea and watch a robot tame your lawn.
Snap Smart Glasses
Will Matter finally be able to do what it should have always done?
Matter, the smart home interoperability standard, might finally get a feature that should have been there from day one: a single shared Matter network managed by multiple ecosystems. With this feature, called Joint Fabric, smart devices added to the network will be controllable by any authorized platform - Apple Home, Google Home, Amazon Alexa, and […]
Final Fantasy meets Zelda? Yes, please
Let's be real: There's no shortage of Zelda-style games to play right now. That's true even if you've exhausted all there is to see in Tears of the Kingdom or Echoes of Wisdom. Indie developers keep finding new ways to refresh the formula, whether it's fusing it with a Soulslike, making it cozier, or simply […]
The discovery that changed how scientists think about memory – IBM
RFC 10008: The new HTTP Query Method
From Combinatorial Mess to Linear Elegance: Architecting a Conversion Engine
A tale of two path separators
Interactive. Violent. Gross. Inside Fishtank, the Unhinged Future of Reality TV
It’s like Big Brother without any limits, or broadcast standards. WIRED goes on location—and on camera—with the cult hit.