frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

GrapheneOS user reported to authorities for using GrapheneOS

https://discuss.grapheneos.org/d/36134-grapheneos-user-reported-to-authorities-for-using-grapheneos
269•Cider9986•2h ago•164 comments

Zig Zen Update

https://codeberg.org/ziglang/zig/commit/621844bde551ee1a9b8142d7d146d1fa804247a2
60•tosh•2h ago•18 comments

How LLMs work

https://www.0xkato.xyz/how-llms-actually-work/
395•0xkato•2d ago•117 comments

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
177•transistor-man•10h ago•60 comments

S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic

https://arstechnica.com/tech-policy/2026/06/sp-500-blocks-fast-spacex-entry-wont-waive-rule-for-u...
547•maltalex•6h ago•189 comments

Pre-Modern Armies for Worldbuilders, Part I: Why They Fight

https://acoup.blog/2026/06/05/collections-pre-modern-armies-for-worldbuilders-part-i-why-they-fight/
88•gostsamo•7h ago•24 comments

New method turns ocean water into drinking water, without waste

https://www.rochester.edu/newscenter/what-is-desalination-definition-ocean-water-704732/
391•speckx•20h ago•164 comments

Social Cache Busting

https://www.autodidacts.io/social-cache-busting/
48•surprisetalk•3d ago•11 comments

Astronauts told to return to ISS after sheltering over air leak repairs

https://www.bbc.com/news/live/c4g44ew3g1kt
402•janpot•20h ago•251 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
408•coffeemug•19h ago•90 comments

Ask HN: What was your "oh shit" moment with GenAI?

353•andrehacker•1d ago•664 comments

Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency

https://blog.google/innovation-and-ai/technology/developers-tools/quantization-aware-training-gem...
357•theanonymousone•18h ago•109 comments

The back cover of C++: The Language raises questions not answered by front cover

https://devblogs.microsoft.com/oldnewthing/20260605-01/?p=112391
103•paulmooreparks•7h ago•30 comments

Did Claude increase bugs in rsync?

https://alexispurslane.github.io/rsync-analysis/
428•logicprog•22h ago•440 comments

What 100k concurrent sandboxes has taught us so far

https://www.computesdk.com/blog/scale-invitational-update/
4•heygarrison•2d ago•0 comments

Mouseless – keyboard-driven control of macOS/Linux/Windows

https://mouseless.click
536•riddley•2d ago•217 comments

Raytracing Geometries in 3D Rendering

https://andeplane.github.io/Raytracing/
10•kvakkefly•3d ago•2 comments

Ten Years of Franz

https://meetfranz.com/blog/ten-years-of-franz
40•tosh•3d ago•25 comments

Lockdown Mode

https://help.openai.com/en/articles/20001061-lockdown-mode
63•berlianta•7h ago•26 comments

My Agent Skill for Test-Driven Development

https://www.saturnci.com/my-agent-skill-for-test-driven-development.html
187•laxmena•1d ago•79 comments

Azure Linux Desktop

https://www.boxofcables.dev/azure-linux-desktop-a-build-2026-mashup-of-wslc-winui-reactor-and-azu...
16•haydenbarnes•3h ago•2 comments

Gov.uk has replaced Stripe with Dutch provider Adyen

https://www.theregister.com/public-sector/2026/06/04/govuk-goes-dutch-on-payments-as-it-dumps-str...
468•toomuchtodo•18h ago•173 comments

Nine Ways to Do Inheritance in Rust, a Language Without Inheritance

https://medium.com/@carlmkadie/nine-ways-to-do-inheritance-in-rust-a-language-without-inheritance...
54•pjmlp•2d ago•10 comments

Conventional Commits encourages focus on the wrong things

https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/
318•jsve•19h ago•234 comments

Ask HN: Why is the HN crowd so anti-AI?

181•Ekami•8h ago•327 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
400•mimorigasaka•1d ago•206 comments

The Quiet Numbers Station: Decoding Nineteen Years of GPS Cryptography

https://www.benthamsgaze.org/2026/06/02/the-quiet-numbers-station-decoding-nineteen-years-of-gps-...
93•lordgilman•22h ago•71 comments

India's surprise baby bust

https://www.economist.com/leaders/2026/06/04/indias-surprise-baby-bust-is-a-warning-to-the-world
190•hakonbogen•20h ago•806 comments

The perils of UUID primary keys in SQLite

https://andersmurphy.com/2026/06/05/the-perils-of-uuid-primary-keys-in-sqlite.html
99•emschwartz•12h ago•56 comments

Transformers are inherently succinct

https://openreview.net/pdf?id=Yxz92UuPLQ
123•brandonb•16h ago•36 comments
Open in hackernews

Derivation and Intuition behind Poisson distribution

https://antaripasaha.notion.site/Derivation-and-Intuition-behind-Poisson-distribution-1255314a56398062bf9dd9049fb1c396
105•sebg•1y ago

Comments

meatmanek•1y ago
Poisson distributions are sort of like the normal distribution for queuing theory for two main reasons:

1. They're often a pretty good approximation for how web requests (or whatever task your queuing system deals with) arrive into your system, as long as your traffic is predominantly driven by many users who each act independently. (If your traffic is mostly coming from a bot scraping your site that sends exactly N requests per second, or holds exactly K connections open at a time, the Poisson distribution won't hold.) Sort of like how the normal distribution shows up any time you sum up enough random variables (central limit theorem), the Poisson arrival process shows up whenever you superimpose enough uncorrelated arrival processes together: https://en.wikipedia.org/wiki/Palm%E2%80%93Khintchine_theore...

2. They make the math tractable -- you can come up with closed-form solutions for e.g. the probability distribution of the number of users in the system, the average waiting time, average number of users queuing, etc: https://en.wikipedia.org/wiki/M/M/c_queue#Stationary_analysi... https://en.wikipedia.org/wiki/Erlang_(unit)#Erlang_B_formula

emmelaich•1y ago
Useful for understanding load on machines. One case I had was -- N machines randomly updating a central database. The database can only handle M queries in one second. What's the chance of exceeding M?

Also related to the Birthday Problem and hash bucket hits. Though with those you're only interested in low collisions. With some queues (e.g. database above) you might be interested when collisions hit a high number.

PessimalDecimal•1y ago
There is another extremely important way in which they are like the normal distribution: both are maximum entropy distributions, i.e. each is the "most generic" within their respective families of distributions.

[1] https://en.wikipedia.org/wiki/Poisson_distribution#Maximum_e...

[2] https://en.wikipedia.org/wiki/Normal_distribution#Maximum_en...

srean•1y ago
So is Gamma, Binomial, Bernoulli, negative-Binomial, exponential and many many more. Maxent distribution types are very common. In fact the entire family of distributions in the exponential family are Maxent distributions.
DAGdug•1y ago
What’s special about this treatment? It’s the 101 part of a 101 probability course.
quirino•1y ago
I really like the Poisson Distribution. A very interesting question I've come across once is:

A given event happens at a rate of every 10 minutes on average. We can see that:

- The expected length of the interval between events is 10 minutes.

- At a random moment in time the expected wait until the next event is 10 minutes.

- At the same moment, the expected time passed since the last event is also 10 minutes.

But then we would expect the interval between two consecutive events to be 10+10 = 20 minutes long. But we know intervals are 10 on average. What happened here?

The key is that by picking a random moment in time, you're more likely to fall into a bigger intervals. By sampling a random point in time the average interval you fall into really is 20 minutes long, but by sampling a random interval it is 10.

Apparently this is called the Waiting Time Paradox.

fc417fc802•1y ago
> What happened here?

You went astray when you declared the expected wait and expected passed.

Draw a number line. Mark it at intervals of 10. Uniformly randomly select a point on that line. The expected average wait and passed (ie forward and reverse directions) are both 5, not 10. The range is 0 to 10.

When you randomize the event occurrences but maintain the interval as an average you change the range maximum and the overall distribution across the range but not the expected average values.

pfedak•1y ago
If it wasn't clear, their statements are all true when the events follow a poisson distribution/have exponentially distributed waiting times.
yorwba•1y ago
When you randomize the event occurences, you create intervals that are shorter and longer than average, so that a random point is more likely to be in a longer interval, so that the expected length of the interval containing a random point is greater than the expected length of a random interval.

To see this, consider just two intervals of length x and 2-x, i.e. 1 on average. A random point is in the first interval x/2 of the time and in the second one the other 1-x/2 of the time, so the expected length of the interval containing a random point is x/2 * x + (1-x/2) * (2-x) = x² - 2x + 2, which is 1 for x = 1 but larger everywhere else, reaching 2 for x = 0 or 2.

hammock•1y ago
Poisson, Pareto/power/zipf and normal distributions are really important. The top 3 for me. (What am I missing?) And often misused (most often normal). It’s really good to know which to use when
klysm•1y ago
Normal is overused for sometimes sensible reasons though. The CLT is really handy when you have to consider sums
FilosofumRex•1y ago
It's surprising that so few people bother to use non-parametric probability distributions. With today's computational resources, there is no need for parametric closed form models (may be with the exception of Normal for historical reasons), each dataset contains its own distribution.
klysm•1y ago
It’s easier to do MCMC when the distributions at hand have nice analytic properties so you can take derivatives etc. You should also have a very good understanding of the standards distributions and how they all relate to each other
hyperbovine•1y ago
How hard is it to estimate that distribution for modern high dimensional data?
jwarden•1y ago
> What am I missing?

Beta

cwmoore•1y ago
Lightbulbs burn out, but when?
klysm•1y ago
Later
digger495•1y ago
Steve, le
joe_the_user•1y ago
I can understand a message that javascript needs to be enabled for your ** site.

But permanently redirecting so I can't see this after I enable javascript is just uncool and might not endear one on site like hn where lots of folks disable js initially.

Edit: and anonymizing, disabling and reloading... It's just text with formatted math. Sooo many other solutions to this, jeesh guys.

_0ffh•1y ago
It's notion, I don't know why people use this service.
Zecc•1y ago
It breaks scrolling with the arrow keys or PgDn/PgUp as well.
Rant423•1y ago
An application of the Poisson distribution (1946)

https://garcialab.berkeley.edu/courses/papers/Clarke1946.pdf

tatrajim•1y ago
Famously used by Thomas Pynchon in Gravity's Rainbow. The notion of obtaining a distribution of random rocket attacks blew my young mind and prompted a life-long interest in the sturdy of statistics.
mmorse1217•1y ago
This site is pretty helpful for me with this sort of thing. The style is more technical though.

https://www.acsu.buffalo.edu/~adamcunn/probability/probabili...

laichzeit0•1y ago
But this just gives the definition of the distribution. No intuition about where it might have come from, it just appears magically out of thin air and shows some properties it has in the limit.
firesteelrain•1y ago
At work we use Arena to model various systems and Poisson is our go to.
fc417fc802•1y ago
I think I understand my mistake. As the variance of the intervals widens the average event interval remains the same but the expected average distances for a sample point change. (For some reason I thought that average distances wouldn't change. I'm not sure why.)

Your example illustrates it nicely. A more intuitive way of illustrating the math might be to suppose 1 event per 10 minutes but they always happen in pairs simultaneously (20 minute gap), or in triplets simultaneously (30 minute gap), or etc.

So effectively the earlier example that I replied to is the birthday paradox, with N people, sampling a day at random, and asking how far from a birthday you expect to be on either side.

If that counts as a paradox then so does the number of upvotes my reply received.

jwarden•1y ago
The way, I understand it is that with a Poisson process, at every small moment in time there’s a small chance of the event happening. This leads to on average lambda events occurring during every (larger) unit of time.

But this process has no “memory” so no matter how much time has passed since the last event, the number of events expected during the next unit of time is still lambda.

me3meme•1y ago
From last event to this event = 10, from this event to next event = 10, so the time between the first and the third event is 20, where is the surprise in the Waiting Time Paradox?, sure I must be missing some key ingredient here.
quirino•1y ago
The random moment we picked in time is not necessarily an event. The expected time between the event to your left and the one to your right (they're consecutive) is 20 minutes.
me3meme•1y ago
I think we must use conditional probability, that is the integral of p(X|A)P(A), for example probability the prior event was 5 minutes ago probabity(the next one is 10 minutes from the previous one (that is 1/2). This is like markov chain, probability of next state depends of current state.
hammock•1y ago
What are the common understandable use cases for beta distribution, in everyday life?
jwarden•1y ago
I don’t use probability distributions in everyday life ;)

But it is the right distribution to represent uncertainty about the probability of binary events (eg a website user clicking some button). For example, if I have absolutely no idea the probability then I use the uniform distribution, Beta(1,1), which is the maximum entropy distribution. Then if I observe one user and they happen to click, I have Beta(2,1), and at a glance I known the mean of that (2/3) which is a useful point estimate.

klysm•1y ago
Proportions of things frequently follow beta distributions. I think of it as the normal distribution of the domain 0 to 1.