frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
645•verditelabs•5h ago•156 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
198•darthcloud•3d ago•88 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
197•porridgeraisin•5h ago•112 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
97•engomez•5h ago•46 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
183•kouosi•6h ago•72 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
131•cowboy_henk•4d ago•45 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
501•virgildotcodes•8h ago•735 comments

OS9Map

https://yllan.org/software/OS9Map/
125•LaSombra•6h ago•19 comments

The annotated PyTorch training loop

https://idlemachines.co.uk/essays/pytorch-training-loop
35•smaddrellmander•2d ago•8 comments

The anxiety of the perfect loaf: the illusion of culinary precision

https://iza.ac/posts/2026/06/intuitive-cooking/
15•infinitewalk•2d ago•12 comments

Half-Life 2 in a Browser

https://hl2.slqnt.dev/
615•panza•15h ago•247 comments

The Doorman's Fallacy in Action

https://rozumem.xyz/posts/17
13•rozumem•1h ago•15 comments

Un-0: Generating Images with Coupled Oscillators

https://unconv.ai/blog/introducing-un-0-generating-images-with-coupled-oscillators/
8•babelfish•24m ago•1 comments

Besimple AI (YC P25) Is Hiring

https://www.ycombinator.com/companies/besimple-ai/jobs/yWfhhOR-strategic-projects-lead-audio-data
1•yzhong94•4h ago

Early adversity leaves lasting molecular imprint across the body: primate study

https://medicalxpress.com/news/2026-06-early-life-adversity-molecular-imprint.html
62•gmays•4d ago•28 comments

You can't unit test for taste

https://dev.karltryggvason.com/you-cant-unit-test-for-taste/
218•kalli•1d ago•98 comments

Om Malik, 1966-2026

https://om.co/2026/06/24/1966-2026/
48•minimaxir•41m ago•2 comments

Parallel Parentheses Matching

https://williamdue.github.io/blog/parallel-parentheses-matching
6•Athas•1h ago•0 comments

The last Romans are still around

https://signoregalilei.com/2026/06/20/the-last-romans-are-still-around/
5•surprisetalk•3d ago•2 comments

Advanced Nintendo Entertainment System (ANES) – NES Modded to Use 2 PPUs

https://github.com/decrazyo/anes
70•zdw•1d ago•20 comments

Show HN: I made Google Trends for Hacker News by indexing 18 years of comments

https://hackernewstrends.com
565•ytkimirti•7h ago•138 comments

I built a GPU back end for Emacs

https://en.andros.dev/blog/4b707a03/how-i-built-a-gpu-backend-for-emacs/
144•andros•2d ago•77 comments

Tw-fade: pure CSS scroll-driven edge masking

https://pete.design/tw-fade
68•petekp•3d ago•29 comments

Political bias in AI: Where the AI models stand

https://trakkr.ai/bias
75•mektrik•8h ago•158 comments

An oral history of Bank Python (2021)

https://calpaterson.com/bank-python.html
4•tosh•1h ago•1 comments

How physicists track and trap the elusive neutrino

https://www.quantamagazine.org/how-physicists-track-and-trap-the-elusive-neutrino-20260624/
41•ibobev•6h ago•16 comments

The disappearance of Japan's animators

https://economist.com/interactive/1843/2026/06/19/the-strange-disappearance-of-japans-animators
106•andsoitis•4d ago•85 comments

Show HN: Turn native language audio into flashcards and shadowing practice

https://lingochunk.com/try
68•alder•9h ago•28 comments

52-hertz whale

https://en.wikipedia.org/wiki/52-hertz_whale
87•brightbeige•1d ago•14 comments

Windows 10 quietly gets one more year of support and updates

https://www.neowin.net/news/windows-10-quietly-gets-one-more-year-of-support-and-updates/
193•bundie•5h ago•163 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.