frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Can you stop beans from making you gassy?

https://www.seriouseats.com/how-to-reduce-bean-gas-tested-11883862
71•jstrieb•2h ago•45 comments

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
208•robinhouston•3d ago•40 comments

1-Bit Hokusai's "The Great Wave" (2023)

https://www.hypertalking.com/2023/05/08/1-bit-pixel-art-of-hokusais-the-great-wave-off-kanagawa/
490•stephen-hill•3d ago•83 comments

Using coding assistance tools to revive projects you never were going to finish

https://blog.matthewbrunelle.com/its-ok-to-use-coding-assistance-tools-to-revive-the-projects-you...
109•speckx•6h ago•79 comments

New 10 GbE USB adapters are cooler, smaller, cheaper

https://www.jeffgeerling.com/blog/2026/new-10-gbe-usb-adapters-cooler-smaller-cheaper/
515•calcifer•16h ago•304 comments

The Joy of Folding Bikes

https://blog.korny.info/2026/04/19/the-joy-of-folding-bikes
18•pavel_lishin•3d ago•3 comments

Mine, an IDE for Coalton and Common Lisp

https://coalton-lang.github.io/mine/
45•varjag•4h ago•5 comments

Simulacrum of Knowledge Work

https://blog.happyfellow.dev/simulacrum-of-knowledge-work/
56•thehappyfellow•5h ago•21 comments

Desmond Morris has died

https://www.bbc.com/news/articles/c51y797v200o
79•martey•5d ago•13 comments

Martin Galway's music source files from 1980's Commodore 64 games

https://github.com/MartinGalway/C64_music
149•ingve•11h ago•19 comments

Show HN: Kloak, A secret manager that keeps K8s workload away from secrets

https://getkloak.io/
29•neo2006•3h ago•22 comments

GPT‑5.5 Bio Bug Bounty

https://openai.com/index/gpt-5-5-bio-bug-bounty/
116•Murfalo•8h ago•90 comments

Discret 11, the French TV encryption of the 80s

https://fabiensanglard.net/discret11/
134•adunk•11h ago•21 comments

How Hard Is It to Open a File?

https://blog.sebastianwick.net/posts/how-hard-is-it-to-open-a-file/
27•ffin•1d ago•2 comments

What async promised and what it delivered

https://causality.blog/essays/what-async-promised/
116•zdw•3d ago•110 comments

Lute: A Standalone Runtime for Luau

https://lute.luau.org/
38•vrn-sn•2d ago•7 comments

Which one is more important: more parameters or more computation? (2021)

https://parl.ai/projects/params_vs_compute/
39•jxmorris12•1d ago•6 comments

Hokusai and Tesselations

https://dl.ndl.go.jp/pid/1899550/1/11/
83•srean•5h ago•13 comments

America's Geothermal Breakthrough Could Unlock a 150-Gigawatt Energy Revolution

https://oilprice.com/Alternative-Energy/Geothermal-Energy/Americas-Geothermal-Breakthrough-Could-...
37•sleepyguy•2h ago•23 comments

Insights into firewood use by early Middle Pleistocene hominins

https://www.sciencedirect.com/science/article/pii/S0277379126001824
44•wslh•3d ago•18 comments

A web-based RDP client built with Go WebAssembly and grdp

https://github.com/nakagami/grdpwasm
98•mariuz•11h ago•40 comments

Only one side will be the true successor to MS-DOS – Windows 2.x

https://blisscast.wordpress.com/2026/04/21/windows-2-gui-wonderland-12a/
67•keepamovin•11h ago•47 comments

Plain text has been around for decades and it’s here to stay

https://unsung.aresluna.org/plain-text-has-been-around-for-decades-and-its-here-to-stay/
257•rbanffy•21h ago•127 comments

North American Millets Alliance(2023)

https://milletsalliance.org/
8•num42•4h ago•2 comments

The AI Industry Is Discovering That the Public Hates It

https://newrepublic.com/article/209163/ai-industry-discovering-public-backlash
152•chirau•1h ago•176 comments

HEALPix

https://en.wikipedia.org/wiki/HEALPix
48•hyperific•9h ago•6 comments

Replace IBM Quantum back end with /dev/urandom

https://github.com/yuvadm/quantumslop/blob/25ad2e76ae58baa96f6219742459407db9dd17f5/URANDOM_DEMO.md
323•pigeons•21h ago•44 comments

Lambda Calculus Benchmark for AI

https://victortaelin.github.io/lambench/
123•marvinborner•11h ago•37 comments

Sabotaging projects by overthinking, scope creep, and structural diffing

https://kevinlynagh.com/newsletter/2026_04_overthinking/
508•alcazar•1d ago•129 comments

Commenting and approving pull requests

https://www.jakeworth.com/posts/on-commenting-and-approving-pull-requests/
74•jwworth•2d ago•61 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.