frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Organic Maps

https://organicmaps.app/
391•tosh•3h ago•106 comments

The Great Blogging Collapse: What Happened to 100 Successful Blogs?

https://danielstanica.com/posts/Great-Blogging-Collapse
41•thm•3d ago•30 comments

Introduction to Compilers and Language Design

https://dthain.github.io/books/compiler/
198•AlexeyBrin•5h ago•26 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
44•jandeboevrie•3h ago•21 comments

"These cameras are just like the Eye of Sauron"

https://arxiv.org/abs/2602.09239
12•dijksterhuis•36m ago•0 comments

Airplane Boneyards List and Map

https://airplaneboneyards.com/airplane-boneyards-list-and-map.htm
50•hyperific•1d ago•8 comments

Rayfish, Peer-to-peer mesh VPN with no server to trust

https://rayfish.xyz/blog/01-introducing-rayfish
58•captain_dfx•4d ago•39 comments

It's not about physical vs. digital games, it's about ownership

https://popcar.bearblog.dev/its-about-ownership/
22•popcar2•2h ago•12 comments

Medieval-style fortifications are back in the Sahel

https://www.economist.com/middle-east-and-africa/2026/06/25/medieval-style-fortifications-are-bac...
59•andsoitis•4d ago•40 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
472•nozzlegear•15h ago•233 comments

Why DMARC's new "NP" tag can fail with DNSSEC

https://dmarcwise.io/blog/dmarc-np-incompatibility-with-dnssec
14•matteocontrini•2h ago•1 comments

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
240•dabinat•12h ago•133 comments

EU Council forces Chat Control via fast-track

https://www.heise.de/en/news/Chat-Control-1-0-EU-Council-forces-messenger-scans-via-fast-track-11...
207•stavros•5h ago•104 comments

Autonomous flying umbrella follows and shields users from rain and sunlight

https://www.designboom.com/technology/autonomous-flying-umbrella-follows-users-rain-sunlight-i-bu...
32•amichail•1h ago•15 comments

The GNU Emacs Architecture: Unlocking the Core [pdf]

https://www.diva-portal.org/smash/get/diva2:2052282/FULLTEXT01.pdf
146•cenazoic•4d ago•9 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
64•ViktorEE•5h ago•26 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
122•ankitg12•2d ago•11 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
99•ustad•10h ago•52 comments

Web-based cryptography is always snake oil

https://www.devever.net/~hl/webcrypto
62•enz•9h ago•72 comments

Solar rail could become common in Europe after successful trial in Switzerland

https://www.euronews.com/2026/07/05/italy-could-be-the-next-country-to-build-a-solar-railway-afte...
54•neilfrndes•2h ago•49 comments

Zuckerberg's Increasingly Bizarre War on Whistleblowers

https://pluralistic.net/2026/06/27/zuckerstreisand-2/#autodisparagement
28•deely3•1h ago•2 comments

Mark Zuckerberg tells staff that AI agents haven't progressed enough

https://techcrunch.com/2026/07/02/mark-zuckerberg-tells-staff-that-ai-agents-havent-progressed-as...
14•msolujic•37m ago•5 comments

Phosh 0.56.0

https://phosh.mobi/releases/rel-0.56.0/
127•edward•4h ago•44 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
65•eternauta3k•11h ago•5 comments

Cannabis users face substantially higher risk of heart attack (2025)

https://www.acc.org/about-acc/press-releases/2025/03/17/15/35/cannabis-users-face-substantially-h...
119•RickJWagner•5h ago•160 comments

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/tree/main
632•asronline•22h ago•267 comments

Moby Dick Workout (2022)

https://www.hogbaysoftware.com/posts/moby-dick-workout/
89•helloplanets•13h ago•28 comments

Meta's Un-Stable Signature

https://hackerfactor.com/blog/index.php?/archives/1098-Metas-Un-Stable-Signature.html
131•ementally•4d ago•21 comments

The Log is the Agent

https://arxiv.org/abs/2605.21997
90•iacguy•14h ago•38 comments

Artful Cats: Feline-Inspired Art and Artifacts

https://www.si.edu/spotlight/art-cats
74•jruohonen•3d ago•5 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.