frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
691•pluc•8h ago•200 comments

Open Source Security at Astral

https://astral.sh/blog/open-source-security-at-astral
172•vinhnx•5h ago•30 comments

I ported Mac OS X to the Nintendo Wii

https://bryankeller.github.io/2026/04/08/porting-mac-os-x-nintendo-wii.html
1561•blkhp19•17h ago•271 comments

Haunted Paper Toys

http://ravensblight.com/papertoys.html
73•exvi•2d ago•1 comments

The Importance of Being Idle

https://theamericanscholar.org/the-importance-of-being-idle/
174•Caiero•2d ago•88 comments

Process Manager for Autonomous AI Agents

https://botctl.dev/
31•ankitg12•3h ago•6 comments

USB for Software Developers: An introduction to writing userspace USB drivers

https://werwolv.net/posts/usb_for_sw_devs/
293•WerWolv•13h ago•36 comments

Dr. Dobb's Developer Library DVD 6

https://archive.org/details/DDJDVD6
27•kristianp•4d ago•9 comments

Understanding the Kalman filter with a simple radar example

https://kalmanfilter.net
335•alex_be•16h ago•44 comments

They're made out of meat (1991)

http://www.terrybisson.com/theyre-made-out-of-meat-2/
534•surprisetalk•21h ago•147 comments

Ask HN: What are you building that's not AI related?

35•meander_water•1h ago•38 comments

Who is Satoshi Nakamoto? My quest to unmask Bitcoin's creator

https://www.nytimes.com/2026/04/08/business/bitcoin-satoshi-nakamoto-identity-adam-back.html
483•jfirebaugh•1d ago•538 comments

Six (and a half) intuitions for KL divergence

https://www.perfectlynormal.co.uk/blog-kl-divergence
74•jxmorris12•1d ago•9 comments

ML promises to be profoundly weird

https://aphyr.com/posts/411-the-future-of-everything-is-lies-i-guess
494•pabs3•20h ago•486 comments

Git commands I run before reading any code

https://piechowski.io/post/git-commands-before-reading-code/
2030•grepsedawk•1d ago•431 comments

Improving storage efficiency in Magic Pocket, Dropbox's immutable blob store

https://dropbox.tech/infrastructure/improving-storage-efficiency-in-magic-pocket-our-immutable-bl...
8•laluser•5d ago•0 comments

Muse Spark: Scaling towards personal superintelligence

https://ai.meta.com/blog/introducing-muse-spark-msl/?_fb_noscript=1
338•chabons•17h ago•326 comments

MegaTrain: Full Precision Training of 100B+ Parameter LLMs on a Single GPU

https://arxiv.org/abs/2604.05091
294•chrsw•20h ago•54 comments

I imported the full Linux kernel git history into pgit

https://oseifert.ch/blog/linux-kernel-pgit
127•ImGajeed76•3d ago•18 comments

Expanding Swift's IDE Support

https://swift.org/blog/expanding-swift-ide-support/
113•frizlab•13h ago•52 comments

Map Gesture Controls - Control maps with your hands

https://sanderdesnaijer.github.io/map-gesture-controls/
27•hebelehubele•4d ago•4 comments

Understanding Traceroute

https://tech.stonecharioteer.com/posts/2026/traceroute/
128•stonecharioteer•3d ago•21 comments

Ask HN: Any interesting niche hobbies?

360•e-topy•3d ago•529 comments

John Deere to pay $99M in right-to-repair settlement

https://www.thedrive.com/news/john-deere-to-pay-99-million-in-monumental-right-to-repair-settlement
304•CharlesW•12h ago•91 comments

Show HN: A (marginally) useful x86-64 ELF executable in 301 bytes

https://github.com/meribold/btry
33•meribold•2d ago•8 comments

Teardown of unreleased LG Rollable shows why rollable phones aren't a thing

https://arstechnica.com/gadgets/2026/04/teardown-of-unreleased-lg-rollable-shows-why-rollable-pho...
105•DamnInteresting•1d ago•47 comments

Audio Reactive LED Strips Are Diabolically Hard

https://scottlawsonbc.com/post/audio-led
227•surprisetalk•1d ago•63 comments

Show HN: Is Hormuz open yet?

https://www.ishormuzopenyet.com/
395•anonfunction•11h ago•162 comments

Union types in C# 15

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
202•0x00C0FFEE•4d ago•183 comments

Veracrypt project update

https://sourceforge.net/p/veracrypt/discussion/general/thread/9620d7a4b3/
1214•super256•1d ago•446 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.