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
332•Cider9986•3h ago•233 comments

Zig Zen Update

https://codeberg.org/ziglang/zig/commit/621844bde551ee1a9b8142d7d146d1fa804247a2
69•tosh•3h ago•23 comments

How LLMs work

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

The Smart TV in Your LivingRoom Is a Node in the AIScraping Economy

https://blog.includesecurity.com/2026/06/the-smart-tv-in-your-livingroom-is-a-node-in-the-aiscrap...
23•nikcub•2h ago•1 comments

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
184•transistor-man•11h ago•62 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...
600•maltalex•7h ago•201 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/
97•gostsamo•8h ago•27 comments

New method turns ocean water into drinking water, without waste

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

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

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

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

365•andrehacker•1d ago•677 comments

Do Women's Mate Preferences Change Across the Ovulatory Cycle? A Meta-Analysis [pdf]

https://www.martiehaselton.com/_files/ugd/3ae410_aeb76edab75f457aae0c14c4c68d93c0.pdf
5•rzk•1h ago•1 comments

What 100k concurrent sandboxes has taught us so far

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

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
410•coffeemug•19h ago•91 comments

Social Cache Busting

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

Did Claude increase bugs in rsync?

https://alexispurslane.github.io/rsync-analysis/
437•logicprog•23h ago•446 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...
358•theanonymousone•19h 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
106•paulmooreparks•8h ago•33 comments

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

https://mouseless.click
539•riddley•2d ago•218 comments

Ten Years of Franz

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

Raytracing Geometries in 3D Rendering

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

Lockdown Mode

https://help.openai.com/en/articles/20001061-lockdown-mode
65•berlianta•8h ago•29 comments

My Agent Skill for Test-Driven Development

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

Azure Linux Desktop

https://www.boxofcables.dev/azure-linux-desktop-a-build-2026-mashup-of-wslc-winui-reactor-and-azu...
18•haydenbarnes•4h ago•5 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...
58•pjmlp•2d ago•11 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...
474•toomuchtodo•18h ago•181 comments

Conventional Commits encourages focus on the wrong things

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

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

188•Ekami•9h ago•338 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
401•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-...
96•lordgilman•22h ago•72 comments

India's surprise baby bust

https://www.economist.com/leaders/2026/06/04/indias-surprise-baby-bust-is-a-warning-to-the-world
193•hakonbogen•21h ago•816 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

https://serpapi.com/blog/faster-regular-expression-engines-in-ruby/
60•davidsojevic•1y ago

Comments

yxhuvud•1y ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•1y ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•1y ago
> Another nuance was found in ruby, which cannot scan the haystack with invalid UTF-8 byte sequences.

This is extremely basic ruby: UTF-8 encoded strings must be valid UTF-8. This is not unique to ruby. If I recall correctly, python 3 does the same thing.

    2.7.1 :001 > haystack = "\xfc\xa1\xa1\xa1\xa1\xa1abc"
    2.7.1 :003 > haystack.force_encoding "ASCII-8BIT"
    => "\xFC\xA1\xA1\xA1\xA1\xA1abc" 
    2.7.1 :004 > haystack.scan(/.+/)
    => ["\xFC\xA1\xA1\xA1\xA1\xA1abc"]
This person is a senior engineer on their Team page. All they had to do was google "ArgumentError: invalid byte sequence in UTF-8". Or ask a coworker... the company has Ruby on Rails applications. headdesk
burntsushi•1y ago
The nuance is specifically relevant here because neither of the other two regex engines benchmarked have this requirement. It's doubly relevant because that means running a regex search doesn't require a UTF-8 validation step, and is therefore likely beneficial from a perf perspective, dependening on the workload.
kayodelycaon•1y ago
That’s a good point. I hadn’t considered it because I’ve hit the validation error long before getting to search. It is possible to avoid string operations with careful coding prior to the search.

Edit: After a little testing, the strings can be read from and written to files without triggering validation. Presumably this applies to sockets as well.

DmitryOlshansky•1y ago
I wonder how std.regex of dlang would fare in such test. Sadly due to a tiny bit of D’s GC use it’s hard to provide as a library for other languages. If there is an interest I might take it through the tests.