frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Meta told to pay $375M for misleading users over child safety

https://www.bbc.com/news/articles/cql75dn07n2o
177•testrun•4h ago•77 comments

TurboQuant: Redefining AI efficiency with extreme compression

https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/
248•ray__•7h ago•59 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
64•ingve•3d ago•42 comments

Goodbye to Sora

https://twitter.com/soraofficialapp/status/2036532795984715896
812•mikeocool•16h ago•589 comments

VitruvianOS – Desktop Linux Inspired by the BeOS

https://v-os.dev
194•felixding•9h ago•119 comments

Flighty Airports

https://flighty.com/airports
363•skogstokig•12h ago•126 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
467•Heff•18h ago•92 comments

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
745•dot_treo•1d ago•441 comments

In Edison’s Revenge, Data Centers Are Transitioning From AC to DC

https://spectrum.ieee.org/data-center-dc
178•jnord•12h ago•209 comments

I tried to prove I'm not AI. My aunt wasn't convinced

https://www.bbc.com/future/article/20260324-i-tried-to-prove-im-not-an-ai-deepfake
83•dabinat•2h ago•78 comments

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
660•soheilpro•21h ago•372 comments

Why I forked httpx

https://tildeweb.nl/~michiel/httpxyz.html
144•roywashere•4h ago•97 comments

I wanted to build vertical SaaS for pest control, so I took a technician job

https://www.onhand.pro/p/i-wanted-to-build-vertical-saas-for-pest-control-i-took-a-technician-job...
332•tezclarke•15h ago•135 comments

VNDB founder Yorhel has died

https://vndb.org/t24787
74•indrora•2d ago•13 comments

You can run a DNS server (2025)

https://simonsafar.com/2025/running_dns/
100•surprisetalk•5d ago•60 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
362•RealityVoid•19h ago•273 comments

The Last Testaments of Richard II and Henry IV

https://www.historytoday.com/archive/feature/last-testaments-richard-ii-and-henry-iv
33•Petiver•3d ago•7 comments

Why did the chicken cross the road?

https://taylor.town/other-side
29•surprisetalk•1d ago•11 comments

Algorithm Visualizer

https://algorithm-visualizer.org/
135•vinhnx•4d ago•7 comments

Fun with CSF firmware (RK3588 GPU firmware)

https://icecream95.gitlab.io/fun-with-csf-firmware.html
43•M95D•3d ago•0 comments

Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1

https://github.com/cigrainger/duckdb-hnsw-acorn
65•cigrainger•9h ago•5 comments

Microbenchmarking Chipsets for Giggles

https://chipsandcheese.com/p/microbenchmarking-chipsets-for-giggles
12•zdw•2d ago•0 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
319•dancablam•20h ago•82 comments

Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

https://www.xda-developers.com/wine-11-rewrites-linux-runs-windows-games-speed-gains/
1031•felineflock•18h ago•359 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
358•sohamrj•22h ago•92 comments

An Aural Companion for Decades, CBS News Radio Crackles to a Close

https://www.nytimes.com/2026/03/21/business/media/cbs-news-radio-appraisal.html
70•tintinnabula•3d ago•17 comments

A Compiler Writing Journey

https://github.com/DoctorWkt/acwj
93•ibobev•13h ago•9 comments

Hypothesis, Antithesis, synthesis

https://antithesis.com/blog/2026/hegel/
262•alpaylan•21h ago•90 comments

Hypura – A storage-tier-aware LLM inference scheduler for Apple Silicon

https://github.com/t8/hypura
210•tatef•20h ago•81 comments

Missile defense is NP-complete

https://smu160.github.io/posts/missile-defense-is-np-complete/
358•O3marchnative•23h ago•368 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

yxhuvud•10mo ago
Eww, pretending to support utf8 matchers while not supporting them at all was not pretty to see.
gitroom•10mo ago
Honestly that part bugs me, fake support is worse than no support imo
kayodelycaon•10mo 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•10mo 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•10mo 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•10mo 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.