A while ago, I wrote a step by step post about Boneh-Goh-Nissim, the classic somewhat homomorphic encryption scheme.
Latest in C++, Kotlin, Java and Machine Learning
author · site-
Comparing Somewhat Homomorphic Encryption Algorithms: BGN, Freeman, BV and GHV
-
What a Toy Fight Taught Me About Child Psychology
A Reminder To Myself Before My Daughter Arrives
-
Secret Keeper (a new Machine Learning for Kids worksheet)
I’ve written another worksheet based around generative AI.
-
The Idea of Order at Hoboken
This drawing by my old pal Tom Ferris depicts a real thing, an antique mousetrap, which has much in common with the Freedom Tower.
-
Subscriptions, Paywalls and a Customer Center, and We Don't Take a Cut
Codename One Commerce now covers offerings, remotely configured paywalls, targeting and experiments, a customer center with refunds and retention offers…
-
How to build a static dispatch table of instance methods in C#
Replace an if/else chain of instance-method calls with a lookup table built once: give the delegate an explicit 'self' parameter, fill a static FrozenDictionary with static lambdas or open instance delegates from MethodInfo.CreateDelegate, and pass 'this' at call time.
-
On reviewing AI-generated code
I see a lot of posts from developers who insist on reviewing every single line of code that AI agents write.
-
Linting to Improve Markup Quality
It somehow came to my attention that I had some unnecessary markup in some of my files.
-
Understanding How Batch Size Relates to Gradient Noise Scale
For a tuned learning rate, the best batch size from a goodput perspective depends on how noisy the minibatch gradients are.
-
How to Subscribe to Claude API Organization Webhooks
Register an HTTPS endpoint with POST /v1/organizations/webhooks and the anthropic-beta: webhooks-2026-10-07 header, store the whsec_ signing secret from the create response, verify deliveries with client.beta.webhooks.unwrap(), answer 2xx within 5 seconds, dedupe on webhook-id…
-
pyr.js: Python and R in HTML, documentation and examples
pyr.js runs Python and R code directly in HTML pages, in the browser, with one script tag: no server, no build step, no install.
-
How to apply one shared redirect to a group of routes in go_router (without touching the global redirect)
Put the guarded routes under a builderless parent GoRoute and give that parent the redirect.
-
How to fill or overwrite a file stream with zeros efficiently in C#
Overwrite every byte of a file with zeros in .NET 11: use one shared 1 MB zero buffer with RandomAccess.Write or Stream.Write, not a 1 KB stackalloc loop.
-
gh event listen: wait for pull request reviews and CI without polling in GitHub CLI 2.105
GitHub CLI 2.105.0 adds gh event listen, built on the GitHub Event Streams preview.
-
Adopting pg_vectorsearch’s Best Ideas for 3D Atoms, Molecules & Active Sites: 100% Lossless Layered Centroids and Register-Direct Fastscan in pg_bio
How we extracted four core C23 systems-engineering patterns from Tiger Data's pg_vectorsearch (Hierarchical Centroid Routing, SOAR spill-orthogonal secondary assignment, RaBitQ-style theoretical error bounds, and register-direct Fastscan) and applied them in Rust (pgrx) to…
-
Going deaf in my own language
Code was my second mother tongue.
-
C++ Under the Hood: Money, Latency, and Safety
BLUF – Writing an automated trading tool in C++23 isn’t about chasing tricks to save every nanosecond possible.
-
Welcome to Soviet Union 2.0, comrade
I have a former coworker who was born in the Soviet Union at a very specific time in history.
-
Lean for the working mathematician
[(Kevin Buzzard says) This is a guest post by Mitchell Taylor, a mathematician who gave a talk at Imperial’s PDE seminar a few weeks ago on the topic below.
-
The Cognitive Gym
Why the Best Way to Learn With AI Is to Make It Harder
-
Debian and Ubuntu Support Timeline - Debian LTS, Freexian ELTS, Ubuntu Pro ESM, and the Legacy Add-on | hidekazu-konishi.com
https://hidekazu-konishi.com/entry/debian_and_ubuntu_support_timeline.html Debian and Ubuntu Support Timeline - Debian LTS, Freexian ELTS, Ubuntu Pro ESM, and the Legacy Add-on
-
Rust Release and Support Timeline - The Six-Week Train, Point Releases, Editions, and Which Version Gets Security Fixes | hidekazu-konishi.com
https://hidekazu-konishi.com/entry/rust_release_and_support_timeline.html Rust Release and Support Timeline - The Six-Week Train, Point Releases, Editions, and Which Version Gets Security Fixes
-
Claude Agent SDK Session Storage - What a SessionStore Must Do, Mirror Errors, and Resuming Elsewhere | hidekazu-konishi.com
https://hidekazu-konishi.com/entry/claude_agent_sdk_session_storage.html Claude Agent SDK Session Storage - What a SessionStore Must Do, Mirror Errors, and Resuming Elsewhere
-
The US-China Open-Weight Feedback Loop
How US and Chinese open-weight LLMs build on each other, illustrated with a timeline of architecture ideas from 2021 to 2026.
-
C++26 is done (again)! — Trip report: November 2026 ISO C++ standards meeting (Búzios, Brazil)
tl;dr: A few highlights C++26 technical work, originally completed in March, was reopened and is now recompleted: The anticipated plan is to reissue the updated C++26 document for a second approval ballot.
-
Calendars, Gantt Charts and Booking Apps Without Writing a Calendar
Codename One now ships a scheduler with day, week, month, agenda and resource views, a Gantt chart with dependencies, baselines, the critical path and…
-
How I Make Hard Decisions
What dropping a feature at hexafarms, rethinking an agent product at VOIDS, and reading Decisive taught me about making hard decisions.
-
Wikipedia Page Views Declining
Recently I posted about how Stack Overflow's questions per month has dropped by 99%.
-
Fix: warning NU1903 Package 'System.Security.Cryptography.Pkcs' 9.0.18 has a known high severity vulnerability (Microsoft.Data.SqlClient 7.1.1)
Microsoft.Data.SqlClient 7.1.1 pulls System.Security.Cryptography.Pkcs 9.0.18, which is hit by CVE-2026-84008.
-
Four DevOps Dozen 2026 Finalist Nominations!
Four DevOps Dozen 2026 finalist nominations for Mohammad-Ali A’râbi, Black Forest Shadow, and ContainerSecurity.dev. Public voting is now open.
RSS for this view · OPML of the feeds with posts in this view (up to 425 feeds)