frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Auto mode is now the default in Claude Code

https://claude.com/blog/auto-mode-default-in-claude-code
78•sbehere•1h ago•35 comments

What Happened to HackerOne?

https://blog.teknogeek.io/posts/what-happened-to-hackerone/
141•hipparchus•3h ago•40 comments

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

https://www.whodunnitai.com/
33•MrRowTheBoat•2h ago•2 comments

How I use LLMs to learn complex topics

https://laurentiugabriel.github.io/blog/articles/how-i-use-llms-to-learn/
543•laurentiurad•10h ago•311 comments

Long-Run Effects of H-1B Immigration on the U.S. Economy (July 2026)

https://www.nber.org/papers/w35560
40•ryzvonusef•1h ago•11 comments

Turn satellite imagery into a paper globe you fold yourself

https://foldingglobes.com/
24•dango2506•2h ago•5 comments

Run Android ARM64 VR APKs on Apple Vision Pro

https://github.com/shinyquagsire23/Klepton
22•LorenDB•2h ago•0 comments

How We Pushed CDC into Postgres

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
65•craigkerstiens•4h ago•6 comments

Taxi drivers rarely die of Alzheimer's

https://theconversation.com/taxi-drivers-rarely-die-of-alzheimers-how-complex-mental-maps-and-spa...
236•jader201•14h ago•175 comments

Ask HN: What are you working on? (August 2026)

214•david927•12h ago•752 comments

Slap ROM Patcher

https://nyuu.page/projects/slap/
4•apsec112•3d ago•0 comments

ATProto for Distributed Systems Engineers

https://atproto.com/articles/atproto-for-distsys-engineers
41•LelouBil•3d ago•6 comments

Picophysics: Single file physics for games on platforms like N64, PSX, DC

https://gitlab.com/Kazade/picophysics
39•klaussilveira•4d ago•10 comments

Nearest Pint

https://knowwhereconsulting.co.uk/maps/pubs/
11•bookofjoe•5d ago•1 comments

Cool URIs Don't Change (1998)

https://www.w3.org/Provider/Style/URI
215•Klaster_1•15h ago•53 comments

Tuxedo No. 2 – Cocktail recipes

https://tuxedono2.com
73•smartmic•8h ago•18 comments

The tragedy of the commons, AI edition

https://www.economist.com/britain/2026/08/06/the-tragedy-of-the-commons-ai-edition
99•simonpure•9h ago•56 comments

"The Persian MâR-Nâmeh Or, the Book for Taking Omens from Snakes" (1892)

https://publicdomainreview.org/collection/marnameh/
47•Thevet•3d ago•5 comments

Everything you do is being recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
249•ike_usawa•18h ago•203 comments

New Zealand lost its music media, and what we're building to replace it

https://propelmusic.co.nz/articles/the-sound-went-quiet-nz-music-media
96•berghoffer•8h ago•60 comments

Andrew Wiles on proving Fermat’s Last Theorem (1995) [video]

https://www.youtube.com/watch?v=GS7CxAtV5Ks
44•jackdoe•3d ago•33 comments

The Ambition Project

https://www.betonit.ai/p/the-ambition-project
24•herbertl•6h ago•1 comments

Japanese court overturns Red RAW video patent

https://www.dpreview.com/news/panasonic-did-what-apple-sony-and-nikon-couldnt-overturn-a-red-raw-...
80•anigbrowl•5h ago•14 comments

OpenChamber: An Agentic Development Environment

https://openchamber.dev/
130•hexomancer•12h ago•72 comments

Windows 11's built-in Weather app wastes more than 1 GB of RAM

https://www.notebookcheck.net/Windows-11-s-built-in-Weather-app-wastes-more-than-1-GB-of-RAM.1364...
448•akyuu•14h ago•369 comments

How Golden Is Silence, Actually?

https://www.newyorker.com/magazine/2026/08/10/silence-kate-mcloughlin-book-review
55•tintinnabula•3d ago•27 comments

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
139•oskrim•17h ago•91 comments

The German Mittelstand

https://kieranvelasquez.substack.com/p/on-the-german-mittelstand
24•Michelangelo11•3d ago•6 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
111•Rochus•16h ago•16 comments

Touring the Consensus, Six Months In

https://theconsensus.dev/blog/2026/08/05/touring-the-consensus-six-months-in.html
21•tosh•4d ago•0 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.