frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Things to know when you get cancer

https://jjmaxwell4.com/writing/things-to-know-when-you-get-cancer/
1144•jjmaxwell4•11h ago•289 comments

OpenCode 2.0

https://anoma.ly/notes/opencode-2-0/
502•gmays•9h ago•203 comments

Tiny Little Office

https://tinylittleoffice.com/
315•donohoe•8h ago•45 comments

LFM2.5-24B-A2B: Built for fast on-device agents

https://www.liquid.ai/blog/lfm2-5-24b-a2b
162•gmays•6h ago•38 comments

Do dentists know what they're doing?

https://mapwriting.substack.com/p/dentists
596•doitLP•3d ago•421 comments

Donaldson Futuro House in Idyllwild, California, USA

https://www.wowhaus.co.uk/2026/10/12/donaldson-futuro-house-in-idyllwild-california-usa/
35•rmason•1d ago•7 comments

Americans' social activity has steeply declined in the past 30 years

https://www.dataforprogress.org/blog/2026/9/29/americans-social-activity-has-steeply-declined-in-...
339•hubraumhugo•14h ago•327 comments

The Double Headed Stack Allocator

https://blog.demofox.org/2026/10/03/the-double-headed-stack-allocator/
48•g0xA52A2A•4h ago•11 comments

Catch a Bird – I made it for my own sanity

https://catchabird.com
100•eduardsik•2d ago•22 comments

The Toftwood Male Voice Choir: A Mystery Pressed in Vinyl

https://ei3lh.eu/2026/10/11/the-toftwood-male-voice-choir-a-mystery-pressed-in-vinyl/
18•austinallegro•3d ago•0 comments

Show HN: Flipflop, iroh-powered persistent tunnels for filesharing

https://github.com/andunieee/flipflop
17•andunie•2h ago•5 comments

It took me nine years to hack my Xbox 360

https://kennedn.com/blog/posts/glitching/
55•kennedn•1d ago•5 comments

Better HTTP/1 connection reuse in Go 1.27

https://go.dev/blog/http-connection-reuse
234•allddd•14h ago•34 comments

We’re releasing Jev 1.14.0 along with experimental features for dreamers

https://typesafe.ai/blog/jev-1-14
261•emschwartz•9h ago•85 comments

Containment and monitoring failures are to blame for AI hacking reports: experts

https://www.csoonline.com/article/4234854/ai-agents-arent-going-rogue-frontier-labs-are-skipping-...
872•latexr•12h ago•506 comments

Show HN: Petal, open-source CoScreen/ScreenHero finally free

https://petal.live/
154•thedracle•12h ago•36 comments

Ask HN: CAD for wood working with LLM support?

58•reacharavindh•2d ago•51 comments

Why is every rationalist blog post way too long?

https://alexwennerberg.com/blog/2026-10-13-long.html
304•epestr•1d ago•232 comments

How Amazon pushes up prices all across the Internet

https://www.not-ship.com/how-amazon-pushes-up-prices-all-across-the-internet/
790•sighborg•21h ago•622 comments

Fancy Curl Sites

https://nytpu.com/gemlog/2026-03-18
110•adunk•11h ago•23 comments

Phloem: Git history grown like a slime mold

https://phloem.stemdeck.app/
104•thclpr•2d ago•20 comments

Virtual Oxide Labs: Emulating a Full Oxide Rack

https://oxide.computer/blog/voxel-labs
108•tosh•12h ago•11 comments

Submarine cable resilience

https://blog.apnic.net/2026/10/14/submarine-cable-resilience/
146•speckx•15h ago•57 comments

Has AI tells

https://theconsensus.dev/blog/2026/10/14/has-ai-tells.html?focus=1
109•7777777phil•13h ago•94 comments

Fire at Starlink site in Bulgaria after suspected sabotage in Poland

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:261014-930-839530/
344•ilamont•12h ago•224 comments

Passkeys are not a trap

https://scotthelme.co.uk/passkeys-are-not-a-trap/
564•speckx•15h ago•725 comments

Your C is not standard C

https://sebsite.pw/w/20261012-notstdc.html
71•dverlaeckt80•1d ago•43 comments

David Rudnick on "borderline impossible" process of designing Arsenal typeface

https://www.itsnicethat.com/features/david-rudnick-johnnie-campbell-arsenal-rocastle-typeface-gra...
7•droidjj•2d ago•1 comments

Anthropic's Scion is heavily inspired by Mononoke

https://sunshowers.io/posts/anthropic-mononoke/
346•sunshowers•10h ago•128 comments

Show HN: My Terminal Themes Web App

13•bado•4h 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.