frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
142•soheilpro•3h ago•46 comments

Show HN: SimCity, but with Permits

https://permit.petercai.com/
669•pcai•10h ago•348 comments

In Hilbert space, all things are quantumly possible

https://www.quantamagazine.org/in-hilbert-space-all-things-are-quantumly-possible-20260826/
50•unprovable•3h ago•20 comments

Feds suspect ransom negotiator ran ShinyHunters extortion site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
143•Bender•6h ago•57 comments

Voxtral 3

https://mistral.ai/news/voxtral-3/
574•ilreb•13h ago•149 comments

The Other Epidemic: Trying to get off benzodiazepines

https://www.thebeliever.net/the-other-epidemic/
126•gaplong•6h ago•82 comments

eMudhra intermediate CA compromise

https://emudhra.we-have-a-problem.com/
774•galadran•15h ago•361 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
60•firloop•3h ago•8 comments

Borrow Checking Zero-Cost Cyclic Mutability

https://antelang.org/blog/safe_cyclic_mutability/
15•jfecher•1d ago•0 comments

Muse exposes users' personal and business secrets when they share conversations

https://arstechnica.com/security/2026/10/meta-muse-exposes-users-personal-and-business-secrets-wh...
47•gumby•4h ago•6 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
300•ilreb•12h ago•66 comments

Upcoming critical PHP security release

https://news-web.php.net/php.announce/509
338•xd•9h ago•117 comments

What shall I teach my son?

https://stevekrouse.com/ends
330•Curiositry•11h ago•399 comments

SlopCodeBench 10/2026 – Opus 5.5, Astra wins overall, xhigh considered harmful

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
218•dhorthy•5d ago•88 comments

ZX Spectrum Next Laptop

https://www.dorchester3d.com/printing/blog/2020/11/zx-spectrum-next-laptop-version-2
24•utopcell•2d ago•1 comments

Apple broke an essential presentation feature of iPads

https://teddysvoronos.com/2026-10-19-apple-broke-an-essential-presentation-feature-of-ipads/
529•evanb•16h ago•266 comments

DeepInfer: High-performance inference framework for DeepSeek models

https://github.com/deepseek-ai/DeepInfer
2189•ggcr•20h ago•848 comments

Ofcom concedes defeat in 4chan case

https://prestonbyrne.com/2026/10/20/ofcom-concedes-defeat/
360•iamnothere•14h ago•265 comments

To Make, or to Buy: The Economics of Decision Models

https://pncnmnp.github.io/blogs/economics-decision-models.html
25•pncnmnp•2d ago•1 comments

Tsrs: A Port of TypeScript to Rust

https://blog.cloudflare.com/typescript-rust-port/
378•hnisjafx40•15h ago•183 comments

Four Years with Decker

https://beyondloom.com/blog/fouryearsdecker.html
5•ibobev•16h ago•0 comments

Sixteen years after Deepwater Horizon, deep sea life shows few signs of recovery

https://e360.yale.edu/digest/deepwater-horizon-deep-sea-recovery
233•speckx•13h ago•139 comments

Google Cloud outage affects almost all banking and other operations in Europe

https://www.neowin.net/news/google-cloud-outage-takes-down-hsbc-revolut-bank-of-scotland-llyods-e...
365•paweladamczuk•18h ago•182 comments

PingCap TiDB Leaks

https://fulcrumsec.vg/pingcap/
83•swyx•6h ago•11 comments

Advanced coding in low-resource programming languages

https://openai.com/index/low-resource-programming-languages/
54•sumnole•11h ago•67 comments

Benchmarking Bot Detection Systems Against Modern AI Agents in 2026

https://research.poh.org/bot-benchmarking-2026/
37•mdahardy•12h ago•3 comments

Making Solar Panels with a Microwave [video]

https://www.youtube.com/watch?v=zcWkApGjyGM
60•jackdoe•2d ago•8 comments

How I got over 300 Tor exit nodes removed

https://kaba.cx/posts/20261020_Tor/
347•kabakabakaba•15h ago•87 comments

IKEA – 3D Guide

https://sael.net/flatpack/
170•punnerud•13h ago•60 comments

My Friend Bob Cringely

https://tyma.com/my-cringe-story/
188•zinxq•15h ago•51 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.