frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I'll never buy Framework hardware again

https://poolp.org/posts/2026-11-20/ill-never-buy-framework-hardware-again/
299•unchar1•1h ago•186 comments

Anthropic employee claims general proof of the Riemann Hypothesis [pdf]

https://alpo.ge/remark.pdf
1261•iamronaldo•2h ago•842 comments

Language Models Can Rewrite Their Own Weights

https://arxiv.org/abs/2611.21885
38•lwhsiao•44m ago•12 comments

If you can't explain something in simple terms, you don't understand it (2017)

https://kottke.org/17/06/if-you-cant-explain-something-in-simple-terms-you-dont-understand-it
415•sammatilda•7h ago•222 comments

Frostbite: A new CPU architecture discovered, designed and verified by AI

https://architectlabs.com/blog/frostbite
461•shioyama•7h ago•266 comments

Finite-time blow-up for the Navier–Stokes equations

https://github.com/tristanbuckmaster/navier-stokes/
37•trotro•1h ago•9 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

12•proberts•27m ago•11 comments

Show HN: I made an audio-to-MIDI model 60x more efficient

https://kobi.music/research/dettato
131•hidude562•3d ago•26 comments

Signal Is Serious About Protecting Your Privacy

https://signal.org/blog/protecting-your-privacy/
238•dotcoma•7h ago•112 comments

Floppy3.5: A portable 3.5-inch floppy WiFi NAS

https://github.com/bigcrimping/floppy3.5
89•fortran77•1d ago•32 comments

Why there are still no non-WebKit browsers on iOS

https://blog.mozilla.org/en/mozilla/internet-policy/apple-ios-browser-engine-rules/
138•lapcat•2h ago•65 comments

The G1 Garbage Collector

https://dev.java/learn/jvm/tool/garbage-collection/g1gc-overview/
50•ejboy•3d ago•9 comments

The Making of Oxygene

https://jeanmicheljarre.com/aaa/the-making-of-oxygene
142•hggh•6h ago•54 comments

Lovable: Now you can explore any idea in parallel without touching what's live

https://lovable.dev/blog/introducing-drafts
8•doener•3d ago•2 comments

Show HN: Fast deterministic natural language search for OpenStreetMap data

https://hippomaps.ch/?q=cafes+by+the+Limmat+100+m+from+the+lake+in+zurich#map=15.02/47.36708/8.54935
97•vihren•1d ago•27 comments

What people are building, discovered through new domains

https://startups.novumsignals.com/
119•walterschnitzel•7h ago•55 comments

OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-121481, CVSS 9.8)

https://github.com/openssl/openssl/pull/33652
336•JacobHenner•15h ago•297 comments

If you stop writing code, you also get worse at reviewing it

https://cekrem.github.io/posts/if-you-stop-writing-code-you-also-get-worse-at-reviewing-it/
174•theanonymousone•4h ago•96 comments

Carnival Cruises emits ten times more sulphur oxide than all of Europe's cars (2019)

https://ecohustler.com/article/one-corporation-to-pollute-them-all/
393•sammatilda•7h ago•237 comments

Show HN: Tinnitus frequency finder and audio notch tool

https://trynotched.com/find
113•brianrhea•2d ago•76 comments

µ-Wire – USB on an ATtiny 10

https://cpldcpu.com/2014/03/19/%c2%b5-wire-usb-on-an-attiny-10/
98•mofosyne•2d ago•12 comments

FFmpeg 9.1 'Gauss'

https://ffmpeg.org/download.html#release_9.1
251•gyan•13h ago•34 comments

UK fridges secured from hackers

https://www.bbc.co.uk/news/articles/c6eq49zyx7p4o
123•tomnext•7h ago•113 comments

Postgres 19 Repack: Faster, Built-In Table Bloat Cleanup

https://www.snowflake.com/en/blog/engineering/postgres-19-repack-table-bloat/
161•craigkerstiens•14h ago•27 comments

Claude solves two open problems in the physics of black holes

https://www.anthropic.com/research/claude-black-hole-physics
530•cybermango•23h ago•255 comments

How to CAD Almost Anything

https://ocw.mit.edu/courses/res-16-002-how-to-cad-almost-anything-january-iap-2024/
354•o4c•3d ago•122 comments

The Strongest Sokoban Solver

https://healeycodes.com/introducing-the-worlds-strongest-sokoban-solver
119•ibobev•3d ago•27 comments

PostgreSQL 19

https://www.postgresql.org/docs/release/19.0/
341•linzhangrun•13h ago•21 comments

"I can tell you wrote this yourself"

https://em-online.bearblog.dev/i-can-tell-you-wrote-this-yourself/
363•BrunoBernardino•9h ago•342 comments

Vint Cerf on why TCP/IP was never patented

https://seremot.com/p/vint-cerf-on-why-tcpip-was-never
151•emot•16h ago•81 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.