frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Weighting an average to minimize variance

https://www.johndcook.com/blog/2025/11/12/minimum-variance/
20•ibobev•2h ago

Comments

whatever1•1h ago
This is just the observed variance. Which means that you assume that this will be the variance in the future.

Don’t make decisions for evolving systems based on statistics.

Insider info on the other hand works much better.

JohnCClarke•13m ago
Upvoting b/c this comment is true, obviously I disapprove of insider trading.
esafak•42m ago
You can also trade bias against variance to minimize the mean squared error, which is the squared bias plus variance. This applies generally.
paulgerhardt•42m ago
I wish there was a Strunk and White for mathematics.

While by no means logically incorrect, it feels inelegant to setup a problem using variables A and B in the first paragraph and solve for X and Y in the second (compounded with the implicit X==B, and Y==A).

thomasahle•28m ago
There are lots of good books on writing mathematics:

1. How to Write Mathematics — Paul Halmos

2. Mathematical Writing — Donald Knuth, Tracy Larrabee, and Paul Roberts

3. Handbook of Writing for the Mathematical Sciences — Nicholas J. Higham

4. Writing Mathematics Well — Steven Gill Williamson

thomasahle•37m ago
What a weird way to write the harmonic average.

----

Write v_i = Var[X_i]. John writes

    t_i = \frac{\prod_{j\ne i} v_j}{\sum_{k=1}^n \prod_{j\ne k} v_j}.
But if you multiply top and bottom by (1 / \prod_{m=1}^n v_m), you just get

   t_i = \frac{1/v_i}{\sum_{k=1}^n 1/v_k}.
No need to compute elementary symmetric polynomials.

If you plug those optimal (t_i) back into the variance, you get

    \min Var[\sum t_i X_i] = 1/(\sum_{k=1}^n 1/v_k) = H/n,
where `H = n / (\sum_{k=1}^n 1/v_k)` is the Harmonic Mean of the variances.

Windhawk Windows classic theme mod for Windows 11

https://windhawk.net/mods/classic-theme-enable
36•znpy•55m ago•10 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
90•ibobev•2h ago•52 comments

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
646•immibis•7h ago•222 comments

Wealth

https://saul.pw/mag/wealth/
26•andsoitis•1h ago•8 comments

Weighting an average to minimize variance

https://www.johndcook.com/blog/2025/11/12/minimum-variance/
20•ibobev•2h ago•6 comments

The Nature of the Beast: Charles Le Brun's Human-Animal Hybrids (1806)

https://publicdomainreview.org/collection/le-brun-human-animal-hybrids/
31•Petiver•5d ago•3 comments

TCP, the workhorse of the internet

https://cefboud.com/posts/tcp-deep-dive-internals/
206•signa11•11h ago•96 comments

Trellis AI (YC W24) Is Hiring: Streamline access to life-saving therapies

https://www.ycombinator.com/companies/trellis-ai/jobs/f4GWvH0-forward-deployed-engineer-full-time
1•macklinkachorn•48m ago

AI World Clocks

https://clocks.brianmoore.com/
1224•waxpancake•23h ago•349 comments

I implemented an ISO 42001-certified AI Governance program in 6 months

https://beabytes.com/iso42001-certified-ai-governance/
3•azhenley•44m ago•0 comments

The Mighty Simplex (2023)

https://galileo-unbound.blog/2023/05/03/the-mighty-simplex/
9•just_human•58m ago•2 comments

Messing with scraper bots

https://herman.bearblog.dev/messing-with-bots/
132•HermanMartinus•10h ago•48 comments

Strap Rail

https://www.construction-physics.com/p/strap-rail
12•juliangamble•1w ago•0 comments

One Handed Keyboard

https://github.com/htx-studio/One-Handed-Keyboard
96•doppp•8h ago•73 comments

Designing a Language (2017)

https://cs.lmu.edu/~ray/notes/languagedesignnotes/
137•veqq•12h ago•91 comments

Streaming AI agent desktops with gaming protocols

https://blog.helix.ml/p/technical-deep-dive-on-streaming
39•quesobob•1w ago•19 comments

How to tolerate annoying things

https://psyche.co/guides/how-to-respond-to-annoying-things-with-greater-ease
24•zdw•2h ago•24 comments

Lawmakers want to ban VPNs

https://www.eff.org/deeplinks/2025/11/lawmakers-want-ban-vpns-and-they-have-no-idea-what-theyre-d...
449•gslin•1d ago•252 comments

A new Google model is nearly perfect on automated handwriting recognition

https://generativehistory.substack.com/p/has-google-quietly-solved-two-of
424•scrlk•4d ago•241 comments

Unofficial Microsoft Teams client for Linux

https://github.com/IsmaelMartinez/teams-for-linux
224•basemi•1w ago•198 comments

Go's Sweet 16

https://go.dev/blog/16years
216•0xedb•19h ago•147 comments

Color Comparison Between E Ink's Spectra 6 and ChLCD

https://iris-opt.com/en/blog/eink-spectra6-vs-chlcd/
10•rendaw•1w ago•4 comments

Can text be made to sound more than just its words? (2022)

https://arxiv.org/abs/2202.10631
34•tobr•1w ago•18 comments

Löb and Möb: Loops in Haskell (2013)

https://github.com/quchen/articles/blob/master/loeb-moeb.md
77•fanf2•1w ago•12 comments

'No One Lives Forever' turns 25 and you still can't buy it legitimately

https://www.techdirt.com/2025/11/13/no-one-lives-forever-turns-25-you-still-cant-buy-it-legitimat...
318•speckx•1d ago•167 comments

HipKittens: Fast and furious AMD kernels

https://hazyresearch.stanford.edu/blog/2025-11-09-hk
215•dataminer•1d ago•68 comments

SSL Configuration Generator

https://ssl-config.mozilla.org/
214•smartmic•19h ago•68 comments

Blending SQL and Python with Sqlorm

https://hyperflask.dev/blog/2025/11/11/blending-sql-and-python-with-sqlorm/
44•emixam•4d ago•11 comments

History and use of the Estes AstroCam 110

https://www.dembrudders.com/history-and-use-of-the-estes-astrocam-110.html
24•mmmlinux•1w ago•4 comments

All praise to the lunch ladies

https://bittersoutherner.com/issue-no-12/all-praise-to-the-lunch-ladies
241•gmays•21h ago•145 comments