frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

VGHF Digital Archive passes 5000 magazines. Here's what's next

https://gamehistory.org/5k-magazines/
27•rdmuser•2h ago•3 comments

Tell HN: Bob Cringely has died

493•paveworld•10h ago•101 comments

Why don't more developers “use the platform”?

https://nolanlawson.com/2026/10/03/why-dont-more-developers-use-the-platform/
159•vinhnx•7h ago•128 comments

So you think you could be an electrician?

https://asteriskmag.com/issues/15/so-you-think-you-could-be-an-electrician
257•zdw•3d ago•179 comments

The work by Valve's Timur Kristóf on improving old AMD GPUs on Linux

https://www.phoronix.com/news/XDC-2026-Valve-Timur-AMDGPU
311•speckx•16h ago•49 comments

Treachery in the Rodin Museum 3D scan verdict

https://cosmowenman.substack.com/p/rodin-museum-3d-scan-verdict
214•CosmoWenman•17h ago•92 comments

Agents don't need memory, they need documentation

https://liao.gg/blog/agents-dont-need-memory
195•kmeh•18h ago•109 comments

gpuvis: GPU Trace Visualizer

https://github.com/mikesart/gpuvis
10•luu•1d ago•0 comments

Hole Punch: Sling your spaceship around gravitational fields

https://notoriousbfg.com/hole-punch/
300•trwhite•17h ago•68 comments

We're going to need default hard budget caps on pretty much everything

https://simonwillison.net/2026/Oct/3/default-hard-budget-caps/
455•elffjs•10h ago•224 comments

We're working on a new RuneScape MMO

https://play.runescape.com/4
79•droidjj•10h ago•31 comments

Celebrating the 100th birthday of the kidney donated to him as a teenager

https://www.whec.com/top-news/webster-man-celebrating-the-100th-birthday-of-the-kidney-his-mom-do...
199•gscott•2d ago•51 comments

Reasons I didn't become an EMT, ranked

https://ben.stolovitz.com/posts/reasons-not-emt-ranked/
157•citelao•14h ago•77 comments

In Ukraine, distributed renewables foil Russia's assaults

https://energytransition.org/2026/09/in-ukraine-distributed-renewables-foil-russias-assaults/
90•JumpCrisscross•2h ago•68 comments

LeCun has "zero concerns" about AI wiping out humanity, recent "rogue" incidents

https://fortune.com/2026/10/01/ai-godfather-yann-lecun-has-zero-concerns-about-human-extinction-s...
155•Anon84•17h ago•211 comments

Religious scholars met with Anthropic

https://www.nytimes.com/2026/09/29/us/anthropic-claude-morals-ai.html
86•bookofjoe•8h ago•191 comments

We want you to build the next Git platform on Cloudflare

https://blog.cloudflare.com/next-git-platform-on-cloudflare/
139•geoffbp•15h ago•121 comments

Sea Monkeys Show Scientists How to Rewrite a Rule of Turbulence

https://www.quantamagazine.org/sea-monkeys-show-scientists-how-to-rewrite-a-rule-of-turbulence-20...
3•ibobev•1d ago•0 comments

Math's pedagogical curse – Grant Sanderson [video]

https://www.youtube.com/watch?v=UOuxo6SA8Uc
45•bobajeff•1d ago•20 comments

I quit OpenAI because its culture is broken

https://www.theatlantic.com/technology/2026/10/openai-safety-team-resignation/688881/?gift=v5U_Uz...
250•Brajeshwar•21h ago•507 comments

How to hack time, with C2PA

https://www.da.vidbuchanan.co.uk/blog/hacking-time.html
42•Retr0id•16h ago•4 comments

Your body of work thinks back at you

https://photoni.st/index.php/2026/09/25/your-body-of-work-thinks-back-at-you/
66•surprisetalk•3d ago•8 comments

Dirty Optimization Secrets (C for Playdate)

https://devforum.play.date/t/dirty-optimization-secrets-c-for-playdate/23011
19•ibobev•1d ago•2 comments

Former SR-71 engineer talks NASA's Blackbird revival program

https://www.twz.com/air/former-sr-71-engineer-talks-nasas-blackbird-revival-program
65•rkagerer•1d ago•36 comments

FTL: A new operating system for clouds

https://ftl-os.org/
177•romac•20h ago•68 comments

Emitting metadata early makes building/checking Rust up to twice as fast

https://github.com/PowderworksCode/headstart
8•knuckleheads•4h ago•0 comments

Three AI agents, two countries, and one uneven world wide web

https://royapakzad.substack.com/p/multilingual-ai-agents
34•effects•1d ago•1 comments

What Meta got right with Muse

https://metedata.substack.com/p/what-meta-got-right-with-muse
53•young_mete•16h ago•74 comments

Surely you have ultra-wideband radios on your bins too?

https://sjg.io/writing/binrange-have-you-actually-put-the-bins-out/
82•simonjgreen•14h ago•38 comments

City building games have a Soul Problem pt.2

https://www.radical-elements.com/minor-epiphanies/city-building-games-have-a-soul-problem-pt2
138•lexx•19h ago•134 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.