frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
205•PaulHoule•3h ago•104 comments

Charcuterie – Visual similarity Unicode explorer

https://charcuterie.elastiq.ch/
65•rickcarlino•2h ago•10 comments

Reverse engineering Gemini's SynthID detection

https://github.com/aloshdenny/reverse-SynthID
78•_tk_•2h ago•34 comments

PicoZ80 – Drop-In Z80 Replacement

https://eaw.app/picoz80/
93•rickcarlino•4h ago•19 comments

Robots Eat Cars

https://telemetry.endeff.com/p/robots-eat-cars
7•JMill•2d ago•0 comments

Funerals Keep Africa Poor

https://davidoks.blog/p/how-funerals-keep-africa-poor
6•powera•45m ago•1 comments

Hegel, a universal property-based testing protocol and family of PBT libraries

https://hegel.dev
66•PaulHoule•4h ago•26 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
105•codazoda•5h ago•24 comments

Research-Driven Agents: When an agent reads before it codes

https://blog.skypilot.co/research-driven-agents/
102•hopechong•5h ago•38 comments

Moving from WordPress to Jekyll (and static site generators in general)

https://www.demandsphere.com/blog/rebuilding-demandsphere-with-jekyll-and-claude-code/
14•rgrieselhuber•1h ago•6 comments

Instant 1.0, a backend for AI-coded apps

https://www.instantdb.com/essays/architecture
28•stopachka•4h ago•18 comments

Top laptops to use with FreeBSD

https://freebsdfoundation.github.io/freebsd-laptop-testing/
260•fork-bomber•13h ago•149 comments

Microsoft is employing dark patterns to goad users into paying for storage?

https://lzon.ca/posts/other/microsoft-user-abuse/
116•jpmitchell•1h ago•58 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
106•randerson_112•6h ago•97 comments

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

https://braw.dev/blog/2026-04-06-reallocating-100-month-claude-spend/
272•kisamoto•14h ago•185 comments

Old laptops in a colo as low cost servers

https://colaptop.pages.dev/
107•argentum47•4h ago•57 comments

EFF is leaving X

https://www.eff.org/deeplinks/2026/04/eff-leaving-x
966•gregsadetsky•5h ago•836 comments

Show HN: Druids – Build your own software factory

https://github.com/fulcrumresearch/druids
12•etherio•1d ago•1 comments

Progressive encoding and decoding of 'repeated' protobuffer fields

https://schilk.co/blog/protobuffer-repeat-append/
7•quarkz02•4d ago•1 comments

Introduction to Nintendo DS Programming

https://www.patater.com/files/projects/manual/manual.html
202•medbar•1d ago•40 comments

Maine is about to become the first state to ban major new data centers

https://www.gadgetreview.com/maine-is-about-to-become-the-first-state-to-ban-major-new-data-centers
204•rmason•3h ago•296 comments

How Do You Find an Illegal Image Without Looking at It?

https://mahmoud-salem.net/the-invisible-shield
24•danso•2d ago•18 comments

A WebGPU implementation of Augmented Vertex Block Descent

https://github.com/jure/webphysics
115•juretriglav•10h ago•14 comments

The Future of Everything Is Lies, I Guess: Part 3 – Culture

https://aphyr.com/posts/413-the-future-of-everything-is-lies-i-guess-culture
87•aphyr•9h ago•62 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
172•eigenspace•12h ago•108 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
135•SirHound•11h ago•91 comments

Meta removes ads for social media addiction litigation

https://www.axios.com/2026/04/09/meta-social-media-addiction-ads
519•giuliomagnifico•9h ago•211 comments

Help Keep Thunderbird Alive

https://updates.thunderbird.net/en-US/thunderbird/140.0/apr26-1e/donate/
483•playfultones•15h ago•339 comments

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
1251•pluc•22h ago•410 comments

Doing Impressions: Monet's Early Caricatures (ca. late 1850s)

https://publicdomainreview.org/collection/claude-monet-caricatures/
41•prismatic•3d ago•1 comments
Open in hackernews

Fast(er) regular expression engines in Ruby

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

Comments

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