frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Zed 1.0

https://zed.dev/blog/zed-1-0
1522•salkahfi•11h ago•498 comments

Copy Fail – CVE-2026-31431

https://copy.fail/
573•unsnap_biceps•7h ago•257 comments

Cursor Camp

https://neal.fun/cursor-camp/
623•bpierre•10h ago•107 comments

OpenTrafficMap

https://opentrafficmap.org/
151•moooo99•5h ago•33 comments

HERMES.md in commit messages causes requests to route to extra usage billing

https://github.com/anthropics/claude-code/issues/53262
980•homebrewer•6h ago•420 comments

FastCGI: 30 years old and still the better protocol for reverse proxies

https://www.agwa.name/blog/post/fastcgi_is_the_better_protocol_for_reverse_proxies
247•agwa•9h ago•64 comments

Vera: a programming language designed for machines to write

https://github.com/aallan/vera
47•unignorant•4h ago•30 comments

Why I still reach for Lisp and Scheme instead of Haskell

https://jointhefreeworld.org/blog/articles/lisps/why-i-still-reach-for-scheme-instead-of-haskell/...
166•jjba23•17h ago•52 comments

I benchmarked Claude Code's caveman plugin against "be brief."

https://www.maxtaylor.me/articles/i-benchmarked-caveman-against-two-words
51•max-t-dev•4h ago•30 comments

Claude.ai and API Unavailable

https://status.claude.com/incidents/2gf1jpyty350
74•rob•27m ago•53 comments

DRAM Crunch: Lessons for System Design

https://www.eetimes.com/what-the-dram-crunch-teaches-us-about-system-design/
30•giuliomagnifico•1d ago•2 comments

Laws of UX

https://lawsofux.com/
184•bobbiechen•8h ago•30 comments

An open-source stethoscope that costs between $2.5 and $5 to produce

https://github.com/GliaX/Stethoscope
199•0x54MUR41•11h ago•78 comments

Gooseworks (YC W23) Is Hiring a Founding Growth Engineer

https://www.ycombinator.com/companies/gooseworks/jobs/ztgY6bD-founding-growth-engineer
1•shivsak•3h ago

Ramp's Sheets AI Exfiltrates Financials

https://www.promptarmor.com/resources/ramps-sheets-ai-exfiltrates-financials
103•takira•8h ago•34 comments

Consequences of passing too few register parameters to a C function

https://devblogs.microsoft.com/oldnewthing/20260427-00/?p=112271
8•aragonite•1d ago•1 comments

Be Alexandra Elbakyan

https://nitter.space/MushtaqBilalPhD/status/2049057344013881523#m
96•DanielleMolloy•3h ago•8 comments

We need a federation of forges

https://blog.tangled.org/federation/
519•icy•11h ago•327 comments

The Lingua Franca of LaTeX (2019)

https://increment.com/open-source/the-lingua-franca-of-latex/
13•ripe•1d ago•3 comments

Kyoto cherry blossoms now bloom earlier than at any point in 1,200 years

https://jivx.com/kyoto-bloom
240•momentmaker•6h ago•69 comments

Online age verification is the hill to die on

https://x.com/GlennMeder/status/2049088498163216560
749•Cider9986•9h ago•471 comments

How to Build the Future: Demis Hassabis [video]

https://www.youtube.com/watch?v=JNyuX1zoOgU
87•sandslash•11h ago•46 comments

Postgres's lateral joins allow for quite the good eDSL

https://bensimms.moe/postgres-lateral-makes-quite-a-good-dsl/
56•nitros•2d ago•6 comments

Ghostty is leaving GitHub

https://mitchellh.com/writing/ghostty-leaving-github
3348•WadeGrimridge•1d ago•997 comments

What can we gain by losing infinity?

https://www.quantamagazine.org/what-can-we-gain-by-losing-infinity-20260429/
14•Tomte•10h ago•20 comments

Claude.ai Down Again?

7•zh_code•28m ago•13 comments

Virtualisation on Apple Silicon Macs is different

https://eclecticlight.co/2026/04/29/virtualisation-on-apple-silicon-macs-is-different/
72•zdw•8h ago•21 comments

GitHub – DOS 1.0: Transcription of Tim Paterson's DOS Printouts

https://github.com/DOS-History/Paterson-Listings
126•s2l•14h ago•6 comments

Maryland becomes first state to ban surveillance pricing in grocery stores

https://www.theguardian.com/technology/2026/apr/29/maryland-grocery-stores-ban-surveillance-pricing
259•01-_-•8h ago•178 comments

At Protocol: Building the Social Internet

https://atproto.com/
69•resiros•9h ago•34 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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