JavaScript promises explained with examples: creating one, then and catch, async/await, error handling, Promise.all, allSettled, race and any, and common mistakes.
Latest in C, C++, Java, Machine Learning and HTML
author · site-
JavaScript Promises Explained: then, async/await and Promise.all
-
Comparing Somewhat Homomorphic Encryption Algorithms: BGN, Freeman, BV and GHV
A while ago, I wrote a step by step post about Boneh-Goh-Nissim, the classic somewhat homomorphic encryption scheme.
-
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.
-
CSS Variables: How to Use Custom Properties
How CSS variables work: syntax, var() fallbacks, scope and inheritance, theming, changing them with JavaScript, @property, and the gotchas that break them.
-
Set up favicons for browsers and home screens
A simple favicon setup that covers modern browsers and devices without generating dozens of unnecessary files.
-
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…
-
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.
-
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.
-
Muru
Muru
-
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.
-
Bitty Kitty
Six years ago I put meow sounds in a GitHub repository.
-
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
-
why it's so hard to make SASS assembler?
Short answer: bcs paranoid nvidia don't disclose its ABI (and punishes you silently when you get them wrong)
-
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.
-
Style the native select in 4 lines of CSS
The native select is finally stylable.
-
[Article] Queerly Seychellized
I saw a toot which observed that many 'bar flags' look better 'Seychelles-style', with a radial burst of their bar colours emanating from the lower-left corner... so I came up with some CSS to make it easier to model flags this way, and used it to adapt a selection of pride…
-
What Is YAML? The .yml File Format Explained
What YAML is, how .yml files work, the syntax for maps, lists and multi-line strings, YAML vs JSON, and the gotchas like the Norway problem.
-
Facelift of Kvalitest.sk
Kvalitest is a small family business from central Slovakia that has been testing construction work since 1991.
RSS for this view · OPML of the feeds with posts in this view (up to 469 feeds)