The best Hacker News stories from All from the past day
Latest posts:
Show HN: Porting OpenBSD Pledge() to Linux
Show HN: Porting OpenBSD Pledge() to Linux
Gamedevs not baking in monetization are “fucking idiots”, says Unity CEO
The effects of sleep debt
DNS Esoterica – Why you can't dig Switzerland
DNS Esoterica – Why you can't dig Switzerland
Saskatchewan, Ontario to roll out mini-nuclear reactors
Manhattan rents cross $5k threshold for first time
Woman ‘dehumanised’ by viral TikTok filmed without her consent
Show HN: Inflation-adjusted stock charts – Total Real Returns
Here's a little side project I’ve been working on: <a href="https://totalrealreturns.com/" rel="nofollow">https://totalrealreturns.com/</a> The Total Real Returns chart demonstrates the preservation or growth of real wealth more clearly than conventional (nominal-dollar, price-only) stock charts, because: (1) we include the effects of inflation-diminished purchasing power, and (2) we include the effects of reinvesting dividends from the initial investment.<p>I found it harder to explain the y-axis in words than it was to do the math, so please let me know if you think the "baguettes" explanation on the homepage helps.<p>I was up until 4am ET finishing some features on this, and then at 8:30am ET the BLS released the new CPI numbers through their API: <a href="https://download.bls.gov/pub/time.series/cu/" rel="nofollow">https://download.bls.gov/pub/time.series/cu/</a> and I was able to manually re-run my daily cronjob with the new numbers, so it's up to date! If you catch any bugs, please let me know via the “Report a bug” link in the footer of every page.<p>Some FAANG examples: <a href="https://totalrealreturns.com/s/META" rel="nofollow">https://totalrealreturns.com/s/META</a><p><a href="https://totalrealreturns.com/s/GOOGL" rel="nofollow">https://totalrealreturns.com/s/GOOGL</a><p><a href="https://totalrealreturns.com/s/AMZN" rel="nofollow">https://totalrealreturns.com/s/AMZN</a><p><a href="https://totalrealreturns.com/s/AAPL" rel="nofollow">https://totalrealreturns.com/s/AAPL</a><p><a href="https://totalrealreturns.com/s/NFLX" rel="nofollow">https://totalrealreturns.com/s/NFLX</a><p>Comparing three Vanguard treasury funds, showing vividly the impact of bond duration (short-term, intermediate-term, long-term) on both risk and reward: <a href="https://totalrealreturns.com/s/VFISX,VFITX,VUSTX" rel="nofollow">https://totalrealreturns.com/s/VFISX,VFITX,VUSTX</a>
Sri Lanka is having a textbook currency crisis, triggered by policy mistakes
Inflation rose 9.1% in June, even more than expected
Six programming languages I’d like to see
Teams is killing my Mac every day
Amazon admits giving police Ring camera footage without consent
Retbleed: New speculative execution attack sends Intel and AMD scrambling
Retbleed: New speculative execution attack sends Intel and AMD scrambling
A/B testing gets misused to juice metrics in the short term
A/B testing gets misused to juice metrics in the short term
Tell HN: We are trying to get tail calls into the WebAssembly standard
WebAssembly is a modern bytecode supported by all browsers and designed to be a compiler target for a wide variety of programming languages.<p>To effectively support some forms of Functional Programming support for tail-calls has been proposed as an extension to the WebAssembly standard.<p>This proposal has reached Phase3 of the standardization process years ago, but has since stalled.<p>Phase3 is known as "the implementation phase" and the prerequisite for advancing the proposal to Phase4 is to have support in two different browser engines. V8/Chrome support has been available for a long time, so another engine is required.<p>To unblock this situation we have contributed full support for WebAssembly Tail Calls to JavaScript/WebKit/Safari. The PR is available here:<p><a href="https://github.com/WebKit/WebKit/pull/2065" rel="nofollow">https://github.com/WebKit/WebKit/pull/2065</a><p>An in-depth article about the challenges of implementing this feature is also available. This is intended both as documentation for our contribution, but also as a general explainer about how tails calls actually work, with a particular focus on stack space management.<p><a href="https://leaningtech.com/fantastic-tail-calls-and-how-to-implement-them/" rel="nofollow">https://leaningtech.com/fantastic-tail-calls-and-how-to-impl...</a>