UK net migration at lowest level since 1997
UK net migration fell to 77,000 in the year to June, down 92% from its 2023 peak. Excluding pandemic travel restrictions, that is the lowest level since 1997; asylum claims also fell. (bbc.com)
Many software bugs depend less on unusual code than on unusual timing. A workflow at AWS once appeared to execute steps out of order because a worker paused long enough to miss its heartbeat; the system reassigned its task, then the original worker resumed and repeated work after the workflow had advanced. The fix was to make every step safe to repeat. This experience illustrates a broader point: routine tests often replay only a few familiar event schedules, so timing-sensitive faults remain hidden even in systems that are not distributed. Rewind VM, a deterministic virtual machine, searches for these faults by running the same program under varied schedules, including long pauses.
A two-thread counter example shows why schedule variation matters. Each thread’s increment consists of a load, an addition, and a store; of the 20 possible orderings, 18 lose an update. Yet on an idle laptop, ordinary runs produced only two orderings and no failures in 10,000 attempts. Rewind reached 15 orderings and exposed 1,371 lost updates; adding a start barrier let it reach all 20 and fail 2,997 times. Even a busy machine explored fewer schedules and found far fewer failures. The key lesson is that a bug can be common among triggering schedules while those schedules are rare in normal execution. Long stalls can create especially unusual orderings, and Rewind’s controls can encourage them, making schedule shuffling a practical way to uncover defects missed by conventional tests.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
UK net migration fell to 77,000 in the year to June, down 92% from its 2023 peak. Excluding pandemic travel restrictions, that is the lowest level since 1997; asylum claims also fell. (bbc.com)
Spanish airline Plus Ultra plans to lay off its entire workforce, according to a union. The Reuters headline does not provide further details about the layoffs. (reuters.com)
DragDropMath is an interactive website for learning to simplify expressions and solve equations by dragging symbols. It allows only valid mathematical moves and saves progress in the browser. (dragdropmath.com)
Kim Jong Un returned Donald Trump’s letter unopened. The move followed repeated attempts by Trump to contact the North Korean leader, who has not responded. (independent.co.uk)
France’s economy slipped into recession as exports weakened. The slowdown points to pressure on the country’s growth and trade outlook. (wsj.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.